LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | List of all members
DocxExportFilter Class Reference

The physical access to the DOCX document (for writing). More...

#include <docxexportfilter.hxx>

Inheritance diagram for DocxExportFilter:
[legend]
Collaboration diagram for DocxExportFilter:
[legend]

Public Member Functions

 DocxExportFilter (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual bool importDocument () override
 
virtual const ::oox::drawingml::ThemegetCurrentTheme () const override
 
virtual ::oox::vml::DrawinggetVmlDrawing () override
 
virtual ::oox::drawingml::chart::ChartConvertergetChartConverter () override
 
virtual ::oox::drawingml::table::TableStyleListPtr getTableStyles () override
 
virtual bool exportDocument () override
 
- Public Member Functions inherited from oox::core::XmlFilterBase
 XmlFilterBase (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual ~XmlFilterBase () override
 
virtual const ::oox::drawingml::ThemegetCurrentTheme () const=0
 
virtual std::shared_ptr<::oox::drawingml::ThemegetCurrentThemePtr () const
 
virtual ::oox::vml::DrawinggetVmlDrawing ()=0
 
virtual ::oox::drawingml::chart::ChartConvertergetChartConverter ()=0
 
virtual void useInternalChartDataTable (bool)
 
virtual ::oox::drawingml::table::TableStyleListPtr getTableStyles ()=0
 
OUString getFragmentPathFromFirstTypeFromOfficeDoc (std::u16string_view rPart)
 
bool importFragment (const rtl::Reference< FragmentHandler > &rxHandler)
 
bool importFragment (const rtl::Reference< FragmentHandler > &rxHandler, FastParser &rParser)
 
css::uno::Reference< css::xml::dom::XDocument > importFragment (const OUString &rFragmentPath)
 
bool importFragment (const ::rtl::Reference< FragmentHandler > &rxHandler, const css::uno::Reference< css::xml::sax::XFastSAXSerializable > &rxSerializer)
 
RelationsRef importRelations (const OUString &rFragmentPath)
 
OUString addRelation (const OUString &rType, std::u16string_view rTarget)
 
OUString addRelation (const css::uno::Reference< css::io::XOutputStream > &rOutputStream, const OUString &rType, std::u16string_view rTarget, bool bExternal=false)
 
css::uno::Reference< css::io::XOutputStream > openFragmentStream (const OUString &rStreamName, const OUString &rMediaType)
 
::sax_fastparser::FSHelperPtr openFragmentStreamWithSerializer (const OUString &rStreamName, const OUString &rMediaType)
 
sal_Int32 GetUniqueId ()
 
sal_Int32 GetMaxDocId ()
 
void SetMaxDocId (sal_Int32 maxDocId)
 
void exportDocumentProperties (const css::uno::Reference< css::document::XDocumentProperties > &xProperties, bool bSecurityOptOpenReadOnly)
 
void exportCustomFragments ()
 
void importDocumentProperties ()
 
bool isMSO2007Document () const
 
bool isMSODocument () const
 
void setMissingExtDrawing ()
 
void setDiagramFontHeights (NamedShapePairs *pDiagramFontHeights)
 
NamedShapePairsgetDiagramFontHeights ()
 
void checkDocumentProperties (const css::uno::Reference< css::document::XDocumentProperties > &xDocProps)
 
OUString getNamespaceURL (sal_Int32 nNSID) const
 
- Public Member Functions inherited from oox::core::FilterBase
 FilterBase (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual ~FilterBase () override
 
bool isImportFilter () const
 
bool isExportFilter () const
 
OoxmlVersion getVersion () const
 
virtual bool importDocument ()=0
 
virtual bool exportDocument ()=0
 
const css::uno::Reference< css::uno::XComponentContext > & getComponentContext () const
 
const css::uno::Reference< css::frame::XModel > & getModel () const
 
const css::uno::Reference< css::lang::XMultiServiceFactory > & getModelFactory () const
 
const css::uno::Reference< css::frame::XFrame > & getTargetFrame () const
 
const css::uno::Reference< css::task::XStatusIndicator > & getStatusIndicator () const
 
::comphelper::SequenceAsHashMapgetFilterData () const
 
utl::MediaDescriptorgetMediaDescriptor () const
 
const OUString & getFileUrl () const
 
OUString getAbsoluteUrl (const OUString &rUrl) const
 
StorageRef const & getStorage () const
 
css::uno::Reference< css::io::XInputStream > openInputStream (const OUString &rStreamName) const
 
css::uno::Reference< css::io::XOutputStream > openOutputStream (const OUString &rStreamName) const
 
void commitStorage () const
 
GraphicHelpergetGraphicHelper () const
 
ModelObjectHelpergetModelObjectHelper () const
 
ModelObjectHelpergetModelObjectHelperForModel (const css::uno::Reference< css::lang::XMultiServiceFactory > &xFactory) const
 
::oox::ole::OleObjectHelpergetOleObjectHelper () const
 
::oox::ole::VbaProjectgetVbaProject () const
 
bool importBinaryData (StreamDataSequence &orDataSeq, const OUString &rStreamName)
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &rArgs) override
 
virtual void SAL_CALL setTargetDocument (const css::uno::Reference< css::lang::XComponent > &rxDocument) override
 
virtual void SAL_CALL setSourceDocument (const css::uno::Reference< css::lang::XComponent > &rxDocument) override
 
virtual sal_Bool SAL_CALL filter (const css::uno::Sequence< css::beans::PropertyValue > &rMediaDescSeq) override
 
virtual void SAL_CALL cancel () override
 
bool exportVBA () const
 
bool isExportTemplate () const
 

Private Member Functions

virtual OUString SAL_CALL getImplementationName () override
 
virtual ::oox::ole::VbaProjectimplCreateVbaProject () const override
 

Additional Inherited Members

- Static Public Member Functions inherited from oox::core::XmlFilterBase
static void putPropertiesToDocumentGrabBag (const css::uno::Reference< css::lang::XComponent > &xDstDoc, const comphelper::SequenceAsHashMap &rProperties)
 
static FastParsercreateParser ()
 
- Protected Member Functions inherited from oox::core::XmlFilterBase
virtual css::uno::Reference< css::io::XInputStream > implGetInputStream (utl::MediaDescriptor &rMediaDesc) const override
 
virtual css::uno::Reference< css::io::XStream > implGetOutputStream (utl::MediaDescriptor &rMediaDesc) const override
 
virtual bool implFinalizeExport (utl::MediaDescriptor &rMediaDescriptor) override
 
- Protected Member Functions inherited from oox::core::FilterBase
virtual css::uno::Reference< css::io::XInputStream > implGetInputStream (utl::MediaDescriptor &rMediaDesc) const
 
virtual css::uno::Reference< css::io::XStream > implGetOutputStream (utl::MediaDescriptor &rMediaDesc) const
 
virtual bool implFinalizeExport (utl::MediaDescriptor &rMediaDescriptor)
 
css::uno::Reference< css::io::XStream > const & getMainDocumentStream () const
 
- Protected Attributes inherited from oox::core::XmlFilterBase
bool mbMissingExtDrawing
 

Detailed Description

The physical access to the DOCX document (for writing).

Definition at line 29 of file docxexportfilter.hxx.

Constructor & Destructor Documentation

◆ DocxExportFilter()

DocxExportFilter::DocxExportFilter ( const css::uno::Reference< css::uno::XComponentContext > &  xContext)
explicit

Definition at line 36 of file docxexportfilter.cxx.

Member Function Documentation

◆ exportDocument()

bool DocxExportFilter::exportDocument ( )
overridevirtual

◆ getChartConverter()

virtual ::oox::drawingml::chart::ChartConverter * DocxExportFilter::getChartConverter ( )
inlineoverridevirtual

Implements oox::core::XmlFilterBase.

Definition at line 39 of file docxexportfilter.hxx.

◆ getCurrentTheme()

virtual const ::oox::drawingml::Theme * DocxExportFilter::getCurrentTheme ( ) const
inlineoverridevirtual

Implements oox::core::XmlFilterBase.

Definition at line 37 of file docxexportfilter.hxx.

◆ getImplementationName()

OUString DocxExportFilter::getImplementationName ( )
overrideprivatevirtual

Definition at line 127 of file docxexportfilter.cxx.

◆ getTableStyles()

virtual ::oox::drawingml::table::TableStyleListPtr DocxExportFilter::getTableStyles ( )
inlineoverridevirtual

Implements oox::core::XmlFilterBase.

Definition at line 40 of file docxexportfilter.hxx.

◆ getVmlDrawing()

virtual ::oox::vml::Drawing * DocxExportFilter::getVmlDrawing ( )
inlineoverridevirtual

Implements oox::core::XmlFilterBase.

Definition at line 38 of file docxexportfilter.hxx.

◆ implCreateVbaProject()

virtual ::oox::ole::VbaProject * DocxExportFilter::implCreateVbaProject ( ) const
inlineoverrideprivatevirtual

Implements oox::core::FilterBase.

Definition at line 48 of file docxexportfilter.hxx.

◆ importDocument()

virtual bool DocxExportFilter::importDocument ( )
inlineoverridevirtual

Implements oox::core::FilterBase.

Definition at line 36 of file docxexportfilter.hxx.


The documentation for this class was generated from the following files: