class GroupDocs::Document::TemplateEditorFields

Attributes

acceptableValues[RW]

@attr [Array] acceptableValues

fieldtype[RW]

@attr [String] fieldtype

isTableMarker[RW]

@attr [Boolean] isTableMarker

name[RW]

@attr [String] name

options[RW]

changed in release 2.0.0 @attr [GroupDocs::Document::FieldOption] options

page[RW]

@attr [Integer] page

rect[RW]

@attr [GroupDocs::Document::Rectangle] rect

selectionLength[RW]

@attr [Int] selectionLength

selectionPosition[RW]

@attr [Int] selectionPosition

style[RW]

@attr [GroupDocs::Document::Style] style

tableCell[RW]

@attr [Int] tableCell

tableColumn[RW]

@attr [Int] tableColumn

tableNumber[RW]

added in release 2.0.0 @attr [Int] tableNumber

tableRow[RW]

@attr [Int] tableRow

type[RW]

@attr [String] type

Public Instance Methods

rect=(rectangle) click to toggle source

Converts passed hash to GroupDocs::Document::Rectangle object. @param [Hash] options

# File lib/groupdocs/document/editor.rb, line 44
def rect=(rectangle)
  if rectangle.is_a?(Hash)
    rectangle = GroupDocs::Document::Rectangle.new(rectangle)
  end

  @rect = rectangle
end
style=(style) click to toggle source

Converts passed hash to GroupDocs::Document::TemplateEditorFieldStyle object. @param [Hash] options

# File lib/groupdocs/document/editor.rb, line 55
def style=(style)
  if style.is_a?(Hash)
    style = GroupDocs::Document::TemplateEditorFieldStyle.new(style)
  end

  @style = style
end