LibreOffice Module oox (master)  1
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
oox::drawingml Namespace Reference

Namespaces

 chart
 
 dgm
 
 table
 

Classes

struct  AdjustHandle
 
class  AlgAtom
 
class  ArtisticEffectContext
 Context handler that imports a14:imgProps, a14:imgLayer, a14:imgEffect containers and the a14:artistic* effect tags defined in the MS-ODRAWXML extension. More...
 
struct  ArtisticEffectProperties
 
struct  AxisIdPair
 
struct  BevelProperties
 
class  BlipContext
 Context handler that imports the a:blip element containing the fill bitmap and bitmap color transformation settings. More...
 
class  BlipExtensionContext
 Context handler that imports the a:extLst element inside a:blip and its children a:ext, which can contain transformations to the bitmap. More...
 
class  BlipFillContext
 Context handler that imports the a:blipFill element. More...
 
struct  BlipFillProperties
 
class  BulletList
 
class  ChartExport
 
class  ChartGraphicDataContext
 
struct  ChartShapeInfo
 Additional information for a chart embedded in a drawing shape. More...
 
class  ChooseAtom
 "choose" statements. More...
 
class  ClrMap
 
class  clrMapContext
 
class  ClrScheme
 
class  clrSchemeColorContext
 
class  clrSchemeContext
 
class  Color
 
class  ColorChangeContext
 Context handler that imports the a:clrChange element containing the colors of a bitmap color change transformation. More...
 
class  ColorContext
 Context handler for elements that contain a color value element (a:scrgbClr, a:srgbClr, a:hslClr, a:sysClr, a:schemeClr, a:prstClr). More...
 
class  ColorFragmentHandler
 
class  ColorPropertySet
 
class  ColorsContext
 Same as ColorContext, but handles multiple colors. More...
 
class  ColorValueContext
 Context handler for the different color value elements (a:scrgbClr, a:srgbClr, a:hslClr, a:sysClr, a:schemeClr, a:prstClr). More...
 
class  CompositeAlg
 Specifies the size and position for all child layout nodes. More...
 
class  ConditionAtom
 
struct  ConditionAttr
 
struct  ConnectionSite
 
class  ConnectorShapeContext
 
struct  Constraint
 Constraints allow you to specify an ideal (or starting point) size for each shape. More...
 
class  ConstraintAtom
 
class  ConstraintListContext
 
class  CustomShapeGeometryContext
 
struct  CustomShapeGuide
 
class  CustomShapeProperties
 
class  DataLabelsRange
 A helper container class to collect the chart data point labels and the address of the cell[range] from which the labels are sourced if that is the case. More...
 
class  DataModelContext
 
class  Diagram
 
struct  DiagramColor
 
class  DiagramData
 
class  DiagramDataFragmentHandler
 
class  DiagramDefinitionContext
 
class  DiagramGraphicDataContext
 
class  DiagramLayout
 
class  DiagramLayoutFragmentHandler
 
class  DiagramQStylesFragmentHandler
 
struct  DiagramStyle
 
class  DMLPresetShapeExporter
 Class for exporting the custom shapes to OOXML preset ones, if possible. More...
 
class  DMLTextExport
 Interface to be implemented by the parent exporter that knows how to handle shape text. More...
 
class  DrawingML
 
class  DuotoneContext
 Context handler that imports the a:duotone element containing the colors of a bitmap duotone transformation. More...
 
struct  Effect
 
struct  EffectGlowProperties
 
struct  EffectProperties
 
class  EffectPropertiesContext
 
struct  EffectShadowProperties
 
struct  EffectSoftEdgeProperties
 
struct  EmuPoint
 A structure for a point with 64-bit integer components. More...
 
struct  EmuRectangle
 A structure for a rectangle with 64-bit integer components. More...
 
struct  EmuSize
 A structure for a size with 64-bit integer components. More...
 
struct  FillProperties
 
class  FillPropertiesContext
 Context handler for elements that contain a fill property element (a:noFill, a:solidFill, a:gradFill, a:pattFill, a:blipFill, a:grpFill). More...
 
class  ForEachAtom
 
struct  Generic3DProperties
 
struct  GeomRect
 
class  GradientFillContext
 Context handler that imports the a:gradFill element. More...
 
struct  GradientFillProperties
 
class  GraphicalObjectFrameContext
 
struct  GraphicProperties
 
class  GraphicShapeContext
 
class  GuidContext
 
class  HyperLinkContext
 
struct  IndexRange
 
struct  IteratorAttr
 
class  LayoutAtom
 abstract Atom for the layout More...
 
struct  LayoutAtomVisitor
 
class  LayoutAtomVisitorBase
 
class  LayoutNode
 
class  LayoutNodeContext
 
struct  LineArrowProperties
 
struct  LineProperties
 
class  LinePropertiesContext
 
struct  LinkedTxbxAttr
 Attributes for a linked textbox. More...
 
class  objectDefaultContext
 
class  OleObjectGraphicDataContext
 
struct  Path2D
 
class  PatternFillContext
 Context handler that imports the a:pattFill element. More...
 
struct  PatternFillProperties
 
class  PresetShapeGeometryContext
 
class  PresetTextShapeContext
 
class  PyraAlg
 Lays out child layout nodes along a vertical path and works with the trapezoid shape to create a pyramid. More...
 
class  RegularTextRunContext
 
struct  RotationProperties
 
struct  Rule
 Rules allow you to specify what to do when constraints can't be fully satisfied. More...
 
class  RuleAtom
 Represents one <dgm:rule> element. More...
 
class  RuleListContext
 Handles one <dgm:ruleLst> element. More...
 
class  Scene3DPropertiesContext
 
class  Scene3DRotationPropertiesContext
 
class  SceneText3DPropertiesContext
 
class  ShallowPresNameVisitor
 
class  Shape
 
struct  Shape3DProperties
 
class  Shape3DPropertiesContext
 
class  ShapeAtom
 
class  ShapeContext
 
class  ShapeCreationVisitor
 
class  ShapeExport
 
class  ShapeGroupContext
 
class  ShapeLayoutingVisitor
 
class  ShapePropertiesContext
 
struct  ShapePropertyInfo
 
class  ShapePropertyMap
 
class  ShapeStyleContext
 
struct  ShapeStyleRef
 
class  ShapeTemplateVisitor
 
class  SimpleFillPropertiesContext
 Context handler for elements that contain a fill property element (a:noFill, a:solidFill, a:gradFill, a:pattFill, a:blipFill, a:grpFill). More...
 
class  SnakeAlg
 Finds optimal grid to layout children that have fixed aspect ratio. More...
 
class  SolidFillContext
 Context handler that imports the a:solidFill element. More...
 
class  spDefContext
 
struct  Text3DProperties
 
class  TextBody
 
class  TextBodyContext
 
struct  TextBodyProperties
 
class  TextBodyPropertiesContext
 
struct  TextCharacterProperties
 
class  TextCharacterPropertiesContext
 
class  TextEffectsContext
 
class  TextField
 
class  TextFieldContext
 
class  TextFont
 carries a CT_TextFont More...
 
class  TextListStyle
 
class  TextListStyleContext
 
class  TextParagraph
 
class  TextParagraphProperties
 
class  TextParagraphPropertiesContext
 
class  TextRun
 
class  TextSpacing
 carries a CT_TextSpacing More...
 
class  TextSpacingContext
 
class  TextTabStopListContext
 
class  Theme
 
class  ThemeElementsContext
 
class  ThemeFragmentHandler
 
class  ThemeOverrideFragmentHandler
 
class  Transform2DContext
 context to import a CT_Transform2D More...
 
class  URLTransformer
 

Typedefs

typedef std::unordered_map< OUString, FormulaCommand > FormulaCommandHMap
 
typedef std::shared_ptr< DiagramDataDiagramDataPtr
 
typedef std::shared_ptr< LayoutNodeLayoutNodePtr
 
typedef std::shared_ptr< LayoutAtomLayoutAtomPtr
 
typedef std::map< OUString, css::uno::Reference< css::xml::dom::XDocument > > DiagramDomMap
 
typedef std::map< OUString, LayoutAtomPtrLayoutAtomMap
 
typedef std::map< const dgm::Point *, ShapePtrPresPointShapeMap
 
typedef std::shared_ptr< DiagramLayoutDiagramLayoutPtr
 
typedef std::map< OUString, DiagramStyleDiagramQStyleMap
 
typedef std::map< OUString, DiagramColorDiagramColorMap
 
typedef std::shared_ptr< DiagramDiagramPtr
 
typedef std::map< sal_Int32, sal_Int32 > LayoutProperty
 
typedef std::map< OUString, LayoutPropertyLayoutPropertyMap
 
typedef std::shared_ptr< AlgAtomAlgAtomPtr
 
typedef std::shared_ptr< ForEachAtomForEachAtomPtr
 
typedef std::shared_ptr< ConditionAtomConditionAtomPtr
 
typedef std::shared_ptr< ShapeAtomShapeAtomPtr
 
typedef ShapeExport &(ShapeExport::* ShapeConverter) (const Reference< XShape > &)
 
typedef std::unordered_map< const char *, ShapeConverter, rtl::CStringHash, rtl::CStringEqual > NameToConvertMapType
 
typedef std::shared_ptr< CustomShapePropertiesCustomShapePropertiesPtr
 
typedef RefVector< TextParagraphTextParagraphVector
 
typedef std::array< TextParagraphProperties, NUM_TEXT_LIST_STYLE_ENTRIESTextParagraphPropertiesArray
 
typedef RefVector< TextRunTextRunVector
 
typedef std::shared_ptr< TextRunTextRunPtr
 
typedef std::shared_ptr< ClrMapClrMapPtr
 
typedef std::shared_ptr< LinePropertiesLinePropertiesPtr
 
typedef std::shared_ptr< FillPropertiesFillPropertiesPtr
 
typedef std::shared_ptr< GraphicPropertiesGraphicPropertiesPtr
 
typedef std::shared_ptr< Shape3DPropertiesShape3DPropertiesPtr
 
typedef std::shared_ptr< TextCharacterPropertiesTextCharacterPropertiesPtr
 
typedef std::shared_ptr< EffectPropertiesEffectPropertiesPtr
 
typedef std::shared_ptr< TextBodyTextBodyPtr
 
typedef std::shared_ptr< TextListStyleTextListStylePtr
 
typedef std::shared_ptr< ShapeShapePtr
 
typedef std::shared_ptr< ThemeThemePtr
 
typedef ::std::map< OUString, ShapePtrShapeIdMap
 
typedef ::std::map< sal_Int32, ShapeStyleRefShapeStyleRefMap
 
typedef o3tl::enumarray< ShapeProperty, sal_Int32 > ShapePropertyIds
 
typedef RefVector< FillPropertiesFillStyleList
 
typedef RefVector< LinePropertiesLineStyleList
 
typedef RefVector< EffectPropertiesEffectStyleList
 
typedef RefMap< sal_Int32, TextCharacterPropertiesFontScheme
 

Enumerations

enum  PredefinedClrSchemeId {
  dk2 = 0,
  lt2,
  accent1,
  accent2,
  accent3,
  accent4,
  accent5,
  accent6,
  hlink,
  folHlink,
  Count
}
 
enum  ShapeProperty {
  ShapeProperty::LineStyle,
  ShapeProperty::LineWidth,
  ShapeProperty::LineColor,
  ShapeProperty::LineTransparency,
  ShapeProperty::LineDash,
  ShapeProperty::LineCap,
  ShapeProperty::LineJoint,
  ShapeProperty::LineStart,
  ShapeProperty::LineStartWidth,
  ShapeProperty::LineStartCenter,
  ShapeProperty::LineEnd,
  ShapeProperty::LineEndWidth,
  ShapeProperty::LineEndCenter,
  ShapeProperty::FillStyle,
  ShapeProperty::FillColor,
  ShapeProperty::FillTransparency,
  ShapeProperty::GradientTransparency,
  ShapeProperty::FillGradient,
  ShapeProperty::FillBitmap,
  ShapeProperty::FillBitmapMode,
  ShapeProperty::FillBitmapSizeX,
  ShapeProperty::FillBitmapSizeY,
  ShapeProperty::FillBitmapOffsetX,
  ShapeProperty::FillBitmapOffsetY,
  ShapeProperty::FillBitmapRectanglePoint,
  ShapeProperty::FillHatch,
  ShapeProperty::FillBackground,
  ShapeProperty::FillBitmapName,
  ShapeProperty::ShadowXDistance,
  ShapeProperty::ShadowSizeX,
  ShapeProperty::ShadowSizeY,
  ShapeProperty::LAST = ShadowSizeY
}
 Enumeration for various properties related to drawing shape formatting. More...
 
enum  AxesType {
  AXIS_PRIMARY_X = 1,
  AXIS_PRIMARY_Y = 2,
  AXIS_PRIMARY_Z = 3,
  AXIS_SECONDARY_X = 4,
  AXIS_SECONDARY_Y = 5
}
 
enum  DocumentType {
  DOCUMENT_DOCX,
  DOCUMENT_PPTX,
  DOCUMENT_XLSX
}
 

Functions

static void setClrMap (const ::oox::AttributeList &rAttributes, ClrMap &rClrMap, sal_Int32 nToken)
 
static OUString GetFormulaParameter (const EnhancedCustomShapeParameter &rParameter)
 
static EnhancedCustomShapeParameter GetAdjCoordinate (CustomShapeProperties &rCustomShapeProperties, const OUString &rValue, bool bNoSymbols=true)
 
static OUString convertToOOEquation (CustomShapeProperties &rCustomShapeProperties, const OUString &rSource)
 
