LibreOffice Module oox (master) 1
|
#include <drawingml.hxx>
Public Member Functions | |
DrawingML (::sax_fastparser::FSHelperPtr pFS, ::oox::core::XmlFilterBase *pFB, DocumentType eDocumentType=DOCUMENT_PPTX, DMLTextExport *pTextExport=nullptr) | |
void | SetFS (::sax_fastparser::FSHelperPtr pFS) |
const ::sax_fastparser::FSHelperPtr & | GetFS () const |
::oox::core::XmlFilterBase * | GetFB () |
DocumentType | GetDocumentType () const |
DMLTextExport * | GetTextExport () |
The application-specific text exporter callback, if there is one. More... | |
void | SetBackgroundDark (bool bIsDark) |
OUString | WriteImage (const Graphic &rGraphic, bool bRelPathToMedia=false) |
If bRelPathToMedia is true add "../" to image folder path while adding the image relationship. More... | |
void | WriteColor (::Color nColor, sal_Int32 nAlpha=MAX_PERCENT) |
void | WriteColor (const OUString &sColorSchemeName, const css::uno::Sequence< css::beans::PropertyValue > &aTransformations, sal_Int32 nAlpha=MAX_PERCENT) |
void | WriteColor (const ::Color nColor, const css::uno::Sequence< css::beans::PropertyValue > &aTransformations, sal_Int32 nAlpha=MAX_PERCENT) |
void | WriteColorTransformations (const css::uno::Sequence< css::beans::PropertyValue > &aTransformations, sal_Int32 nAlpha=MAX_PERCENT) |
void | WriteGradientStop (double fOffset, const basegfx::BColor &rColor, const basegfx::BColor &rAlpha) |
void | WriteLineArrow (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, bool bLineStart) |
void | WriteConnectorConnections (sal_Int32 nStartGlueId, sal_Int32 nEndGlueId, sal_Int32 nStartID, sal_Int32 nEndID) |
bool | WriteCharColor (const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) |
bool | WriteSchemeColor (OUString const &rPropertyName, const css::uno::Reference< css::beans::XPropertySet > &xPropertySet) |
void | WriteSolidFill (::Color nColor, sal_Int32 nAlpha=MAX_PERCENT) |
void | WriteSolidFill (const OUString &sSchemeName, const css::uno::Sequence< css::beans::PropertyValue > &aTransformations, sal_Int32 nAlpha=MAX_PERCENT) |
void | WriteSolidFill (const ::Color nColor, const css::uno::Sequence< css::beans::PropertyValue > &aTransformations, sal_Int32 nAlpha=MAX_PERCENT) |
void | WriteSolidFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet) |
void | WriteGradientFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet) |
void | WriteGradientFill (const basegfx::BGradient *pColorGradient, sal_Int32 nFixColor, const basegfx::BGradient *pTransparenceGradient, double fFixTransparence=0.0) |
void | WriteGrabBagGradientFill (const css::uno::Sequence< css::beans::PropertyValue > &aGradientStops, const basegfx::BGradient &rGradient) |
void | WriteBlipOrNormalFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const OUString &rURLPropName, const css::awt::Size &rSize={}) |
void | WriteBlipFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const OUString &sURLPropName, const css::awt::Size &rSize={}) |
void | WriteBlipFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const css::awt::Size &rSize, const OUString &sURLPropName, sal_Int32 nXmlNamespace) |
void | WriteXGraphicBlipFill (css::uno::Reference< css::beans::XPropertySet > const &rXPropSet, css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, sal_Int32 nXmlNamespace, bool bWriteMode, bool bRelPathToMedia=false, css::awt::Size const &rSize={}) |
void | WritePattFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet) |
void | WritePattFill (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const css::drawing::Hatch &rHatch) |
void | WriteGraphicCropProperties (css::uno::Reference< css::beans::XPropertySet > const &rxPropertySet, Size const &rOriginalSize, MapMode const &rMapMode) |
void | WriteSrcRectXGraphic (css::uno::Reference< css::beans::XPropertySet > const &rxPropertySet, css::uno::Reference< css::graphic::XGraphic > const &rxGraphic) |
void | WriteOutline (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, css::uno::Reference< css::frame::XModel > const &xModel=nullptr) |
void | WriteXGraphicStretch (css::uno::Reference< css::beans::XPropertySet > const &rXPropSet, css::uno::Reference< css::graphic::XGraphic > const &rxGraphic) |
void | WriteXGraphicTile (css::uno::Reference< css::beans::XPropertySet > const &rXPropSet, css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, css::awt::Size const &rSize) |
void | WriteXGraphicCustomPosition (css::uno::Reference< css::beans::XPropertySet > const &rXPropSet, css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, css::awt::Size const &rSize) |
void | WriteLinespacing (const css::style::LineSpacing &rLineSpacing, float fFirstCharHeight) |
OUString | WriteXGraphicBlip (css::uno::Reference< css::beans::XPropertySet > const &rXPropSet, css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, bool bRelPathToMedia) |
void | WriteImageBrightnessContrastTransparence (css::uno::Reference< css::beans::XPropertySet > const &rXPropSet) |
void | WriteXGraphicBlipMode (css::uno::Reference< css::beans::XPropertySet > const &rXPropSet, css::uno::Reference< css::graphic::XGraphic > const &rxGraphic, css::awt::Size const &rSize) |
void | WriteShapeTransformation (const css::uno::Reference< css::drawing::XShape > &rXShape, sal_Int32 nXmlNamespace, bool bFlipH=false, bool bFlipV=false, bool bSuppressRotation=false, bool bSuppressFlipping=false, bool bFlippedBeforeRotation=false) |
void | WriteTransformation (const css::uno::Reference< css::drawing::XShape > &xShape, const tools::Rectangle &rRectangle, sal_Int32 nXmlNamespace, bool bFlipH=false, bool bFlipV=false, sal_Int32 nRotation=0, bool bIsGroupShape=false) |
void | WriteText (const css::uno::Reference< css::uno::XInterface > &rXIface, bool bBodyPr, bool bText=true, sal_Int32 nXmlNamespace=0, bool bWritePropertiesAsLstStyles=false) |
void | WriteLstStyles (const css::uno::Reference< css::text::XTextContent > &rParagraph, bool &rbOverridingCharHeight, sal_Int32 &rnCharHeight, const css::uno::Reference< css::beans::XPropertySet > &rXShapePropSet) |
Populates the lstStyle with the shape's text run and paragraph properties. More... | |
void | WriteParagraph (const css::uno::Reference< css::text::XTextContent > &rParagraph, bool &rbOverridingCharHeight, sal_Int32 &rnCharHeight, const css::uno::Reference< css::beans::XPropertySet > &rXShapePropSet) |
bool | WriteParagraphProperties (const css::uno::Reference< css::text::XTextContent > &rParagraph, float fFirstCharHeight, sal_Int32 nElement) |
Writes paragraph properties. More... | |
void | WriteParagraphNumbering (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, float fFirstCharHeight, sal_Int16 nLevel) |
void | WriteParagraphTabStops (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet) |
void | WriteRun (const css::uno::Reference< css::text::XTextRange > &rRun, bool &rbOverridingCharHeight, sal_Int32 &rnCharHeight, const css::uno::Reference< css::beans::XPropertySet > &rXShapePropSet) |
void | WriteRunProperties (const css::uno::Reference< css::beans::XPropertySet > &rRun, bool bIsField, sal_Int32 nElement, bool bCheckDirect, bool &rbOverridingCharHeight, sal_Int32 &rnCharHeight, sal_Int16 nScriptType=css::i18n::ScriptType::LATIN, const css::uno::Reference< css::beans::XPropertySet > &rXShapePropSet={}) |
void | WritePresetShape (const OString &pShape, std::vector< std::pair< sal_Int32, sal_Int32 > > &rAvList) |
void | WritePresetShape (const OString &pShape) |
void | WritePresetShape (const OString &pShape, MSO_SPT eShapeType, bool bPredefinedHandlesUsed, const css::beans::PropertyValue &rProp) |
bool | WriteCustomGeometry (const css::uno::Reference< css::drawing::XShape > &rXShape, const SdrObjCustomShape &rSdrObjCustomShape) |
void | WriteEmptyCustomGeometry () |
void | WritePolyPolygon (const css::uno::Reference< css::drawing::XShape > &rXShape, const bool bClosed) |
void | WriteFill (const css::uno::Reference< css::beans::XPropertySet > &xPropSet, const css::awt::Size &rSize={}) |
void | WriteShapeStyle (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet) |
void | WriteShapeEffects (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet) |
void | WriteShapeEffect (std::u16string_view sName, const css::uno::Sequence< css::beans::PropertyValue > &aEffectProps) |
void | Write3DEffects (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, bool bIsText) |
Populates scene3d tag. More... | |
void | WriteArtisticEffect (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet) |
OString | WriteWdpPicture (const OUString &rFileId, const css::uno::Sequence< sal_Int8 > &rPictureData) |
void | WriteDiagram (const css::uno::Reference< css::drawing::XShape > &rXShape, int nDiagramId) |
void | writeDiagramRels (const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &xRelSeq, const css::uno::Reference< css::io::XOutputStream > &xOutStream, std::u16string_view sGrabBagProperyName, int nDiagramId) |
sal_Int32 | getBulletMarginIndentation (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, sal_Int16 nLevel, std::u16string_view propName) |
sax_fastparser::FSHelperPtr | CreateOutputStream (const OUString &sFullStream, std::u16string_view sRelativeStream, const css::uno::Reference< css::io::XOutputStream > &xParentRelation, const OUString &sContentType, const OUString &sRelationshipType, OUString *pRelationshipId) |
Static Public Member Functions | |
static void | WriteFromTo (const css::uno::Reference< css::drawing::XShape > &rXShape, const css::awt::Size &aPageSize, const sax_fastparser::FSHelperPtr &pDrawing) |
static bool | IsGroupShape (const css::uno::Reference< css::drawing::XShape > &rXShape) |
static void | ResetMlCounters () |
static sal_Int32 | getNewDrawingUniqueId () |
static sal_Int32 | getNewVMLUniqueId () |
static sal_Int32 | getNewChartUniqueId () |
static sal_Int16 | GetScriptType (const OUString &rStr) |
static sal_Unicode | SubstituteBullet (sal_Unicode cBulletId, css::awt::FontDescriptor &rFontDesc) |
::Color | ColorWithIntensity (sal_uInt32 nColor, sal_uInt32 nIntensity) |
static const char * | GetAlignment (css::style::ParagraphAdjust nAlignment) |
Protected Member Functions | |
bool | GetProperty (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const OUString &aName) |
bool | GetPropertyAndState (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, const css::uno::Reference< css::beans::XPropertyState > &rXPropState, const OUString &aName, css::beans::PropertyState &eState) |
OUString | GetFieldValue (const css::uno::Reference< css::text::XTextRange > &rRun, bool &bIsURLField) |
void | WriteMediaNonVisualProperties (const css::uno::Reference< css::drawing::XShape > &xShape) |
Output the media (including copying a video from vnd.sun.star.Package: to the output if necessary). More... | |
void | WriteStyleProperties (sal_Int32 nTokenId, const css::uno::Sequence< css::beans::PropertyValue > &aProperties) |
const char * | GetComponentDir () const |
const char * | GetRelationCompPrefix () const |
bool | IsFontworkShape (const css::uno::Reference< css::beans::XPropertySet > &rXShapePropSet) |
void | WriteGlowEffect (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet) |
void | WriteSoftEdgeEffect (const css::uno::Reference< css::beans::XPropertySet > &rXPropSet) |
void | WriteCustomGeometryPoint (const css::drawing::EnhancedCustomShapeParameterPair &rParamPair, const EnhancedCustomShape2d &rCustomShape2d, const bool bReplaceGeoWidth, const bool bReplaceGeoHeight) |
bool | WriteCustomGeometrySegment (const sal_Int16 eCommand, const sal_Int32 nCount, const css::uno::Sequence< css::drawing::EnhancedCustomShapeParameterPair > &rPairs, sal_Int32 &rnPairIndex, double &rfCurrentX, double &rfCurrentY, bool &rbCurrentValid, const EnhancedCustomShape2d &rCustomShape2d, const bool bReplaceGeoWidth, const bool bReplaceGeoHeight) |
Static Protected Member Functions | |
static OUString | GetDatetimeTypeFromDate (SvxDateFormat eDate) |
Gets OOXML datetime field type from LO Date format. More... | |
static OUString | GetDatetimeTypeFromTime (SvxTimeFormat eTime) |
Gets OOXML datetime field type from LO Time format. More... | |
static OUString | GetDatetimeTypeFromDateTime (SvxDateFormat eDate, SvxTimeFormat eTime) |
Gets OOXML datetime field type from combination of LO Time and Date formats. More... | |
static bool | EqualGradients (const css::awt::Gradient2 &rGradient1, const css::awt::Gradient2 &rGradient2) |
Protected Attributes | |
css::uno::Any | mAny |
::sax_fastparser::FSHelperPtr | mpFS |
::oox::core::XmlFilterBase * | mpFB |
css::uno::Reference< css::drawing::XShape > | m_xParent |
If set, this is the parent of the currently handled shape. More... | |
bool | mbIsBackgroundDark |
bool | mbPlaceholder |
True when exporting presentation placeholder shape. More... | |
Static Protected Attributes | |
static sal_Int32 | mnChartCount = 0 |
Private Attributes | |
DocumentType | meDocumentType |
To specify where write eg. the images to (like 'ppt', or 'word' - according to the OPC). More... | |
DMLTextExport * | mpTextExport |
Parent exporter, used for text callback. More... | |
Static Private Attributes | |
static sal_Int32 | mnDrawingMLCount = 0 |
static sal_Int32 | mnVmlCount = 0 |
Definition at line 271 of file drawingml.hxx.
|
inline |
Definition at line 342 of file drawingml.hxx.
|
static |
Definition at line 595 of file drawingml.cxx.
References ColorTransparency.
sax_fastparser::FSHelperPtr oox::drawingml::DrawingML::CreateOutputStream | ( | const OUString & | sFullStream, |
std::u16string_view | sRelativeStream, | ||
const css::uno::Reference< css::io::XOutputStream > & | xParentRelation, | ||
const OUString & | sContentType, | ||
const OUString & | sRelationshipType, | ||
OUString * | pRelationshipId | ||
) |
Definition at line 5264 of file drawingml.cxx.
References oox::core::XmlFilterBase::addRelation(), GetFB(), oox::core::XmlFilterBase::openFragmentStreamWithSerializer(), and p.
Referenced by oox::drawingml::ChartExport::exportAdditionalShapes(), and oox::drawingml::ChartExport::WriteChartObj().
|
staticprotected |
|
static |
Definition at line 3302 of file drawingml.cxx.
Referenced by WriteParagraphProperties().
sal_Int32 oox::drawingml::DrawingML::getBulletMarginIndentation | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet, |
sal_Int16 | nLevel, | ||
std::u16string_view | propName | ||
) |
Definition at line 3273 of file drawingml.cxx.
References aPropName, GetProperty(), mAny, and SAL_INFO.
Referenced by WriteParagraphProperties().
|
protected |
Definition at line 1276 of file drawingml.cxx.
References oox::drawingml::getComponentDir(), and meDocumentType.
Referenced by WriteDiagram(), writeDiagramRels(), WriteMediaNonVisualProperties(), oox::drawingml::ShapeExport::WriteOLE2Shape(), and WriteWdpPicture().
|
staticprotected |
Gets OOXML datetime field type from LO Date format.
eDate | LO Date format |
Definition at line 2843 of file drawingml.cxx.
References GetDatetimeTypeFromDateTime().
Referenced by GetFieldValue().
|
staticprotected |
Gets OOXML datetime field type from combination of LO Time and Date formats.
eDate | LO Date format |
eTime | LO Time format |
Definition at line 2853 of file drawingml.cxx.
Referenced by GetDatetimeTypeFromDate(), and GetDatetimeTypeFromTime().
|
staticprotected |
Gets OOXML datetime field type from LO Time format.
eTime | LO Time format |
Definition at line 2848 of file drawingml.cxx.
References GetDatetimeTypeFromDateTime().
Referenced by GetFieldValue().
|
inline |
Definition at line 347 of file drawingml.hxx.
Referenced by oox::drawingml::ChartExport::exportAdditionalShapes(), oox::drawingml::ChartExport::exportExternalData(), oox::drawingml::ChartExport::WriteChartObj(), oox::drawingml::ShapeExport::WriteConnectorShape(), oox::drawingml::ShapeExport::WriteCustomShape(), WriteDiagram(), oox::drawingml::ShapeExport::WriteEllipseShape(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), oox::drawingml::ShapeExport::WriteGroupShape(), oox::drawingml::ShapeExport::WriteLineShape(), oox::drawingml::ShapeExport::WriteMathShape(), oox::drawingml::ShapeExport::WriteOLE2Shape(), WriteOutline(), WritePolyPolygon(), oox::drawingml::ShapeExport::WritePolyPolygonShape(), oox::drawingml::ShapeExport::WriteRectangleShape(), WriteRun(), WriteRunProperties(), oox::drawingml::ShapeExport::WriteShape(), WriteShapeTransformation(), oox::drawingml::ShapeExport::WriteTableShape(), WriteText(), oox::drawingml::ShapeExport::WriteTextBox(), oox::drawingml::ShapeExport::WriteTextShape(), WriteTransformation(), WriteXGraphicBlipFill(), and WriteXGraphicStretch().
|
inline |
Definition at line 346 of file drawingml.hxx.
Referenced by CreateOutputStream(), oox::drawingml::ChartExport::exportAdditionalShapes(), oox::drawingml::ChartExport::exportChartSpace(), oox::drawingml::ChartExport::exportDataLabels(), oox::drawingml::ChartExport::exportExternalData(), oox::drawingml::ChartExport::exportSeries(), oox::drawingml::ChartExport::parseFormula(), oox::drawingml::ChartExport::WriteChartObj(), oox::drawingml::ShapeExport::WriteCustomShape(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), oox::drawingml::ShapeExport::WriteMathShape(), oox::drawingml::ShapeExport::WriteOLE2Shape(), and WriteRunProperties().
|
protected |
Definition at line 2764 of file drawingml.cxx.
References GetDatetimeTypeFromDate(), GetDatetimeTypeFromTime(), GetProperty(), mAny, SAL_INFO, UNO_TC_PROP_FILE_FORMAT, and UNO_TC_PROP_NUMFORMAT.
Referenced by WriteRun().
|
inline |
Definition at line 345 of file drawingml.hxx.
Referenced by oox::drawingml::ChartExport::_exportAxis(), oox::drawingml::DMLPresetShapeExporter::EndAVListWriting(), oox::drawingml::ChartExport::exportAdditionalShapes(), oox::drawingml::ChartExport::exportAreaChart(), oox::drawingml::ChartExport::exportAxesId(), oox::drawingml::ChartExport::exportBarChart(), oox::drawingml::ChartExport::exportBubbleChart(), oox::drawingml::ChartExport::exportCandleStickSeries(), oox::drawingml::ChartExport::exportChart(), oox::drawingml::ChartExport::exportChartSpace(), oox::drawingml::ChartExport::exportDataLabels(), oox::drawingml::ChartExport::exportDataPoints(), oox::drawingml::ChartExport::exportDataTable(), oox::drawingml::ChartExport::exportDoughnutChart(), oox::drawingml::ChartExport::exportErrorBar(), oox::drawingml::ChartExport::exportExternalData(), oox::drawingml::ChartExport::exportFirstSliceAng(), oox::drawingml::ChartExport::exportGrouping(), oox::drawingml::ChartExport::exportHiLowLines(), oox::drawingml::ChartExport::exportLegend(), oox::drawingml::ChartExport::exportLineChart(), oox::drawingml::ChartExport::exportManualLayout(), oox::drawingml::ChartExport::exportMarker(), oox::drawingml::ChartExport::exportMissingValueTreatment(), oox::drawingml::ChartExport::exportPieChart(), oox::drawingml::ChartExport::exportPlotArea(), oox::drawingml::ChartExport::exportRadarChart(), oox::drawingml::ChartExport::exportScatterChartSeries(), oox::drawingml::ChartExport::exportSeries(), oox::drawingml::ChartExport::exportSeriesCategory(), oox::drawingml::ChartExport::exportSeriesText(), oox::drawingml::ChartExport::exportSeriesValues(), oox::drawingml::ChartExport::exportShapeProps(), oox::drawingml::ChartExport::exportSmooth(), oox::drawingml::ChartExport::exportStockChart(), oox::drawingml::ChartExport::exportSurfaceChart(), oox::drawingml::ChartExport::exportTextProps(), oox::drawingml::ChartExport::exportTitle(), oox::drawingml::ChartExport::exportTrendlines(), oox::drawingml::ChartExport::exportUpDownBars(), oox::drawingml::ChartExport::exportVaryColors(), oox::drawingml::ChartExport::exportView3D(), oox::drawingml::DMLPresetShapeExporter::StartAVListWriting(), oox::drawingml::DMLPresetShapeExporter::WriteAV(), oox::drawingml::ChartExport::WriteChartObj(), oox::drawingml::ShapeExport::WriteConnectorShape(), oox::drawingml::ShapeExport::WriteCustomShape(), oox::drawingml::ShapeExport::WriteEllipseShape(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), oox::drawingml::ShapeExport::WriteGroupShape(), oox::drawingml::ShapeExport::WriteLineShape(), oox::drawingml::ShapeExport::WriteMathShape(), WriteMediaNonVisualProperties(), oox::drawingml::ShapeExport::WriteNonVisualDrawingProperties(), oox::drawingml::ShapeExport::WriteOLE2Shape(), oox::drawingml::ShapeExport::WritePolyPolygonShape(), oox::drawingml::ShapeExport::WriteRectangleShape(), oox::drawingml::ShapeExport::WriteTableShape(), oox::drawingml::ShapeExport::WriteTextBox(), and oox::drawingml::ShapeExport::WriteTextShape().
|
inlinestatic |
Definition at line 497 of file drawingml.hxx.
|
inlinestatic |
Definition at line 495 of file drawingml.hxx.
Referenced by oox::drawingml::ChartExport::exportAdditionalShapes().
|
inlinestatic |
Definition at line 496 of file drawingml.hxx.
|
protected |
Definition at line 275 of file drawingml.cxx.
References aName, Exception, and mAny.
Referenced by oox::drawingml::ChartExport::_exportAxis(), oox::drawingml::ChartExport::exportBarChart(), oox::drawingml::ChartExport::exportDataLabels(), oox::drawingml::ChartExport::exportDataPoints(), oox::drawingml::ChartExport::exportDataTable(), oox::drawingml::ChartExport::exportFill(), oox::drawingml::ChartExport::exportFirstSliceAng(), oox::drawingml::ChartExport::exportGradientFill(), oox::drawingml::ChartExport::exportGrouping(), oox::drawingml::ChartExport::exportHatch(), oox::drawingml::ChartExport::exportLineChart(), oox::drawingml::ChartExport::exportMarker(), oox::drawingml::ChartExport::exportScatterChartSeries(), oox::drawingml::ChartExport::exportSeries(), oox::drawingml::ChartExport::exportSeriesCategory(), oox::drawingml::ChartExport::exportSmooth(), oox::drawingml::ChartExport::exportSolidFill(), oox::drawingml::ChartExport::exportView3D(), getBulletMarginIndentation(), GetFieldValue(), oox::drawingml::ShapeExport::GetShapeName(), oox::drawingml::ChartExport::isDeep3dChart(), IsFontworkShape(), Write3DEffects(), WriteArtisticEffect(), WriteBlipOrNormalFill(), oox::drawingml::ChartExport::WriteChartObj(), oox::drawingml::ShapeExport::WriteConnectorShape(), oox::drawingml::ShapeExport::WriteCustomShape(), WriteFill(), WriteGraphicCropProperties(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), WriteImageBrightnessContrastTransparence(), WriteOutline(), WriteParagraphNumbering(), WriteParagraphProperties(), WriteParagraphTabStops(), WriteRun(), WriteRunProperties(), WriteSchemeColor(), WriteShapeEffects(), WriteShapeStyle(), WriteText(), oox::drawingml::ShapeExport::WriteTextShape(), WriteXGraphicBlipFill(), WriteXGraphicBlipMode(), WriteXGraphicCustomPosition(), WriteXGraphicStretch(), and WriteXGraphicTile().
|
protected |
Definition at line 290 of file drawingml.cxx.
References aName, Exception, and mAny.
Referenced by oox::drawingml::ShapeExport::WriteConnectorShape(), WriteParagraphProperties(), and WriteRunProperties().
|
protected |
Definition at line 1281 of file drawingml.cxx.
References oox::drawingml::getRelationCompPrefix(), and meDocumentType.
Referenced by WriteDiagram(), WriteMediaNonVisualProperties(), oox::drawingml::ShapeExport::WriteOLE2Shape(), and WriteWdpPicture().
|
static |
Definition at line 244 of file drawingml.cxx.
References comphelper::getProcessComponentContext(), and nPos.
Referenced by WriteLstStyles(), and WriteRun().
|
inline |
The application-specific text exporter callback, if there is one.
Definition at line 349 of file drawingml.hxx.
Referenced by oox::vml::VMLExport::EndShape(), and oox::drawingml::ShapeExport::WriteTextBox().
|
protected |
Definition at line 3584 of file drawingml.cxx.
References GetProperty(), and mAny.
Referenced by oox::drawingml::ShapeExport::WriteCustomShape(), WriteRunProperties(), WriteText(), and oox::drawingml::ShapeExport::WriteTextShape().
|
static |
Definition at line 3262 of file drawingml.cxx.
Referenced by WriteShapeTransformation().
|
static |
Definition at line 268 of file drawingml.cxx.
References mnChartCount, mnDrawingMLCount, and mnVmlCount.
|
inline |
Definition at line 351 of file drawingml.hxx.
|
inline |
Definition at line 344 of file drawingml.hxx.
Referenced by oox::drawingml::ChartExport::WriteChartObj().
|
static |
Definition at line 5252 of file drawingml.cxx.
References msfilter::util::bestFitOpenSymbolToMSFont(), and IsOpenSymbol().
Referenced by WriteParagraphNumbering().
void oox::drawingml::DrawingML::Write3DEffects | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet, |
bool | bIsText | ||
) |
Populates scene3d tag.
rXPropSet | Prop set |
bIsText | True if the 3D effects are for a text body, false if it is for a shape |
Definition at line 5788 of file drawingml.cxx.
References GetProperty(), mAny, oox::drawingml::MAX_PERCENT, mpFS, nToken, oox::drawingml::PER_PERCENT, u, WriteColor(), and XML_none.
Referenced by oox::drawingml::ShapeExport::WriteCustomShape(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), and WriteText().
void oox::drawingml::DrawingML::WriteArtisticEffect | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet | ) |
Definition at line 6067 of file drawingml.cxx.
References FSNS(), oox::drawingml::ArtisticEffectProperties::getEffectToken(), oox::core::XmlFilterBase::getNamespaceURL(), GetProperty(), mAny, mpFB, mpFS, nToken, WriteWdpPicture(), and XML_none.
Referenced by WriteXGraphicBlip().
void oox::drawingml::DrawingML::WriteBlipFill | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet, |
const css::awt::Size & | rSize, | ||
const OUString & | sURLPropName, | ||
sal_Int32 | nXmlNamespace | ||
) |
void oox::drawingml::DrawingML::WriteBlipFill | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet, |
const OUString & | sURLPropName, | ||
const css::awt::Size & | rSize = {} |
||
) |
Referenced by WriteBlipOrNormalFill(), and WriteFill().
void oox::drawingml::DrawingML::WriteBlipOrNormalFill | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet, |
const OUString & | rURLPropName, | ||
const css::awt::Size & | rSize = {} |
||
) |
Definition at line 1751 of file drawingml.cxx.
References GetProperty(), WriteBlipFill(), and WriteFill().
Referenced by WriteRunProperties(), and oox::drawingml::ShapeExport::WriteTextShape().
bool oox::drawingml::DrawingML::WriteCharColor | ( | const css::uno::Reference< css::beans::XPropertySet > & | xPropertySet | ) |
void oox::drawingml::DrawingML::WriteColor | ( | ::Color | nColor, |
sal_Int32 | nAlpha = MAX_PERCENT |
||
) |
Definition at line 334 of file drawingml.cxx.
References oox::drawingml::MAX_PERCENT, mpFS, and sColor.
Referenced by Write3DEffects(), WriteGrabBagGradientFill(), WriteGradientStop(), WriteParagraphNumbering(), WriteRunProperties(), WriteShapeEffect(), WriteSolidFill(), and WriteStyleProperties().
void oox::drawingml::DrawingML::WriteColor | ( | const ::Color | nColor, |
const css::uno::Sequence< css::beans::PropertyValue > & | aTransformations, | ||
sal_Int32 | nAlpha = MAX_PERCENT |
||
) |
void oox::drawingml::DrawingML::WriteColor | ( | const OUString & | sColorSchemeName, |
const css::uno::Sequence< css::beans::PropertyValue > & | aTransformations, | ||
sal_Int32 | nAlpha = MAX_PERCENT |
||
) |
void oox::drawingml::DrawingML::WriteColorTransformations | ( | const css::uno::Sequence< css::beans::PropertyValue > & | aTransformations, |
sal_Int32 | nAlpha = MAX_PERCENT |
||
) |
Definition at line 395 of file drawingml.cxx.
References oox::drawingml::Color::getColorTransformationToken(), oox::drawingml::MAX_PERCENT, mpFS, nToken, nValue, and XML_TOKEN_INVALID.
void oox::drawingml::DrawingML::WriteConnectorConnections | ( | sal_Int32 | nStartGlueId, |
sal_Int32 | nEndGlueId, | ||
sal_Int32 | nStartID, | ||
sal_Int32 | nEndID | ||
) |
Definition at line 5236 of file drawingml.cxx.
References mpFS.
Referenced by oox::drawingml::ShapeExport::WriteConnectorShape().
bool oox::drawingml::DrawingML::WriteCustomGeometry | ( | const css::uno::Reference< css::drawing::XShape > & | rXShape, |
const SdrObjCustomShape & | rSdrObjCustomShape | ||
) |
Definition at line 4519 of file drawingml.cxx.
References aSegments, basegfx::fround(), EnhancedCustomShape2d::GetLuminanceChange(), EnhancedCustomShape2d::GetParameter(), uno::Any::hasValue(), Height, mpFS, SAL_WARN, uno::Any::Value, Width, and WriteCustomGeometrySegment().
Referenced by oox::drawingml::ShapeExport::WriteCustomShape().
|
protected |
Definition at line 5119 of file drawingml.cxx.
References mpFS.
Referenced by WriteCustomGeometrySegment().
|
protected |
Definition at line 4784 of file drawingml.cxx.
References ARC, basegfx::fTools::equalZero(), First, FSNS(), EnhancedCustomShape2d::GetParameter(), namespaces::i, mpFS, nCount, and WriteCustomGeometryPoint().
Referenced by WriteCustomGeometry().
void oox::drawingml::DrawingML::WriteDiagram | ( | const css::uno::Reference< css::drawing::XShape > & | rXShape, |
int | nDiagramId | ||
) |
Definition at line 6155 of file drawingml.cxx.
References oox::core::XmlFilterBase::addRelation(), sax_fastparser::FastSerializerHelper::createAttrList(), oox::DIAGRAMCOLORS, oox::DIAGRAMDATA, oox::DIAGRAMDRAWING, oox::DIAGRAMLAYOUT, oox::DIAGRAMQUICKSTYLE, oox::drawingml::DOCUMENT_DOCX, FSNS(), GetComponentDir(), GetDocumentType(), oox::core::XmlFilterBase::getNamespaceURL(), comphelper::getProcessComponentContext(), GetRelationCompPrefix(), oox::getRelationship(), mpFB, mpFS, oox::core::XmlFilterBase::openFragmentStream(), SAL_MAX_UINT32, sName, u, comphelper::rng::uniform_uint_distribution(), UNO_NAME_MISC_OBJ_INTEROPGRABBAG, writeDiagramRels(), and WriteTransformation().
void oox::drawingml::DrawingML::writeDiagramRels | ( | const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > & | xRelSeq, |
const css::uno::Reference< css::io::XOutputStream > & | xOutStream, | ||
std::u16string_view | sGrabBagProperyName, | ||
int | nDiagramId | ||
) |
Definition at line 6374 of file drawingml.cxx.
References oox::core::XmlFilterBase::addRelation(), comphelper::OStorageHelper::CopyInputToOutput(), GetComponentDir(), comphelper::getProcessComponentContext(), oox::getRelationship(), oox::IMAGE, mpFB, oox::core::XmlFilterBase::openFragmentStream(), oox::PropertySet::setAnyProperty(), sType, and TOOLS_WARN_EXCEPTION.
Referenced by WriteDiagram().
void oox::drawingml::DrawingML::WriteEmptyCustomGeometry | ( | ) |
Definition at line 5132 of file drawingml.cxx.
References mpFS.
Referenced by oox::drawingml::ShapeExport::WriteCustomShape().
void oox::drawingml::DrawingML::WriteFill | ( | const css::uno::Reference< css::beans::XPropertySet > & | xPropSet, |
const css::awt::Size & | rSize = {} |
||
) |
Definition at line 5286 of file drawingml.cxx.
References basegfx::fTools::equal(), FillStyle, basegfx::BGradient::GetColorStops(), GetProperty(), basegfx::BColorStops::isSingleColor(), basegfx::BColor::luminance(), mAny, mpFS, WriteBlipFill(), WriteGradientFill(), WritePattFill(), and WriteSolidFill().
Referenced by WriteBlipOrNormalFill(), oox::drawingml::ShapeExport::WriteCustomShape(), oox::drawingml::ShapeExport::WriteEllipseShape(), oox::drawingml::ShapeExport::WritePolyPolygonShape(), oox::drawingml::ShapeExport::WriteRectangleShape(), and oox::drawingml::ShapeExport::WriteTableCellProperties().
|
static |
Definition at line 6434 of file drawingml.cxx.
References tools::Rectangle::BottomRight(), tools::Rectangle::Center(), FSNS(), SdrObject::GetObjIdentifier(), SdrObject::GetRotateAngle(), SdrObject::getSdrObjectFromXShape(), SdrObject::GetSnapRect(), Point::getX(), Point::getY(), and tools::Rectangle::TopLeft().
Referenced by oox::drawingml::ChartExport::exportAdditionalShapes().
|
protected |
Definition at line 5744 of file drawingml.cxx.
References oox::drawingml::convertHmmToEmu(), comphelper::makePropertyValue(), u, and WriteShapeEffect().
Referenced by WriteShapeEffects().
void oox::drawingml::DrawingML::WriteGrabBagGradientFill | ( | const css::uno::Sequence< css::beans::PropertyValue > & | aGradientStops, |
const basegfx::BGradient & | rGradient | ||
) |
Definition at line 682 of file drawingml.cxx.
References basegfx::BGradient::GetAngle(), basegfx::BGradient::GetGradientStyle(), oox::drawingml::MAX_PERCENT, mpFS, nPos, oox::drawingml::PER_PERCENT, and WriteColor().
void oox::drawingml::DrawingML::WriteGradientFill | ( | const basegfx::BGradient * | pColorGradient, |
sal_Int32 | nFixColor, | ||
const basegfx::BGradient * | pTransparenceGradient, | ||
double | fFixTransparence = 0.0 |
||
) |
Definition at line 746 of file drawingml.cxx.
References ColorTransparency, basegfx::BColorStops::doApplyAxial(), basegfx::BColorStops::doApplySteps(), basegfx::BGradient::GetAngle(), basegfx::BGradient::GetGradientStyle(), basegfx::BGradient::GetSteps(), mpFS, basegfx::utils::prepareColorStops(), basegfx::BColorStops::reverseColorStops(), basegfx::utils::synchronizeColorStops(), and WriteGradientStop().
void oox::drawingml::DrawingML::WriteGradientFill | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet | ) |
void oox::drawingml::DrawingML::WriteGradientStop | ( | double | fOffset, |
const basegfx::BColor & | rColor, | ||
const basegfx::BColor & | rAlpha | ||
) |
Definition at line 586 of file drawingml.cxx.
References basegfx::fround(), basegfx::BColor::luminance(), oox::drawingml::MAX_PERCENT, mpFS, and WriteColor().
Referenced by WriteGradientFill().
void oox::drawingml::DrawingML::WriteGraphicCropProperties | ( | css::uno::Reference< css::beans::XPropertySet > const & | rxPropertySet, |
Size const & | rOriginalSize, | ||
MapMode const & | rMapMode | ||
) |
Definition at line 1880 of file drawingml.cxx.
References Application::GetDefaultDevice(), MapMode::GetMapUnit(), GetProperty(), Size::Height(), mAny, mpFS, OutputDevice::PixelToLogic(), and Size::Width().
Referenced by WriteSrcRectXGraphic().
OUString oox::drawingml::DrawingML::WriteImage | ( | const Graphic & | rGraphic, |
bool | bRelPathToMedia = false |
||
) |
If bRelPathToMedia is true add "../" to image folder path while adding the image relationship.
Definition at line 1536 of file drawingml.cxx.
References meDocumentType, mpFB, mpFS, and oox::drawingml::GraphicExport::writeToStorage().
Referenced by oox::vml::VMLExport::Commit(), WriteParagraphNumbering(), and WriteXGraphicBlip().
void oox::drawingml::DrawingML::WriteImageBrightnessContrastTransparence | ( | css::uno::Reference< css::beans::XPropertySet > const & | rXPropSet | ) |
Definition at line 1653 of file drawingml.cxx.
References GetProperty(), mAny, mpFS, oox::drawingml::PER_PERCENT, and sax_fastparser::UseIf().
Referenced by WriteXGraphicBlip().
void oox::drawingml::DrawingML::WriteLineArrow | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet, |
bool | bLineStart | ||
) |
Definition at line 867 of file drawingml.cxx.
References ESCHER_LineArrowDiamondEnd, ESCHER_LineArrowEnd, ESCHER_LineArrowOpenEnd, ESCHER_LineArrowOvalEnd, ESCHER_LineArrowStealthEnd, ESCHER_LineLongArrow, ESCHER_LineMediumLenArrow, ESCHER_LineMediumWidthArrow, ESCHER_LineNarrowArrow, ESCHER_LineNoEnd, ESCHER_LineShortArrow, ESCHER_LineWideArrow, EscherPropertyContainer::GetLineArrow(), mpFS, type, and XML_type.
Referenced by WriteOutline().
void oox::drawingml::DrawingML::WriteLinespacing | ( | const css::style::LineSpacing & | rLineSpacing, |
float | fFirstCharHeight | ||
) |
Definition at line 3324 of file drawingml.cxx.
References mpFS.
Referenced by WriteParagraphProperties().
void oox::drawingml::DrawingML::WriteLstStyles | ( | const css::uno::Reference< css::text::XTextContent > & | rParagraph, |
bool & | rbOverridingCharHeight, | ||
sal_Int32 & | rnCharHeight, | ||
const css::uno::Reference< css::beans::XPropertySet > & | rXShapePropSet | ||
) |
Populates the lstStyle with the shape's text run and paragraph properties.
Definition at line 3498 of file drawingml.cxx.
References Any, GetScriptType(), mpFS, WriteParagraphProperties(), and WriteRunProperties().
Referenced by WriteText().
|
protected |
Output the media (including copying a video from vnd.sun.star.Package: to the output if necessary).
Definition at line 1542 of file drawingml.cxx.
References oox::core::XmlFilterBase::addRelation(), aMimeType, oox::AUDIO, comphelper::OStorageHelper::CopyInputToOutput(), FSNS(), oox::drawingml::GraphicExportCache::get(), GetComponentDir(), GetFS(), SdrMediaObj::GetInputStream(), SdrMediaObj::getMediaProperties(), avmedia::MediaItem::getMimeType(), GetRelationCompPrefix(), oox::getRelationship(), SdrObject::getSdrObjectFromXShape(), SdrMediaObj::getURL(), oox::MEDIA, mpFB, mpFS, oox::drawingml::GraphicExportCache::nextImageCount(), oox::core::XmlFilterBase::openFragmentStream(), and oox::VIDEO.
Referenced by oox::drawingml::ShapeExport::WriteGraphicObjectShapePart().
void oox::drawingml::DrawingML::WriteOutline | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet, |
css::uno::Reference< css::frame::XModel > const & | xModel = nullptr |
||
) |
Definition at line 937 of file drawingml.cxx.
References ColorTransparency, oox::drawingml::convertEmuToHmm(), oox::drawingml::convertHmmToEmu(), oox::drawingml::DOCUMENT_XLSX, GetDocumentType(), oox::drawingml::getLineDash(), GetProperty(), namespaces::i, oox::drawingml::LineCap, oox::drawingml::LineJoint, mAny, oox::drawingml::MAX_PERCENT, mpFS, nLineWidth, oox::drawingml::PER_PERCENT, SAL_INFO, SAL_WARN_IF, u, sax_fastparser::UseIf(), write1000thOfAPercent(), WriteLineArrow(), WriteSchemeColor(), WriteSolidFill(), and xModel.
Referenced by oox::drawingml::ChartExport::exportShapeProps(), oox::drawingml::ShapeExport::WriteConnectorShape(), oox::drawingml::ShapeExport::WriteCustomShape(), oox::drawingml::ShapeExport::WriteEllipseShape(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), oox::drawingml::ShapeExport::WriteLineShape(), oox::drawingml::ShapeExport::WritePolyPolygonShape(), oox::drawingml::ShapeExport::WriteRectangleShape(), WriteRunProperties(), and oox::drawingml::ShapeExport::WriteTextShape().
void oox::drawingml::DrawingML::WriteParagraph | ( | const css::uno::Reference< css::text::XTextContent > & | rParagraph, |
bool & | rbOverridingCharHeight, | ||
sal_Int32 & | rnCharHeight, | ||
const css::uno::Reference< css::beans::XPropertySet > & | rXShapePropSet | ||
) |
Definition at line 3537 of file drawingml.cxx.
References any, Any, mpFS, run(), WriteParagraphProperties(), WriteRun(), and WriteRunProperties().
Referenced by WriteText().
void oox::drawingml::DrawingML::WriteParagraphNumbering | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet, |
float | fFirstCharHeight, | ||
sal_Int16 | nLevel | ||
) |
Definition at line 3051 of file drawingml.cxx.
References aPropName, COL_AUTO(), ColorTransparency, BitmapEx::CopyPixel(), AlphaMask::Erase(), FSNS(), oox::drawingml::GetAutoNumType(), Graphic::GetBitmapEx(), GetProperty(), tools::Rectangle::GetSize(), Graphic::GetType(), Size::Height(), mAny, mbIsBackgroundDark, mpFS, vcl::N24_BPP, OOX_BULLET_LIST_SCALE_FACTOR, SAL_INFO, BitmapEx::Scale(), SubstituteBullet(), SVX_NUM_CHAR_SPECIAL, SVX_NUM_NUMBER_NONE, TransformMetric(), sax_fastparser::UseIf(), Size::Width(), WriteColor(), WriteImage(), and XML_type.
Referenced by WriteParagraphProperties().
bool oox::drawingml::DrawingML::WriteParagraphProperties | ( | const css::uno::Reference< css::text::XTextContent > & | rParagraph, |
float | fFirstCharHeight, | ||
sal_Int32 | nElement | ||
) |
Writes paragraph properties.
Definition at line 3345 of file drawingml.cxx.
References oox::drawingml::convertHmmToEmu(), GetAlignment(), getBulletMarginIndentation(), GetProperty(), GetPropertyAndState(), mAny, mbPlaceholder, mpFS, nLeftMargin, ToPsz10(), u, sax_fastparser::UseIf(), WriteLinespacing(), WriteParagraphNumbering(), and WriteParagraphTabStops().
Referenced by WriteLstStyles(), WriteParagraph(), and WriteText().
void oox::drawingml::DrawingML::WriteParagraphTabStops | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet | ) |
Definition at line 3228 of file drawingml.cxx.
References oox::drawingml::GetPointFromCoordinate(), GetProperty(), mAny, and mpFS.
Referenced by WriteParagraphProperties().
void oox::drawingml::DrawingML::WritePattFill | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet | ) |
Referenced by oox::drawingml::ChartExport::exportHatch(), and WriteFill().
void oox::drawingml::DrawingML::WritePattFill | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet, |
const css::drawing::Hatch & | rHatch | ||
) |
void oox::drawingml::DrawingML::WritePolyPolygon | ( | const css::uno::Reference< css::drawing::XShape > & | rXShape, |
const bool | bClosed | ||
) |
Definition at line 5145 of file drawingml.cxx.
References tools::PolyPolygon::Count(), oox::drawingml::DOCUMENT_DOCX, GetDocumentType(), tools::Polygon::GetFlags(), EscherPropertyContainer::GetPolyPolygon(), tools::Polygon::GetSize(), namespaces::i, mpFS, and X.
Referenced by oox::drawingml::ShapeExport::WritePolyPolygonShape().
void oox::drawingml::DrawingML::WritePresetShape | ( | const OString & | pShape | ) |
Definition at line 4282 of file drawingml.cxx.
References mpFS.
void oox::drawingml::DrawingML::WritePresetShape | ( | const OString & | pShape, |
MSO_SPT | eShapeType, | ||
bool | bPredefinedHandlesUsed, | ||
const css::beans::PropertyValue & | rProp | ||
) |
References WritePolyPolygon().
void oox::drawingml::DrawingML::WritePresetShape | ( | const OString & | pShape, |
std::vector< std::pair< sal_Int32, sal_Int32 > > & | rAvList | ||
) |
Definition at line 4260 of file drawingml.cxx.
Referenced by oox::drawingml::ShapeExport::WriteConnectorShape(), oox::drawingml::ShapeExport::WriteCustomShape(), oox::drawingml::ShapeExport::WriteEllipseShape(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), oox::drawingml::ShapeExport::WriteLineShape(), oox::drawingml::ShapeExport::WriteMathShape(), oox::drawingml::ShapeExport::WriteRectangleShape(), oox::drawingml::DMLPresetShapeExporter::WriteShape(), and oox::drawingml::ShapeExport::WriteTextShape().
void oox::drawingml::DrawingML::WriteRun | ( | const css::uno::Reference< css::text::XTextRange > & | rRun, |
bool & | rbOverridingCharHeight, | ||
sal_Int32 & | rnCharHeight, | ||
const css::uno::Reference< css::beans::XPropertySet > & | rXShapePropSet | ||
) |
Definition at line 2922 of file drawingml.cxx.
References oox::drawingml::DOCUMENT_PPTX, Exception, comphelper::xml::generateGUIDString(), GetDocumentType(), GetFieldValue(), GetProperty(), GetScriptType(), mAny, mpFS, WriteRunProperties(), and XML_type.
Referenced by WriteParagraph().
void oox::drawingml::DrawingML::WriteRunProperties | ( | const css::uno::Reference< css::beans::XPropertySet > & | rRun, |
bool | bIsField, | ||
sal_Int32 | nElement, | ||
bool | bCheckDirect, | ||
bool & | rbOverridingCharHeight, | ||
sal_Int32 & | rnCharHeight, | ||
sal_Int16 | nScriptType = css::i18n::ScriptType::LATIN , |
||
const css::uno::Reference< css::beans::XPropertySet > & | rXShapePropSet = {} |
||
) |
While setting values in propertymap, CharKerning converted using GetTextSpacingPoint i.e set @ https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/textcharacterproperties.cxx#129 therefore to get original value CharKerning need to be convert. https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/drawingmltypes.cxx#95
Definition at line 2340 of file drawingml.cxx.
References oox::core::XmlFilterBase::addRelation(), bold, COL_AUTO(), COL_BLACK(), COL_WHITE(), ColorTransparency, DFLT_ESC_AUTO_SUB, DFLT_ESC_AUTO_SUPER, oox::drawingml::DOCUMENT_PPTX, FillStyle, FSNS(), LanguageTag::getBcp47MS(), GetDocumentType(), GetFB(), GetProperty(), GetPropertyAndState(), oox::getRelationship(), GetSubsFontName(), oox::HYPERLINK, Color::IsDark(), oox::drawingml::URLTransformer::isExternalURL(), IsFontworkShape(), LanguageTag::isSystemLocale(), italic, oox::drawingml::lcl_GetTarget(), mAny, oox::drawingml::MAX_PERCENT, mbIsBackgroundDark, mpFB, mpFS, nIndex, oox::drawingml::PER_PERCENT, SAL_INFO, oox::SLIDE, u, underline, sax_fastparser::UseIf(), WriteBlipOrNormalFill(), WriteColor(), WriteOutline(), WriteSchemeColor(), WriteShapeEffects(), and WriteSolidFill().
Referenced by oox::drawingml::ChartExport::exportTextProps(), oox::drawingml::ChartExport::exportTitle(), WriteLstStyles(), WriteParagraph(), WriteRun(), and WriteText().
bool oox::drawingml::DrawingML::WriteSchemeColor | ( | OUString const & | rPropertyName, |
const css::uno::Reference< css::beans::XPropertySet > & | xPropertySet | ||
) |
Definition at line 532 of file drawingml.cxx.
References model::color::getFromXComplexColor(), GetProperty(), model::LumMod, model::LumOff, mAny, oox::drawingml::MAX_PERCENT, mpFS, oox::drawingml::PER_PERCENT, model::Shade, model::Tint, u, and model::Unknown.
Referenced by WriteOutline(), and WriteRunProperties().
void oox::drawingml::DrawingML::WriteShapeEffect | ( | std::u16string_view | sName, |
const css::uno::Sequence< css::beans::PropertyValue > & | aEffectProps | ||
) |
Definition at line 5407 of file drawingml.cxx.
References FSNS(), oox::drawingml::MAX_PERCENT, mpFS, oox::drawingml::PER_PERCENT, sName, u, and WriteColor().
Referenced by WriteGlowEffect(), WriteShapeEffects(), and WriteSoftEdgeEffect().
void oox::drawingml::DrawingML::WriteShapeEffects | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet | ) |
Definition at line 5596 of file drawingml.cxx.
References bHasShadow, oox::drawingml::convertHmmToEmu(), GetProperty(), oox::drawingml::lcl_CalculateDir(), oox::drawingml::lcl_CalculateDist(), comphelper::makePropertyValue(), mAny, mpFS, u, WriteGlowEffect(), WriteShapeEffect(), and WriteSoftEdgeEffect().
Referenced by oox::drawingml::ShapeExport::WriteCustomShape(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), WriteRunProperties(), oox::drawingml::ShapeExport::WriteTable(), and oox::drawingml::ShapeExport::WriteTextShape().
void oox::drawingml::DrawingML::WriteShapeStyle | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet | ) |
Definition at line 5379 of file drawingml.cxx.
References GetProperty(), mAny, mpFS, and WriteStyleProperties().
Referenced by oox::drawingml::ShapeExport::WriteCustomShape(), and oox::drawingml::ShapeExport::WriteLineShape().
void oox::drawingml::DrawingML::WriteShapeTransformation | ( | const css::uno::Reference< css::drawing::XShape > & | rXShape, |
sal_Int32 | nXmlNamespace, | ||
bool | bFlipH = false , |
||
bool | bFlipV = false , |
||
bool | bSuppressRotation = false , |
||
bool | bSuppressFlipping = false , |
||
bool | bFlippedBeforeRotation = false |
||
) |
Definition at line 2214 of file drawingml.cxx.
References basegfx::utils::createRotateB2DHomMatrix(), oox::drawingml::DOCUMENT_DOCX, oox::drawingml::ExportRotateClockwisify(), GetDocumentType(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), SdrObject::GetRotateAngle(), SdrObject::getSdrObjectFromXShape(), IsGroupShape(), m_xParent, NormAngle36000(), SAL_INFO, toRadians(), basegfx::B2DRange::transform(), UNO_NAME_MISC_OBJ_INTEROPGRABBAG, and WriteTransformation().
Referenced by oox::drawingml::ChartExport::WriteChartObj(), oox::drawingml::ShapeExport::WriteCustomShape(), oox::drawingml::ShapeExport::WriteEllipseShape(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), oox::drawingml::ShapeExport::WriteGroupShape(), oox::drawingml::ShapeExport::WriteLineShape(), oox::drawingml::ShapeExport::WriteMathShape(), oox::drawingml::ShapeExport::WriteOLE2Shape(), oox::drawingml::ShapeExport::WriteRectangleShape(), oox::drawingml::DMLPresetShapeExporter::WriteShape(), oox::drawingml::DMLPresetShapeExporter::WriteShapeWithAVlist(), oox::drawingml::ShapeExport::WriteTableShape(), and oox::drawingml::ShapeExport::WriteTextShape().
|
protected |
Definition at line 5768 of file drawingml.cxx.
References oox::drawingml::convertHmmToEmu(), comphelper::makePropertyValue(), u, and WriteShapeEffect().
Referenced by WriteShapeEffects().
void oox::drawingml::DrawingML::WriteSolidFill | ( | ::Color | nColor, |
sal_Int32 | nAlpha = MAX_PERCENT |
||
) |
Definition at line 415 of file drawingml.cxx.
References mpFS, and WriteColor().
Referenced by oox::drawingml::ChartExport::exportMarker(), oox::drawingml::ChartExport::exportSolidFill(), oox::drawingml::ShapeExport::WriteBorderLine(), WriteFill(), WriteOutline(), and WriteRunProperties().
void oox::drawingml::DrawingML::WriteSolidFill | ( | const ::Color | nColor, |
const css::uno::Sequence< css::beans::PropertyValue > & | aTransformations, | ||
sal_Int32 | nAlpha = MAX_PERCENT |
||
) |
void oox::drawingml::DrawingML::WriteSolidFill | ( | const css::uno::Reference< css::beans::XPropertySet > & | rXPropSet | ) |
void oox::drawingml::DrawingML::WriteSolidFill | ( | const OUString & | sSchemeName, |
const css::uno::Sequence< css::beans::PropertyValue > & | aTransformations, | ||
sal_Int32 | nAlpha = MAX_PERCENT |
||
) |
void oox::drawingml::DrawingML::WriteSrcRectXGraphic | ( | css::uno::Reference< css::beans::XPropertySet > const & | rxPropertySet, |
css::uno::Reference< css::graphic::XGraphic > const & | rxGraphic | ||
) |
Definition at line 1917 of file drawingml.cxx.
References Graphic::GetPrefMapMode(), Graphic::GetPrefSize(), and WriteGraphicCropProperties().
Referenced by oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), and WriteXGraphicBlipFill().
|
protected |
Definition at line 5352 of file drawingml.cxx.
References aProperties, mpFS, and WriteColor().
Referenced by WriteShapeStyle().
void oox::drawingml::DrawingML::WriteText | ( | const css::uno::Reference< css::uno::XInterface > & | rXIface, |
bool | bBodyPr, | ||
bool | bText = true , |
||
sal_Int32 | nXmlNamespace = 0 , |
||
bool | bWritePropertiesAsLstStyles = false |
||
) |
Definition at line 3615 of file drawingml.cxx.
References abs(), any, Any, FontworkHelpers::applyPropsToRuns(), FontworkHelpers::applyUpdatesToCharInteropGrabBag(), oox::drawingml::calcRotationValue(), FontworkHelpers::collectCharColorProps(), oox::drawingml::convertHmmToEmu(), convertTwipToMm100(), FontworkHelpers::createCharFillPropsFromShape(), FontworkHelpers::createCharInteropGrabBagUpdatesFromShapeProps(), SdrTextObj::CreateEditOutlinerParaObject(), oox::drawingml::DOCUMENT_DOCX, oox::drawingml::DOCUMENT_PPTX, oox::drawingml::DOCUMENT_XLSX, DynCastSdrTextObj(), eMode, GetDocumentType(), SdrTextObj::GetFontScale(), PresetGeometryTypeNames::GetMsoName(), tools::Rectangle::getOpenHeight(), SdrTextObj::GetOutlinerParaObject(), GetProperty(), SvxShape::GetSdrObject(), SdrObject::getSdrObjectFromXShape(), SdrTextObj::GetSpacingScale(), EnhancedCustomShape2d::GetTextRect(), oox::drawingml::GetTextVerticalAdjust(), oox::drawingml::DMLTextExport::GetUnoTextFrame(), namespaces::i, IsFontworkShape(), SdrTextObj::IsTextEditActive(), mAny, meDocumentType, mpFS, mpTextExport, NormAngle18000(), paragraph, SAL_WARN, sName, u, sax_fastparser::UseIf(), Value, Write3DEffects(), WriteLstStyles(), oox::drawingml::DMLTextExport::WriteOutliner(), WriteParagraph(), WriteParagraphProperties(), WriteRunProperties(), and WritingMode.
Referenced by oox::drawingml::ShapeExport::WriteTextBox().
void oox::drawingml::DrawingML::WriteTransformation | ( | const css::uno::Reference< css::drawing::XShape > & | xShape, |
const tools::Rectangle & | rRectangle, | ||
sal_Int32 | nXmlNamespace, | ||
bool | bFlipH = false , |
||
bool | bFlipV = false , |
||
sal_Int32 | nRotation = 0 , |
||
bool | bIsGroupShape = false |
||
) |
Definition at line 2175 of file drawingml.cxx.
References oox::drawingml::convertHmmToEmu(), oox::drawingml::DOCUMENT_DOCX, GetDocumentType(), tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), tools::Rectangle::Left(), m_xParent, mpFS, tools::Rectangle::Top(), and sax_fastparser::UseIf().
Referenced by oox::drawingml::ShapeExport::WriteConnectorShape(), WriteDiagram(), oox::drawingml::ShapeExport::WritePolyPolygonShape(), and WriteShapeTransformation().
OString oox::drawingml::DrawingML::WriteWdpPicture | ( | const OUString & | rFileId, |
const css::uno::Sequence< sal_Int8 > & | rPictureData | ||
) |
Definition at line 6129 of file drawingml.cxx.
References oox::core::XmlFilterBase::addRelation(), oox::drawingml::GraphicExportCache::get(), GetComponentDir(), GetRelationCompPrefix(), oox::getRelationship(), oox::HDPHOTO, mpFB, mpFS, oox::core::XmlFilterBase::openFragmentStream(), and OUStringToOString().
Referenced by WriteArtisticEffect().
OUString oox::drawingml::DrawingML::WriteXGraphicBlip | ( | css::uno::Reference< css::beans::XPropertySet > const & | rXPropSet, |
css::uno::Reference< css::graphic::XGraphic > const & | rxGraphic, | ||
bool | bRelPathToMedia | ||
) |
Definition at line 1702 of file drawingml.cxx.
References FSNS(), mpFS, WriteArtisticEffect(), WriteImage(), and WriteImageBrightnessContrastTransparence().
Referenced by oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), and WriteXGraphicBlipFill().
void oox::drawingml::DrawingML::WriteXGraphicBlipFill | ( | css::uno::Reference< css::beans::XPropertySet > const & | rXPropSet, |
css::uno::Reference< css::graphic::XGraphic > const & | rxGraphic, | ||
sal_Int32 | nXmlNamespace, | ||
bool | bWriteMode, | ||
bool | bRelPathToMedia = false , |
||
css::awt::Size const & | rSize = {} |
||
) |
Definition at line 1796 of file drawingml.cxx.
References oox::drawingml::DOCUMENT_DOCX, GetDocumentType(), GetProperty(), mAny, mpFS, WriteSrcRectXGraphic(), WriteXGraphicBlip(), WriteXGraphicBlipMode(), and WriteXGraphicStretch().
Referenced by oox::drawingml::ChartExport::exportBitmapFill().
void oox::drawingml::DrawingML::WriteXGraphicBlipMode | ( | css::uno::Reference< css::beans::XPropertySet > const & | rXPropSet, |
css::uno::Reference< css::graphic::XGraphic > const & | rxGraphic, | ||
css::awt::Size const & | rSize | ||
) |
Definition at line 1725 of file drawingml.cxx.
References GetProperty(), mAny, SAL_INFO, WriteXGraphicCustomPosition(), WriteXGraphicStretch(), and WriteXGraphicTile().
Referenced by WriteXGraphicBlipFill().
void oox::drawingml::DrawingML::WriteXGraphicCustomPosition | ( | css::uno::Reference< css::beans::XPropertySet > const & | rXPropSet, |
css::uno::Reference< css::graphic::XGraphic > const & | rxGraphic, | ||
css::awt::Size const & | rSize | ||
) |
Definition at line 2085 of file drawingml.cxx.
References Application::GetDefaultDevice(), MapMode::GetMapUnit(), Graphic::GetPrefMapMode(), Graphic::GetPrefSize(), GetProperty(), Size::Height(), mAny, mpFS, OutputDevice::PixelToLogic(), sax_fastparser::UseIf(), and Size::Width().
Referenced by WriteXGraphicBlipMode().
void oox::drawingml::DrawingML::WriteXGraphicStretch | ( | css::uno::Reference< css::beans::XPropertySet > const & | rXPropSet, |
css::uno::Reference< css::graphic::XGraphic > const & | rxGraphic | ||
) |
Definition at line 1926 of file drawingml.cxx.
References oox::drawingml::DOCUMENT_DOCX, GetDocumentType(), Graphic::GetPrefSize(), GetProperty(), Size::Height(), mAny, mpFS, and Size::Width().
Referenced by WriteXGraphicBlipFill(), and WriteXGraphicBlipMode().
void oox::drawingml::DrawingML::WriteXGraphicTile | ( | css::uno::Reference< css::beans::XPropertySet > const & | rXPropSet, |
css::uno::Reference< css::graphic::XGraphic > const & | rxGraphic, | ||
css::awt::Size const & | rSize | ||
) |
Definition at line 2006 of file drawingml.cxx.
References Application::GetDefaultDevice(), MapMode::GetMapUnit(), Graphic::GetPrefMapMode(), Graphic::GetPrefSize(), GetProperty(), Size::Height(), oox::drawingml::lclConvertRectanglePointToToken(), mAny, mpFS, OutputDevice::PixelToLogic(), and Size::Width().
Referenced by WriteXGraphicBlipMode().
|
protected |
If set, this is the parent of the currently handled shape.
Definition at line 289 of file drawingml.hxx.
Referenced by oox::drawingml::ShapeExport::WriteConnectorShape(), oox::drawingml::ShapeExport::WriteCustomShape(), oox::drawingml::ShapeExport::WriteGroupShape(), oox::drawingml::ShapeExport::WritePolyPolygonShape(), WriteShapeTransformation(), and WriteTransformation().
|
protected |
Definition at line 285 of file drawingml.hxx.
Referenced by oox::drawingml::ChartExport::_exportAxis(), oox::drawingml::ChartExport::exportBarChart(), oox::drawingml::ChartExport::exportDataLabels(), oox::drawingml::ChartExport::exportDataPoints(), oox::drawingml::ChartExport::exportDataTable(), oox::drawingml::ChartExport::exportFill(), oox::drawingml::ChartExport::exportFirstSliceAng(), oox::drawingml::ChartExport::exportGradientFill(), oox::drawingml::ChartExport::exportGrouping(), oox::drawingml::ChartExport::exportHatch(), oox::drawingml::ChartExport::exportLineChart(), oox::drawingml::ChartExport::exportMarker(), oox::drawingml::ChartExport::exportScatterChartSeries(), oox::drawingml::ChartExport::exportSeries(), oox::drawingml::ChartExport::exportSeriesCategory(), oox::drawingml::ChartExport::exportSmooth(), oox::drawingml::ChartExport::exportSolidFill(), oox::drawingml::ChartExport::exportView3D(), getBulletMarginIndentation(), GetFieldValue(), GetProperty(), GetPropertyAndState(), oox::drawingml::ShapeExport::GetShapeName(), oox::drawingml::ChartExport::isDeep3dChart(), IsFontworkShape(), Write3DEffects(), WriteArtisticEffect(), oox::drawingml::ShapeExport::WriteBorderLine(), oox::drawingml::ChartExport::WriteChartObj(), oox::drawingml::ShapeExport::WriteConnectorShape(), oox::drawingml::ShapeExport::WriteCustomShape(), WriteFill(), WriteGraphicCropProperties(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), WriteImageBrightnessContrastTransparence(), WriteOutline(), WriteParagraphNumbering(), WriteParagraphProperties(), WriteParagraphTabStops(), WriteRun(), WriteRunProperties(), WriteSchemeColor(), WriteShapeEffects(), WriteShapeStyle(), WriteText(), oox::drawingml::ShapeExport::WriteTextShape(), WriteXGraphicBlipFill(), WriteXGraphicBlipMode(), WriteXGraphicCustomPosition(), WriteXGraphicStretch(), and WriteXGraphicTile().
|
protected |
Definition at line 290 of file drawingml.hxx.
Referenced by WriteParagraphNumbering(), and WriteRunProperties().
|
protected |
True when exporting presentation placeholder shape.
Definition at line 294 of file drawingml.hxx.
Referenced by WriteParagraphProperties(), and oox::drawingml::ShapeExport::WriteShape().
|
private |
To specify where write eg. the images to (like 'ppt', or 'word' - according to the OPC).
Definition at line 279 of file drawingml.hxx.
Referenced by GetComponentDir(), GetRelationCompPrefix(), WriteImage(), and WriteText().
|
staticprotected |
Definition at line 291 of file drawingml.hxx.
Referenced by ResetMlCounters(), and oox::drawingml::ShapeExport::WriteOLE2Shape().
|
staticprivate |
Definition at line 275 of file drawingml.hxx.
Referenced by ResetMlCounters().
|
staticprivate |
Definition at line 276 of file drawingml.hxx.
Referenced by ResetMlCounters().
|
protected |
Definition at line 287 of file drawingml.hxx.
Referenced by WriteArtisticEffect(), oox::drawingml::ChartExport::WriteChartObj(), oox::drawingml::ShapeExport::WriteCustomShape(), WriteDiagram(), writeDiagramRels(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), WriteImage(), oox::drawingml::ShapeExport::WriteMathShape(), WriteMediaNonVisualProperties(), oox::drawingml::ShapeExport::WriteOLE2Shape(), WriteRunProperties(), oox::drawingml::ShapeExport::WriteTextShape(), and WriteWdpPicture().
|
protected |
Definition at line 286 of file drawingml.hxx.
Referenced by oox::drawingml::ChartExport::exportFill(), oox::drawingml::ChartExport::exportGradientFill(), oox::drawingml::ChartExport::exportSolidFill(), Write3DEffects(), WriteArtisticEffect(), oox::drawingml::ShapeExport::WriteBorderLine(), oox::drawingml::ChartExport::WriteChartObj(), WriteColor(), WriteColorTransformations(), WriteConnectorConnections(), WriteCustomGeometry(), WriteCustomGeometryPoint(), WriteCustomGeometrySegment(), oox::drawingml::ShapeExport::WriteCustomShape(), WriteDiagram(), WriteEmptyCustomGeometry(), WriteFill(), WriteGrabBagGradientFill(), WriteGradientFill(), WriteGradientStop(), WriteGraphicCropProperties(), oox::drawingml::ShapeExport::WriteGraphicObjectShapePart(), WriteImage(), WriteImageBrightnessContrastTransparence(), WriteLineArrow(), WriteLinespacing(), WriteLstStyles(), oox::drawingml::ShapeExport::WriteMathShape(), WriteMediaNonVisualProperties(), oox::drawingml::ShapeExport::WriteOLE2Shape(), WriteOutline(), WriteParagraph(), WriteParagraphNumbering(), WriteParagraphProperties(), WriteParagraphTabStops(), WritePolyPolygon(), WritePresetShape(), WriteRun(), WriteRunProperties(), WriteSchemeColor(), WriteShapeEffect(), WriteShapeEffects(), WriteShapeStyle(), WriteSolidFill(), WriteStyleProperties(), oox::drawingml::ShapeExport::WriteTable(), oox::drawingml::ShapeExport::WriteTableCellProperties(), WriteText(), oox::drawingml::ShapeExport::WriteTextBox(), oox::drawingml::ShapeExport::WriteTextShape(), WriteTransformation(), WriteWdpPicture(), WriteXGraphicBlip(), WriteXGraphicBlipFill(), WriteXGraphicCustomPosition(), WriteXGraphicStretch(), and WriteXGraphicTile().
|
private |
Parent exporter, used for text callback.
Definition at line 281 of file drawingml.hxx.
Referenced by WriteText().