/usr/include/libodfgen-0.1/libodfgen/OdpGenerator.hxx is in libodfgen-dev 0.1.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
/* libodfgen
* Version: MPL 2.0 / LGPLv2.1+
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Major Contributor(s):
* Copyright (C) 2006 Ariya Hidayat (ariya@kde.org)
*
* For minor contributions see the git repository.
*
* Alternatively, the contents of this file may be used under the terms
* of the GNU Lesser General Public License Version 2.1 or later
* (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
* applicable instead of those above.
*
* For further information visit http://libwpd.sourceforge.net
*/
/* "This product is not manufactured, approved, or supported by
* Corel Corporation or Corel Corporation Limited."
*/
#ifndef LIBODFGEN_ODPGENERATOR_HXX_INCLUDED
#define LIBODFGEN_ODPGENERATOR_HXX_INCLUDED
#include <librevenge/librevenge.h>
#include "libodfgen-api.hxx"
#include "OdfDocumentHandler.hxx"
class OdfGenerator;
class OdpGeneratorPrivate;
/** A generator for presentations.
*
* See @c librevenge library for documentation of the
* librevenge::KEYPresentationInterface interface.
*/
class ODFGENAPI OdpGenerator : public librevenge::RVNGPresentationInterface
{
public:
OdpGenerator();
~OdpGenerator();
void addDocumentHandler(OdfDocumentHandler *pHandler, const OdfStreamType streamType);
librevenge::RVNGStringVector getObjectNames() const;
bool getObjectContent(librevenge::RVNGString const &objectName, OdfDocumentHandler *pHandler);
void startDocument(const ::librevenge::RVNGPropertyList &propList);
void endDocument();
void setDocumentMetaData(const ::librevenge::RVNGPropertyList &propList);
void defineEmbeddedFont(const librevenge::RVNGPropertyList &propList);
void startSlide(const ::librevenge::RVNGPropertyList &propList);
void endSlide();
void startMasterSlide(const ::librevenge::RVNGPropertyList &propList);
void endMasterSlide();
void setSlideTransition(const ::librevenge::RVNGPropertyList &propList);
void startLayer(const ::librevenge::RVNGPropertyList &propList);
void endLayer();
void startEmbeddedGraphics(const ::librevenge::RVNGPropertyList &propList);
void endEmbeddedGraphics();
void openGroup(const ::librevenge::RVNGPropertyList &propList);
void closeGroup();
void setStyle(const ::librevenge::RVNGPropertyList &propList);
void drawRectangle(const ::librevenge::RVNGPropertyList &propList);
void drawEllipse(const ::librevenge::RVNGPropertyList &propList);
void drawPolyline(const ::librevenge::RVNGPropertyList &propList);
void drawPolygon(const ::librevenge::RVNGPropertyList &propList);
void drawPath(const ::librevenge::RVNGPropertyList &propList);
void drawGraphicObject(const ::librevenge::RVNGPropertyList &propList);
void drawConnector(const ::librevenge::RVNGPropertyList &propList);
void startTextObject(const ::librevenge::RVNGPropertyList &propList);
void endTextObject();
void defineParagraphStyle(const librevenge::RVNGPropertyList &propList);
void openParagraph(const ::librevenge::RVNGPropertyList &propList);
void closeParagraph();
void defineCharacterStyle(const librevenge::RVNGPropertyList &propList);
void openSpan(const ::librevenge::RVNGPropertyList &propList);
void closeSpan();
void openLink(const librevenge::RVNGPropertyList &propList);
void closeLink();
void insertText(const ::librevenge::RVNGString &str);
void insertTab();
void insertSpace();
void insertLineBreak();
void insertField(const ::librevenge::RVNGPropertyList &propList);
void openOrderedListLevel(const ::librevenge::RVNGPropertyList &propList);
void openUnorderedListLevel(const ::librevenge::RVNGPropertyList &propList);
void closeOrderedListLevel();
void closeUnorderedListLevel();
void openListElement(const ::librevenge::RVNGPropertyList &propList);
void closeListElement();
void startTableObject(const ::librevenge::RVNGPropertyList &propList);
void openTableRow(const ::librevenge::RVNGPropertyList &propList);
void closeTableRow();
void openTableCell(const ::librevenge::RVNGPropertyList &propList);
void closeTableCell();
void insertCoveredTableCell(const ::librevenge::RVNGPropertyList &propList);
void endTableObject();
void startComment(const ::librevenge::RVNGPropertyList &propList);
void endComment();
void startNotes(const ::librevenge::RVNGPropertyList &propList);
void endNotes();
void defineChartStyle(const ::librevenge::RVNGPropertyList &propList);
void openChart(const ::librevenge::RVNGPropertyList &propList);
void closeChart();
void openChartTextObject(const ::librevenge::RVNGPropertyList &propList);
void closeChartTextObject();
void openChartPlotArea(const ::librevenge::RVNGPropertyList &propList);
void closeChartPlotArea();
void insertChartAxis(const ::librevenge::RVNGPropertyList &propList);
void openChartSeries(const ::librevenge::RVNGPropertyList &propList);
void closeChartSeries();
void openAnimationSequence(const ::librevenge::RVNGPropertyList &propList);
void closeAnimationSequence();
void openAnimationGroup(const ::librevenge::RVNGPropertyList &propList);
void closeAnimationGroup();
void openAnimationIteration(const ::librevenge::RVNGPropertyList &propList);
void closeAnimationIteration();
void insertMotionAnimation(const ::librevenge::RVNGPropertyList &propList);
void insertColorAnimation(const ::librevenge::RVNGPropertyList &propList);
void insertAnimation(const ::librevenge::RVNGPropertyList &propList);
void insertEffect(const ::librevenge::RVNGPropertyList &propList);
/** Registers a handler for embedded images.
*
* @param[in] mimeType MIME type of the image
* @param[in] imageHandler a function that handles processing of
* the image's data and generating output
*/
void registerEmbeddedImageHandler(const librevenge::RVNGString &mimeType, OdfEmbeddedImage imageHandler);
/** Registers a handler for embedded objects.
*
* @param[in] mimeType MIME type of the object
* @param[in] objectHandler a function that handles processing of
* the object's data and generating output
*/
void registerEmbeddedObjectHandler(const librevenge::RVNGString &mimeType, OdfEmbeddedObject objectHandler);
//! retrieve data from another odfgenerator ( the list and the embedded handler)
void initStateWith(OdfGenerator const &orig);
private:
// disable copying
OdpGenerator(OdpGenerator const &);
OdpGenerator &operator=(OdpGenerator const &);
OdpGeneratorPrivate *mpImpl;
};
#endif // LIBODFGEN_ODPGENERATOR_HXX_INCLUDED
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
|