Class: Prune::Elements::Outlines

Inherits:
Base
  • Object
show all
Defined in:
lib/prune/elements/outlines.rb

Instance Attribute Summary

Attributes inherited from Base

#document

Instance Method Summary collapse

Methods inherited from Base

#reference, #register, #to_s

Methods included from Functions

#mm_to_pt, #pt_to_mm

Methods included from PObjects

pa, pd, ph, pl, pn, ps

Constructor Details

#initialize(document) ⇒ Outlines

Initialize.



7
8
9
10
11
12
13
14
15
# File 'lib/prune/elements/outlines.rb', line 7

def initialize(document)
  super(document)
  # Set dictionary.
  @content = pd(
    pn(:Type) => pn(:Outlines),
    pn(:Count) => 0)
  # Register element to document.
  register
end