Difference between revisions of "Oox"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 30: Line 30:
  
 
[[Category:Office Open XML]]
 
[[Category:Office Open XML]]
 +
[[Category:Source_directories]]

Revision as of 11:08, 4 April 2007

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

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

ppt

ppt contain the PresentationML parsing code.

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

This directory includes code specific to parse SpreadsheetML.

Personal tools