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

Classes

struct  AnchorPosModel
 Relative shape position in a chart object. More...
 
struct  AnchorSizeModel
 Absolute shape size in a chart object (in EMUs). More...
 
class  AreaSeriesContext
 Handler for a data series context for area chart types (c:ser element). More...
 
class  AreaTypeGroupContext
 Handler for area type group contexts (c:area3DChart, c:areaChart elements). More...
 
class  AxisContextBase
 Base class for axis context handlers (c:catAx, c:dateAx, c:serAx, c:valAx elements). More...
 
class  AxisConverter
 
class  AxisDispUnitsContext
 Handler for a value axis display units context (c:dispUnits element). More...
 
class  AxisDispUnitsConverter
 
struct  AxisDispUnitsModel
 
struct  AxisModel
 
class  BarSeriesContext
 Handler for a data series context for bar chart types (c:ser element). More...
 
class  BarTypeGroupContext
 Handler for bar type group contexts (c:bar3DChart, c:barChart elements). More...
 
class  BubbleSeriesContext
 Handler for a data series context for bubble chart types (c:ser element). More...
 
class  BubbleTypeGroupContext
 Handler for bubble type group context (c:bubbleChart element). More...
 
class  CatAxisContext
 Handler for a category axis context (c:catAx element). More...
 
class  ChartConverter
 
class  ChartDrawingFragment
 Handler for a chart drawing fragment (c:userShapes root element). More...
 
class  ChartSpaceConverter
 
class  ChartSpaceFragment
 Handler for a chart fragment (c:chartSpace root element). More...
 
struct  ChartSpaceModel
 
class  ContextBase
 
class  ConverterBase
 Base class of all converter classes. More...
 
struct  ConverterData
 
class  ConverterRoot
 
class  DataLabelContext
 Handler for a chart data point label context (c:dLbl element). More...
 
class  DataLabelConverter
 
struct  DataLabelModel
 
struct  DataLabelModelBase
 
class  DataLabelsContext
 Handler for a chart data point label context (c:dLbls element). More...
 
class  DataLabelsConverter
 
struct  DataLabelsModel
 
class  DataPointContext
 Handler for a chart data point context (c:dPt element). More...
 
class  DataPointConverter
 
struct  DataPointModel
 
class  DataSequenceConverter
 
struct  DataSequenceModel
 
class  DataSourceContext
 Handler for a data source context (c:bubbleSize, c:cat, c:minus, c:plus, c:val, c:xVal, c:yVal elements). More...
 
class  DataSourceConverter
 
struct  DataSourceModel
 
class  DataTableContext
 Handler for a data table context (c:dTable element). More...
 
class  DataTableConverter
 
struct  DataTableModel
 
class  DateAxisContext
 Handler for a date axis context (c:dateAx element). More...
 
class  DoubleSequenceContext
 Handler for a double sequence context (c:numLit, c:numRef elements). More...
 
class  ErrorBarContext
 Handler for a series error bar context (c:errBars element). More...
 
class  ErrorBarConverter
 
struct  ErrorBarModel
 
class  FragmentBase
 
class  LayoutContext
 Handler for a chart layout context (c:layout element). More...
 
class  LayoutConverter
 A layout converter calculates positions and sizes for various chart objects. More...
 
struct  LayoutModel
 
class  LegendContext
 Handler for a chart legend context (c:legend element). More...
 
class  LegendConverter
 
class  LegendEntryContext
 Handler for a chart legend entry context (c:legendEntry element). More...
 
struct  LegendEntryModel
 
struct  LegendModel
 
class  LineSeriesContext
 Handler for a data series context for line and stock chart types (c:ser element). More...
 
class  LineTypeGroupContext
 Handler for line type group contexts (c:line3DChart, c:lineChart, c:stockChart elements). More...
 
class  ModelMap
 
class  ModelRef
 
class  ModelVector
 
struct  NumberFormat
 
class  ObjectFormatter
 
struct  ObjectFormatterData
 
class  PictureOptionsContext
 Handler for fill bitmap settings (c:pictureOptions element). More...
 
struct  PictureOptionsModel
 
