26 namespace container {
class XNameAccess; }
27 namespace frame {
class XModel; }
28 namespace lang {
class XMultiServiceFactory; }
33 namespace xml::sax {
class XDocumentHandler; }
46 css::uno::Reference<css::container::XNameAccess>
xEvents;
51 const css::uno::Reference< css::uno::XComponentContext >& xContext, OUString
const & implementationName,
SvXMLExportFlags nFlags
58 const css::uno::Sequence<css::uno::Any> & rArguments )
override;
Component for the export of events attached to autotext blocks.
virtual void ExportContent_() override
Override this method to export the content of <office:body>.
virtual void ExportMasterStyles_() override
Override this method to export the contents of <style:master-styles>.
virtual void ExportAutoStyles_() override
Override this method to export the contents of <style:auto-styles>.
virtual void ExportFontDecls_() override
Override this method to export the font declarations The default implementation will export the conte...
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > &rArguments) override
css::uno::Reference< css::container::XNameAccess > xEvents
bool hasEvents() const
does the document have any events ?
void exportEvents()
export the events element
virtual void ExportScripts_() override
Override this method to export the content of <office:scripts>.
void addNamespaces()
add the namespaces used by events (to be called for the document element)
virtual ~XMLAutoTextEventExport() override
virtual ErrCode exportDoc(enum ::xmloff::token::XMLTokenEnum eClass=xmloff::token::XML_TOKEN_INVALID) override
export the events off all autotexts
XMLAutoTextEventExport(const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString const &implementationName, SvXMLExportFlags nFlags)
virtual void ExportStyles_(bool bUsed) override
Override this method to export the content of <style:styles>.
virtual void ExportMeta_() override
Override this method to export the content of <office:meta>.
XMLTokenEnum
The enumeration of all XML tokens.