Class: SistemKebut::Section::SectionProperties
- Inherits:
-
DefPengelolaXML
- Object
- KebutSemalam::PengelolaXML
- DefPengelolaXML
- SistemKebut::Section::SectionProperties
- Defined in:
- lib/sks/section/dasar.rb
Constant Summary collapse
- PGMAR =
{ left: 1134, right: 1134, gutter: 0, header: 0, top: 1134, footer: 0, bottom: 1134 }
- GRID =
{ type: :default, linePitch: 600, charSpace: 32768 }
Instance Attribute Summary collapse
-
#docGrid ⇒ Object
Returns the value of attribute docGrid.
-
#formProt ⇒ Object
Returns the value of attribute formProt.
-
#pgMar ⇒ Object
Returns the value of attribute pgMar.
-
#pgNumType ⇒ Object
Returns the value of attribute pgNumType.
-
#pgSz ⇒ Object
Returns the value of attribute pgSz.
-
#textDirection ⇒ Object
Returns the value of attribute textDirection.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize ⇒ SectionProperties
constructor
A new instance of SectionProperties.
Methods inherited from DefPengelolaXML
Methods inherited from KebutSemalam::PengelolaXML
Constructor Details
#initialize ⇒ SectionProperties
Returns a new instance of SectionProperties.
22 23 24 25 26 27 28 29 30 |
# File 'lib/sks/section/dasar.rb', line 22 def initialize @type = :nextPage @pgSz = { width: 11906, height: 16838 } @pgMar = PGMAR @pgNumType = { fmt: :decimal, start: 1 } @formProt = false @textDirection = :lrTb @docGrid = GRID end |
Instance Attribute Details
#docGrid ⇒ Object
Returns the value of attribute docGrid.
5 6 7 |
# File 'lib/sks/section/dasar.rb', line 5 def docGrid @docGrid end |
#formProt ⇒ Object
Returns the value of attribute formProt.
5 6 7 |
# File 'lib/sks/section/dasar.rb', line 5 def formProt @formProt end |
#pgMar ⇒ Object
Returns the value of attribute pgMar.
4 5 6 |
# File 'lib/sks/section/dasar.rb', line 4 def pgMar @pgMar end |
#pgNumType ⇒ Object
Returns the value of attribute pgNumType.
4 5 6 |
# File 'lib/sks/section/dasar.rb', line 4 def pgNumType @pgNumType end |
#pgSz ⇒ Object
Returns the value of attribute pgSz.
4 5 6 |
# File 'lib/sks/section/dasar.rb', line 4 def pgSz @pgSz end |
#textDirection ⇒ Object
Returns the value of attribute textDirection.
5 6 7 |
# File 'lib/sks/section/dasar.rb', line 5 def textDirection @textDirection end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/sks/section/dasar.rb', line 4 def type @type end |