class  PieSeriesContext
 Handler for a data series context for pie and doughnut chart types (c:ser element). More...
 
class  PieTypeGroupContext
 Handler for pie type group contexts (c:doughnutChart, c:ofPieChart, c:pie3DChart, c:pieChart elements). More...
 
class  PlotAreaContext
 Handler for a chart plot area context (c:plotArea element). More...
 
class  PlotAreaConverter
 
struct  PlotAreaModel
 
class  RadarSeriesContext
 Handler for a data series context for radar chart types (c:ser element). More...
 
class  RadarTypeGroupContext
 Handler for radar type group context (c:radarChart element). More...
 
class  ScatterSeriesContext
 Handler for a data series context for scatter chart types (c:ser element). More...
 
class  ScatterTypeGroupContext
 Handler for scatter type group context (c:scatterChart element). More...
 
class  SerAxisContext
 Handler for a series axis context (c:serAx element). More...
 
class  SeriesContextBase
 Handler base class for chart data series contexts (c:ser element). More...
 
class  SeriesConverter
 
struct  SeriesModel
 
class  ShapeAnchor
 Contains the position of a shape in the chart object. More...
 
class  ShapePrWrapperContext
 Help class for all contexts that have only the c:spPr child element. More...
 
class  StringSequenceContext
 Handler for a string sequence context (c:multiLvlStrRef, c:strLit, c:strRef elements). More...
 
class  SurfaceSeriesContext
 Handler for a data series context for scatter chart types (c:ser element). More...
 
class  SurfaceTypeGroupContext
 Handler for surface type group contexts (c:surface3DChart, c:surfaceChart elements). More...
 
class  TextContext
 Handler for a chart text context (c:tx element). More...
 
class  TextConverter
 
struct  TextModel
 
class  TitleContext
 Handler for a chart title context (c:title element). More...
 
class  TitleConverter
 
struct  TitleModel
 
class  TrendlineContext
 Handler for a series trendline context (c:trendline element). More...
 
class  TrendlineConverter
 
class  TrendlineLabelContext
 Handler for a series trendline label context (c:trendlineLbl element). More...
 
class  TrendlineLabelConverter
 
struct  TrendlineLabelModel
 
struct  TrendlineModel
 
class  TypeGroupConverter
 
struct  TypeGroupInfo
 Contains info for a chart type related to the OpenOffice.org chart module. More...
 
struct  TypeGroupModel
 
class  UpDownBarsContext
 Handler for an up/down bars context (c:upDownBars element). More...
 
class  UpDownBarsConverter
 
struct  UpDownBarsModel
 
class  ValAxisContext
 Handler for a value axis context (c:valAx element). More...
 
class  View3DContext
 Handler for a chart plot area context (c:plotArea element). More...
 
class  View3DConverter
 
struct  View3DModel
 
class  WallFloorContext
 Handler for a chart wall/floor context (c:backWall, c:floor, c:sideWall elements). More...
 
class  WallFloorConverter
 
struct  WallFloorModel
 

Typedefs

typedef ContextBase< DataSequenceModelDataSequenceContextBase
 
typedef ContextBase< TypeGroupModelTypeGroupContextBase
 

Enumerations

enum  ObjectType {
  OBJECTTYPE_CHARTSPACE,
  OBJECTTYPE_CHARTTITLE,
  OBJECTTYPE_LEGEND,
  OBJECTTYPE_PLOTAREA2D,
  OBJECTTYPE_PLOTAREA3D,
  OBJECTTYPE_WALL,
  OBJECTTYPE_FLOOR,
  OBJECTTYPE_AXIS,
  OBJECTTYPE_AXISTITLE,
  OBJECTTYPE_AXISUNIT,
  OBJECTTYPE_MAJORGRIDLINE,
  OBJECTTYPE_MINORGRIDLINE,
  OBJECTTYPE_LINEARSERIES2D,
  OBJECTTYPE_FILLEDSERIES2D,
  OBJECTTYPE_FILLEDSERIES3D,
  OBJECTTYPE_DATALABEL,
  OBJECTTYPE_TRENDLINE,
  OBJECTTYPE_TRENDLINELABEL,
  OBJECTTYPE_ERRORBAR,
  OBJECTTYPE_SERLINE,
  OBJECTTYPE_LEADERLINE,
  OBJECTTYPE_DROPLINE,
  OBJECTTYPE_HILOLINE,
  OBJECTTYPE_UPBAR,
  OBJECTTYPE_DOWNBAR,
  OBJECTTYPE_DATATABLE
}
 Enumerates different object types for specific automatic formatting behaviour. More...
 