static const OUString & GetGeomGuideName (const OUString &rValue)
 
static OUString GetConnectorShapeType (sal_Int32 nType)
 
static sal_Int32 calcDepth (std::u16string_view rNodeName, const dgm::Connections &rCnx)
 
static void sortChildrenByZOrder (const ShapePtr &pShape)
 
static void removeUnneededGroupShapes (const ShapePtr &pShape)
 Removes empty group shapes, now that their spacing influenced the layout. More...
 
static uno::Reference< xml::dom::XDocument > loadFragment (core::XmlFilterBase &rFilter, const OUString &rFragmentPath)
 
static uno::Reference< xml::dom::XDocument > loadFragment (core::XmlFilterBase &rFilter, const rtl::Reference< core::FragmentHandler > &rxHandler)
 
static void importFragment (core::XmlFilterBase &rFilter, const uno::Reference< xml::dom::XDocument > &rXDom, const OUString &rDocName, const DiagramPtr &pDiagram, const rtl::Reference< core::FragmentHandler > &rxHandler)
 
void loadDiagram (ShapePtr const &pShape, core::XmlFilterBase &rFilter, const OUString &rDataModelPath, const OUString &rLayoutPath, const OUString &rQStylePath, const OUString &rColorStylePath, const oox::core::Relations &rRelations)
 load diagram data, and put resulting graphic into shape More...
 
void loadDiagram (ShapePtr const &pShape, DiagramDataPtr pDiagramData, const uno::Reference< xml::dom::XDocument > &layoutDom, const uno::Reference< xml::dom::XDocument > &styleDom, const uno::Reference< xml::dom::XDocument > &colorDom, core::XmlFilterBase &rFilter)
 
void reloadDiagram (SdrObject *pObj, core::XmlFilterBase &rFilter)
 
sal_Int32 GetCoordinate (sal_Int32 nValue)
 converts EMUs into 1/100th mmm More...
 
sal_Int32 GetCoordinate (std::u16string_view sValue)
 converts an emu string into 1/100th mmm More...
 
sal_Int32 GetPointFromCoordinate (sal_Int32 nValue)
 converts 1/100mm to EMU More...
 
sal_Int32 GetPercent (std::u16string_view sValue)
 converts a ST_Percentage % string into 1/1000th of % More...
 
double GetPositiveFixedPercentage (const OUString &sValue)
 Converts a ST_PositiveFixedPercentage to a float. More...
 
awt::Point GetPointPercent (const Reference< XFastAttributeList > &xAttribs)
 converts the attributes from a CT_TLPoint into an awt Point with 1/1000% More...
 
float GetTextSize (std::u16string_view sValue)
 converts the ST_TextFontSize to point More...
 
sal_Int32 GetTextSpacingPoint (std::u16string_view sValue)
 converts the ST_TextSpacingPoint to 1/100mm More...
 
sal_Int32 GetTextSpacingPoint (sal_Int32 nValue)
 
float GetFontHeight (sal_Int32 nHeight)
 
sal_Int16 GetFontUnderline (sal_Int32 nToken)
 
sal_Int16 GetFontStrikeout (sal_Int32 nToken)
 
sal_Int16 GetCaseMap (sal_Int32 nToken)
 
ParagraphAdjust GetParaAdjust (sal_Int32 nAlign)
 converts a paragraph align to a ParaAdjust More...
 
TextVerticalAdjust GetTextVerticalAdjust (sal_Int32 nToken)
 
const char * GetTextVerticalAdjust (TextVerticalAdjust eAdjust)
 
TabAlign GetTabAlign (sal_Int32 aToken)
 
const char * GetHatchPattern (const drawing::Hatch &rHatch)
 
IntegerRectangle2D GetRelativeRect (const Reference< XFastAttributeList > &xAttribs)
 converts the attributes from a CT_RelativeRect to an IntegerRectangle2D More...
 
awt::Size GetSize2D (const Reference< XFastAttributeList > &xAttribs)
 converts the attributes from a CT_Size2D into an awt Size with 1/100thmm More...
 
IndexRange GetIndexRange (const Reference< XFastAttributeList > &xAttributes)
 
OUString getEmbeddedWAVAudioFile (const core::Relations &rRelations, const AttributeList &rAttribs)
 
static void lcl_resetPropertyValue (std::vector< beans::PropertyValue > &rPropVec, const OUString &rName)
 
static void lcl_setPropertyValue (std::vector< beans::PropertyValue > &rPropVec, const OUString &rName, const beans::PropertyValue &rPropertyValue)
 
static SdrTextHorzAdjust lcl_convertAdjust (ParagraphAdjust eAdjust)
 
static void lcl_createPresetShape (const uno::Reference< drawing::XShape > &xShape, const OUString &rClass, const OUString &rPresetType, const CustomShapePropertiesPtr &pCustomShapePropertiesPtr, const TextBodyPtr &pTextBody, const GraphicHelper &rGraphicHelper)
 
static void pushToGrabBag (PropertySet &rPropSet, const std::vector< PropertyValue > &aVectorOfPropertyValues)
 
static void applyStyleList (const TextParagraphPropertiesArray &rSourceListStyle, TextParagraphPropertiesArray &rDestListStyle)
 
static Reference< chart2::data::XLabeledDataSequence > lcl_getCategories (const Reference< chart2::XDiagram > &xDiagram, bool &bHasDateCategories)
 
static Reference< chart2::data::XLabeledDataSequence > lcl_getDataSequenceByRole (const Sequence< Reference< chart2::data::XLabeledDataSequence > > &aLabeledSeq, const OUString &rRole)
 
static bool lcl_hasCategoryLabels (const Reference< chart2::XChartDocument > &xChartDoc)
 
static bool lcl_isCategoryAxisShifted (const Reference< chart2::XDiagram > &xDiagram)
 
static sal_Int32 lcl_getCategoryAxisType (const Reference< chart2::XDiagram > &xDiagram, sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex)
 
static OUString lclGetTimeUnitToken (sal_Int32 nTimeUnit)
 
static cssc::TimeIncrement lcl_getDateTimeIncrement (const Reference< chart2::XDiagram > &xDiagram, sal_Int32 nAxisIndex)
 
static bool lcl_isSeriesAttachedToFirstAxis (const Reference< chart2::XDataSeries > &xDataSeries)
 
static OUString lcl_flattenStringSequence (const Sequence< OUString > &rSequence)
 
static Sequence< OUString > lcl_getLabelSequence (const Reference< chart2::data::XDataSequence > &xLabelSeq)
 
static void lcl_fillCategoriesIntoStringVector (const Reference< chart2::data::XDataSequence > &xCategories,::std::vector< OUString > &rOutCategories)
 
static::std::vector< double > lcl_getAllValuesFromSequence (const Reference< chart2::data::XDataSequence > &xSeq)
 
static sal_Int32 lcl_getChartType (std::u16string_view sChartType)
 
