Sha256: ce28754dabb306f463cc3ad29f21036519e62232c4cab3c77136e338d177ff47

Contents?: true

Size: 649 Bytes

Versions: 1

Compression:

Stored size: 649 Bytes

Contents

module Rocx
  class Section
    include PropertyBuilder

    properties_tag :sectPr

    property :columns
    property :document_grid
    property :line_numbering
    property :page_borders
    property :page_margins
    property :page_numbering
    property :page_size
    property :paper_source

    value_property :bidi
    value_property :form_protection
    value_property :rtl_gutter
    value_property :text_direction
    value_property :type, as: :section_type
    value_property :vertical_alignment, as: :vertical_text_alignment

    def to_xml(xml)
      property_xml xml
    end

  private

    def namespace
      :w
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rocx-0.7.0 lib/rocx/section.rb