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

Namespaces

namespace  chart
 
namespace  DMLPresetShapeExporter
 
namespace  table
 

Classes

struct  AdjustHandle
 
class  AdvancedDiagramHelper
 
class  AlgAtom
 
class  ArtisticEffectContext
 
struct  ArtisticEffectProperties
 
struct  AxisIdPair
 
struct  BevelProperties
 
class  BlipContext
 
class  BlipExtensionContext
 
class  BlipFillContext
 
struct  BlipFillProperties
 
class  BulletList
 
class  ChartExport
 
class  ChartGraphicDataContext
 
struct  ChartShapeInfo
 
class  ChooseAtom
 
class  ClrMap
 
class  clrMapContext
 
class  ClrScheme
 
class  clrSchemeColorContext
 
class  clrSchemeContext
 
class  Color
 
class  ColorChangeContext
 
class  ColorContext
 
class  ColorFragmentHandler
 
class  ColorPropertySet
 
class  ColorsContext
 
class  ColorValueContext
 
class  CompositeAlg
 
class  ConditionAtom
 
struct  ConditionAttr
 
struct  ConnectionSite
 
class  ConnectorShapeContext
 
struct  ConnectorShapeProperties
 
struct  Constraint
 
class  ConstraintAtom
 
class  ConstraintListContext
 
class  CustomShapeGeometryContext
 
struct  CustomShapeGuide
 
class  CustomShapeProperties
 
class  DataLabelsRange
 
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  DMLTextExport
 
class  DrawingML
 
class  DuotoneContext
 
struct  Effect
 
struct  EffectGlowProperties
 
struct  EffectProperties
 
class  EffectPropertiesContext
 
struct  EffectShadowProperties
 
struct  EffectSoftEdgeProperties
 
struct  EmuPoint
 
struct  EmuRectangle
 
struct  EmuSize
 
struct  FillProperties
 
class  FillPropertiesContext
 
class  ForEachAtom
 
struct  Generic3DProperties
 
struct  GeomRect
 
class  GradientFillContext
 
struct  GradientFillProperties
 
class  GraphicalObjectFrameContext
 
class  GraphicExport
 
class  GraphicExportCache
 
struct  GraphicProperties
 
class  GraphicShapeContext
 
class  GuidContext
 
class  HyperLinkContext
 
struct  IndexRange
 
struct  IteratorAttr
 
class  LayoutAtom
 
struct  LayoutAtomVisitor
 
class  LayoutAtomVisitorBase
 
class  LayoutNode
 
class  LayoutNodeContext
 
struct  LineArrowProperties
 
struct  LineProperties
 
class  LinePropertiesContext
 
struct  LinkedTxbxAttr
 
class  objectDefaultContext
 
class  OleObjectGraphicDataContext
 
struct  Path2D
 
class  PatternFillContext
 
struct  PatternFillProperties
 
class  PresetShapeGeometryContext
 
class  PresetTextShapeContext
 
class  PyraAlg
 
class  RegularTextRunContext
 
struct  RotationProperties
 
struct  Rule
 
class  RuleAtom
 
class  RuleListContext
 
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
 
class  SnakeAlg
 
class  SolidFillContext
 
class  spDefContext
 
struct  Text3DProperties
 
class  TextBody
 
class  TextBodyContext
 
struct  TextBodyProperties
 
class  TextBodyPropertiesContext
 
struct  TextCharacterProperties
 
class  TextCharacterPropertiesContext
 
class  TextEffectsContext
 
class  TextField
 
class  TextFieldContext
 
class  TextFont
 
class  TextListStyle
 
class  TextListStyleContext
 
class  TextParagraph
 
class  TextParagraphProperties
 
class  TextParagraphPropertiesContext
 
class  TextRun
 
class  TextSpacing
 
class  TextSpacingContext
 
class  TextTabStopListContext
 
class  Theme
 
class  ThemeElementsContext
 
class  ThemeFilterBase
 
class  ThemeFragmentHandler
 
class  ThemeOverrideFragmentHandler
 
class  Transform2DContext
 
class  URLTransformer
 

Typedefs

typedef std::unordered_map< OUString, FormulaCommand > FormulaCommandHMap
 
typedef std::shared_ptr< DiagramDataOoxDiagramDataPtr
 
typedef std::map< std::shared_ptr< drawingml::Shape >, css::uno::Reference< css::drawing::XShape > > ShapePairs
 
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
 
enum  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
}
 
enum  AxesType
 
enum  DocumentType
 

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)
 
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)
 
sal_Int32 GetCoordinate (sal_Int32 nValue)
 
sal_Int32 GetCoordinate (std::u16string_view sValue)
 
sal_Int32 GetPointFromCoordinate (sal_Int32 nValue)
 
sal_Int32 GetPercent (std::u16string_view sValue)
 
double GetPositiveFixedPercentage (const OUString &sValue)
 
awt::Point GetPointPercent (const Reference< XFastAttributeList > &xAttribs)
 
float GetTextSize (std::u16string_view sValue)
 
sal_Int32 GetTextSpacingPoint (std::u16string_view sValue)
 
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)
 
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)
 
IntegerRectangle2D GetRelativeRect (const Reference< XFastAttributeList > &xAttribs)
 
void fillRelativeRectangle (model::RelativeRectangle &rRelativeRectangle, const Reference< XFastAttributeList > &xAttribs)
 
awt::Size GetSize2D (const Reference< XFastAttributeList > &xAttribs)
 
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)
 
css::awt::Size GetSize2D (const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttributes)
 
css::geometry::IntegerRectangle2D GetRelativeRect (const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttributes)
 
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)
 
OString calcRotationValue (sal_Int32 nRotation)
 
sal_Int64 convertHmmToEmu (sal_Int32 nValue)
 
sal_Int32 convertEmuToHmm (sal_Int64 nValue)
 
float convertEmuToPoints (sal_Int64 nValue)
 
double convertPointToMms (double fValue)
 
sal_Int32 ExportRotateClockwisify (Degree100 input)
 
constexpr const char * getComponentDir (DocumentType eDocumentType)
 
constexpr const char * getRelationCompPrefix (DocumentType eDocumentType)
 

Variables

 dk1
 
 lt1
 
 dk2
 
 lt2
 
 accent1
 
 accent2
 
 accent3
 
 accent4
 
 accent5
 
 accent6
 
 hlink
 
 folHlink
 
 Count
 
 AXIS_PRIMARY_X
 
 AXIS_PRIMARY_Y
 
 AXIS_PRIMARY_Z
 
 AXIS_SECONDARY_X
 
 AXIS_SECONDARY_Y
 
 DOCUMENT_DOCX
 
 DOCUMENT_PPTX
 
 DOCUMENT_XLSX
 
const FormulaCommandNameTable pFormulaCommandNameTable []
 
static const FormulaCommandHMappCommandHashMap
 
constexpr int NUM_TEXT_LIST_STYLE_ENTRIES
 
const sal_Int32 PER_PERCENT
 
const sal_Int32 MAX_PERCENT
 
const sal_Int32 PER_DEGREE
 
const sal_Int32 MAX_DEGREE
 
const sal_Int32 THEMED_STYLE_SUBTLE
 
const sal_Int32 THEMED_STYLE_MODERATE
 
const sal_Int32 THEMED_STYLE_INTENSE