• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • calligra API Reference
  • KDE Home
  • Contact Us
 

KoOdfReader

KoOdfReader Documentation

The purpose of this library is to traverse the contents of an ODF file using so called XML stream reading. The library contains a recursive descent parser for ODF contents. At the time of this writing only an ODT parser is available but later we will provide parsers for all of the ODF document types. Much of the actual contents use the same XML elements so supporting a new document type is not a lot of work.

During the parsing functions are called in a backend class that the programmer should subclass in order to provide specific output from the parser. A so called reader context (OdfReaderContext) is maintained and passed to all functions in the backend class. This class should also be subclassed. For a very simple example, see the text export filter in filters/words/ascii/AsciiExport.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 26 2021 23:24:20 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KoOdfReader

Skip menu "KoOdfReader"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

calligra API Reference

Skip menu "calligra API Reference"
  • Braindump
  • filters
  •   MSO
  •   KoMSOOXML
  •   KoOdf2
  •   KoOdfReader
  • Karbon
  • libs
  •   BasicFlakes
  •   Flake
  •   KoKross
  •   KUndo2
  •   KoMain
  •   KoOdf
  •   KoPageApp
  •   Pigment
  •   KoPlugin
  •   KoRdf
  •   KoStore
  •   KoText
  •   KoTextLayout
  •   KoVectorImage
  •   KoWidgets
  •   KoWidgetUtils
  • plugins
  •   formulashape
  •   musicshape
  • Sheets
  • Stage
  • Words
  •   part
  •     scripting

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal