--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Returns the absolute y position of the bottom margin.
  name: absolute_bottom_margin
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The absolute x position of the left margin.
  name: absolute_left_margin
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The absolute x position of the right margin.
  name: absolute_right_margin
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Returns the absolute y position of the top margin.
  name: absolute_top_margin
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The absolute x middle position.
  name: absolute_x_middle
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The absolute y middle position.
  name: absolute_y_middle
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: bottom_margin
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The total number of columns. Returns zero (0) if columns are off.
  name: column_count
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The gutter between columns. This will return zero (0) if columns are off.
  name: column_gutter
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The current column number. Returns zero (0) if columns are off.
  name: column_number
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The width of the currently active column. This will return zero (0) if columns are off.
  name: column_width
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Sets the document to compressed (<tt>true</tt>) or uncompressed (<tt>false</tt>). Defaults to uncompressed. This can ONLY be set once and should be set as early as possible in the document creation process.
  name: compressed
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: current_base_font
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Returns the current contents object to which raw PDF instructions may be written.
  name: current_contents
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: current_font
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The string that will be used to encrypt this PDF document.
  name: encryption_key
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Allows the user to find out what the ID is of the first page that was created during startup - useful if they wish to add something to it later.
  name: first_page
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: "Add a new translation table for a font family. A font family will be used to associate a single name and font styles with multiple fonts. A style will be identified with a single-character style identifier or a series of style identifiers. The only styles currently recognised are:"
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "+b+:"
      body: "Bold (or heavy) fonts. Examples: Helvetica-Bold, Courier-Bold, Times-Bold."
    - !ruby/struct:SM::Flow::LI 
      label: "+i+:"
      body: "Italic (or oblique) fonts. Examples: Helvetica-Oblique, Courier-Oblique, Times-Italic."
    - !ruby/struct:SM::Flow::LI 
      label: "+bi+:"
      body: Bold italic fonts. Examples Helvetica-BoldOblique, Courier-BoldOblique, Times-BoldItalic.
    - !ruby/struct:SM::Flow::LI 
      label: "+ib+:"
      body: "Italic bold fonts. Generally defined the same as <tt>bi</tt> font styles. Examples: Helvetica-BoldOblique, Courier-BoldOblique, Times-BoldItalic."
    type: :NOTE
  - !ruby/struct:SM::Flow::P 
    body: Each font family key is the base name for the font.
  name: font_families
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: font_size
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The PDF::Writer::Object::Info info object. This is used to provide certain metadata.
  name: info
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: left_margin
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The height of the margin area.
  name: margin_height
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The width of the margin area.
  name: margin_width
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The middle of the writing area between the left and right margins.
  name: margin_x_middle
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The middle of the writing area between the top and bottom margins.
  name: margin_y_middle
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: page_height
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  name: page_width
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The vertical position of the writing point. If the vertical position is outside of the bottom margin, a new page will be created.
  name: pointer
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: right_margin
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: top_margin
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The version of PDF to which this document conforms. Should be one of PDF_VERSION_13, PDF_VERSION_14, PDF_VERSION_15, or PDF_VERSION_16.
  name: version
  rw: R
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The vertical position of the writing point. The vertical position is constrained between the top and bottom margins. Any attempt to set it outside of those margins will cause the y pointer to be placed absolutely at the margins.
  name: y
  rw: RW
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: cm2pts
- !ruby/object:RI::MethodSummary 
  name: escape
- !ruby/object:RI::MethodSummary 
  name: in2pts
- !ruby/object:RI::MethodSummary 
  name: mm2pts
- !ruby/object:RI::MethodSummary 
  name: new
- !ruby/object:RI::MethodSummary 
  name: prepress
comment: ""
constants: 
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The version of PDF::Writer.
  name: VERSION
  value: "'1.1.3'"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The system font path. The sytem font path will be determined differently for each operating system.
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "Win32:"
      body: Uses ENV['SystemRoot']/Fonts as the system font path. There is an extension that will handle this better, but until and unless it is distributed with the standard Ruby Windows installer, PDF::Writer will not depend upon it.
    - !ruby/struct:SM::Flow::LI 
      label: "OS X:"
      body: The fonts are found in /System/Library/Fonts.
    - !ruby/struct:SM::Flow::LI 
      label: "Linux:"
      body: The font path list will be found (usually) in /etc/fonts/fonts.conf or /usr/etc/fonts/fonts.conf. This XML file will be parsed (using REXML) to provide the value for FONT_PATH.
    type: :NOTE
  name: FONT_PATH
  value: "[]"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Standard page size names. One of these may be provided to PDF::Writer.new as the <tt>:paper</tt> parameter.
  - !ruby/struct:SM::Flow::P 
    body: "Page sizes supported are:"
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: 4A0, 2A0
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: A0, A1 A2, A3, A4, A5, A6, A7, A8, A9, A10
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: B0, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: RA0, RA1, RA2, RA3, RA4
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: SRA0, SRA1, SRA2, SRA3, SRA4
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: LETTER
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: LEGAL
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: FOLIO
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: EXECUTIVE
    type: :BULLET
  name: PAGE_SIZES
  value: "{ # :value {...}:     \"4A0\"   => [0, 0, 4767.87, 6740.79], \"2A0\"    => [0, 0, 3370.39, 4767.87],     \"A0\"    => [0, 0, 2383.94, 3370.39], \"A1\"     => [0, 0, 1683.78, 2383.94],     \"A2\"    => [0, 0, 1190.55, 1683.78], \"A3\"     => [0, 0,  841.89, 1190.55],     \"A4\"    => [0, 0,  595.28,  841.89], \"A5\"     => [0, 0,  419.53,  595.28],     \"A6\"    => [0, 0,  297.64,  419.53], \"A7\"     => [0, 0,  209.76,  297.64],     \"A8\"    => [0, 0,  147.40,  209.76], \"A9\"     => [0, 0,  104.88,  147.40],     \"A10\"   => [0, 0,   73.70,  104.88], \"B0\"     => [0, 0, 2834.65, 4008.19],     \"B1\"    => [0, 0, 2004.09, 2834.65], \"B2\"     => [0, 0, 1417.32, 2004.09],     \"B3\"    => [0, 0, 1000.63, 1417.32], \"B4\"     => [0, 0,  708.66, 1000.63],     \"B5\"    => [0, 0,  498.90,  708.66], \"B6\"     => [0, 0,  354.33,  498.90],     \"B7\"    => [0, 0,  249.45,  354.33], \"B8\"     => [0, 0,  175.75,  249.45],     \"B9\"    => [0, 0,  124.72,  175.75], \"B10\"    => [0, 0,   87.87,  124.72],     \"C0\"    => [0, 0, 2599.37, 3676.54], \"C1\"     => [0, 0, 1836.85, 2599.37],     \"C2\"    => [0, 0, 1298.27, 1836.85], \"C3\"     => [0, 0,  918.43, 1298.27],     \"C4\"    => [0, 0,  649.13,  918.43], \"C5\"     => [0, 0,  459.21,  649.13],     \"C6\"    => [0, 0,  323.15,  459.21], \"C7\"     => [0, 0,  229.61,  323.15],     \"C8\"    => [0, 0,  161.57,  229.61], \"C9\"     => [0, 0,  113.39,  161.57],     \"C10\"   => [0, 0,   79.37,  113.39], \"RA0\"    => [0, 0, 2437.80, 3458.27],     \"RA1\"   => [0, 0, 1729.13, 2437.80], \"RA2\"    => [0, 0, 1218.90, 1729.13],     \"RA3\"   => [0, 0,  864.57, 1218.90], \"RA4\"    => [0, 0,  609.45,  864.57],     \"SRA0\"  => [0, 0, 2551.18, 3628.35], \"SRA1\"   => [0, 0, 1814.17, 2551.18],     \"SRA2\"  => [0, 0, 1275.59, 1814.17], \"SRA3\"   => [0, 0,  907.09, 1275.59],     \"SRA4\"  => [0, 0,  637.80,  907.09], \"LETTER\" => [0, 0,  612.00,  792.00],     \"LEGAL\" => [0, 0,  612.00, 1008.00], \"FOLIO\"  => [0, 0,  612.00,  936.00],     \"EXECUTIVE\" => [0, 0,  521.86,  756.00]"
- !ruby/object:RI::Constant 
  comment: 
  name: PDF_VERSION_13
  value: "'1.3'"
- !ruby/object:RI::Constant 
  comment: 
  name: PDF_VERSION_14
  value: "'1.4'"
- !ruby/object:RI::Constant 
  comment: 
  name: PDF_VERSION_15
  value: "'1.5'"
- !ruby/object:RI::Constant 
  comment: 
  name: PDF_VERSION_16
  value: "'1.6'"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Standard encryption/DRM options.
  name: ENCRYPT_OPTIONS
  value: "{ #:nodoc:     :print  => 4,     :modify => 8,     :copy   => 16,     :add    => 32"
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Callback tag relationships. All relationships are of the form &quot;tagname&quot; =&gt; CallbackClass.
  - !ruby/struct:SM::Flow::P 
    body: "There are three types of tag callbacks:"
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:pair</tt>:"
      body: Paired callbacks, e.g., &lt;c:alink&gt;&lt;/c:alink&gt;.
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:single</tt>:"
      body: Single-tag callbacks, e.g., &lt;C:bullet&gt;.
    - !ruby/struct:SM::Flow::LI 
      label: "<tt>:replace</tt>:"
      body: Single-tag replacement callbacks, e.g., &lt;r:xref&gt;.
    type: :NOTE
  name: TAGS
  value: "{     :pair     => { },     :single   => { },     :replace  => { }"
