Top Level Namespace

Defined Under Namespace

Modules: Logger, Tokenize Classes: BetweenFilter, BodyParagraphJoiner, BodyTypeRefiner, ClassFilter, CodeParagraphJoiner, CodeScrubber, CodeTypeRefiner, CommandProcessor, CompositeProcessor, Container, DefinitionFilter, DocbookFormatter, DocbookRenderer, Editor, EmbeddedRubyProcessor, FileProcessor, FileReader, FileWriter, Filter, FirstMiddleLastUngrouper, Formatter, Grouper, HtmlFormatter, HtmlRenderer, IncludedFilter, MethodFilter, ModuleFilter, NRWriter, OdtFormatter, OdtParser, OdtRenderer, OdtReplacer, Paragraph, ParagraphJoiner, ParagraphStyle, Printer, Processor, RegularExpressionExcludeFilter, SkipFilter, Span, SpecFormatter, SpecRenderer, String, Style, StyleHash, TemplateExpander, Text, TextPrinter, TextReader, TextStyle, TypeAssigner, TypeRefiner, Ungrouper

Constant Summary collapse

Verbose =
false
DEBUG =
true
SKEL =
File.expand_path('../skel.odt', __FILE__)
FormatOdtDir =

require ‘erb’

File.dirname(__FILE__)

Instance Method Summary collapse

Instance Method Details

#additional_styles(styles) ⇒ Object



16
17
18
# File 'lib/yesroff/odt_parser.rb', line 16

def additional_styles(styles)
  log "noop additional paragraph styles function"
end

#additional_text_styles(styles) ⇒ Object



20
21
22
# File 'lib/yesroff/odt_parser.rb', line 20

def additional_text_styles(styles)
  log "noop additional text styles function"
end

#debug(*args) ⇒ Object



11
12
13
14
# File 'lib/yesroff/odt_parser.rb', line 11

def debug(*args)
  #return unless DEBUG
  puts args.join(' ')
end

#log(*args) ⇒ Object



7
8
9
# File 'lib/yesroff/odt_parser.rb', line 7

def log(*args)
  $stderr.puts args.join(' ')
end