static sal_Int32 lcl_generateRandomValue ()
 
static sal_Int32 lcl_getAlphaFromTransparenceGradient (const awt::Gradient &rGradient, bool bStart)
 
static css::uno::Any getLineDash (const css::uno::Reference< css::frame::XModel > &xModel, const OUString &rDashName)
 
static OUString lcl_GetTarget (const css::uno::Reference< css::frame::XModel > &xModel, std::u16string_view rURL)
 
static OUString GetAutoNumType (SvxNumType nNumberingType, bool bSDot, bool bPBehind, bool bPBoth)
 
static std::map< OString, std::vector< OString > > lcl_getAdjNames ()
 
static sal_Int32 lcl_CalculateDist (const double dX, const double dY)
 
static sal_Int32 lcl_CalculateDir (const double dX, const double dY)
 
static bool IsNonEmptySimpleText (const Reference< XInterface > &xIface)
 
static bool lcl_IsOnDenylist (OUString const &rShapeType)
 
static bool lcl_IsOnAllowlist (OUString const &rShapeType)
 
static bool lcl_GetHandlePosition (sal_Int32 &nValue, const EnhancedCustomShapeParameter &rParam, Sequence< EnhancedCustomShapeAdjustmentValue > &rSeq)
 
static void lcl_AnalyzeHandles (const uno::Sequence< beans::PropertyValues > &rHandles, std::vector< std::pair< sal_Int32, sal_Int32 > > &rHandlePositionList, Sequence< EnhancedCustomShapeAdjustmentValue > &rSeq)
 
static void lcl_AppendAdjustmentValue (std::vector< std::pair< sal_Int32, sal_Int32 > > &rAvList, sal_Int32 nAdjIdx, sal_Int32 nValue)
 
static sal_Int32 lcl_NormalizeAngle (sal_Int32 nAngle)
 
static sal_Int32 lcl_CircleAngle2CustomShapeEllipseAngleOOX (const sal_Int32 nInternAngle, const sal_Int32 nWidth, const sal_Int32 nHeight)
 
static OUString lcl_GetTarget (const css::uno::Reference< css::frame::XModel > &xModel, std::u16string_view rURL)
 
static const NameToConvertMapTypelcl_GetConverters ()
 
OUString getEmbeddedWAVAudioFile (const ::oox::core::Relations &rRelations, const AttributeList &rAttribs)
 
void loadDiagram (ShapePtr const &pShape, DiagramDataPtr pDiagramData, const css::uno::Reference< css::xml::dom::XDocument > &layoutDom, const css::uno::Reference< css::xml::dom::XDocument > &styleDom, const css::uno::Reference< css::xml::dom::XDocument > &colorDom, core::XmlFilterBase &rFilter)
 
css::awt::Point GetPointPercent (const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttribs)
 converts the attributes from a CT_TLPoint into an awt Point with 1/1000% More...
 
css::awt::Size GetSize2D (const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttributes)
 converts the attributes from a CT_Size2D into an awt Size with 1/100th mm More...
 
css::geometry::IntegerRectangle2D GetRelativeRect (const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttributes)
 converts the attributes from a CT_RelativeRect to an IntegerRectangle2D More...
 
css::style::TabAlign GetTabAlign (::sal_Int32 aToken)
 
OOX_DLLPUBLIC const char * GetTextVerticalAdjust (css::drawing::TextVerticalAdjust eAdjust)
 
const char * GetHatchPattern (const css::drawing::Hatch &rHatch)
 
IndexRange GetIndexRange (const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttributes)
 retrieve the content of CT_IndexRange More...
 
OString calcRotationValue (sal_Int32 nRotation)
 nRotation is a 100th of a degree and the return value is in a 60,000th of a degree More...
 
sal_Int64 convertHmmToEmu (sal_Int32 nValue)
 Converts the passed 32-bit integer value from 1/100 mm to EMUs. More...
 
sal_Int32 convertEmuToHmm (sal_Int64 nValue)
 Converts the passed 64-bit integer value from EMUs to 1/100 mm. More...
 
float convertEmuToPoints (sal_Int64 nValue)
 Converts the passed 64-bit integer value from EMUs to Points. More...
 
double convertPointToMms (double fValue)
 Converts the passed double value from points to mm. More...
 
sal_Int32 ExportRotateClockwisify (Degree100 input)
 

Variables

const FormulaCommandNameTable pFormulaCommandNameTable []
 
static const FormulaCommandHMappCommandHashMap
 
constexpr int NUM_TEXT_LIST_STYLE_ENTRIES = 9
 
static std::map< PredefinedClrSchemeId, OUString > PredefinedClrNames
 
const sal_Int32 PER_PERCENT = 1000
 
const sal_Int32 MAX_PERCENT = 100 * PER_PERCENT
 
const sal_Int32 PER_DEGREE = 60000
 
const sal_Int32 MAX_DEGREE = 360 * PER_DEGREE
 
const sal_Int32 THEMED_STYLE_SUBTLE = 1
 
const sal_Int32 THEMED_STYLE_MODERATE = 2
 
const sal_Int32 THEMED_STYLE_INTENSE = 3
 

Typedef Documentation

typedef std::shared_ptr< AlgAtom > oox::drawingml::AlgAtomPtr

Definition at line 203 of file diagramlayoutatoms.hxx.

typedef std::shared_ptr< ClrMap > oox::drawingml::ClrMapPtr

Definition at line 78 of file clrscheme.hxx.

typedef std::shared_ptr< ConditionAtom > oox::drawingml::ConditionAtomPtr

Definition at line 290 of file diagramlayoutatoms.hxx.

Definition at line 35 of file customshapeproperties.hxx.

Definition at line 128 of file oox/source/drawingml/diagram/diagram.hxx.

typedef std::shared_ptr< DiagramData > oox::drawingml::DiagramDataPtr

Definition at line 199 of file datamodel.hxx.

typedef std::map< OUString, css::uno::Reference<css::xml::dom::XDocument> > oox::drawingml::DiagramDomMap

Definition at line 44 of file oox/source/drawingml/diagram/diagram.hxx.

typedef std::shared_ptr< DiagramLayout > oox::drawingml::DiagramLayoutPtr

Definition at line 103 of file oox/source/drawingml/diagram/diagram.hxx.

typedef std::shared_ptr< Diagram > oox::drawingml::DiagramPtr

Definition at line 164 of file oox/source/drawingml/diagram/diagram.hxx.

Definition at line 113 of file oox/source/drawingml/diagram/diagram.hxx.

Definition at line 69 of file drawingmltypes.hxx.

Definition at line 51 of file theme.hxx.

Definition at line 57 of file drawingmltypes.hxx.

Definition at line 49 of file theme.hxx.

Definition at line 52 of file theme.hxx.

typedef std::shared_ptr< ForEachAtom > oox::drawingml::ForEachAtomPtr

