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

Namespaces

namespace  chart
 
namespace  table
 

Classes

struct  AdjustHandle
 
class  AdvancedDiagramHelper
 
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  ConnectorShapeProperties
 
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
 
class  GraphicExport
 
class  GraphicExportCache
 
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  ThemeFilterBase
 
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< DiagramDataOoxDiagramDataPtr
 
using ShapePairs = std::map< std::shared_ptr< drawingml::Shape >, css::uno::Reference< css::drawing::XShape > >
 
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 svx::diagram::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::weak_ptr< ShapeWeakShapePtr
 
typedef std::shared_ptr< ThemeThemePtr
 
typedef ::std::map< OUString, ShapePtrShapeIdMap
 
typedef std::vector< ConnectorShapePropertiesConnectorShapePropertiesList
 
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 {
  dk1 = 0 ,
  lt1 ,
  dk2 ,
  lt2 ,
  accent1 ,
  accent2 ,
  accent3 ,
  accent4 ,
  accent5 ,
  accent6 ,
  hlink ,
  folHlink ,
  Count
}
 
enum class  ShapeProperty {
  LineStyle ,
  LineWidth ,
  LineColor ,
  LineTransparency ,
  LineDash ,
  LineCap ,
  LineJoint ,
  LineStart ,
  LineStartWidth ,
  LineStartCenter ,
  LineEnd ,
  LineEndWidth ,
  LineEndCenter ,
  FillStyle ,
  FillColor ,
  FillTransparency ,
  GradientTransparency ,
  FillGradient ,
  FillBitmap ,
  FillBitmapMode ,
  FillBitmapSizeX ,
  FillBitmapSizeY ,
  FillBitmapOffsetX ,
  FillBitmapOffsetY ,
  FillBitmapRectanglePoint ,
  FillHatch ,
  FillBackground ,
  FillUseSlideBackground ,
  FillBitmapName ,
  ShadowXDistance ,
  ShadowSizeX ,
  ShadowSizeY ,
  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

std::u16string_view getPredefinedClrNames (PredefinedClrSchemeId eID)
 
static void setClrMap (const ::oox::AttributeList &rAttributes, ClrMap &rClrMap, sal_Int32 nToken)
 
model::ThemeColorType schemeNameToThemeColorType (OUString const &rSchemeName)
 
model::ThemeColorType schemeTokenToThemeColorType (sal_uInt32 nToken)
 
static OUString GetFormulaParameter (const EnhancedCustomShapeParameter &rParameter)
 
static EnhancedCustomShapeParameter GetAdjCoordinate (CustomShapeProperties &rCustomShapeProperties, const OUString &rValue, bool bNoSymbols=true)
 
static OUString convertToOOEquation (CustomShapeProperties &rCustomShapeProperties, std::u16string_view rSource)
 
static const OUString & GetGeomGuideName (const OUString &rValue)
 
static void addProperty (const OUString &rName, const css::uno::Reference< css::beans::XPropertySetInfo > &xInfo, std::vector< std::pair< OUString, css::uno::Any > > &rTarget, const css::uno::Reference< css::beans::XPropertySet > &xPropSet)
 
static void Connection_dump (const svx::diagram::Connection &rConnection)
 
static void Point_dump (const svx::diagram::Point &rPoint, const Shape *pShape)
 
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...
 
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)
 
std::optional< OString > GetTextVerticalType (sal_Int32 nRotateAngle)
 Converts nRotate angle to TextVerticalType string appearing in ooxml. More...
 
IntegerRectangle2D GetRelativeRect (const Reference< XFastAttributeList > &xAttribs)
 converts the attributes from a CT_RelativeRect to an IntegerRectangle2D More...
 
void fillRelativeRectangle (model::RelativeRectangle &rRelativeRectangle, const Reference< XFastAttributeList > &xAttribs)
 
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)
 
model::RectangleAlignment convertToRectangleAlignment (sal_Int32 nToken)
 
OUString getEmbeddedWAVAudioFile (const core::Relations &rRelations, const AttributeList &rAttribs)
 
static SdrTextHorzAdjust lcl_convertAdjust (ParagraphAdjust eAdjust)
 
static void lcl_copyCharPropsToShape (const uno::Reference< drawing::XShape > &xShape, const TextBodyPtr &pTextBody, const ::oox::core::XmlFilterBase &rFilter)
 
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 css::uno::Any getLineDash (const css::uno::Reference< css::frame::XModel > &xModel, const OUString &rDashName)
 
