Class: Oat::Shinnen

Inherits:
Document show all
Defined in:
lib/oat/oatypes/shinnen.rb

Constant Summary

Constants included from Formats

Formats::CIT_MISS, Formats::CIT_SIMPLE, Formats::CIT_WITH_PRIME, Formats::CIT_WITH_PRIME_PCT, Formats::FINALWML, Formats::HEADERS_FMT, Formats::STOPSTARTP, Formats::STOPSTARTTAB

Constants included from OaRegexes

OaRegexes::R_AND_AMENDMENTS, OaRegexes::R_ARTICLE_SECTION, OaRegexes::R_CAPTURE_AMENDMENTS_DATE, OaRegexes::R_CAPTURE_APPEAL_APP_NO, OaRegexes::R_CAPTURE_APPEAL_DRAFTED, OaRegexes::R_CAPTURE_APPEAL_NO, OaRegexes::R_CAPTURE_APPEAL_TARO, OaRegexes::R_CAPTURE_APP_NO, OaRegexes::R_CAPTURE_DRAFTED, OaRegexes::R_CAPTURE_MAILING_DATE, OaRegexes::R_CAPTURE_NO_REJECT_CLAIMS, OaRegexes::R_CAPTURE_PREVIOUS_OA, OaRegexes::R_CAPTURE_RETROACTIVE, OaRegexes::R_CAPTURE_SHIREISHO_APP, OaRegexes::R_CAPTURE_SHIREISHO_CODE, OaRegexes::R_CAPTURE_TARO, OaRegexes::R_CITATIONS_START, OaRegexes::R_HEADER_REASONS, OaRegexes::R_HEADER_SEPARATOR, OaRegexes::R_HEADER_SEPARATOR_DETECT, OaRegexes::R_HEADER_TYPES, OaRegexes::R_JPL_DETECT, OaRegexes::R_OYOBI, OaRegexes::R_REJ_TYPES, OaRegexes::R_RESPONSE_PERIOD, OaRegexes::R_SATEI_REASONS

Constants included from Constants

Constants::CITATIONS_FILE, Constants::FILENAME_DASH_SEPARATOR, Constants::FILENAME_DOT_SEPARATOR

Instance Attribute Summary

Attributes inherited from Document

#outputfile, #props, #reasons, #templatables

Instance Method Summary collapse

Methods inherited from Document

convert_into_blobs, create_actual_blob, end_of_blob?, find_actual_content, get_blobs_from_data, #initialize, part_of_template?, #scan

Methods included from Parsers

#analyze_blobs, #check_for_headers, #check_for_templatable_portions, #convert_possible_heisei, #convert_pub_no, #fix_kanji_dates, #format_headers, #format_invention_according_to, #format_number_listing, #format_templated_english!, #get_filename_separator, #get_text_from_blobs, #handle_jpl, #match_template_regexes, #mistaken_header?, #pad_spaces, #parse_amendments_date, #parse_app_no, #parse_appeal_drafted, #parse_appeal_examiner, #parse_appeal_no, #parse_articles, #parse_citations, #parse_currently_known, #parse_drafted, #parse_examiner, #parse_final_oa, #parse_headers, #parse_ipc, #parse_ipc_references, #parse_mailing_date, #parse_note_to_applicant, #parse_our_lawyer, #parse_response_period, #parse_retroactive, #parse_satei_previous_oa, #parse_see_list, #parse_shireisho_app, #parse_shireisho_code, #replace_CI_vars, #replace_ISARE, #replace_I_vars, #replace_JL_vars, #replace_PC_vars, #replace_P_vars, #replace_common_phrases, #swap_reference_words, #swap_words

Methods included from Helpers

#capture_the, #format_heisei_date, #set_prop, #squish!

Constructor Details

This class inherits a constructor from Oat::Document

Instance Method Details

#templateObject


3
4
5
# File 'lib/oat/oatypes/shinnen.rb', line 3

def template
  Oat.configuration.templates[:shinnen]
end

#template_nameObject


7
8
9
# File 'lib/oat/oatypes/shinnen.rb', line 7

def template_name
  '審尋'
end