Definition at line 271 of file diagramlayoutatoms.hxx.

typedef std::unordered_map< OUString, FormulaCommand > oox::drawingml::FormulaCommandHMap

Definition at line 95 of file customshapegeometry.cxx.

Definition at line 60 of file drawingmltypes.hxx.

Definition at line 46 of file oox/source/drawingml/diagram/diagram.hxx.

typedef std::shared_ptr< LayoutAtom > oox::drawingml::LayoutAtomPtr

Definition at line 41 of file oox/source/drawingml/diagram/diagram.hxx.

typedef std::shared_ptr< LayoutNode > oox::drawingml::LayoutNodePtr

Definition at line 39 of file oox/source/drawingml/diagram/diagram.hxx.

typedef std::map<sal_Int32, sal_Int32> oox::drawingml::LayoutProperty

Definition at line 87 of file diagramlayoutatoms.hxx.

Definition at line 88 of file diagramlayoutatoms.hxx.

Definition at line 54 of file drawingmltypes.hxx.

Definition at line 50 of file theme.hxx.

typedef std::unordered_map< const char*, ShapeConverter, rtl::CStringHash, rtl::CStringEqual> oox::drawingml::NameToConvertMapType

Definition at line 1609 of file shapes.cxx.

Definition at line 47 of file oox/source/drawingml/diagram/diagram.hxx.

Definition at line 63 of file drawingmltypes.hxx.

typedef std::shared_ptr< ShapeAtom > oox::drawingml::ShapeAtomPtr

Definition at line 366 of file diagramlayoutatoms.hxx.

typedef ShapeExport&(ShapeExport::* oox::drawingml::ShapeConverter) (const Reference< XShape > &)

Definition at line 1608 of file shapes.cxx.

Definition at line 72 of file shape.hxx.

Definition at line 80 of file shapepropertymap.hxx.

typedef std::shared_ptr< Shape > oox::drawingml::ShapePtr

Definition at line 78 of file drawingmltypes.hxx.

Definition at line 81 of file shape.hxx.

typedef std::shared_ptr< TextBody > oox::drawingml::TextBodyPtr

Definition at line 72 of file drawingmltypes.hxx.

Definition at line 66 of file drawingmltypes.hxx.

typedef std::shared_ptr< TextListStyle > oox::drawingml::TextListStylePtr

Definition at line 75 of file drawingmltypes.hxx.

Definition at line 31 of file textliststyle.hxx.

Definition at line 38 of file textbody.hxx.

typedef std::shared_ptr< TextRun > oox::drawingml::TextRunPtr

Definition at line 65 of file textrun.hxx.

Definition at line 42 of file textparagraph.hxx.

typedef std::shared_ptr< Theme > oox::drawingml::ThemePtr

Definition at line 81 of file drawingmltypes.hxx.

Enumeration Type Documentation

Enumerator
AXIS_PRIMARY_X 
AXIS_PRIMARY_Y 
AXIS_PRIMARY_Z 
AXIS_SECONDARY_X 
AXIS_SECONDARY_Y 

Definition at line 73 of file chartexport.hxx.

Enumerator
DOCUMENT_DOCX 
DOCUMENT_PPTX 
DOCUMENT_XLSX 

Definition at line 73 of file utils.hxx.

Enumerator
dk2 
lt2 
accent1 
accent2 
accent3 
accent4 
accent5 
accent6 
hlink 
folHlink 
Count 

Definition at line 36 of file clrscheme.hxx.

Enumeration for various properties related to drawing shape formatting.

This is an abstraction for shape formatting properties that have different names in various implementations, e.g. drawing shapes vs. chart objects.

If you insert ids into this list, then update spnCommonPropIds, spnLinearPropIds and spnFilledPropIds of oox/source/drawingml/chart/objectformatter.cxx if the newly inserted enum is inside the range they cover

Enumerator
LineStyle 
LineWidth 
LineColor 
LineTransparency 
LineDash 

Explicit line dash or name of a line dash stored in a global container.

LineCap 
LineJoint 
LineStart 

Explicit line start marker or name of a line marker stored in a global container.

LineStartWidth 
LineStartCenter 
LineEnd 

Explicit line end marker or name of a line marker stored in a global container.

LineEndWidth 
LineEndCenter 
FillStyle 
FillColor 
FillTransparency 
GradientTransparency 
FillGradient 

Explicit fill gradient or name of a fill gradient stored in a global container.

FillBitmap 

Explicit fill bitmap or name of a fill bitmap stored in a global container.

FillBitmapMode 
FillBitmapSizeX 
FillBitmapSizeY 
FillBitmapOffsetX 
FillBitmapOffsetY 
FillBitmapRectanglePoint 
FillHatch 

Explicit fill hatch or name of a fill hatch stored in a global container.

FillBackground 
FillBitmapName 
ShadowXDistance 
ShadowSizeX 
ShadowSizeY 
LAST 

Definition at line 44 of file shapepropertymap.hxx.

Function Documentation

static void oox::drawingml::applyStyleList ( const TextParagraphPropertiesArray rSourceListStyle,
TextParagraphPropertiesArray rDestListStyle 
)
static

Definition at line 57 of file textliststyle.cxx.

References namespaces::i, and NUM_TEXT_LIST_STYLE_ENTRIES.

Referenced by oox::drawingml::TextListStyle::apply().

static sal_Int32 oox::drawingml::calcDepth ( std::u16string_view  rNodeName,
const dgm::Connections rCnx 
)
static

Definition at line 292 of file datamodel.cxx.

Referenced by oox::drawingml::DiagramData::build().

OString oox::drawingml::calcRotationValue ( sal_Int32  nRotation)
inline

nRotation is a 100th of a degree and the return value is in a 60,000th of a degree

Also rotation is in opposite directions so multiply with -1

Definition at line 164 of file drawingmltypes.hxx.

Referenced by oox::drawingml::ChartExport::exportTitle(), and oox::drawingml::DrawingML::WriteText().

sal_Int32 oox::drawingml::convertEmuToHmm ( sal_Int64  nValue)
inline
float oox::drawingml::convertEmuToPoints ( sal_Int64  nValue)
inline

Converts the passed 64-bit integer value from EMUs to Points.

Definition at line 187 of file drawingmltypes.hxx.

References o3tl::emu, and o3tl::pt.

Referenced by oox::vml::TextpathModel::pushToPropMap().

sal_Int64 oox::drawingml::convertHmmToEmu ( sal_Int32  nValue)
inline
double oox::drawingml::convertPointToMms ( double  fValue)
inline

Converts the passed double value from points to mm.

Definition at line 193 of file drawingmltypes.hxx.

References o3tl::convert(), o3tl::mm, and o3tl::pt.

Referenced by oox::drawingml::AlgAtom::layoutShape().

