Oox

From Apache OpenOffice Wiki
Revision as of 04:15, 22 June 2012 by Bjcheny (Talk | contribs)

Jump to: navigation, search

Stands for Office Open XML. The name of the module that handle Office Open XML import. Part of the Xml project.

Note

The WordprocessingML importer is part of a different effort in writerfilter2 where the refactoring of the binary and RTF filter also takes place.

Directory Structure

core

This directory includes common code for all filters.

AttributeList (class)

Provides access to attribute values of an element. AttributeList wraps a com.sun.star.xml.sax.XFastAttributeList object, and provides convenience functions that convert the string value of an attribute to various other data types. This class is usually used as a local variable declared with an instance of XFastAttributeList passed from the FastParser instance.

FragmentHandler (class)

Top-most parent class that handles fragments. In most cases this class handles all nested contexts for increased performance. This class implements XFastDocumentHandler interface.

RelationsFragmentHandler (class)

Handles loading of relationships fragments ( /*/_rels/*.rels ). Like the FragmentHandler class, this class also implements XFastDocumentHandler interface.

ImportBase (class)

The base class for application specific import filters, currently sub-classed by oox::ppt::PowerPointImport and oox::xls::ExcelFilter. It implements XImporter and XFilter interfaces.

drawingml

Drawingml includes code specific to parse DrawingML.

ppt

Ppt includes code specific to parse PresentationML.

token

The token list is generated by parsing the XML Schemas. Then gentoken.pl will use gperf to generate a perfect hash for fast parsing of known tokens. All the token are dispatched through integer numbers.

xls

Xls includes code specific to parse SpreadsheetML.

Personal tools