Class: Pandoku::Formats::ODT

Inherits:
Object
  • Object
show all
Includes:
OutputFormat
Defined in:
lib/pandoku/formats/odt.rb

Overview

ODT (OpenOffice text document) format.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.nameObject



8
9
10
# File 'lib/pandoku/formats/odt.rb', line 8

def self.name
  :odt
end

Instance Method Details

#clioptsObject



12
13
14
15
# File 'lib/pandoku/formats/odt.rb', line 12

def cliopts
  @tmpfile = @tmpfile || self._tmpfile
  "--output=#{@tmpfile} #{super.cliopts}"
end

#compile(document) ⇒ Object



17
18
19
# File 'lib/pandoku/formats/odt.rb', line 17

def compile(document)
  @tmpfile = self._tmpfile
end