full_name: PDF::Writer
includes: 
- !ruby/object:RI::IncludedModule 
  name: PDF::Writer::Graphics
- !ruby/object:RI::IncludedModule 
  name: Transaction::Simple
instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: add_content
- !ruby/object:RI::MethodSummary 
  name: add_destination
- !ruby/object:RI::MethodSummary 
  name: add_info
- !ruby/object:RI::MethodSummary 
  name: add_internal_link
- !ruby/object:RI::MethodSummary 
  name: add_link
- !ruby/object:RI::MethodSummary 
  name: add_object
- !ruby/object:RI::MethodSummary 
  name: add_outline_item
- !ruby/object:RI::MethodSummary 
  name: add_text
- !ruby/object:RI::MethodSummary 
  name: add_text_wrap
- !ruby/object:RI::MethodSummary 
  name: append_page
- !ruby/object:RI::MethodSummary 
  name: bleed_box
- !ruby/object:RI::MethodSummary 
  name: check_all_here
- !ruby/object:RI::MethodSummary 
  name: close_object
- !ruby/object:RI::MethodSummary 
  name: cm2pts
- !ruby/object:RI::MethodSummary 
  name: columns?
- !ruby/object:RI::MethodSummary 
  name: compressed?
- !ruby/object:RI::MethodSummary 
  name: current_font!
- !ruby/object:RI::MethodSummary 
  name: current_page_number
- !ruby/object:RI::MethodSummary 
  name: encrypt
- !ruby/object:RI::MethodSummary 
  name: encrypted?
- !ruby/object:RI::MethodSummary 
  name: font_descender
- !ruby/object:RI::MethodSummary 
  name: font_height
- !ruby/object:RI::MethodSummary 
  name: in2pts
- !ruby/object:RI::MethodSummary 
  name: insert_mode
- !ruby/object:RI::MethodSummary 
  name: insert_page
- !ruby/object:RI::MethodSummary 
  name: insert_position
- !ruby/object:RI::MethodSummary 
  name: lines_remaining
- !ruby/object:RI::MethodSummary 
  name: margins_cm
- !ruby/object:RI::MethodSummary 
  name: margins_in
- !ruby/object:RI::MethodSummary 
  name: margins_mm
- !ruby/object:RI::MethodSummary 
  name: margins_pt
- !ruby/object:RI::MethodSummary 
  name: mm2pts
- !ruby/object:RI::MethodSummary 
  name: move_pointer
- !ruby/object:RI::MethodSummary 
  name: new_page
- !ruby/object:RI::MethodSummary 
  name: open_at
- !ruby/object:RI::MethodSummary 
  name: open_here
- !ruby/object:RI::MethodSummary 
  name: open_new_object
- !ruby/object:RI::MethodSummary 
  name: open_object
- !ruby/object:RI::MethodSummary 
  name: page_mode=
- !ruby/object:RI::MethodSummary 
  name: render
- !ruby/object:RI::MethodSummary 
  name: reopen_object
- !ruby/object:RI::MethodSummary 
  name: restore_state
- !ruby/object:RI::MethodSummary 
  name: save_as
- !ruby/object:RI::MethodSummary 
  name: save_state
- !ruby/object:RI::MethodSummary 
  name: select_font
- !ruby/object:RI::MethodSummary 
  name: size
- !ruby/object:RI::MethodSummary 
  name: start_columns
- !ruby/object:RI::MethodSummary 
  name: start_new_page
- !ruby/object:RI::MethodSummary 
  name: start_page_numbering
- !ruby/object:RI::MethodSummary 
  name: stop_columns
- !ruby/object:RI::MethodSummary 
  name: stop_object
- !ruby/object:RI::MethodSummary 
  name: stop_page_numbering
- !ruby/object:RI::MethodSummary 
  name: text
- !ruby/object:RI::MethodSummary 
  name: text_line_width
- !ruby/object:RI::MethodSummary 
  name: text_width
- !ruby/object:RI::MethodSummary 
  name: to_s
- !ruby/object:RI::MethodSummary 
  name: trim_box
- !ruby/object:RI::MethodSummary 
  name: viewer_preferences
- !ruby/object:RI::MethodSummary 
  name: which_page_number
name: Writer
superclass: Object
