NLdoc.Conversion.Reader.Docx.Files.Document (NLdoc.Conversion.Reader.Docx v1.1.2)

View Source

This module provides a function for reading a Docx document.xml file into a NLdoc.Conversion.Reader.Docx.Files.Document struct.

Summary

Functions

Reads a Docx document.xml file at the given path(s) and parses it into an NLdoc.Conversion.Reader.Docx.Files.Document struct.

Types

t()

@type t() :: %NLdoc.Conversion.Reader.Docx.Files.Document{
  path: String.t(),
  rels: NLdoc.Conversion.Reader.Docx.Files.Relationship.t(),
  root: Saxy.XML.element()
}

Functions

read!(filepath, files)

@spec read!(filepath :: String.t(), files :: NLdoc.Conversion.Reader.Docx.Files.t()) ::
  t()

Reads a Docx document.xml file at the given path(s) and parses it into an NLdoc.Conversion.Reader.Docx.Files.Document struct.