static OUString oox::drawingml::convertToOOEquation ( CustomShapeProperties rCustomShapeProperties,
const OUString &  rSource 
)
static
sal_Int32 oox::drawingml::ExportRotateClockwisify ( Degree100  input)
inline
static EnhancedCustomShapeParameter oox::drawingml::GetAdjCoordinate ( CustomShapeProperties rCustomShapeProperties,
const OUString &  rValue,
bool  bNoSymbols = true 
)
static
static OUString oox::drawingml::GetAutoNumType ( SvxNumType  nNumberingType,
bool  bSDot,
bool  bPBehind,
bool  bPBoth 
)
static
sal_Int16 oox::drawingml::GetCaseMap ( sal_Int32  nToken)
static OUString oox::drawingml::GetConnectorShapeType ( sal_Int32  nType)
static

Definition at line 91 of file customshapeproperties.cxx.

References SAL_INFO, and sType.

Referenced by oox::drawingml::CustomShapeProperties::pushToPropSet().

sal_Int32 oox::drawingml::GetCoordinate ( sal_Int32  nValue)
sal_Int32 oox::drawingml::GetCoordinate ( std::u16string_view  sValue)

converts an emu string into 1/100th mmm

Definition at line 47 of file drawingmltypes.cxx.

References sax::Converter::convertNumber(), and GetCoordinate().

OUString oox::drawingml::getEmbeddedWAVAudioFile ( const core::Relations rRelations,
const AttributeList rAttribs 
)
OUString oox::drawingml::getEmbeddedWAVAudioFile ( const ::oox::core::Relations rRelations,
const AttributeList rAttribs 
)
float oox::drawingml::GetFontHeight ( sal_Int32  nHeight)
sal_Int16 oox::drawingml::GetFontStrikeout ( sal_Int32  nToken)
sal_Int16 oox::drawingml::GetFontUnderline ( sal_Int32  nToken)
static OUString oox::drawingml::GetFormulaParameter ( const EnhancedCustomShapeParameter &  rParameter)
static

Definition at line 99 of file customshapegeometry.cxx.

References nValue.

Referenced by convertToOOEquation().

static const OUString& oox::drawingml::GetGeomGuideName ( const OUString &  rValue)
static

Definition at line 630 of file customshapegeometry.cxx.

const char* oox::drawingml::GetHatchPattern ( const css::drawing::Hatch &  rHatch)
const char* oox::drawingml::GetHatchPattern ( const drawing::Hatch &  rHatch)

Definition at line 260 of file drawingmltypes.cxx.

IndexRange oox::drawingml::GetIndexRange ( const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttributes)

retrieve the content of CT_IndexRange

IndexRange oox::drawingml::GetIndexRange ( const Reference< XFastAttributeList > &  xAttributes)
static css::uno::Any oox::drawingml::getLineDash ( const css::uno::Reference< css::frame::XModel > &  xModel,
const OUString &  rDashName 
)
static

Definition at line 174 of file drawingml.cxx.

Referenced by oox::drawingml::DrawingML::WriteOutline().

css::style::ParagraphAdjust oox::drawingml::GetParaAdjust ( sal_Int32  nAlign)

converts a paragraph align to a ParaAdjust

Definition at line 167 of file drawingmltypes.cxx.

Referenced by oox::drawingml::AlgAtom::layoutShape(), and oox::drawingml::TextParagraphPropertiesContext::TextParagraphPropertiesContext().

sal_Int32 oox::drawingml::GetPercent ( std::u16string_view  sValue)
sal_Int32 oox::drawingml::GetPointFromCoordinate ( sal_Int32  nValue)

converts 1/100mm to EMU

Definition at line 56 of file drawingmltypes.cxx.

References o3tl::convert(), o3tl::emu, and o3tl::mm100.

Referenced by oox::drawingml::DrawingML::WriteParagraphTabStops().

awt::Point oox::drawingml::GetPointPercent ( const Reference< XFastAttributeList > &  xAttribs)

converts the attributes from a CT_TLPoint into an awt Point with 1/1000%

Definition at line 78 of file drawingmltypes.cxx.

References GetPercent().

css::awt::Point oox::drawingml::GetPointPercent ( const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttribs)

converts the attributes from a CT_TLPoint into an awt Point with 1/1000%

double oox::drawingml::GetPositiveFixedPercentage ( const OUString &  sValue)

Converts a ST_PositiveFixedPercentage to a float.

1.0 == 100%

Definition at line 71 of file drawingmltypes.cxx.

Referenced by oox::ppt::CommonTimeNodeContext::CommonTimeNodeContext().

css::geometry::IntegerRectangle2D oox::drawingml::GetRelativeRect ( const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttributes)

converts the attributes from a CT_RelativeRect to an IntegerRectangle2D

IntegerRectangle2D oox::drawingml::GetRelativeRect ( const Reference< XFastAttributeList > &  xAttribs)

converts the attributes from a CT_RelativeRect to an IntegerRectangle2D

Definition at line 379 of file drawingmltypes.cxx.

Referenced by oox::drawingml::GradientFillContext::onCreateContext(), and oox::drawingml::BlipFillContext::onCreateContext().

css::awt::Size oox::drawingml::GetSize2D ( const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttributes)

converts the attributes from a CT_Size2D into an awt Size with 1/100th mm

awt::Size oox::drawingml::GetSize2D ( const Reference< XFastAttributeList > &  xAttribs)

converts the attributes from a CT_Size2D into an awt Size with 1/100thmm

Definition at line 392 of file drawingmltypes.cxx.

References GetCoordinate().

Referenced by oox::ppt::PresentationFragmentHandler::onCreateContext().

css::style::TabAlign oox::drawingml::GetTabAlign ( ::sal_Int32  aToken)
TabAlign oox::drawingml::GetTabAlign ( sal_Int32  aToken)
float oox::drawingml::GetTextSize ( std::u16string_view  sValue)

converts the ST_TextFontSize to point

Definition at line 84 of file drawingmltypes.cxx.

References sax::Converter::convertNumber().

Referenced by oox::drawingml::TextParagraphPropertiesContext::onCreateContext().

sal_Int32 oox::drawingml::GetTextSpacingPoint ( std::u16string_view  sValue)
sal_Int32 oox::drawingml::GetTextSpacingPoint ( sal_Int32  nValue)

Definition at line 102 of file drawingmltypes.cxx.

OOX_DLLPUBLIC const char* oox::drawingml::GetTextVerticalAdjust ( css::drawing::TextVerticalAdjust  eAdjust)
css::drawing::TextVerticalAdjust oox::drawingml::GetTextVerticalAdjust ( sal_Int32  nToken)
const char* oox::drawingml::GetTextVerticalAdjust ( TextVerticalAdjust  eAdjust)

Definition at line 216 of file drawingmltypes.cxx.

