Sha256: 745f5c4b7478f37254c3e2e38e04fc51b62516b301dea34f3ccffb95dc900133

Contents?: true

Size: 741 Bytes

Versions: 22

Compression:

Stored size: 741 Bytes

Contents

module GroupDocs
  class Document::Change < GroupDocs::Api::Entity

    # @attr [Integer] id
    attr_accessor :id
    # @attr [Symbol] type
    attr_accessor :type
    # @attr [GroupDocs::Document::Rectangle] box
    attr_accessor :box
    # @attr [String] text
    attr_accessor :text
    # @attr [Integer] page
    attr_accessor :page

    #
    # Returns type as symbol.
    #
    # @return [Symbol]
    #
    def type
      @type.to_sym
    end

    #
    # Coverts passed hash to GroupDocs::Document::Rectangle object.
    #
    # @param [Hash] options
    # @return [GroupDocs::Document::Rectangle]
    #
    def box=(options)
      @box = GroupDocs::Document::Rectangle.new(options)
    end

  end # Document::Change
end # GroupDocs

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
groupdocs-0.3.11 lib/groupdocs/document/change.rb
groupdocs-0.3.10 lib/groupdocs/document/change.rb
groupdocs-0.3.9 lib/groupdocs/document/change.rb
groupdocs-0.3.8 lib/groupdocs/document/change.rb
groupdocs-0.3.7 lib/groupdocs/document/change.rb
groupdocs-0.3.6 lib/groupdocs/document/change.rb
groupdocs-0.3.5 lib/groupdocs/document/change.rb
groupdocs-0.3.0 lib/groupdocs/document/change.rb
groupdocs-0.2.11 lib/groupdocs/document/change.rb
groupdocs-0.2.10 lib/groupdocs/document/change.rb
groupdocs-0.2.9 lib/groupdocs/document/change.rb
groupdocs-0.2.8 lib/groupdocs/document/change.rb
groupdocs-0.2.7 lib/groupdocs/document/change.rb
groupdocs-0.2.6 lib/groupdocs/document/change.rb
groupdocs-0.2.5 lib/groupdocs/document/change.rb
groupdocs-0.2.4 lib/groupdocs/document/change.rb
groupdocs-0.2.3 lib/groupdocs/document/change.rb
groupdocs-0.2.2 lib/groupdocs/document/change.rb
groupdocs-0.2.1 lib/groupdocs/document/change.rb
groupdocs-0.2 lib/groupdocs/document/change.rb