enum  TypeId {
  TYPEID_BAR,
  TYPEID_HORBAR,
  TYPEID_LINE,
  TYPEID_AREA,
  TYPEID_STOCK,
  TYPEID_RADARLINE,
  TYPEID_RADARAREA,
  TYPEID_PIE,
  TYPEID_DOUGHNUT,
  TYPEID_OFPIE,
  TYPEID_SCATTER,
  TYPEID_BUBBLE,
  TYPEID_SURFACE,
  TYPEID_UNKNOWN
}
 Enumerates different chart types. More...
 
enum  TypeCategory {
  TYPECATEGORY_BAR,
  TYPECATEGORY_LINE,
  TYPECATEGORY_RADAR,
  TYPECATEGORY_PIE,
  TYPECATEGORY_SCATTER,
  TYPECATEGORY_SURFACE
}
 Enumerates different categories of similar chart types. More...
 
enum  VarPointMode {
  VARPOINTMODE_NONE,
  VARPOINTMODE_SINGLE,
  VARPOINTMODE_MULTI
}
 Enumerates modes for varying point colors in a series. More...
 

Functions

static OUString lclGenerateApiString (const OUString &rString)
 
static OUString lclGenerateApiArray (const std::vector< Any > &rRow, sal_Int32 nStart, sal_Int32 nCount)
 
static bool lcl_useWorkaroundForNoGapInOOXML (Reference< chart2::XChartDocument > const &xChartDoc)
 
const TypeGroupInfoGetTypeGroupInfo (TypeId eType)
 

Variables

const sal_Unicode API_TOKEN_ARRAY_OPEN = '{'
 
const sal_Unicode API_TOKEN_ARRAY_CLOSE = '}'
 
const sal_Unicode API_TOKEN_ARRAY_COLSEP = ';'
 
const sal_Int32 API_PRIM_AXESSET = 0
 
const sal_Int32 API_SECN_AXESSET = 1
 
const sal_Int32 API_X_AXIS = 0
 
const sal_Int32 API_Y_AXIS = 1
 
const sal_Int32 API_Z_AXIS = 2
 

Typedef Documentation

Definition at line 32 of file datasourcecontext.hxx.

Definition at line 42 of file typegroupcontext.hxx.

Enumeration Type Documentation

Enumerates different object types for specific automatic formatting behaviour.

Enumerator
OBJECTTYPE_CHARTSPACE 
OBJECTTYPE_CHARTTITLE 

Chart background.

OBJECTTYPE_LEGEND 

Chart title.

OBJECTTYPE_PLOTAREA2D 

Legend.

OBJECTTYPE_PLOTAREA3D 

Plot area containing axes and data series in 2D charts.

OBJECTTYPE_WALL 

Plot area containing axes and data series in 3D charts.

OBJECTTYPE_FLOOR 

Background and side wall in 3D charts.

OBJECTTYPE_AXIS 

Floor in 3D charts.

OBJECTTYPE_AXISTITLE 

Axis line, labels, tick marks.

OBJECTTYPE_AXISUNIT 

Axis title.

OBJECTTYPE_MAJORGRIDLINE 

Axis unit label.

OBJECTTYPE_MINORGRIDLINE 

Axis major grid line.

OBJECTTYPE_LINEARSERIES2D 

Axis minor grid line.

OBJECTTYPE_FILLEDSERIES2D 

Linear series in 2D line/radarline/scatter charts.

OBJECTTYPE_FILLEDSERIES3D 

Filled series in 2D bar/area/radararea/bubble/pie/surface charts.

OBJECTTYPE_DATALABEL 

Filled series in 3D charts.

OBJECTTYPE_TRENDLINE 