static void oox::drawingml::importFragment ( core::XmlFilterBase rFilter,
const uno::Reference< xml::dom::XDocument > &  rXDom,
const OUString &  rDocName,
const DiagramPtr pDiagram,
const rtl::Reference< core::FragmentHandler > &  rxHandler 
)
static
static bool oox::drawingml::IsNonEmptySimpleText ( const Reference< XInterface > &  xIface)
static
static void oox::drawingml::lcl_AnalyzeHandles ( const uno::Sequence< beans::PropertyValues > &  rHandles,
std::vector< std::pair< sal_Int32, sal_Int32 > > &  rHandlePositionList,
Sequence< EnhancedCustomShapeAdjustmentValue > &  rSeq 
)
static

Definition at line 648 of file shapes.cxx.

References lcl_GetHandlePosition(), and u.

Referenced by oox::drawingml::ShapeExport::WriteCustomShape().

static void oox::drawingml::lcl_AppendAdjustmentValue ( std::vector< std::pair< sal_Int32, sal_Int32 > > &  rAvList,
sal_Int32  nAdjIdx,
sal_Int32  nValue 
)
static
static sal_Int32 oox::drawingml::lcl_CalculateDir ( const double  dX,
const double  dY 
)
static

Definition at line 4389 of file drawingml.cxx.

References basegfx::rad2deg().

Referenced by oox::drawingml::DrawingML::WriteShapeEffects().

static sal_Int32 oox::drawingml::lcl_CalculateDist ( const double  dX,
const double  dY 
)
static

Definition at line 4384 of file drawingml.cxx.

Referenced by oox::drawingml::DrawingML::WriteShapeEffects().

static sal_Int32 oox::drawingml::lcl_CircleAngle2CustomShapeEllipseAngleOOX ( const sal_Int32  nInternAngle,
const sal_Int32  nWidth,
const sal_Int32  nHeight 
)
static
static SdrTextHorzAdjust oox::drawingml::lcl_convertAdjust ( ParagraphAdjust  eAdjust)
static
static void oox::drawingml::lcl_createPresetShape ( const uno::Reference< drawing::XShape > &  xShape,
const OUString &  rClass,
const OUString &  rPresetType,
const CustomShapePropertiesPtr pCustomShapePropertiesPtr,
const TextBodyPtr pTextBody,
const GraphicHelper rGraphicHelper 
)
static
static void oox::drawingml::lcl_fillCategoriesIntoStringVector ( const Reference< chart2::data::XDataSequence > &  xCategories,
::std::vector< OUString > &  rOutCategories 
)
static

Definition at line 398 of file chartexport.cxx.

References namespaces::i.

Referenced by oox::drawingml::ChartExport::exportSeriesCategory().

static OUString oox::drawingml::lcl_flattenStringSequence ( const Sequence< OUString > &  rSequence)
static

Definition at line 361 of file chartexport.cxx.

Referenced by oox::drawingml::ChartExport::exportSeriesText().

static sal_Int32 oox::drawingml::lcl_generateRandomValue ( )
static
static std::map< OString, std::vector<OString> > oox::drawingml::lcl_getAdjNames ( )
static

Definition at line 3531 of file drawingml.cxx.

References ERRCODE_NONE, SvStream::GetError(), nIndex, SvStream::ReadLine(), and SAL_WARN.

static ::std::vector< double > oox::drawingml::lcl_getAllValuesFromSequence ( const Reference< chart2::data::XDataSequence > &  xSeq)

Definition at line 421 of file chartexport.cxx.

References namespaces::i.

Referenced by oox::drawingml::ChartExport::exportSeriesValues().

static sal_Int32 oox::drawingml::lcl_getAlphaFromTransparenceGradient ( const awt::Gradient &  rGradient,
bool  bStart 
)
static

Definition at line 483 of file chartexport.cxx.

References ColorTransparency, and MAX_PERCENT.

Referenced by oox::drawingml::ChartExport::exportSolidFill().

static Reference< chart2::data::XLabeledDataSequence > oox::drawingml::lcl_getCategories ( const Reference< chart2::XDiagram > &  xDiagram,
bool &  bHasDateCategories 
)
static
static sal_Int32 oox::drawingml::lcl_getCategoryAxisType ( const Reference< chart2::XDiagram > &  xDiagram,
sal_Int32  nDimensionIndex,
sal_Int32  nAxisIndex 
)
static

Definition at line 263 of file chartexport.cxx.

References DBG_UNHANDLED_EXCEPTION.

Referenced by oox::drawingml::ChartExport::exportAxis().

static sal_Int32 oox::drawingml::lcl_getChartType ( std::u16string_view  sChartType)
static
static const NameToConvertMapType& oox::drawingml::lcl_GetConverters ( )
static
static Reference< chart2::data::XLabeledDataSequence > oox::drawingml::lcl_getDataSequenceByRole ( const Sequence< Reference< chart2::data::XLabeledDataSequence > > &  aLabeledSeq,
const OUString &  rRole 
)
static
static cssc::TimeIncrement oox::drawingml::lcl_getDateTimeIncrement ( const Reference< chart2::XDiagram > &  xDiagram,
sal_Int32  nAxisIndex 
)
static

Definition at line 308 of file chartexport.cxx.

References DBG_UNHANDLED_EXCEPTION.

Referenced by oox::drawingml::ChartExport::_exportAxis().

static bool oox::drawingml::lcl_GetHandlePosition ( sal_Int32 &  nValue,
const EnhancedCustomShapeParameter &  rParam,
Sequence< EnhancedCustomShapeAdjustmentValue > &  rSeq 
)
static

Definition at line 614 of file shapes.cxx.

References Value.

Referenced by lcl_AnalyzeHandles().

static Sequence< OUString > oox::drawingml::lcl_getLabelSequence ( const Reference< chart2::data::XDataSequence > &  xLabelSeq)
static
static OUString oox::drawingml::lcl_GetTarget ( const css::uno::Reference< css::frame::XModel > &  xModel,
std::u16string_view  rURL 
)
static

Definition at line 703 of file shapes.cxx.

References namespaces::i.

static OUString oox::drawingml::lcl_GetTarget ( const css::uno::Reference< css::frame::XModel > &  xModel,
std::u16string_view  rURL 
)
static
static bool oox::drawingml::lcl_hasCategoryLabels ( const Reference< chart2::XChartDocument > &  xChartDoc)
static
static bool oox::drawingml::lcl_isCategoryAxisShifted ( const Reference< chart2::XDiagram > &  xDiagram)
static

Definition at line 230 of file chartexport.cxx.

References DBG_UNHANDLED_EXCEPTION.

Referenced by oox::drawingml::ChartExport::_exportAxis().

static bool oox::drawingml::lcl_IsOnAllowlist ( OUString const &  rShapeType)
static

Definition at line 604 of file shapes.cxx.

References u.

Referenced by oox::drawingml::ShapeExport::WriteCustomShape().

static bool oox::drawingml::lcl_IsOnDenylist ( OUString const &  rShapeType)
static

Definition at line 537 of file shapes.cxx.

References u.

Referenced by oox::drawingml::ShapeExport::WriteCustomShape().

