Module: Docxtor2

Defined in:
lib/docxtor2.rb,
lib/docxtor2/package.rb,
lib/docxtor2/version.rb,
lib/docxtor2/constants.rb,
lib/docxtor2/generator.rb,
lib/docxtor2/known/path.rb,
lib/docxtor2/known/parts.rb,
lib/docxtor2/element_list.rb,
lib/docxtor2/known/styles.rb,
lib/docxtor2/object_utils.rb,
lib/docxtor2/package/part.rb,
lib/docxtor2/known/aliases.rb,
lib/docxtor2/known/mappings.rb,
lib/docxtor2/block_evaluator.rb,
lib/docxtor2/content_builder.rb,
lib/docxtor2/known/templates.rb,
lib/docxtor2/template_parser.rb,
lib/docxtor2/document_builder.rb,
lib/docxtor2/package/document.rb,
lib/docxtor2/package/document/element.rb,
lib/docxtor2/package/document/heading.rb,
lib/docxtor2/package/document/paragraph.rb,
lib/docxtor2/package/document/page_break.rb,
lib/docxtor2/package/document/table_of_contents.rb

Defined Under Namespace

Modules: BlockEvaluator, Known, ObjectUtils Classes: ContentBuilder, DocumentBuilder, ElementList, Generator, Package, TemplateParser

Constant Summary collapse

VERSION =
"0.1.0"
SEARCH_PATTERN =
File.join('**', '{*,.}{xml,rels}')
DOCUMENT_XML_PATH =
'word/document.xml'

Class Method Summary collapse

Class Method Details

.generate(template = Known::Templates::DEFAULT, &block) ⇒ Object



36
37
38
# File 'lib/docxtor2.rb', line 36

def self.generate(template = Known::Templates::DEFAULT, &block)
  Generator.generate(template, &block)
end