Oox

From Apache OpenOffice Wiki
(Redirected from OOX)
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.

class AttributeList

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.

class FragmentHandler

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

class RelationsFragmentHandler

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

class ImportBase

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.

helper

xls

Xls includes code specific to parse SpreadsheetML.

ppt

Ppt includes code specific to parse PresentationML.

ole

OLE includes code specific to parse OLE.

drawingml

Drawingml includes code specific to parse DrawingML.

Shape related class

Includes: Shape, FillProperties/LineProperties, and so on.

Text related class

Includes: TextBody/TextParagraph/TextRun/

Color related class

Theme related class

Others

chart

Chart includes code specific to parse Chart.

diagram

Diagram includes code specific to parse Diagram.

table

Table includes code specific to parse Table. Includes: TableCell/TableRow/TableStyle/TableBackgroundStyleContext and so on.

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.


Related

Pivot Table in Xls module

Cell Style in Xls module

Personal tools