static bool oox::drawingml::lcl_isSeriesAttachedToFirstAxis ( const Reference< chart2::XDataSeries > &  xDataSeries)
static
static sal_Int32 oox::drawingml::lcl_NormalizeAngle ( sal_Int32  nAngle)
static

Definition at line 682 of file shapes.cxx.

Referenced by oox::drawingml::ShapeExport::WriteCustomShape().

static void oox::drawingml::lcl_resetPropertyValue ( std::vector< beans::PropertyValue > &  rPropVec,
const OUString &  rName 
)
static

Definition at line 406 of file shape.cxx.

Referenced by lcl_createPresetShape(), and lcl_setPropertyValue().

static void oox::drawingml::lcl_setPropertyValue ( std::vector< beans::PropertyValue > &  rPropVec,
const OUString &  rName,
const beans::PropertyValue &  rPropertyValue 
)
static

Definition at line 415 of file shape.cxx.

References lcl_resetPropertyValue().

Referenced by lcl_createPresetShape().

static OUString oox::drawingml::lclGetTimeUnitToken ( sal_Int32  nTimeUnit)
static

Definition at line 296 of file chartexport.cxx.

Referenced by oox::drawingml::ChartExport::_exportAxis().

void oox::drawingml::loadDiagram ( ShapePtr const &  pShape,
DiagramDataPtr  pDiagramData,
const css::uno::Reference< css::xml::dom::XDocument > &  layoutDom,
const css::uno::Reference< css::xml::dom::XDocument > &  styleDom,
const css::uno::Reference< css::xml::dom::XDocument > &  colorDom,
core::XmlFilterBase rFilter 
)
void oox::drawingml::loadDiagram ( ShapePtr const &  pShape,
core::XmlFilterBase rFilter,
const OUString &  rDataModelPath,
const OUString &  rLayoutPath,
const OUString &  rQStylePath,
const OUString &  rColorStylePath,
const oox::core::Relations rRelations 
)

load diagram data, and put resulting graphic into shape

This method loads the diagram data fragments from the given paths, generate and layout the shapes, and push it as children into the referenced shape.

Definition at line 246 of file diagram.cxx.

References oox::core::Relations::getFragmentPathFromRelId(), oox::core::XmlFilterBase::importFragment(), importFragment(), loadFragment(), pData, and u.

Referenced by oox::drawingml::DiagramGraphicDataContext::onCreateContext().

void oox::drawingml::loadDiagram ( ShapePtr const &  pShape,
DiagramDataPtr  pDiagramData,
const uno::Reference< xml::dom::XDocument > &  layoutDom,
const uno::Reference< xml::dom::XDocument > &  styleDom,
const uno::Reference< xml::dom::XDocument > &  colorDom,
core::XmlFilterBase rFilter 
)

Definition at line 367 of file diagram.cxx.

References importFragment().

Referenced by reloadDiagram().

static uno::Reference<xml::dom::XDocument> oox::drawingml::loadFragment ( core::XmlFilterBase rFilter,
const OUString &  rFragmentPath 
)
static

Definition at line 170 of file diagram.cxx.

References oox::core::XmlFilterBase::importFragment().

Referenced by loadFragment().

static uno::Reference<xml::dom::XDocument> oox::drawingml::loadFragment ( core::XmlFilterBase rFilter,
const rtl::Reference< core::FragmentHandler > &  rxHandler 
)
static

Definition at line 179 of file diagram.cxx.

References loadFragment().

Referenced by loadDiagram().

static void oox::drawingml::pushToGrabBag ( PropertySet rPropSet,
const std::vector< PropertyValue > &  aVectorOfPropertyValues 
)
static
OOX_DLLPUBLIC void oox::drawingml::reloadDiagram ( SdrObject pObj,
core::XmlFilterBase rFilter 
)
static void oox::drawingml::removeUnneededGroupShapes ( const ShapePtr pShape)
static

Removes empty group shapes, now that their spacing influenced the layout.

Definition at line 87 of file diagram.cxx.

Referenced by oox::drawingml::Diagram::addTo().

static void oox::drawingml::setClrMap ( const ::oox::AttributeList rAttributes,
ClrMap rClrMap,
sal_Int32  nToken 
)
static
static void oox::drawingml::sortChildrenByZOrder ( const ShapePtr pShape)
static

Definition at line 46 of file diagram.cxx.

References a, namespaces::i, and nIndex.

Referenced by oox::drawingml::Diagram::addTo().

Variable Documentation

const sal_Int32 oox::drawingml::MAX_DEGREE = 360 * PER_DEGREE
const sal_Int32 oox::drawingml::MAX_PERCENT = 100 * PER_PERCENT
constexpr int oox::drawingml::NUM_TEXT_LIST_STYLE_ENTRIES = 9
const FormulaCommandHMap* oox::drawingml::pCommandHashMap
static

Definition at line 97 of file customshapegeometry.cxx.

const sal_Int32 oox::drawingml::PER_DEGREE = 60000
const sal_Int32 oox::drawingml::PER_PERCENT = 1000
const FormulaCommandNameTable oox::drawingml::pFormulaCommandNameTable[]
Initial value:
=
{
{ "*/", FC_MULDIV },
{ "+-", FC_PLUSMINUS },
{ "+/", FC_PLUSDIV },
{ "ifelse", FC_IFELSE },
{ "?:", FC_IFELSE1 },
{ "abs", FC_ABS },
{ "at2", FC_AT2 },
{ "cat2", FC_CAT2 },
{ "cos", FC_COS },
{ "max", FC_MAX },
{ "min", FC_MIN },
{ "mod", FC_MOD },
{ "pin", FC_PIN },
{ "sat2", FC_SAT2 },
{ "sin", FC_SIN },
{ "sqrt", FC_SQRT },
{ "tan", FC_TAN },
{ "val", FC_VAL }
}

Definition at line 73 of file customshapegeometry.cxx.

std::map<PredefinedClrSchemeId, OUString> oox::drawingml::PredefinedClrNames
static
Initial value:
=
{
{ dk2, "dk2" },
{ lt2, "lt2" },
{ accent1, "accent1" },
{ accent2, "accent2" },
{ accent3, "accent3" },
{ accent4, "accent4" },
{ accent5, "accent5" },
{ accent6, "accent6" },
{ hlink, "hlink" },
{ folHlink, "folHlink" }
}

Definition at line 52 of file clrscheme.hxx.

Referenced by oox::ppt::PresentationFragmentHandler::saveThemeToGrabBag().

const sal_Int32 oox::drawingml::THEMED_STYLE_INTENSE = 3

Definition at line 47 of file theme.hxx.

const sal_Int32 oox::drawingml::THEMED_STYLE_MODERATE = 2

Definition at line 46 of file theme.hxx.

const sal_Int32 oox::drawingml::THEMED_STYLE_SUBTLE = 1

Definition at line 45 of file theme.hxx.