LibreOffice Module filter (master) 1
|
#include <svgfilter.hxx>
Public Member Functions | |
SVGExport (const css::uno::Reference< css::uno::XComponentContext > &rContext, const Reference< XDocumentHandler > &rxHandler, const Sequence< PropertyValue > &rFilterData) | |
virtual | ~SVGExport () override |
bool | IsUseTinyProfile () const |
bool | IsUseDTDString () const |
bool | IsEmbedFonts () const |
bool | IsUseOpacity () const |
bool | IsUseNativeTextDecoration () const |
bool | IsUsePositionedCharacters () const |
void | writeMtf (const GDIMetaFile &rMtf) |
void | SetEmbeddedBulletGlyph (sal_Unicode cBullet) |
bool | IsEmbeddedBulletGlyph (sal_Unicode cBullet) const |
Public Member Functions inherited from SvXMLExport | |
SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, sal_Int16 const eDefaultMeasureUnit, const enum ::xmloff::token::XMLTokenEnum eClass, SvXMLExportFlags nExportFlag) | |
SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, OUString fileName, sal_Int16 const eDefaultMeasureUnit, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler) | |
SvXMLExport (const css::uno::Reference< css::uno::XComponentContext > &xContext, OUString implementationName, OUString fileName, const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler, const css::uno::Reference< css::frame::XModel > &, FieldUnit const eDefaultFieldUnit, SvXMLExportFlags nExportFlag) | |
virtual | ~SvXMLExport () override |
virtual void | collectAutoStyles () |
virtual void SAL_CALL | setSourceDocument (const css::uno::Reference< css::lang::XComponent > &xDoc) override |
virtual sal_Bool SAL_CALL | filter (const css::uno::Sequence< css::beans::PropertyValue > &aDescriptor) override |
virtual void SAL_CALL | cancel () override |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override |
virtual OUString SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const OUString &aName) override |
virtual OUString SAL_CALL | getImplementationName () final override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) final override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () final override |
OUString | EnsureNamespace (OUString const &i_rNamespace) |
void | CheckAttrList () |
void | ClearAttrList () |
void | AddAttribute (sal_uInt16 nPrefix, const OUString &rName, const OUString &rValue) |
void | AddAttribute (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, const OUString &rValue) |
void | AddAttribute (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, enum ::xmloff::token::XMLTokenEnum eValue) |
void | AddAttribute (const OUString &rQName, const OUString &rValue) |
void | AddAttribute (const OUString &rQName, enum ::xmloff::token::XMLTokenEnum eValue) |
void | AddLanguageTagAttributes (sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, const css::lang::Locale &rLocale, bool bWriteEmpty) |
void | AddLanguageTagAttributes (sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, const LanguageTag &rLanguageTag, bool bWriteEmpty) |
void | AddAttributeList (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) |
comphelper::AttributeList & | GetAttrList () |
css::uno::Reference< css::xml::sax::XAttributeList > | GetXAttrList () const |
const css::uno::Reference< css::xml::sax::XDocumentHandler > & | GetDocHandler () const |
const OUString & | GetOrigFileName () const |
const SvXMLNamespaceMap & | GetNamespaceMap () const |
size_t | GetInfoID (const OUString sPersonalInfo) const |
const SvXMLUnitConverter & | GetMM100UnitConverter () const |
SvXMLUnitConverter & | GetMM100UnitConverter () |
void | addChaffWhenEncryptedStorage () |
virtual ErrCode | exportDoc (enum ::xmloff::token::XMLTokenEnum eClass=::xmloff::token::XML_TOKEN_INVALID) |
void | collectDataStyles (bool bFromUsedStyles) |
virtual void | addDataStyle (const sal_Int32 nNumberFormat, bool bTimeFormat=false) |
virtual void | exportDataStyles () |
virtual void | exportAutoDataStyles () |
virtual OUString | getDataStyleName (const sal_Int32 nNumberFormat, bool bTimeFormat=false) const |
sal_Int32 | dataStyleForceSystemLanguage (sal_Int32 nFormat) const |
virtual void | exportAnnotationMeta (const css::uno::Reference< css::drawing::XShape > &xShape) |
const css::uno::Reference< css::frame::XModel > & | GetModel () const |
css::uno::Reference< css::util::XNumberFormatsSupplier > & | GetNumberFormatsSupplier () |
void | SetNumberFormatsSupplier (const css::uno::Reference< css::util::XNumberFormatsSupplier > &_xNumberFormatSupplier) |
rtl::Reference< XMLTextParagraphExport > const & | GetTextParagraphExport () |
rtl::Reference< XMLShapeExport > const & | GetShapeExport () |
rtl::Reference< SvXMLAutoStylePoolP > const & | GetAutoStylePool () |
rtl::Reference< XMLPageExport > const & | GetPageExport () |
rtl::Reference< SchXMLExportHelper > const & | GetChartExport () |
rtl::Reference< XMLFontAutoStylePool > const & | GetFontAutoStylePool () |
ProgressBarHelper * | GetProgressBarHelper () |
rtl::Reference< xmloff::OFormLayerXMLExport > const & | GetFormExport () |
bool | HasFormExport () const |
const css::uno::Reference< css::beans::XPropertySet > & | getExportInfo () const |
const css::uno::Reference< css::task::XStatusIndicator > & | GetStatusIndicator () const |
XMLEventExport & | GetEventExport () |
XMLImageMapExport & | GetImageMapExport () |
OUString | AddEmbeddedXGraphic (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, OUString &rOutMimeType, OUString const &rRequestedName=OUString()) |
bool | AddEmbeddedXGraphicAsBase64 (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic) |
bool | GetGraphicMimeTypeFromStream (css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, OUString &rOutMimeType) |
OUString | AddEmbeddedObject (const OUString &rEmbeddedObjectURL) |
bool | AddEmbeddedObjectAsBase64 (const OUString &rEmbeddedObjectURL) |
OUString | EncodeStyleName (const OUString &rName, bool *pEncoded=nullptr) const |
bool | IsSaveLinkedSections () const |
SvXMLExportFlags | getExportFlags () const |
void | ExportEmbeddedOwnObject (css::uno::Reference< css::lang::XComponent > const &rComp) |
OUString | GetRelativeReference (const OUString &rValue) |
void | StartElement (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, bool bIgnWSOutside) |
void | StartElement (const OUString &rName, bool bIgnWSOutside) |
void | Characters (const OUString &rChars) |
void | EndElement (sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, bool bIgnWSInside) |
void | EndElement (const OUString &rName, bool bIgnWSInside) |
void | IgnorableWhitespace () |
void | SetError (sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams, const OUString &rExceptionMessage, const css::uno::Reference< css::xml::sax::XLocator > &rLocator) |
void | SetError (sal_Int32 nId, const css::uno::Sequence< OUString > &rMsgParams) |
virtual void | DisposingModel () |
::comphelper::UnoInterfaceToUniqueIdentifierMapper & | getInterfaceToIdentifierMapper () |
const css::uno::Reference< css::uno::XComponentContext > & | getComponentContext () const |
SvtModuleOptions::EFactory | GetModelType () const |
bool | writeOutlineStyleAsNormalListStyle () const |
css::uno::Reference< css::embed::XStorage > const & | GetTargetStorage () const |
char const * | GetODFVersionAttributeValue () const |
SvtSaveOptions::ODFSaneDefaultVersion | getSaneDefaultVersion () const |
void SAL_DLLPRIVATE | AddAttributeIdLegacy (sal_uInt16 const nLegacyPrefix, OUString const &rValue) |
void | AddAttributeXmlId (css::uno::Reference< css::uno::XInterface > const &i_xIfc) |
void | AddAttributesRDFa (css::uno::Reference< css::text::XTextContent > const &i_xTextContent) |
bool | exportTextNumberElement () const |
bool | SetNullDateOnUnitConverter () |
OUString const & | GetImageFilterName () const |
Protected Member Functions | |
virtual void | ExportStyles_ (bool) override |
virtual void | ExportAutoStyles_ () override |
virtual void | ExportContent_ () override |
virtual void | ExportMasterStyles_ () override |
virtual ErrCode | exportDoc (enum ::xmloff::token::XMLTokenEnum) override |
Protected Member Functions inherited from SvXMLExport | |
void | setExportFlags (SvXMLExportFlags nExportFlags) |
SvXMLNamespaceMap & | GetNamespaceMap_ () |
void | ResetNamespaceMap () |
virtual void | ExportMeta_ () |
virtual void | ExportScripts_ () |
virtual void | ExportFontDecls_ () |
virtual void | ExportStyles_ (bool bUsed) |
virtual void | ExportAutoStyles_ ()=0 |
virtual void | ExportMasterStyles_ ()=0 |
virtual void | ExportContent_ ()=0 |
OUString const & | GetSourceShellID () const |
OUString const & | GetDestinationShellID () const |
virtual XMLTextParagraphExport * | CreateTextParagraphExport () |
virtual XMLShapeExport * | CreateShapeExport () |
virtual SvXMLAutoStylePoolP * | CreateAutoStylePool () |
SchXMLExportHelper * | CreateChartExport () |
virtual XMLPageExport * | CreatePageExport () |
virtual XMLFontAutoStylePool * | CreateFontAutoStylePool () |
xmloff::OFormLayerXMLExport * | CreateFormExport () |
virtual void | GetViewSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps) |
virtual void | GetConfigurationSettings (css::uno::Sequence< css::beans::PropertyValue > &aProps) |
virtual sal_Int32 | GetDocumentSpecificSettings (::std::vector< SettingsGroup > &_out_rSettings) |
const css::uno::Reference< css::document::XEmbeddedObjectResolver > & | GetEmbeddedResolver () const |
void | SetEmbeddedResolver (css::uno::Reference< css::document::XEmbeddedObjectResolver > const &_xEmbeddedResolver) |
const css::uno::Reference< css::document::XGraphicStorageHandler > & | GetGraphicStorageHandler () const |
void | SetGraphicStorageHandler (css::uno::Reference< css::document::XGraphicStorageHandler > const &rxGraphicStorageHandler) |
void | SetDocHandler (const css::uno::Reference< css::xml::sax::XDocumentHandler > &rHandler) |
Private Attributes | |
bool | mbIsUseTinyProfile |
bool | mbIsUseDTDString |
bool | mbIsEmbedFonts |
bool | mbIsUseOpacity |
bool | mbIsUseNativeTextDecoration |
bool | mbIsUsePositionedCharacters |
std::set< sal_Unicode > | maEmbeddedBulletGlyphs |
Additional Inherited Members | |
Protected Attributes inherited from SvXMLExport | |
bool | mbSaveLinkedSections |
bool | mbAutoStylesCollected |
Definition at line 61 of file svgfilter.hxx.
SVGExport::SVGExport | ( | const css::uno::Reference< css::uno::XComponentContext > & | rContext, |
const Reference< XDocumentHandler > & | rxHandler, | ||
const Sequence< PropertyValue > & | rFilterData | ||
) |
Definition at line 333 of file svgexport.cxx.
References SvXMLNamespaceMap::Add(), comphelper::SequenceAsHashMap::end(), comphelper::SequenceAsHashMap::find(), SvXMLExport::GetDocHandler(), SvXMLExport::GetNamespaceMap_(), comphelper::SequenceAsHashMap::getUnpackedValueOrDefault(), GetXMLToken(), mbIsEmbedFonts, mbIsUseDTDString, mbIsUseNativeTextDecoration, mbIsUseOpacity, mbIsUsePositionedCharacters, mbIsUseTinyProfile, META, MM_100TH, PRETTY, SvXMLExport::SetDocHandler(), SVG_PROP_DTDSTRING, SVG_PROP_EMBEDFONTS, SVG_PROP_NATIVEDECORATION, SVG_PROP_OPACITY, SVG_PROP_POSITIONED_CHARACTERS, SVG_PROP_TINYPROFILE, v, XML_N_ANIMATION, XML_N_PRESENTATION, XML_N_SMIL_COMPAT, XML_N_SVG_COMPAT, XML_NAMESPACE_ANIMATION, XML_NAMESPACE_PRESENTATION, XML_NAMESPACE_SMIL, XML_NAMESPACE_SVG, XML_NP_ANIMATION, XML_NP_PRESENTATION, XML_NP_SMIL, XML_NP_SVG, and XML_TOKEN_INVALID.
|
overridevirtual |
Definition at line 398 of file svgexport.cxx.
References SvXMLExport::GetDocHandler().
|
inlineoverrideprotectedvirtual |
Implements SvXMLExport.
Definition at line 94 of file svgfilter.hxx.
|
inlineoverrideprotectedvirtual |
Implements SvXMLExport.
Definition at line 95 of file svgfilter.hxx.
|
inlineoverrideprotectedvirtual |
Reimplemented from SvXMLExport.
Definition at line 97 of file svgfilter.hxx.
References ERRCODE_NONE.
|
inlineoverrideprotectedvirtual |
Implements SvXMLExport.
Definition at line 96 of file svgfilter.hxx.
|
inlineoverrideprotectedvirtual |
Reimplemented from SvXMLExport.
Definition at line 93 of file svgfilter.hxx.
bool SVGExport::IsEmbeddedBulletGlyph | ( | sal_Unicode | cBullet | ) | const |
Definition at line 2927 of file svgexport.cxx.
References maEmbeddedBulletGlyphs.
Referenced by SVGTextWriter::implWriteBulletChars().
|
inline |
Definition at line 81 of file svgfilter.hxx.
References mbIsEmbedFonts.
Referenced by SVGFontExport::implEmbedFont().
|
inline |
|
inline |
Definition at line 83 of file svgfilter.hxx.
References mbIsUseNativeTextDecoration.
Referenced by SVGTextWriter::addFontAttributes(), SVGActionWriter::ImplWriteText(), and SVGAttributeWriter::SetFontAttr().
|
inline |
Definition at line 82 of file svgfilter.hxx.
References mbIsUseOpacity.
Referenced by SVGAttributeWriter::AddColorAttr().
|
inline |
Definition at line 84 of file svgfilter.hxx.
References mbIsUsePositionedCharacters.
Referenced by SVGActionWriter::ImplWriteActions(), SVGAttributeWriter::setFontFamily(), and SVGAttributeWriter::startFontSettings().
|
inline |
Definition at line 79 of file svgfilter.hxx.
References mbIsUseTinyProfile.
Referenced by writeMtf().
void SVGExport::SetEmbeddedBulletGlyph | ( | sal_Unicode | cBullet | ) |
Definition at line 2922 of file svgexport.cxx.
References maEmbeddedBulletGlyphs.
void SVGExport::writeMtf | ( | const GDIMetaFile & | rMtf | ) |
Definition at line 2874 of file svgexport.cxx.
References SvXMLExport::AddAttribute(), constSvgNamespace, SvXMLExport::GetDocHandler(), MapMode::GetOrigin(), GDIMetaFile::GetPrefMapMode(), GDIMetaFile::GetPrefSize(), Size::Height(), IsUseDTDString(), IsUseTinyProfile(), OutputDevice::LogicToLogic(), SVG_DTD_STRING, SVGWRITER_WRITE_FILL, SVGWRITER_WRITE_TEXT, Size::Width(), SVGActionWriter::WriteMetaFile(), XML_NAMESPACE_NONE, and XML_NAMESPACE_XMLNS.
|
private |
Definition at line 69 of file svgfilter.hxx.
Referenced by IsEmbeddedBulletGlyph(), and SetEmbeddedBulletGlyph().
|
private |
Definition at line 65 of file svgfilter.hxx.
Referenced by IsEmbedFonts(), and SVGExport().
|
private |
Definition at line 64 of file svgfilter.hxx.
Referenced by IsUseDTDString(), and SVGExport().
|
private |
Definition at line 67 of file svgfilter.hxx.
Referenced by IsUseNativeTextDecoration(), and SVGExport().
|
private |
Definition at line 66 of file svgfilter.hxx.
Referenced by IsUseOpacity(), and SVGExport().
|
private |
Definition at line 68 of file svgfilter.hxx.
Referenced by IsUsePositionedCharacters(), and SVGExport().
|
private |
Definition at line 63 of file svgfilter.hxx.
Referenced by IsUseTinyProfile(), and SVGExport().