Labels for data points.

OBJECTTYPE_TRENDLINELABEL 

Data series trend line.

OBJECTTYPE_ERRORBAR 

Trend line label.

OBJECTTYPE_SERLINE 

Data series error indicator line.

OBJECTTYPE_LEADERLINE 

Data point connector lines.

OBJECTTYPE_DROPLINE 

Leader lines between pie slice and data label.

OBJECTTYPE_HILOLINE 

Drop lines between data points and X axis.

OBJECTTYPE_UPBAR 

High/low lines in line/stock charts.

OBJECTTYPE_DOWNBAR 

Up-bar in line/stock charts.

OBJECTTYPE_DATATABLE 

Down-bar in line/stock charts.

Data table.

Definition at line 36 of file objectformatter.hxx.

Enumerates different categories of similar chart types.

Enumerator
TYPECATEGORY_BAR 
TYPECATEGORY_LINE 

Bar charts (horizontal or vertical).

TYPECATEGORY_RADAR 

Line charts (line, area, stock charts).

TYPECATEGORY_PIE 

Radar charts (linear or filled).

TYPECATEGORY_SCATTER 

Pie and donut charts.

TYPECATEGORY_SURFACE 

Scatter and bubble charts.

Surface charts.

Definition at line 55 of file typegroupconverter.hxx.

Enumerates different chart types.

Enumerator
TYPEID_BAR 
TYPEID_HORBAR 

Vertical bar chart.

TYPEID_LINE 

Horizontal bar chart.

TYPEID_AREA 

Line chart.

TYPEID_STOCK 

Area chart.

TYPEID_RADARLINE 

Stock chart.

TYPEID_RADARAREA 

Linear radar chart.

TYPEID_PIE 

Filled radar chart.

TYPEID_DOUGHNUT 

Pie chart.

TYPEID_OFPIE 

Doughnut (ring) chart.

TYPEID_SCATTER 

Pie-to-pie or pie-to-bar chart.

TYPEID_BUBBLE 

Scatter (XY) chart.

TYPEID_SURFACE 

Bubble chart.

TYPEID_UNKNOWN 

Surface chart.

Default for unknown chart types.

Definition at line 36 of file typegroupconverter.hxx.

Enumerates modes for varying point colors in a series.

Enumerator
VARPOINTMODE_NONE 
VARPOINTMODE_SINGLE 

No varied colors supported.

VARPOINTMODE_MULTI 

Only supported, if type group contains only one series.

Supported for multiple series in a chart type group.

Definition at line 66 of file typegroupconverter.hxx.

Function Documentation

const TypeGroupInfo & oox::drawingml::chart::GetTypeGroupInfo ( TypeId  eType)
static bool oox::drawingml::chart::lcl_useWorkaroundForNoGapInOOXML ( Reference< chart2::XChartDocument > const &  xChartDoc)
static
static OUString oox::drawingml::chart::lclGenerateApiArray ( const std::vector< Any > &  rRow,
sal_Int32  nStart,
sal_Int32  nCount 
)
static
static OUString oox::drawingml::chart::lclGenerateApiString ( const OUString &  rString)
static

Definition at line 48 of file chartconverter.cxx.

Referenced by lclGenerateApiArray().

Variable Documentation

const sal_Int32 oox::drawingml::chart::API_PRIM_AXESSET = 0
const sal_Int32 oox::drawingml::chart::API_SECN_AXESSET = 1
const sal_Unicode oox::drawingml::chart::API_TOKEN_ARRAY_CLOSE = '}'

Definition at line 44 of file chartconverter.cxx.

const sal_Unicode oox::drawingml::chart::API_TOKEN_ARRAY_COLSEP = ';'

Definition at line 45 of file chartconverter.cxx.

const sal_Unicode oox::drawingml::chart::API_TOKEN_ARRAY_OPEN = '{'

Definition at line 43 of file chartconverter.cxx.

const sal_Int32 oox::drawingml::chart::API_X_AXIS = 0
const sal_Int32 oox::drawingml::chart::API_Y_AXIS = 1
const sal_Int32 oox::drawingml::chart::API_Z_AXIS = 2