LibreOffice Module oox (master) 1
|
#include <xmlfilterbase.hxx>
Public Member Functions | |
XmlFilterBase (const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
virtual | ~XmlFilterBase () override |
virtual const ::oox::drawingml::Theme * | getCurrentTheme () const =0 |
Has to be implemented by each filter, returns the current theme. More... | |
virtual std::shared_ptr<::oox::drawingml::Theme > | getCurrentThemePtr () const |
May be implemented by filters which handle Diagrams, default returns empty ptr. More... | |
virtual ::oox::vml::Drawing * | getVmlDrawing ()=0 |
Has to be implemented by each filter to return the collection of VML shapes. More... | |
virtual ::oox::drawingml::chart::ChartConverter * | getChartConverter ()=0 |
Has to be implemented by each filter, returns a filter-specific chart converter object, that should be global per imported document. More... | |
virtual void | useInternalChartDataTable (bool) |
Helper to switch chart data table - specifically for xlsx imports. More... | |
virtual ::oox::drawingml::table::TableStyleListPtr | getTableStyles ()=0 |
Has to be implemented by each filter to return the table style list. More... | |
OUString | getFragmentPathFromFirstTypeFromOfficeDoc (std::u16string_view rPart) |
bool | importFragment (const rtl::Reference< FragmentHandler > &rxHandler) |
Imports a fragment using the passed fragment handler, which contains the full path to the fragment stream. More... | |
bool | importFragment (const rtl::Reference< FragmentHandler > &rxHandler, FastParser &rParser) |
css::uno::Reference< css::xml::dom::XDocument > | importFragment (const OUString &rFragmentPath) |
Imports a fragment into an xml::dom::XDocument. More... | |
bool | importFragment (const ::rtl::Reference< FragmentHandler > &rxHandler, const css::uno::Reference< css::xml::sax::XFastSAXSerializable > &rxSerializer) |
Imports a fragment from an xml::dom::XDocument using the passed fragment handler. More... | |
RelationsRef | importRelations (const OUString &rFragmentPath) |
Imports the relations fragment associated with the specified fragment. More... | |
OUString | addRelation (const OUString &rType, std::u16string_view rTarget) |
Adds new relation. More... | |
OUString | addRelation (const css::uno::Reference< css::io::XOutputStream > &rOutputStream, const OUString &rType, std::u16string_view rTarget, bool bExternal=false) |
Adds new relation to part's relations. More... | |
css::uno::Reference< css::io::XOutputStream > | openFragmentStream (const OUString &rStreamName, const OUString &rMediaType) |
Opens and returns the specified output stream from the base storage with specified media type. More... | |
::sax_fastparser::FSHelperPtr | openFragmentStreamWithSerializer (const OUString &rStreamName, const OUString &rMediaType) |
Opens specified output stream from the base storage with specified media type and returns new fast serializer for that stream. More... | |
sal_Int32 | GetUniqueId () |
Returns new unique ID for exported document. More... | |
sal_Int32 | GetMaxDocId () |
void | SetMaxDocId (sal_Int32 maxDocId) |
void | exportDocumentProperties (const css::uno::Reference< css::document::XDocumentProperties > &xProperties, bool bSecurityOptOpenReadOnly) |
Write the document properties into into the current OPC package. More... | |
void | exportCustomFragments () |
Write the customXml entries we are preserving (xlsx and pptx only). More... | |
void | importDocumentProperties () |
Read the document properties and also the customXml entries (xlsx and pptx only). More... | |
bool | isMSO2007Document () const |
bool | isMSODocument () const |
void | setMissingExtDrawing () |
Signal that an MSO 2007-created SmartArt was found, need to warn the user about it. More... | |
void | setDiagramFontHeights (NamedShapePairs *pDiagramFontHeights) |
NamedShapePairs * | getDiagramFontHeights () |
void | checkDocumentProperties (const css::uno::Reference< css::document::XDocumentProperties > &xDocProps) |
OUString | getNamespaceURL (sal_Int32 nNSID) const |
![]() | |
FilterBase (const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
virtual | ~FilterBase () override |
bool | isImportFilter () const |
Returns true, if filter is an import filter. More... | |
bool | isExportFilter () const |
Returns true, if filter is an export filter. More... | |
OoxmlVersion | getVersion () const |
virtual bool | importDocument ()=0 |
Derived classes implement import of the entire document. More... | |
virtual bool | exportDocument ()=0 |
Derived classes implement export of the entire document. More... | |
const css::uno::Reference< css::uno::XComponentContext > & | getComponentContext () const |
Returns the component context passed in the filter constructor (always existing). More... | |
const css::uno::Reference< css::frame::XModel > & | getModel () const |
Returns the document model (always existing). More... | |
const css::uno::Reference< css::lang::XMultiServiceFactory > & | getModelFactory () const |
Returns the service factory provided by the document model (always existing). More... | |
const css::uno::Reference< css::frame::XFrame > & | getTargetFrame () const |
Returns the frame that will contain the document model (may be null). More... | |
const css::uno::Reference< css::task::XStatusIndicator > & | getStatusIndicator () const |
Returns the status indicator (may be null). More... | |
::comphelper::SequenceAsHashMap & | getFilterData () const |
Returns the FilterData. More... | |
utl::MediaDescriptor & | getMediaDescriptor () const |
Returns the media descriptor. More... | |
const OUString & | getFileUrl () const |
Returns the URL of the imported or exported file. More... | |
OUString | getAbsoluteUrl (const OUString &rUrl) const |
Returns an absolute URL for the passed relative or absolute URL. More... | |
StorageRef const & | getStorage () const |
Returns the base storage of the imported/exported file. More... | |
css::uno::Reference< css::io::XInputStream > | openInputStream (const OUString &rStreamName) const |
Opens and returns the specified input stream from the base storage. More... | |
css::uno::Reference< css::io::XOutputStream > | openOutputStream (const OUString &rStreamName) const |
Opens and returns the specified output stream from the base storage. More... | |
void | commitStorage () const |
Commits changes to base storage (and substorages) More... | |
GraphicHelper & | getGraphicHelper () const |
Returns a helper for the handling of graphics and graphic objects. More... | |
ModelObjectHelper & | getModelObjectHelper () const |
Returns a helper with containers for various named drawing objects for the imported document. More... | |
ModelObjectHelper & | getModelObjectHelperForModel (const css::uno::Reference< css::lang::XMultiServiceFactory > &xFactory) const |
::oox::ole::OleObjectHelper & | getOleObjectHelper () const |
Returns a helper for the handling of OLE objects. More... | |
::oox::ole::VbaProject & | getVbaProject () const |
Returns the VBA project manager. More... | |
bool | importBinaryData (StreamDataSequence &orDataSeq, const OUString &rStreamName) |
Imports the raw binary data from the specified stream. More... | |
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 |
Receives user defined arguments. More... | |
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 |
Static Public Member Functions | |
static void | putPropertiesToDocumentGrabBag (const css::uno::Reference< css::lang::XComponent > &xDstDoc, const comphelper::SequenceAsHashMap &rProperties) |
static FastParser * | createParser () |
Protected Member Functions | |
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 |
![]() | |
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 | |
bool | mbMissingExtDrawing |
Private Member Functions | |
virtual StorageRef | implCreateStorage (const css::uno::Reference< css::io::XInputStream > &rxInStream) const override |
virtual StorageRef | implCreateStorage (const css::uno::Reference< css::io::XStream > &rxOutStream) const override |
void | importCustomFragments (css::uno::Reference< css::embed::XStorage > const &xDocumentStorage) |
Private Attributes | |
::std::unique_ptr< XmlFilterBaseImpl > | mxImpl |
sal_Int32 | mnRelId |
sal_Int32 | mnMaxDocId |
bool | mbMSO2007 |
bool | mbMSO |
Definition at line 84 of file xmlfilterbase.hxx.
|
explicit |
css::uno::RuntimeException |
Definition at line 194 of file xmlfilterbase.cxx.
|
overridevirtual |
Definition at line 205 of file xmlfilterbase.cxx.
References mxImpl.
OUString oox::core::XmlFilterBase::addRelation | ( | const css::uno::Reference< css::io::XOutputStream > & | rOutputStream, |
const OUString & | rType, | ||
std::u16string_view | rTarget, | ||
bool | bExternal = false |
||
) |
OUString oox::core::XmlFilterBase::addRelation | ( | const OUString & | rType, |
std::u16string_view | rTarget | ||
) |
Adds new relation.
Definition at line 533 of file xmlfilterbase.cxx.
References oox::core::FilterBase::getStorage(), mnRelId, and rTarget.
Referenced by oox::drawingml::DrawingML::CreateOutputStream(), exportCustomFragments(), oox::drawingml::ChartExport::exportExternalData(), oox::core::writeAppProperties(), oox::drawingml::ChartExport::WriteChartObj(), oox::core::writeCoreProperties(), oox::core::writeCustomProperties(), oox::drawingml::ShapeExport::WriteCustomShape(), oox::drawingml::DrawingML::WriteDiagram(), oox::drawingml::DrawingML::writeDiagramRels(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), oox::drawingml::DrawingML::WriteMediaNonVisualProperties(), oox::drawingml::ShapeExport::WriteOLE2Shape(), oox::drawingml::DrawingML::WriteRunProperties(), oox::drawingml::ShapeExport::WriteTextShape(), oox::drawingml::GraphicExport::writeToStorage(), and oox::drawingml::DrawingML::WriteWdpPicture().
void oox::core::XmlFilterBase::checkDocumentProperties | ( | const css::uno::Reference< css::document::XDocumentProperties > & | xDocProps | ) |
Definition at line 223 of file xmlfilterbase.cxx.
References comphelper::SequenceAsHashMap::end(), comphelper::SequenceAsHashMap::find(), mbMSO, mbMSO2007, and SAL_INFO.
Referenced by importDocumentProperties().
|
static |
Definition at line 302 of file xmlfilterbase.cxx.
void oox::core::XmlFilterBase::exportCustomFragments | ( | ) |
Write the customXml entries we are preserving (xlsx and pptx only).
Definition at line 1133 of file xmlfilterbase.cxx.
References addRelation(), oox::CUSTOMXML, oox::CUSTOMXMLPROPS, comphelper::OFOPXMLHelper::GetContentTypeByName(), oox::core::FilterBase::getModel(), comphelper::getProcessComponentContext(), oox::getRelationship(), openFragmentStream(), oox::core::FilterBase::openOutputStream(), UNO_NAME_MISC_OBJ_INTEROPGRABBAG, and xModel.
void oox::core::XmlFilterBase::exportDocumentProperties | ( | const css::uno::Reference< css::document::XDocumentProperties > & | xProperties, |
bool | bSecurityOptOpenReadOnly | ||
) |
Write the document properties into into the current OPC package.
xProperties | The document properties to export. |
Definition at line 948 of file xmlfilterbase.cxx.
References oox::core::writeAppProperties(), oox::core::writeCoreProperties(), and oox::core::writeCustomProperties().
|
pure virtual |
Has to be implemented by each filter, returns a filter-specific chart converter object, that should be global per imported document.
Implemented in oox::drawingml::ThemeFilterBase, oox::ppt::PowerPointImport, and oox::shape::ShapeFilterBase.
|
pure virtual |
Has to be implemented by each filter, returns the current theme.
Implemented in oox::drawingml::ThemeFilterBase, oox::ppt::PowerPointImport, and oox::shape::ShapeFilterBase.
Referenced by oox::drawingml::TextFont::getFontData().
|
virtual |
May be implemented by filters which handle Diagrams, default returns empty ptr.
Reimplemented in oox::drawingml::ThemeFilterBase, oox::ppt::PowerPointImport, and oox::shape::ShapeFilterBase.
Definition at line 217 of file xmlfilterbase.cxx.
Referenced by oox::drawingml::loadDiagram().
NamedShapePairs * oox::core::XmlFilterBase::getDiagramFontHeights | ( | ) |
Definition at line 1043 of file xmlfilterbase.cxx.
References mxImpl.
Referenced by oox::drawingml::Shape::addShape(), and oox::ppt::PPTShape::addShape().
OUString oox::core::XmlFilterBase::getFragmentPathFromFirstTypeFromOfficeDoc | ( | std::u16string_view | rPart | ) |
Definition at line 324 of file xmlfilterbase.cxx.
References importRelations().
Referenced by oox::ppt::PowerPointImport::importDocument().
|
inline |
Definition at line 224 of file xmlfilterbase.hxx.
OUString oox::core::XmlFilterBase::getNamespaceURL | ( | sal_Int32 | nNSID | ) | const |
Definition at line 1045 of file xmlfilterbase.cxx.
References mxImpl, and SAL_WARN.
Referenced by oox::drawingml::ChartExport::exportAdditionalShapes(), oox::drawingml::ChartExport::exportChartSpace(), oox::ThemeExport::write(), oox::core::writeAppProperties(), oox::drawingml::DrawingML::WriteArtisticEffect(), oox::drawingml::ChartExport::WriteChartObj(), oox::core::writeCoreProperties(), oox::core::writeCustomProperties(), oox::drawingml::DrawingML::WriteDiagram(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), and oox::drawingml::ShapeExport::WriteMathShape().
|
pure virtual |
Has to be implemented by each filter to return the table style list.
Implemented in oox::drawingml::ThemeFilterBase, oox::ppt::PowerPointImport, and oox::shape::ShapeFilterBase.
Referenced by oox::drawingml::table::TableProperties::getUsedTableStyle().
|
inline |
Returns new unique ID for exported document.
Definition at line 222 of file xmlfilterbase.hxx.
|
pure virtual |
Has to be implemented by each filter to return the collection of VML shapes.
Implemented in oox::drawingml::ThemeFilterBase, oox::ppt::PowerPointImport, and oox::shape::ShapeFilterBase.
Referenced by oox::drawingml::Shape::createAndInsert(), and oox::drawingml::Shape::finalizeServiceName().
|
overrideprivatevirtual |
Implements oox::core::FilterBase.
|
overrideprivatevirtual |
Implements oox::core::FilterBase.
|
overrideprotectedvirtual |
Reimplemented from oox::core::FilterBase.
Definition at line 988 of file xmlfilterbase.cxx.
References oox::StorageBase::commit(), oox::core::FilterBase::commitStorage(), oox::crypto::DocumentEncryption::encrypt(), oox::core::FilterBase::getComponentContext(), oox::core::FilterBase::getMainDocumentStream(), oox::core::FilterBase::implGetOutputStream(), and utl::MediaDescriptor::PROP_ENCRYPTIONDATA.
|
overrideprotectedvirtual |
Reimplemented from oox::core::FilterBase.
Definition at line 960 of file xmlfilterbase.cxx.
References oox::core::FilterBase::getComponentContext().
|
overrideprotectedvirtual |
Reimplemented from oox::core::FilterBase.
Definition at line 969 of file xmlfilterbase.cxx.
References oox::core::FilterBase::getComponentContext(), oox::core::FilterBase::implGetOutputStream(), and utl::MediaDescriptor::PROP_ENCRYPTIONDATA.
|
private |
Definition at line 1057 of file xmlfilterbase.cxx.
References aSeq, comphelper::containerToSequence(), oox::core::FilterBase::getComponentContext(), oox::core::FilterBase::getModel(), namespaces::i, oox::core::FilterBase::importBinaryData(), importFragment(), oox::core::FilterBase::openInputStream(), putPropertiesToDocumentGrabBag(), comphelper::OFOPXMLHelper::ReadContentTypeSequence(), sType, and xModel.
Referenced by importDocumentProperties().
void oox::core::XmlFilterBase::importDocumentProperties | ( | ) |
Read the document properties and also the customXml entries (xlsx and pptx only).
Definition at line 280 of file xmlfilterbase.cxx.
References checkDocumentProperties(), oox::core::FilterBase::getComponentContext(), oox::core::FilterBase::getMediaDescriptor(), oox::core::FilterBase::getModel(), comphelper::OStorageHelper::GetStorageOfFormatFromInputStream(), importCustomFragments(), OFOPXML_STORAGE_FORMAT_STRING, and xModel.
Referenced by oox::ppt::PowerPointImport::importDocument().
bool oox::core::XmlFilterBase::importFragment | ( | const ::rtl::Reference< FragmentHandler > & | rxHandler, |
const css::uno::Reference< css::xml::sax::XFastSAXSerializable > & | rxSerializer | ||
) |
Imports a fragment from an xml::dom::XDocument using the passed fragment handler.
rxHandler | fragment handler; path to fragment is ignored, input source is the rxSerializer |
rxSerializer | usually retrieved from a xml::dom::XDocument, will get serialized into rxHandler |
Reference< XDocument > oox::core::XmlFilterBase::importFragment | ( | const OUString & | rFragmentPath | ) |
Imports a fragment into an xml::dom::XDocument.
rFragmentPath | path to fragment |
Definition at line 427 of file xmlfilterbase.cxx.
References Exception, oox::core::gaBinSuffix(), oox::core::FilterBase::getComponentContext(), and oox::core::FilterBase::openInputStream().
bool oox::core::XmlFilterBase::importFragment | ( | const rtl::Reference< FragmentHandler > & | rxHandler | ) |
Imports a fragment using the passed fragment handler, which contains the full path to the fragment stream.
Definition at line 338 of file xmlfilterbase.cxx.
References importFragment().
Referenced by oox::drawingml::chart::ChartSpaceConverter::convertFromModel(), oox::ppt::PowerPointImport::getTableStyles(), importCustomFragments(), oox::ppt::PowerPointImport::importDocument(), importFragment(), oox::drawingml::importFragment(), importRelations(), oox::ppt::PresentationFragmentHandler::importSlide(), oox::drawingml::Shape::keepDiagramDrawing(), oox::drawingml::loadDiagram(), oox::drawingml::loadFragment(), and oox::ppt::SlideFragmentHandler::onCreateContext().
bool oox::core::XmlFilterBase::importFragment | ( | const rtl::Reference< FragmentHandler > & | rxHandler, |
FastParser & | rParser | ||
) |
Definition at line 345 of file xmlfilterbase.cxx.
References Exception, oox::core::gaBinSuffix(), oox::core::RecordInputSource::maSystemId, oox::core::RecordInputSource::mxInStream, oox::core::FilterBase::openInputStream(), OUStringToOString(), oox::core::FastParser::parseStream(), oox::core::RecordParser::parseStream(), oox::core::FastParser::setDocumentHandler(), and oox::core::RecordParser::setFragmentHandler().
RelationsRef oox::core::XmlFilterBase::importRelations | ( | const OUString & | rFragmentPath | ) |
Imports the relations fragment associated with the specified fragment.
Definition at line 482 of file xmlfilterbase.cxx.
References importFragment(), and mxImpl.
Referenced by getFragmentPathFromFirstTypeFromOfficeDoc(), oox::ppt::PresentationFragmentHandler::importSlide(), and oox::drawingml::Shape::resolveRelationshipsOfTypeFromOfficeDoc().
bool oox::core::XmlFilterBase::isMSO2007Document | ( | ) | const |
Definition at line 1023 of file xmlfilterbase.cxx.
References mbMSO2007.
Referenced by oox::drawingml::chart::DataLabelConverter::convertFromModel(), oox::drawingml::chart::DataLabelsConverter::convertFromModel(), oox::drawingml::chart::DataPointConverter::convertFromModel(), oox::drawingml::chart::WallFloorConverter::convertFromModel(), oox::drawingml::chart::ChartSpaceConverter::convertFromModel(), oox::drawingml::chart::SeriesConverter::createDataSeries(), oox::drawingml::chart::AxisContextBase::onCreateContext(), oox::drawingml::chart::CatAxisContext::onCreateContext(), oox::drawingml::chart::DateAxisContext::onCreateContext(), oox::drawingml::chart::View3DContext::onCreateContext(), oox::drawingml::chart::WallFloorContext::onCreateContext(), oox::drawingml::chart::PlotAreaContext::onCreateContext(), oox::drawingml::chart::DataLabelContext::onCreateContext(), oox::drawingml::chart::DataLabelsContext::onCreateContext(), oox::drawingml::chart::PictureOptionsContext::onCreateContext(), oox::drawingml::chart::ErrorBarContext::onCreateContext(), oox::drawingml::chart::TrendlineContext::onCreateContext(), oox::drawingml::chart::DataPointContext::onCreateContext(), oox::drawingml::chart::AreaSeriesContext::onCreateContext(), oox::drawingml::chart::BarSeriesContext::onCreateContext(), oox::drawingml::chart::BubbleSeriesContext::onCreateContext(), oox::drawingml::chart::LineSeriesContext::onCreateContext(), oox::drawingml::chart::PieSeriesContext::onCreateContext(), oox::drawingml::chart::RadarSeriesContext::onCreateContext(), oox::drawingml::chart::ScatterSeriesContext::onCreateContext(), oox::drawingml::chart::AreaTypeGroupContext::onCreateContext(), oox::drawingml::chart::BarTypeGroupContext::onCreateContext(), oox::drawingml::chart::BubbleTypeGroupContext::onCreateContext(), oox::drawingml::chart::LineTypeGroupContext::onCreateContext(), oox::drawingml::chart::PieTypeGroupContext::onCreateContext(), oox::drawingml::chart::RadarTypeGroupContext::onCreateContext(), oox::drawingml::chart::ScatterTypeGroupContext::onCreateContext(), and oox::drawingml::chart::SurfaceTypeGroupContext::onCreateContext().
bool oox::core::XmlFilterBase::isMSODocument | ( | ) | const |
Definition at line 1028 of file xmlfilterbase.cxx.
References mbMSO.
Reference< XOutputStream > oox::core::XmlFilterBase::openFragmentStream | ( | const OUString & | rStreamName, |
const OUString & | rMediaType | ||
) |
Opens and returns the specified output stream from the base storage with specified media type.
rStreamName | The name of the embedded storage stream. The name may contain slashes to open streams from embedded substorages. If base stream access has been enabled in the storage, the base stream can be accessed by passing an empty string as stream name. |
rMediaType | The media type string, used in [Content_Types].xml stream in base storage. |
Definition at line 495 of file xmlfilterbase.cxx.
References oox::core::FilterBase::openOutputStream(), and oox::PropertySet::setProperty().
Referenced by exportCustomFragments(), openFragmentStreamWithSerializer(), oox::drawingml::DrawingML::WriteDiagram(), oox::drawingml::DrawingML::writeDiagramRels(), oox::drawingml::DrawingML::WriteMediaNonVisualProperties(), oox::drawingml::ShapeExport::WriteOLE2Shape(), oox::drawingml::GraphicExport::writeToStorage(), and oox::drawingml::DrawingML::WriteWdpPicture().
FSHelperPtr oox::core::XmlFilterBase::openFragmentStreamWithSerializer | ( | const OUString & | rStreamName, |
const OUString & | rMediaType | ||
) |
Opens specified output stream from the base storage with specified media type and returns new fast serializer for that stream.
rStreamName | The name of the embedded storage stream. The name may contain slashes to open streams from embedded substorages. If base stream access has been enabled in the storage, the base stream can be accessed by passing an empty string as stream name. |
rMediaType | The media type string, used in [Content_Types].xml stream in base storage. |
Definition at line 503 of file xmlfilterbase.cxx.
References openFragmentStream().
Referenced by oox::drawingml::DrawingML::CreateOutputStream(), oox::ThemeExport::write(), oox::core::writeAppProperties(), oox::core::writeCoreProperties(), and oox::core::writeCustomProperties().
|
static |
Definition at line 250 of file xmlfilterbase.cxx.
References comphelper::SequenceAsHashMap::getAsConstPropertyValueList(), SAL_WARN, u, and comphelper::SequenceAsHashMap::update().
Referenced by importCustomFragments().
void oox::core::XmlFilterBase::setDiagramFontHeights | ( | NamedShapePairs * | pDiagramFontHeights | ) |
Definition at line 1038 of file xmlfilterbase.cxx.
References mxImpl.
Referenced by oox::ppt::PPTShape::addShape(), and oox::drawingml::loadDiagram().
|
inline |
Definition at line 226 of file xmlfilterbase.hxx.
void oox::core::XmlFilterBase::setMissingExtDrawing | ( | ) |
Signal that an MSO 2007-created SmartArt was found, need to warn the user about it.
Definition at line 1033 of file xmlfilterbase.cxx.
References mbMissingExtDrawing.
Referenced by oox::drawingml::DiagramGraphicDataContext::onCreateContext().
|
inlinevirtual |
Helper to switch chart data table - specifically for xlsx imports.
Definition at line 107 of file xmlfilterbase.hxx.
|
protected |
Definition at line 284 of file xmlfilterbase.hxx.
Referenced by oox::ppt::PowerPointImport::importDocument(), and setMissingExtDrawing().
|
private |
Definition at line 282 of file xmlfilterbase.hxx.
Referenced by checkDocumentProperties(), and isMSODocument().
|
private |
Definition at line 281 of file xmlfilterbase.hxx.
Referenced by checkDocumentProperties(), and isMSO2007Document().
|
private |
Definition at line 280 of file xmlfilterbase.hxx.
|
private |
Definition at line 279 of file xmlfilterbase.hxx.
Referenced by addRelation().
|
private |
Definition at line 278 of file xmlfilterbase.hxx.
Referenced by getDiagramFontHeights(), getNamespaceURL(), importRelations(), setDiagramFontHeights(), and ~XmlFilterBase().