API Reference NLdoc.Conversion.Reader.Docx v#1.1.2
View SourceModules
This module implements some helper functions for handling .zip
files.
The NLdoc.Conversion.Reader.Docx
struct represents an opened Docx file.
This module defines a struct that represents a w:rFonts
object in a Word document.
This module defines the behaviour of a font module.
This module provides a basis for implementing UTF-8 conversions of special fonts like Symbol, Wingdings and Webdings.
This module maps codepoints in the Symbol font family to Unicode UTF-8 codepoints.
This module translates characters in UTF-8 to UTF-8 characters. It's essentially a no-op.
This module maps codepoints in Microsoft's Webdings font family to standard Unicode UTF-8 codepoints.
This module maps codepoints in Microsoft's Wingdings font family to standard Unicode UTF-8 codepoints.
This module maps codepoints in Microsoft's Wingdings 2 font family to standard Unicode UTF-8 codepoints.
This module maps codepoints in Microsoft's Wingdings 3 font family to standard Unicode UTF-8 codepoints.
This module defines a struct that represents a numbering definition in a Word document
as found in files like word/numbering.xml
This module defines a struct that represents a w:numPr
(numbering properties) object in a Word document.
This module defines a struct that represents a w:pPr
(paragraph properties) object in a Word document.
This module defines a struct that represents a relationship in a Word document
as found in files like word/_rels/document.xml
.
This module defines a struct that represents a w:rPr
(run properties) object in a Word document.
This module defines a struct that represents a style in a Word document.
Converts a Docx
struct into an NLdoc spec document, raising any errors that occur during the conversion.
This module defines utility functions for converting Paragraphs.
This module provides functions to find specific files inside a Docx document.
Parsing for the "[Content_Types].xml" file inside a Docx document.
This module parses the core properties (docProps/core.xml
) file in a Docx document
into a simple key-value map.
This module provides a function for reading a Docx document.xml file
into a NLdoc.Conversion.Reader.Docx.Files.Document
struct.
This module parses the numbering files (e.g. word/numbering.xml
) in a Docx document
into a map mapping {id, level}
tuples to numbering definitions, represented by
NLdoc.Conversion.Reader.Docx.AST.Numbering
structs.
This module defines a struct that captures the state of the converter during a Docx conversion.
This module provides functions for reading and parsing relationships files (e.g. word/_rels/document.xml.rels
)
into a map mapping {id, type}
tuples to NLdoc.Conversion.Reader.Docx.AST.Relationship
structs.
This module parses the styles (e.g. word/styles.xml
) files in a Docx document
into a map mapping style IDs to NLdoc.Conversion.Reader.Docx.AST.Style
structs.
This module performs post-processing on the intermediate result of a Docx conversion
to an NLdoc spec document with NLdoc.Conversion.Reader.Docx.Convert
.
This module defines a struct that captures the state of the converter during a Docx conversion.
This module defines utility functions for the NLdoc spec objects.
NLdoc.Conversion.Docx.XML
implements functions for reading and parsing XML files.