Documentation
¶
Overview ¶
Package adapters contains source-format codecs for rich text documents.
Index ¶
Constants ¶
View Source
const DOCXMediaType = "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
View Source
const XLSXMediaType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DOCX ¶
type DOCX struct{}
DOCX converts the main document part of a Word document. It intentionally operates on the portable WordprocessingML subset used by common editors.
func (DOCX) DecodeBlocks ¶
type HTML ¶
type HTML struct{}
HTML encodes and decodes the pretty HTML dialect used for Docs/Word agent buffers. It is not registered as the text/html file codec (FUSE would steal .html). One heading, paragraph, list item, or table per line.
func (HTML) DecodeBlocks ¶
type XLSX ¶
type XLSX struct{}
XLSX is the vfs.SheetNormalizer of Excel workbooks: it maps workbook.xml, sheetN.xml, sharedStrings.xml and styles.xml to sheets. Codecs registers it in a vfs.TabularCodec.
func (XLSX) DecodeSheets ¶
Click to show internal directories.
Click to hide internal directories.