summaryrefslogtreecommitdiff
path: root/xmloff/README
blob: 74659c78f6f37a38a78a941da6b93ff8627c82c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Contains ODF import and export filter logic.

The main library "xo" contains the basic ODF import/export filter
implementation for most applications.  The document is accessed
via its UNO API, which has the advantage that the same import/export
code can be used for text in all applications (from/to Writer/EditEngine).
The filter consumes/produces via SAX UNO API interface (implemented in
"sax").  Various bits of the ODF filters are also implemented in
applications, for example sw/source/filter/xml.

There is a central list of all element or attribute names in
xmloff/inc/xmloff/token.hxx.  The main class of the import filter
is SvXMLImport, and of the export filter SvXMLExport.

The Import filter maintains a stack of contexts for each element being
read.  There are many classes specific to particular elements, derived
from SvXMLImportContext.

Note that for export several different versions of ODF are supported,
with the default being the latest ODF version with "extensions", which
means it may contain elements and attributes that are only in drafts of
the specification or are not yet submitted for specification.  Documents
produced in the other (non-extended) ODF modes are supposed to be
strictly conforming to the respective specification, i.e., only markup
defined by the ODF specification is allowed.

There is another library "xof" built from the source/transform directory,
which is the filter for the OpenOffice.org XML format.  This legacy format
is a predecessor of ODF and was the default in OpenOffice.org 1.x versions,
which did not support ODF.  This filter works as a SAX transformation
from/to ODF, i.e., when importing a document the transform library reads
the SAX events from the file and generates SAX events that are then
consumed by the ODF import filter.

http://www.openoffice.org/xml/general.html
http://www.openoffice.org/xml/xml_specification.pdf

There is some stuff in the "dtd" directory which is most likely related
to the OpenOffice.org XML format but is possibly outdated and obsolete.
ecoration'>Hossein 2021-01-14Add more source files for breakpointing convenienceTor Lillqvist 2021-01-14Add some more source files and drop dead onesTor Lillqvist 2020-12-08Add source files from svx/source/tbxctrlsTor Lillqvist 2020-12-06Add source files from dbaccess/source/ui/miscTor Lillqvist 2020-12-06Fix some bogus pathsTor Lillqvist 2020-10-16Rename CLANG_CC, CLANG_CXX configuration vars (avoid clash with scan-build)Stephan Bergmann 2020-06-12PopupMenuFloatingWindow is now unusedCaolán McNamara 2020-05-25Add source files from sfx2/source/applTor Lillqvist 2020-05-22Add source files from xmlsecurity/source/xmlsecTor Lillqvist 2020-05-22Add source files from desktop for breakpointing convenienceTor Lillqvist 2020-05-12Add some more source files for breakpointing convenienceTor Lillqvist 2020-05-11Add some more source files for breakpointing convenienceTor Lillqvist 2020-05-06Add source files from cui/source/options and unotools/source/i18nTor Lillqvist 2020-04-29Add source files in the C++/UNO bridge for easier breakpointingTor Lillqvist 2019-11-20Add some more source files for breakpointing convenienceTor Lillqvist 2019-10-08Add missing source files in vcl/source/gdiTor Lillqvist 2018-11-29Rename Mac OS X to official name macOS in comments and documentationBartosz Kosiorek 2018-05-21Add sal/osl/unx/file.cxx for debugging convenienceTor Lillqvist 2018-05-21Updates by Xcode 9.3Tor Lillqvist 2018-01-08Add a few Mac-specific source files in avmedia for easier breakpointingTor Lillqvist 2017-02-02gbuild-to-ide added -DLIBO_INTERNAL_ONLY to CXXFLAGSjan Iversen 2017-01-29gbuild-to-ide xcode, added targets in menujan Iversen 2016-10-20Add some more source files for breakpointing convenienceTor Lillqvist 2016-02-08vcl: cmdevt.[hc]xx -> commandevent.[hc]xxChris Sherlock 2014-03-06Add an Xcode project to make it easier to debug a running soffice on OS XTor Lillqvist