Sha256: 32cdacb28cab217c06aa11c897873bcdb4c45e02f5f1c7b32613ab460a31b552
Contents?: true
Size: 916 Bytes
Versions: 3
Compression:
Stored size: 916 Bytes
Contents
module GroupDocs class Document::Field < Api::Entity # @attr [Integer] page attr_accessor :page # @attr [String] name attr_accessor :name # @attr [String] type attr_accessor :type # @attr [GroupDocs::Document::Rectangle] rect attr_accessor :rect # @attr [Int] maxlength attr_accessor :maxlength # @attr [Boolean] mandatory attr_accessor :mandatory # @attr [String] fieldtype attr_accessor :fieldtype # @attr [Array] acceptableValues attr_accessor :acceptableValues # # Coverts passed hash to GroupDocs::Document::Rectangle object. # @param [Hash] options # def rect=(rectangle) if rectangle.is_a?(Hash) rectangle = GroupDocs::Document::Rectangle.new(rectangle) end @rect = rectangle end # Human-readable accessors alias_accessor :rectangle, :rect end # Document::Field end # GroupDocs
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
groupdocs-1.6.0 | lib/groupdocs/document/field.rb |
groupdocs-1.5.9 | lib/groupdocs/document/field.rb |
groupdocs-1.5.8 | lib/groupdocs/document/field.rb |