static OUString lclConvertRectanglePointToToken (RectanglePoint eRectanglePoint)
 
static OUString lcl_GetTarget (const css::uno::Reference< css::frame::XModel > &xModel, OUString &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 void AddExtLst (FSHelperPtr const &pFS, Reference< XPropertySet > const &xShape)
 
static bool lcl_IsOnDenylist (OUString const &rShapeType)
 
static bool lcl_IsOnAllowlist (OUString const &rShapeType)
 
static bool lcl_GetHandlePosition (sal_Int32 &nValue, const EnhancedCustomShapeParameter &rParam, const Sequence< EnhancedCustomShapeAdjustmentValue > &rSeq)
 
static void lcl_AnalyzeHandles (const uno::Sequence< beans::PropertyValues > &rHandles, std::vector< std::pair< sal_Int32, sal_Int32 > > &rHandlePositionList, const 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 void lcl_Rotate (sal_Int32 nAngle, Point center, awt::Point &pt)
 
static void lcl_FlipHFlipV (tools::Polygon aPoly, sal_Int32 nAngle, bool &rFlipH, bool &rFlipV)
 
static sal_Int32 lcl_GetAngle (tools::Polygon aPoly)
 
static void lcl_GetConnectorAdjustValue (const Reference< XShape > &xShape, tools::Polygon aPoly, ConnectorType eConnectorType, std::vector< std::pair< sal_Int32, sal_Int32 > > &rAvList)
 
static sal_Int32 lcl_GetGluePointId (const Reference< XShape > &xShape, sal_Int32 nGluePointId)
 
static const NameToConvertMapTypelcl_GetConverters ()
 
static bool lcl_isTextBox (const Reference< XInterface > &xIface)
 
OUString getEmbeddedWAVAudioFile (const ::oox::core::Relations &rRelations, const AttributeList &rAttribs)
 
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...
 
void fillRelativeRectangle (model::RelativeRectangle &rRelativeRectangle, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttributes)
 
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)
 
constexpr const char * getComponentDir (DocumentType eDocumentType)
 
constexpr const char * getRelationCompPrefix (DocumentType eDocumentType)
 

Variables

const FormulaCommandNameTable pFormulaCommandNameTable []
 
static const FormulaCommandHMappCommandHashMap
 
constexpr int NUM_TEXT_LIST_STYLE_ENTRIES = 9
 
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

◆ AlgAtomPtr

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

Definition at line 204 of file diagramlayoutatoms.hxx.

◆ ClrMapPtr

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

Definition at line 64 of file clrscheme.hxx.

◆ ConditionAtomPtr

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

Definition at line 291 of file diagramlayoutatoms.hxx.

◆ ConnectorShapePropertiesList

Definition at line 79 of file shape.hxx.

◆ CustomShapePropertiesPtr

Definition at line 37 of file customshapeproperties.hxx.

◆ DiagramColorMap

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

◆ DiagramDomMap

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

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

◆ DiagramLayoutPtr

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

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

◆ DiagramPtr

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

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

◆ DiagramQStyleMap

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

◆ EffectPropertiesPtr

Definition at line 71 of file drawingmltypes.hxx.

◆ EffectStyleList

Definition at line 57 of file theme.hxx.

◆ FillPropertiesPtr

Definition at line 59 of file drawingmltypes.hxx.

◆ FillStyleList

Definition at line 55 of file theme.hxx.

◆ FontScheme

Definition at line 58 of file theme.hxx.

◆ ForEachAtomPtr

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

Definition at line 272 of file diagramlayoutatoms.hxx.

◆ FormulaCommandHMap

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

Definition at line 96 of file customshapegeometry.cxx.

◆ GraphicPropertiesPtr

Definition at line 62 of file drawingmltypes.hxx.

◆ LayoutAtomMap

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

◆ LayoutAtomPtr

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

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

◆ LayoutNodePtr

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

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

◆ LayoutProperty

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

Definition at line 88 of file diagramlayoutatoms.hxx.

◆ LayoutPropertyMap

Definition at line 89 of file diagramlayoutatoms.hxx.

◆ LinePropertiesPtr

Definition at line 56 of file drawingmltypes.hxx.

◆ LineStyleList

Definition at line 56 of file theme.hxx.

◆ NameToConvertMapType

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

Definition at line 2030 of file shapes.cxx.

◆ OoxDiagramDataPtr

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

Definition at line 75 of file datamodel.hxx.

◆ PresPointShapeMap

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

◆ Shape3DPropertiesPtr

Definition at line 65 of file drawingmltypes.hxx.

◆ ShapeAtomPtr

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

Definition at line 367 of file diagramlayoutatoms.hxx.

◆ ShapeConverter

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

Definition at line 2029 of file shapes.cxx.

◆ ShapeIdMap

Definition at line 77 of file shape.hxx.

◆ ShapePairs

using oox::drawingml::ShapePairs = typedef std::map<std::shared_ptr<drawingml::Shape>, css::uno::Reference<css::drawing::XShape> >

Definition at line 178 of file diagram.cxx.

◆ ShapePropertyIds

Definition at line 81 of file shapepropertymap.hxx.

◆ ShapePtr

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

Definition at line 80 of file drawingmltypes.hxx.

◆ ShapeStyleRefMap

Definition at line 88 of file shape.hxx.

◆ TextBodyPtr

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

Definition at line 74 of file drawingmltypes.hxx.

◆ TextCharacterPropertiesPtr

Definition at line 68 of file drawingmltypes.hxx.

◆ TextListStylePtr

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

Definition at line 77 of file drawingmltypes.hxx.

◆ TextParagraphPropertiesArray

Definition at line 30 of file textliststyle.hxx.

◆ TextParagraphVector

Definition at line 39 of file textbody.hxx.

◆ TextRunPtr

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

Definition at line 65 of file textrun.hxx.

◆ TextRunVector

Definition at line 42 of file textparagraph.hxx.

◆ ThemePtr

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

Definition at line 84 of file drawingmltypes.hxx.

◆ WeakShapePtr

typedef std::weak_ptr< Shape > oox::drawingml::WeakShapePtr

Definition at line 81 of file drawingmltypes.hxx.

Enumeration Type Documentation

◆ AxesType

Enumerator
AXIS_PRIMARY_X 
AXIS_PRIMARY_Y 
AXIS_PRIMARY_Z 
AXIS_SECONDARY_X 
AXIS_SECONDARY_Y 

Definition at line 73 of file chartexport.hxx.

◆ DocumentType

Enumerator
DOCUMENT_DOCX 
DOCUMENT_PPTX 
DOCUMENT_XLSX 

Definition at line 75 of file utils.hxx.

◆ PredefinedClrSchemeId

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

Definition at line 36 of file clrscheme.hxx.

◆ ShapeProperty

enum class oox::drawingml::ShapeProperty
strong

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 
FillUseSlideBackground 
FillBitmapName 
ShadowXDistance 
ShadowSizeX 
ShadowSizeY 
LAST 

Definition at line 44 of file shapepropertymap.hxx.

Function Documentation

◆ AddExtLst()

static void oox::drawingml::AddExtLst ( FSHelperPtr const &  pFS,
Reference< XPropertySet > const &  xShape 
)
static

◆ addProperty()

static void oox::drawingml::addProperty ( const OUString &  rName,
const css::uno::Reference< css::beans::XPropertySetInfo > &  xInfo,
std::vector< std::pair< OUString, css::uno::Any > > &  rTarget,
const css::uno::Reference< css::beans::XPropertySet > &  xPropSet 
)
static

Definition at line 89 of file datamodel.cxx.

References rTarget.

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

◆ applyStyleList()

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().

◆ calcRotationValue()

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 171 of file drawingmltypes.hxx.

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

◆ Connection_dump()

static void oox::drawingml::Connection_dump ( const svx::diagram::Connection rConnection)
static

◆ convertEmuToHmm()

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

◆ convertEmuToPoints()

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

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

Definition at line 194 of file drawingmltypes.hxx.

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

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

◆ convertHmmToEmu()

sal_Int64 oox::drawingml::convertHmmToEmu ( sal_Int32  nValue)
inline

◆ convertPointToMms()

double oox::drawingml::convertPointToMms ( double  fValue)
inline

Converts the passed double value from points to mm.

Definition at line 200 of file drawingmltypes.hxx.

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

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

◆ convertToOOEquation()

static OUString oox::drawingml::convertToOOEquation ( CustomShapeProperties rCustomShapeProperties,
std::u16string_view  rSource 
)
static

◆ convertToRectangleAlignment()

model::RectangleAlignment oox::drawingml::convertToRectangleAlignment ( sal_Int32  nToken)

◆ ExportRotateClockwisify()

sal_Int32 oox::drawingml::ExportRotateClockwisify ( Degree100  input)
inline

◆ fillRelativeRectangle() [1/2]

void oox::drawingml::fillRelativeRectangle ( model::RelativeRectangle rRelativeRectangle,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttributes 
)

◆ fillRelativeRectangle() [2/2]

void oox::drawingml::fillRelativeRectangle ( model::RelativeRectangle rRelativeRectangle,
const Reference< XFastAttributeList > &  xAttribs 
)

◆ GetAdjCoordinate()

static EnhancedCustomShapeParameter oox::drawingml::GetAdjCoordinate ( CustomShapeProperties rCustomShapeProperties,
const OUString &  rValue,
bool  bNoSymbols = true 
)
static

◆ GetAutoNumType()

static OUString oox::drawingml::GetAutoNumType ( SvxNumType  nNumberingType,
bool  bSDot,
bool  bPBehind,
bool  bPBoth 
)
static

◆ GetCaseMap()

sal_Int16 oox::drawingml::GetCaseMap ( sal_Int32  nToken)

Definition at line 158 of file drawingmltypes.cxx.

References nToken.

Referenced by oox::drawingml::TextCharacterProperties::pushToPropMap().

◆ getComponentDir()

constexpr const char * oox::drawingml::getComponentDir ( DocumentType  eDocumentType)
constexpr

◆ GetCoordinate() [1/2]

sal_Int32 oox::drawingml::GetCoordinate ( sal_Int32  nValue)

◆ GetCoordinate() [2/2]

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

converts an emu string into 1/100th mmm

Definition at line 49 of file drawingmltypes.cxx.

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

◆ getEmbeddedWAVAudioFile() [1/2]

OUString oox::drawingml::getEmbeddedWAVAudioFile ( const ::oox::core::Relations rRelations,
const AttributeList rAttribs 
)

◆ getEmbeddedWAVAudioFile() [2/2]

OUString oox::drawingml::getEmbeddedWAVAudioFile ( const core::Relations rRelations,
const AttributeList rAttribs 
)

◆ GetFontHeight()

float oox::drawingml::GetFontHeight ( sal_Int32  nHeight)

◆ GetFontStrikeout()

sal_Int16 oox::drawingml::GetFontStrikeout ( sal_Int32  nToken)

Definition at line 146 of file drawingmltypes.cxx.

References nToken.

Referenced by oox::drawingml::TextCharacterProperties::pushToPropMap().

◆ GetFontUnderline()

sal_Int16 oox::drawingml::GetFontUnderline ( sal_Int32  nToken)

Definition at line 119 of file drawingmltypes.cxx.

References nToken, and XML_none.

Referenced by oox::drawingml::TextCharacterProperties::pushToPropMap().

◆ GetFormulaParameter()

static OUString oox::drawingml::GetFormulaParameter ( const EnhancedCustomShapeParameter &  rParameter)
static

Definition at line 100 of file customshapegeometry.cxx.

References nValue.

Referenced by convertToOOEquation().

◆ GetGeomGuideName()

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

Definition at line 631 of file customshapegeometry.cxx.

◆ GetHatchPattern() [1/2]

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

◆ GetHatchPattern() [2/2]

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

Definition at line 262 of file drawingmltypes.cxx.

◆ GetIndexRange() [1/2]

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

retrieve the content of CT_IndexRange

◆ GetIndexRange() [2/2]

IndexRange oox::drawingml::GetIndexRange ( const Reference< XFastAttributeList > &  xAttributes)

◆ getLineDash()

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

Definition at line 196 of file drawingml.cxx.

References xModel.

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

◆ GetParaAdjust()

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

converts a paragraph align to a ParaAdjust

Definition at line 169 of file drawingmltypes.cxx.

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

◆ GetPercent()

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

◆ GetPointFromCoordinate()

sal_Int32 oox::drawingml::GetPointFromCoordinate ( sal_Int32  nValue)

converts 1/100mm to EMU

Definition at line 58 of file drawingmltypes.cxx.

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

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

◆ GetPointPercent() [1/2]

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%

◆ GetPointPercent() [2/2]

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 80 of file drawingmltypes.cxx.

References GetPercent().

◆ GetPositiveFixedPercentage()

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

Converts a ST_PositiveFixedPercentage to a float.

1.0 == 100%

Definition at line 73 of file drawingmltypes.cxx.

Referenced by oox::ppt::CommonTimeNodeContext::CommonTimeNodeContext(), and oox::drawingml::EffectPropertiesContext::onCreateContext().

◆ getPredefinedClrNames()

OOX_DLLPUBLIC std::u16string_view oox::drawingml::getPredefinedClrNames ( PredefinedClrSchemeId  eID)

◆ getRelationCompPrefix()

constexpr const char * oox::drawingml::getRelationCompPrefix ( DocumentType  eDocumentType)
constexpr

◆ GetRelativeRect() [1/2]

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

◆ GetRelativeRect() [2/2]

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

converts the attributes from a CT_RelativeRect to an IntegerRectangle2D

Definition at line 405 of file drawingmltypes.cxx.

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

◆ GetSize2D() [1/2]

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

◆ GetSize2D() [2/2]

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 426 of file drawingmltypes.cxx.

References GetCoordinate().

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

◆ GetTabAlign() [1/2]

css::style::TabAlign oox::drawingml::GetTabAlign ( ::sal_Int32  aToken)

◆ GetTabAlign() [2/2]

TabAlign oox::drawingml::GetTabAlign ( sal_Int32  aToken)

◆ GetTextSize()

float oox::drawingml::GetTextSize ( std::u16string_view  sValue)

converts the ST_TextFontSize to point

Definition at line 86 of file drawingmltypes.cxx.

References sax::Converter::convertNumber().

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

◆ GetTextSpacingPoint() [1/2]

sal_Int32 oox::drawingml::GetTextSpacingPoint ( sal_Int32  nValue)

Definition at line 104 of file drawingmltypes.cxx.

References nValue.

◆ GetTextSpacingPoint() [2/2]

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

◆ GetTextVerticalAdjust() [1/3]

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

◆ GetTextVerticalAdjust() [2/3]

css::drawing::TextVerticalAdjust oox::drawingml::GetTextVerticalAdjust ( sal_Int32  nToken)

◆ GetTextVerticalAdjust() [3/3]

const char * oox::drawingml::GetTextVerticalAdjust ( TextVerticalAdjust  eAdjust)

Definition at line 218 of file drawingmltypes.cxx.

◆ GetTextVerticalType()

std::optional< OString > oox::drawingml::GetTextVerticalType ( sal_Int32  nRotateAngle)

Converts nRotate angle to TextVerticalType string appearing in ooxml.

Definition at line 380 of file drawingmltypes.cxx.

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

◆ importFragment()

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

Definition at line 238 of file diagram.cxx.

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

Referenced by loadDiagram().

◆ IsNonEmptySimpleText()

static bool oox::drawingml::IsNonEmptySimpleText ( const Reference< XInterface > &  xIface)
static

◆ lcl_AnalyzeHandles()

static void oox::drawingml::lcl_AnalyzeHandles ( const uno::Sequence< beans::PropertyValues > &  rHandles,
std::vector< std::pair< sal_Int32, sal_Int32 > > &  rHandlePositionList,
const Sequence< EnhancedCustomShapeAdjustmentValue > &  rSeq 
)
static

Definition at line 666 of file shapes.cxx.

References lcl_GetHandlePosition(), and u.

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

◆ lcl_AppendAdjustmentValue()

static void oox::drawingml::lcl_AppendAdjustmentValue ( std::vector< std::pair< sal_Int32, sal_Int32 > > &  rAvList,
sal_Int32  nAdjIdx,
sal_Int32  nValue 
)
static

◆ lcl_CalculateDir()

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

Definition at line 5591 of file drawingml.cxx.

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

◆ lcl_CalculateDist()

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

Definition at line 5586 of file drawingml.cxx.

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

◆ lcl_CircleAngle2CustomShapeEllipseAngleOOX()

static sal_Int32 oox::drawingml::lcl_CircleAngle2CustomShapeEllipseAngleOOX ( const sal_Int32  nInternAngle,
const sal_Int32  nWidth,
const sal_Int32  nHeight 
)
static

Definition at line 706 of file shapes.cxx.

References basegfx::fround().

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

◆ lcl_convertAdjust()

static SdrTextHorzAdjust oox::drawingml::lcl_convertAdjust ( ParagraphAdjust  eAdjust)
static

◆ lcl_copyCharPropsToShape()

static void oox::drawingml::lcl_copyCharPropsToShape ( const uno::Reference< drawing::XShape > &  xShape,
const TextBodyPtr pTextBody,
const ::oox::core::XmlFilterBase rFilter 
)
static

◆ lcl_fillCategoriesIntoStringVector()

static void oox::drawingml::lcl_fillCategoriesIntoStringVector ( const Reference< chart2::data::XDataSequence > &  xCategories,
::std::vector< OUString > &  rOutCategories 
)
static

Definition at line 399 of file chartexport.cxx.

References namespaces::i.

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

◆ lcl_flattenStringSequence()

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().

◆ lcl_FlipHFlipV()

static void oox::drawingml::lcl_FlipHFlipV ( tools::Polygon  aPoly,
sal_Int32  nAngle,
bool &  rFlipH,
bool &  rFlipV 
)
static

◆ lcl_generateRandomValue()

static sal_Int32 oox::drawingml::lcl_generateRandomValue ( )
static

◆ lcl_getAdjNames()

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

◆ lcl_getAllValuesFromSequence()

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

Definition at line 422 of file chartexport.cxx.

References namespaces::i.

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

◆ lcl_GetAngle()

static sal_Int32 oox::drawingml::lcl_GetAngle ( tools::Polygon  aPoly)
static

◆ lcl_getCategories()

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

◆ lcl_getCategoryAxisType()

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().

◆ lcl_getChartType()

static sal_Int32 oox::drawingml::lcl_getChartType ( std::u16string_view  sChartType)
static

◆ lcl_GetConnectorAdjustValue()

static void oox::drawingml::lcl_GetConnectorAdjustValue ( const Reference< XShape > &  xShape,
tools::Polygon  aPoly,
ConnectorType  eConnectorType,
std::vector< std::pair< sal_Int32, sal_Int32 > > &  rAvList 
)
static

◆ lcl_GetConverters()

static const NameToConvertMapType & oox::drawingml::lcl_GetConverters ( )
static

◆ lcl_getDataSequenceByRole()

static Reference< chart2::data::XLabeledDataSequence > oox::drawingml::lcl_getDataSequenceByRole ( const Sequence< Reference< chart2::data::XLabeledDataSequence > > &  aLabeledSeq,
const OUString &  rRole 
)
static

◆ lcl_getDateTimeIncrement()

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().

◆ lcl_GetGluePointId()

static sal_Int32 oox::drawingml::lcl_GetGluePointId ( const Reference< XShape > &  xShape,
sal_Int32  nGluePointId 
)
static

Definition at line 1697 of file shapes.cxx.

References namespaces::i.

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

◆ lcl_GetHandlePosition()

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

Definition at line 632 of file shapes.cxx.

References nValue, and Value.

Referenced by lcl_AnalyzeHandles().

◆ lcl_getLabelSequence()

static Sequence< OUString > oox::drawingml::lcl_getLabelSequence ( const Reference< chart2::data::XDataSequence > &  xLabelSeq)
static

◆ lcl_GetTarget() [1/2]

static OUString oox::drawingml::lcl_GetTarget ( const css::uno::Reference< css::frame::XModel > &  xModel,
OUString &  rURL 
)
static

◆ lcl_GetTarget() [2/2]

static OUString oox::drawingml::lcl_GetTarget ( const css::uno::Reference< css::frame::XModel > &  xModel,
std::u16string_view  rURL 
)
static

Definition at line 721 of file shapes.cxx.

References namespaces::i, and xModel.

◆ lcl_hasCategoryLabels()

static bool oox::drawingml::lcl_hasCategoryLabels ( const Reference< chart2::XChartDocument > &  xChartDoc)
static

◆ lcl_isCategoryAxisShifted()

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().

◆ lcl_IsOnAllowlist()

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

Definition at line 620 of file shapes.cxx.

References u.

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

◆ lcl_IsOnDenylist()

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

Definition at line 555 of file shapes.cxx.

References u.

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

◆ lcl_isSeriesAttachedToFirstAxis()

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

◆ lcl_isTextBox()

static bool oox::drawingml::lcl_isTextBox ( const Reference< XInterface > &  xIface)
static

Definition at line 2104 of file shapes.cxx.

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

◆ lcl_NormalizeAngle()

static sal_Int32 oox::drawingml::lcl_NormalizeAngle ( sal_Int32  nAngle)
static

Definition at line 700 of file shapes.cxx.

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

◆ lcl_Rotate()

static void oox::drawingml::lcl_Rotate ( sal_Int32  nAngle,
Point  center,
awt::Point &  pt 
)
static

Definition at line 1471 of file shapes.cxx.

References center, pt, x, and y.

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

◆ lclConvertRectanglePointToToken()

static OUString oox::drawingml::lclConvertRectanglePointToToken ( RectanglePoint  eRectanglePoint)
static

Definition at line 1968 of file drawingml.cxx.

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

◆ lclGetTimeUnitToken()

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

Definition at line 296 of file chartexport.cxx.

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

◆ loadDiagram()

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 298 of file diagram.cxx.

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

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

◆ loadFragment() [1/2]

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

Definition at line 222 of file diagram.cxx.

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

Referenced by loadFragment().

◆ loadFragment() [2/2]

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

Definition at line 231 of file diagram.cxx.

References loadFragment().

Referenced by loadDiagram().

◆ Point_dump()

static void oox::drawingml::Point_dump ( const svx::diagram::Point rPoint,
const Shape pShape 
)
static

◆ pushToGrabBag()

static void oox::drawingml::pushToGrabBag ( PropertySet rPropSet,
const std::vector< PropertyValue > &  aVectorOfPropertyValues 
)
static

◆ removeUnneededGroupShapes()

static void oox::drawingml::removeUnneededGroupShapes ( const ShapePtr pShape)
static

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

Definition at line 89 of file diagram.cxx.

References removeUnneededGroupShapes().

Referenced by oox::drawingml::Diagram::addTo(), and removeUnneededGroupShapes().

◆ schemeNameToThemeColorType()

model::ThemeColorType oox::drawingml::schemeNameToThemeColorType ( OUString const &  rSchemeName)

◆ schemeTokenToThemeColorType()

model::ThemeColorType oox::drawingml::schemeTokenToThemeColorType ( sal_uInt32  nToken)

Definition at line 283 of file color.cxx.

References nToken, and model::Unknown.

Referenced by oox::drawingml::Color::setSchemeClr().

◆ setClrMap()

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

◆ sortChildrenByZOrder()

static void oox::drawingml::sortChildrenByZOrder ( const ShapePtr pShape)
static

Definition at line 48 of file diagram.cxx.

References a, namespaces::i, nIndex, and sortChildrenByZOrder().

Referenced by oox::drawingml::Diagram::addTo(), and sortChildrenByZOrder().

Variable Documentation

◆ MAX_DEGREE

const sal_Int32 oox::drawingml::MAX_DEGREE = 360 * PER_DEGREE

◆ MAX_PERCENT

const sal_Int32 oox::drawingml::MAX_PERCENT = 100 * PER_PERCENT

◆ NUM_TEXT_LIST_STYLE_ENTRIES

constexpr int oox::drawingml::NUM_TEXT_LIST_STYLE_ENTRIES = 9
constexpr

◆ pCommandHashMap

const FormulaCommandHMap* oox::drawingml::pCommandHashMap
static

Definition at line 98 of file customshapegeometry.cxx.

Referenced by convertToOOEquation().

◆ PER_DEGREE

const sal_Int32 oox::drawingml::PER_DEGREE = 60000

◆ PER_PERCENT

const sal_Int32 oox::drawingml::PER_PERCENT = 1000

◆ pFormulaCommandNameTable

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 74 of file customshapegeometry.cxx.

Referenced by convertToOOEquation().

◆ THEMED_STYLE_INTENSE

const sal_Int32 oox::drawingml::THEMED_STYLE_INTENSE = 3

Definition at line 53 of file theme.hxx.

◆ THEMED_STYLE_MODERATE

const sal_Int32 oox::drawingml::THEMED_STYLE_MODERATE = 2

Definition at line 52 of file theme.hxx.

◆ THEMED_STYLE_SUBTLE

const sal_Int32 oox::drawingml::THEMED_STYLE_SUBTLE = 1

Definition at line 51 of file theme.hxx.