Class: Pdfrb::XrefSection::Entry
- Inherits:
-
Struct
- Object
- Struct
- Pdfrb::XrefSection::Entry
- Defined in:
- lib/pdfrb/xref_section.rb
Instance Attribute Summary collapse
-
#gen ⇒ Object
Returns the value of attribute gen.
-
#index ⇒ Object
Returns the value of attribute index.
-
#obj_stm_oid ⇒ Object
Returns the value of attribute obj_stm_oid.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#gen ⇒ Object
Returns the value of attribute gen
10 11 12 |
# File 'lib/pdfrb/xref_section.rb', line 10 def gen @gen end |
#index ⇒ Object
Returns the value of attribute index
10 11 12 |
# File 'lib/pdfrb/xref_section.rb', line 10 def index @index end |
#obj_stm_oid ⇒ Object
Returns the value of attribute obj_stm_oid
10 11 12 |
# File 'lib/pdfrb/xref_section.rb', line 10 def obj_stm_oid @obj_stm_oid end |
#offset ⇒ Object
Returns the value of attribute offset
10 11 12 |
# File 'lib/pdfrb/xref_section.rb', line 10 def offset @offset end |
#type ⇒ Object
Returns the value of attribute type
10 11 12 |
# File 'lib/pdfrb/xref_section.rb', line 10 def type @type end |
Instance Method Details
#compressed? ⇒ Boolean
13 |
# File 'lib/pdfrb/xref_section.rb', line 13 def compressed?; type == :compressed; end |
#free? ⇒ Boolean
12 |
# File 'lib/pdfrb/xref_section.rb', line 12 def free?; type == :free; end |
#in_use? ⇒ Boolean
11 |
# File 'lib/pdfrb/xref_section.rb', line 11 def in_use?; type == :in_use; end |