LibreOffice Module xmloff (master)
1
|
Public Types | |
typedef ::std::pair< css::uno::Reference< css::chart2::data::XDataSequence >, css::uno::Reference< css::chart2::data::XDataSequence > > | tLabelValuesDataPair |
typedef ::std::vector< tLabelValuesDataPair > | tDataSequenceCont |
Public Member Functions | |
SchXMLExportHelper_Impl (SvXMLExport &rExport, SvXMLAutoStylePoolP &rASPool) | |
SchXMLExportHelper_Impl (const SchXMLExportHelper_Impl &)=delete | |
SchXMLExportHelper_Impl & | operator= (const SchXMLExportHelper_Impl &)=delete |
void | collectAutoStyles (css::uno::Reference< css::chart::XChartDocument > const &rChartDoc) |
parse chart and collect all auto-styles used in current pool More... | |
void | exportAutoStyles () |
write the styles collected into the current pool as <style:style> elements More... | |
void | exportChart (css::uno::Reference< css::chart::XChartDocument > const &rChartDoc, bool bIncludeTable) |
export the <chart:chart> element corresponding to rChartDoc if bIncludeTable is true, the chart data is exported as <table:table> element (inside the chart element). More... | |
const rtl::Reference< XMLPropertySetMapper > & | GetPropertySetMapper () const |
void | SetChartRangeAddress (const OUString &rAddress) |
void | InitRangeSegmentationProperties (const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc) |
void | CollectAutoStyle (const std::vector< XMLPropertyState > &aStates) |
void | AddAutoStyleAttribute (const std::vector< XMLPropertyState > &aStates) |
void | parseDocument (css::uno::Reference< css::chart::XChartDocument > const &rChartDoc, bool bExportContent, bool bIncludeTable=false) |
if bExportContent is false the auto-styles are collected More... | |
void | exportTable () |
void | exportPlotArea (const css::uno::Reference< css::chart::XDiagram > &xDiagram, const css::uno::Reference< css::chart2::XDiagram > &xNewDiagram, const css::awt::Size &rPageSize, bool bExportContent, bool bIncludeTable) |
void | exportCoordinateRegion (const css::uno::Reference< css::chart::XDiagram > &xDiagram) |
void | exportAxes (const css::uno::Reference< css::chart::XDiagram > &xDiagram, const css::uno::Reference< css::chart2::XDiagram > &xNewDiagram, bool bExportContent) |
void | exportAxis (enum XMLTokenEnum eDimension, enum XMLTokenEnum eAxisName, const Reference< beans::XPropertySet > &rAxisProps, const Reference< chart2::XAxis > &rChart2Axis, const OUString &rCategoriesRanges, bool bHasTitle, bool bHasMajorGrid, bool bHasMinorGrid, bool bExportContent, std::u16string_view sChartType) |
void | exportGrid (const Reference< beans::XPropertySet > &rGridProperties, bool bMajor, bool bExportContent) |
void | exportDateScale (const Reference< beans::XPropertySet > &rAxisProps) |
void | exportAxisTitle (const Reference< beans::XPropertySet > &rTitleProps, bool bExportContent) |
void | exportSeries (const css::uno::Reference< css::chart2::XDiagram > &xNewDiagram, const css::awt::Size &rPageSize, bool bExportContent, bool bHasTwoYAxes) |
void | exportPropertyMapping (const css::uno::Reference< css::chart2::data::XDataSource > &xSource, const Sequence< OUString > &rSupportedMappings) |
void | exportCandleStickSeries (const css::uno::Sequence< css::uno::Reference< css::chart2::XDataSeries > > &aSeriesSeq, const css::uno::Reference< css::chart2::XDiagram > &xDiagram, bool bJapaneseCandleSticks, bool bExportContent) |
void | exportDataPoints (const css::uno::Reference< css::beans::XPropertySet > &xSeriesProperties, sal_Int32 nSeriesLength, const css::uno::Reference< css::chart2::XDiagram > &xDiagram, bool bExportContent) |
void | exportCustomLabel (const SchXMLDataPointStruct &rPoint) |
void | exportCustomLabelPosition (const chart2::RelativePosition &xCustomLabelPosition) |
void | exportRegressionCurve (const css::uno::Reference< css::chart2::XDataSeries > &xSeries, const css::awt::Size &rPageSize, bool bExportContent) |
void | exportErrorBar (const css::uno::Reference< beans::XPropertySet > &xSeriesProp, bool bYError, bool bExportContent) |
void | addPosition (const css::awt::Point &rPosition) |
add svg position as attribute for current element More... | |
void | addPosition (const css::uno::Reference< css::drawing::XShape > &xShape) |
void | addSize (const css::awt::Size &rSize, bool bIsOOoNamespace=false) |
add svg size as attribute for current element More... | |
void | addSize (const css::uno::Reference< css::drawing::XShape > &xShape) |
void | exportText (const OUString &rText) |
exports a string as a paragraph element More... | |
Static Public Member Functions | |
static css::awt::Size | getPageSize (const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc) |
Public Attributes | |
::std::queue< OUString > | maAutoStyleNameQueue |
first parseDocument: collect autostyles and store names in this queue second parseDocument: export content and use names from this queue More... | |
SvXMLExport & | mrExport |
SvXMLAutoStylePoolP & | mrAutoStylePool |
rtl::Reference< XMLPropertySetMapper > | mxPropertySetMapper |
rtl::Reference< XMLChartExportPropertyMapper > | mxExpPropMapper |
OUStringBuffer | msStringBuffer |
OUString | msString |
bool | mbHasCategoryLabels |
bool | mbRowSourceColumns |
OUString | msChartAddress |
css::uno::Sequence< sal_Int32 > | maSequenceMapping |
OUString | msCLSID |
OUString | maSrcShellID |
OUString | maDestShellID |
css::uno::Reference< css::drawing::XShapes > | mxAdditionalShapes |
tDataSequenceCont | m_aDataSequencesToExport |
OUString | maCategoriesRange |
Static Public Attributes | |
static constexpr OUStringLiteral | gsTableName = u"local-table" |
Definition at line 134 of file SchXMLExport.cxx.
typedef ::std::vector< tLabelValuesDataPair > SchXMLExportHelper_Impl::tDataSequenceCont |
Definition at line 140 of file SchXMLExport.cxx.
typedef ::std::pair< css::uno::Reference< css::chart2::data::XDataSequence >, css::uno::Reference< css::chart2::data::XDataSequence > > SchXMLExportHelper_Impl::tLabelValuesDataPair |
Definition at line 139 of file SchXMLExport.cxx.
SchXMLExportHelper_Impl::SchXMLExportHelper_Impl | ( | SvXMLExport & | rExport, |
SvXMLAutoStylePoolP & | rASPool | ||
) |
Definition at line 1025 of file SchXMLExport.cxx.
References SvXMLAutoStylePoolP::AddFamily(), xmloff::token::GetXMLToken(), mrAutoStylePool, mxExpPropMapper, SCH_CHART_ID, SD_GRAPHICS_ID, SO3_SCH_CLASSID, TEXT_PARAGRAPH, TEXT_TEXT, xmloff::token::XML_PARAGRAPH, XML_STYLE_FAMILY_SCH_CHART_NAME, XML_STYLE_FAMILY_SCH_CHART_PREFIX, XML_STYLE_FAMILY_SD_GRAPHICS_NAME, XML_STYLE_FAMILY_SD_GRAPHICS_PREFIX, and xmloff::token::XML_TEXT.
|
delete |
void SchXMLExportHelper_Impl::AddAutoStyleAttribute | ( | const std::vector< XMLPropertyState > & | aStates | ) |
Definition at line 3726 of file SchXMLExport.cxx.
References SvXMLExport::AddAttribute(), maAutoStyleNameQueue, mrExport, SAL_WARN_IF, XML_NAMESPACE_CHART, and xmloff::token::XML_STYLE_NAME.
Referenced by exportAxis(), exportAxisTitle(), exportErrorBar(), exportGrid(), exportPlotArea(), exportRegressionCurve(), exportSeries(), and parseDocument().
void SchXMLExportHelper_Impl::addPosition | ( | const css::awt::Point & | rPosition | ) |
add svg position as attribute for current element
Referenced by exportAxisTitle(), exportCoordinateRegion(), exportPlotArea(), exportRegressionCurve(), and parseDocument().
void SchXMLExportHelper_Impl::addPosition | ( | const css::uno::Reference< css::drawing::XShape > & | xShape | ) |
void SchXMLExportHelper_Impl::addSize | ( | const css::awt::Size & | rSize, |
bool | bIsOOoNamespace = false |
||
) |
add svg size as attribute for current element
Referenced by exportCoordinateRegion(), exportPlotArea(), and parseDocument().
void SchXMLExportHelper_Impl::addSize | ( | const css::uno::Reference< css::drawing::XShape > & | xShape | ) |
void SchXMLExportHelper_Impl::CollectAutoStyle | ( | const std::vector< XMLPropertyState > & | aStates | ) |
Definition at line 3720 of file SchXMLExport.cxx.
References SvXMLAutoStylePoolP::Add(), maAutoStyleNameQueue, mrAutoStylePool, and SCH_CHART_ID.
Referenced by exportAxis(), exportAxisTitle(), exportDataPoints(), exportErrorBar(), exportGrid(), exportPlotArea(), exportRegressionCurve(), exportSeries(), and parseDocument().
void SchXMLExportHelper_Impl::collectAutoStyles | ( | css::uno::Reference< css::chart::XChartDocument > const & | rChartDoc | ) |
parse chart and collect all auto-styles used in current pool
Definition at line 1063 of file SchXMLExport.cxx.
References parseDocument().
void SchXMLExportHelper_Impl::exportAutoStyles | ( | ) |
write the styles collected into the current pool as <style:style> elements
Definition at line 1005 of file SchXMLExport.cxx.
References SvXMLExport::exportAutoDataStyles(), SvXMLAutoStylePoolP::exportXML(), SvXMLExport::GetShapeExport(), SvXMLExport::GetTextParagraphExport(), mrAutoStylePool, mrExport, mxExpPropMapper, and SCH_CHART_ID.
void SchXMLExportHelper_Impl::exportAxes | ( | const css::uno::Reference< css::chart::XDiagram > & | xDiagram, |
const css::uno::Reference< css::chart2::XDiagram > & | xNewDiagram, | ||
bool | bExportContent | ||
) |
Definition at line 2380 of file SchXMLExport.cxx.
References MultiPropertySetHandler::Add(), exportAxis(), SvXMLExport::GetModel(), MultiPropertySetHandler::GetProperties(), maCategoriesRange, mbHasCategoryLabels, mrExport, SAL_INFO, SAL_WARN_IF, xmloff::token::XML_PRIMARY_X, xmloff::token::XML_PRIMARY_Y, xmloff::token::XML_PRIMARY_Z, xmloff::token::XML_SECONDARY_X, xmloff::token::XML_SECONDARY_Y, xmloff::token::XML_X, xmloff::token::XML_Y, and xmloff::token::XML_Z.
Referenced by exportPlotArea().
void SchXMLExportHelper_Impl::exportAxis | ( | enum XMLTokenEnum | eDimension, |
enum XMLTokenEnum | eAxisName, | ||
const Reference< beans::XPropertySet > & | rAxisProps, | ||
const Reference< chart2::XAxis > & | rChart2Axis, | ||
const OUString & | rCategoriesRanges, | ||
bool | bHasTitle, | ||
bool | bHasMajorGrid, | ||
bool | bHasMinorGrid, | ||
bool | bExportContent, | ||
std::u16string_view | sChartType | ||
) |
Definition at line 2290 of file SchXMLExport.cxx.
References SvXMLExport::AddAttribute(), AddAutoStyleAttribute(), CollectAutoStyle(), exportAxisTitle(), exportDateScale(), exportGrid(), maDestShellID, maSrcShellID, mrExport, mxExpPropMapper, u, xmloff::token::XML_AXIS, xmloff::token::XML_CATEGORIES, xmloff::token::XML_CELL_RANGE_ADDRESS, xmloff::token::XML_DIMENSION, xmloff::token::XML_NAME, XML_NAMESPACE_CHART, XML_NAMESPACE_TABLE, and xmloff::token::XML_X.
Referenced by exportAxes().
void SchXMLExportHelper_Impl::exportAxisTitle | ( | const Reference< beans::XPropertySet > & | rTitleProps, |
bool | bExportContent | ||
) |
Definition at line 2176 of file SchXMLExport.cxx.
References AddAutoStyleAttribute(), addPosition(), Any, CollectAutoStyle(), exportText(), mrExport, mxExpPropMapper, XML_NAMESPACE_CHART, and xmloff::token::XML_TITLE.
Referenced by exportAxis().
void SchXMLExportHelper_Impl::exportCandleStickSeries | ( | const css::uno::Sequence< css::uno::Reference< css::chart2::XDataSeries > > & | aSeriesSeq, |
const css::uno::Reference< css::chart2::XDiagram > & | xDiagram, | ||
bool | bJapaneseCandleSticks, | ||
bool | bExportContent | ||
) |
Definition at line 3206 of file SchXMLExport.cxx.
References SvXMLExport::AddAttribute(), exportDataPoints(), SvXMLExport::GetModel(), m_aDataSequencesToExport, mrExport, xmloff::token::XML_ATTACHED_AXIS, xmloff::token::XML_LABEL_CELL_ADDRESS, XML_NAMESPACE_CHART, xmloff::token::XML_PRIMARY_Y, xmloff::token::XML_SECONDARY_Y, xmloff::token::XML_SERIES, and xmloff::token::XML_VALUES_CELL_RANGE_ADDRESS.
Referenced by exportSeries().
void SchXMLExportHelper_Impl::exportChart | ( | css::uno::Reference< css::chart::XChartDocument > const & | rChartDoc, |
bool | bIncludeTable | ||
) |
export the <chart:chart> element corresponding to rChartDoc if bIncludeTable is true, the chart data is exported as <table:table> element (inside the chart element).
Otherwise the external references stored in the chart document are used for writing the corresponding attributes at series
All attributes contained in xAttrList are written at the chart element, which is the outer element of a chart. So these attributes can easily be parsed again by the container
Definition at line 1068 of file SchXMLExport.cxx.
References maAutoStyleNameQueue, parseDocument(), and SAL_WARN_IF.
void SchXMLExportHelper_Impl::exportCoordinateRegion | ( | const css::uno::Reference< css::chart::XDiagram > & | xDiagram | ) |
Definition at line 2107 of file SchXMLExport.cxx.
References addPosition(), addSize(), mrExport, SvtSaveOptions::ODFSVER_012, SvtSaveOptions::ODFSVER_013, SAL_WARN_IF, xmloff::token::XML_COORDINATE_REGION, XML_NAMESPACE_CHART, and XML_NAMESPACE_CHART_EXT.
Referenced by exportPlotArea().
void SchXMLExportHelper_Impl::exportCustomLabel | ( | const SchXMLDataPointStruct & | rPoint | ) |
Definition at line 3640 of file SchXMLExport.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::GetDocHandler(), label(), mrExport, xmloff::token::XML_DATA_LABEL, XML_NAMESPACE_CHART, XML_NAMESPACE_TEXT, xmloff::token::XML_P, xmloff::token::XML_SPAN, and xmloff::token::XML_STYLE_NAME.
Referenced by exportDataPoints().
void SchXMLExportHelper_Impl::exportCustomLabelPosition | ( | const chart2::RelativePosition & | xCustomLabelPosition | ) |
Definition at line 3658 of file SchXMLExport.cxx.
References SvXMLExport::AddAttribute(), sax::Converter::convertDouble(), mrExport, xmloff::token::XML_CUSTOM_LABEL_POS_X, xmloff::token::XML_CUSTOM_LABEL_POS_Y, and XML_NAMESPACE_LO_EXT.
Referenced by exportDataPoints().
void SchXMLExportHelper_Impl::exportDataPoints | ( | const css::uno::Reference< css::beans::XPropertySet > & | xSeriesProperties, |
sal_Int32 | nSeriesLength, | ||
const css::uno::Reference< css::chart2::XDiagram > & | xDiagram, | ||
bool | bExportContent | ||
) |
Definition at line 3315 of file SchXMLExport.cxx.
References SvXMLExport::AddAttribute(), CollectAutoStyle(), ColorTransparency, SchXMLSeriesHelper::createOldAPIDataPointPropertySet(), o3tl::sorted_vector< Value, Compare, Find, class >::end(), exportCustomLabel(), exportCustomLabelPosition(), o3tl::sorted_vector< Value, Compare, Find, class >::find(), SvXMLExport::GetModel(), o3tl::sorted_vector< Value, Compare, Find, class >::insert(), maAutoStyleNameQueue, mrExport, mxExpPropMapper, SvtSaveOptions::ODFSVER_012, p, o3tl::sorted_vector< Value, Compare, Find, class >::reserve(), SAL_WARN_IF, TOOLS_INFO_EXCEPTION, xmloff::token::XML_DATA_POINT, xmloff::token::XML_HIDE_LEGEND, XML_NAMESPACE_CHART, XML_NAMESPACE_LO_EXT, xmloff::token::XML_REPEATED, and xmloff::token::XML_STYLE_NAME.
Referenced by exportCandleStickSeries(), and exportSeries().
void SchXMLExportHelper_Impl::exportDateScale | ( | const Reference< beans::XPropertySet > & | rAxisProps | ) |
Definition at line 2148 of file SchXMLExport.cxx.
References SvXMLExport::AddAttribute(), mrExport, xmloff::token::XML_BASE_TIME_UNIT, xmloff::token::XML_DATE_SCALE, xmloff::token::XML_MAJOR_INTERVAL_UNIT, xmloff::token::XML_MAJOR_INTERVAL_VALUE, xmloff::token::XML_MINOR_INTERVAL_UNIT, xmloff::token::XML_MINOR_INTERVAL_VALUE, XML_NAMESPACE_CHART, and XML_NAMESPACE_CHART_EXT.
Referenced by exportAxis().
void SchXMLExportHelper_Impl::exportErrorBar | ( | const css::uno::Reference< beans::XPropertySet > & | xSeriesProp, |
bool | bYError, | ||
bool | bExportContent | ||
) |
Don't export X ErrorBars for older ODF versions.
Definition at line 3130 of file SchXMLExport.cxx.
References SvXMLExport::AddAttribute(), AddAutoStyleAttribute(), Any, assert(), CollectAutoStyle(), m_aDataSequencesToExport, mrExport, mxExpPropMapper, chart::NONE, SvtSaveOptions::ODFSVER_012, TOOLS_INFO_EXCEPTION, xmloff::token::XML_DIMENSION, xmloff::token::XML_ERROR_INDICATOR, XML_NAMESPACE_CHART, xmloff::token::XML_X, and xmloff::token::XML_Y.
Referenced by exportSeries().
void SchXMLExportHelper_Impl::exportGrid | ( | const Reference< beans::XPropertySet > & | rGridProperties, |
bool | bMajor, | ||
bool | bExportContent | ||
) |
Definition at line 2204 of file SchXMLExport.cxx.
References SvXMLExport::AddAttribute(), AddAutoStyleAttribute(), CollectAutoStyle(), mrExport, mxExpPropMapper, xmloff::token::XML_CLASS, xmloff::token::XML_GRID, xmloff::token::XML_MAJOR, xmloff::token::XML_MINOR, and XML_NAMESPACE_CHART.
Referenced by exportAxis().
void SchXMLExportHelper_Impl::exportPlotArea | ( | const css::uno::Reference< css::chart::XDiagram > & | xDiagram, |
const css::uno::Reference< css::chart2::XDiagram > & | xNewDiagram, | ||
const css::awt::Size & | rPageSize, | ||
bool | bExportContent, | ||
bool | bIncludeTable | ||
) |
Definition at line 1842 of file SchXMLExport.cxx.
References SvXMLExport::AddAttribute(), AddAutoStyleAttribute(), addPosition(), addSize(), Any, CollectAutoStyle(), exportAxes(), exportCoordinateRegion(), exportSeries(), SvXMLExport::GetModel(), SvXMLExport::GetShapeExport(), xmloff::token::GetXMLToken(), mrExport, msChartAddress, msStringBuffer, mxExpPropMapper, SAL_WARN, SAL_WARN_IF, TOOLS_INFO_EXCEPTION, xmloff::token::XML_BOTH, xmloff::token::XML_CELL_RANGE_ADDRESS, xmloff::token::XML_COLUMN, xmloff::token::XML_DATA_SOURCE_HAS_LABELS, xmloff::token::XML_FLOOR, XML_NAMESPACE_CHART, XML_NAMESPACE_TABLE, xmloff::token::XML_PLOT_AREA, xmloff::token::XML_ROW, xmloff::token::XML_STOCK_GAIN_MARKER, xmloff::token::XML_STOCK_LOSS_MARKER, xmloff::token::XML_STOCK_RANGE_LINE, xmloff::token::XML_WALL, and xmloff::token::XML_Y.
Referenced by parseDocument().
void SchXMLExportHelper_Impl::exportPropertyMapping | ( | const css::uno::Reference< css::chart2::data::XDataSource > & | xSource, |
const Sequence< OUString > & | rSupportedMappings | ||
) |
Definition at line 2982 of file SchXMLExport.cxx.
References SvXMLExport::AddAttribute(), SvXMLExport::GetModel(), m_aDataSequencesToExport, mrExport, xmloff::token::XML_CELL_RANGE_ADDRESS, XML_NAMESPACE_LO_EXT, xmloff::token::XML_PROPERTY, and xmloff::token::XML_PROPERTY_MAPPING.
Referenced by exportSeries().
void SchXMLExportHelper_Impl::exportRegressionCurve | ( | const css::uno::Reference< css::chart2::XDataSeries > & | xSeries, |
const css::awt::Size & | rPageSize, | ||
bool | bExportContent | ||
) |
Definition at line 3012 of file SchXMLExport.cxx.
References SvXMLExport::AddAttribute(), AddAutoStyleAttribute(), SvXMLExport::addDataStyle(), addPosition(), CollectAutoStyle(), GetPropertySetMapper(), mrExport, mxExpPropMapper, SvtSaveOptions::ODFSVER_012, xmloff::token::XML_DISPLAY_EQUATION, xmloff::token::XML_DISPLAY_R_SQUARE, xmloff::token::XML_EQUATION, xmloff::token::XML_FALSE, XML_NAMESPACE_CHART, xmloff::token::XML_REGRESSION_CURVE, XML_SCH_CONTEXT_SPECIAL_REGRESSION_TYPE, and xmloff::token::XML_TRUE.
Referenced by exportSeries().
void SchXMLExportHelper_Impl::exportSeries | ( | const css::uno::Reference< css::chart2::XDiagram > & | xNewDiagram, |
const css::awt::Size & | rPageSize, | ||
bool | bExportContent, | ||
bool | bHasTwoYAxes | ||
) |
Definition at line 2609 of file SchXMLExport.cxx.
References SvXMLExport::AddAttribute(), AddAutoStyleAttribute(), Any, CollectAutoStyle(), SchXMLSeriesHelper::createOldAPISeriesPropertySet(), exportCandleStickSeries(), exportDataPoints(), exportErrorBar(), exportPropertyMapping(), exportRegressionCurve(), SvXMLExport::GetModel(), SvXMLExport::GetNamespaceMap(), SvXMLNamespaceMap::GetQNameByKey(), SchXMLTools::getTokenByChartType(), xmloff::token::GetXMLToken(), m_aDataSequencesToExport, mrExport, mxExpPropMapper, SvtSaveOptions::ODFSVER_012, TOOLS_INFO_EXCEPTION, xmloff::token::XML_ATTACHED_AXIS, xmloff::token::XML_CLASS, xmloff::token::XML_DATA_LABEL, xmloff::token::XML_HIDE_LEGEND, xmloff::token::XML_LABEL_CELL_ADDRESS, xmloff::token::XML_LABEL_STRING, xmloff::token::XML_MEAN_VALUE, XML_NAMESPACE_CHART, XML_NAMESPACE_LO_EXT, xmloff::token::XML_PRIMARY_Y, xmloff::token::XML_SECONDARY_Y, xmloff::token::XML_SERIES, and xmloff::token::XML_VALUES_CELL_RANGE_ADDRESS.
Referenced by exportPlotArea().
void SchXMLExportHelper_Impl::exportTable | ( | ) |
Definition at line 1563 of file SchXMLExport.cxx.
References aData, SvXMLExport::AddAttribute(), sax::Converter::convertDouble(), SchXMLTools::exportRangeToSomewhere(), exportText(), SvXMLExport::GetModel(), xmloff::token::GetXMLToken(), gsTableName, lcl_exportComplexLabel(), m_aDataSequencesToExport, maCategoriesRange, mbRowSourceColumns, mrExport, msString, msStringBuffer, SAL_WARN_IF, xmloff::token::XML_COLLAPSE, xmloff::token::XML_FLOAT, xmloff::token::XML_NAME, XML_NAMESPACE_OFFICE, XML_NAMESPACE_TABLE, XML_NAMESPACE_TEXT, xmloff::token::XML_NUMBER_COLUMNS_REPEATED, xmloff::token::XML_P, xmloff::token::XML_PROTECTED, xmloff::token::XML_STRING, xmloff::token::XML_TABLE, xmloff::token::XML_TABLE_CELL, xmloff::token::XML_TABLE_COLUMN, xmloff::token::XML_TABLE_COLUMNS, xmloff::token::XML_TABLE_HEADER_COLUMNS, xmloff::token::XML_TABLE_HEADER_ROWS, xmloff::token::XML_TABLE_ROW, xmloff::token::XML_TABLE_ROWS, xmloff::token::XML_TRUE, xmloff::token::XML_VALUE, xmloff::token::XML_VALUE_TYPE, and xmloff::token::XML_VISIBILITY.
Referenced by parseDocument().
void SchXMLExportHelper_Impl::exportText | ( | const OUString & | rText | ) |
exports a string as a paragraph element
Definition at line 3737 of file SchXMLExport.cxx.
References SchXMLTools::exportText(), and mrExport.
Referenced by exportAxisTitle(), exportTable(), and parseDocument().
|
static |
Definition at line 3709 of file SchXMLExport.cxx.
References SAL_WARN_IF.
Referenced by parseDocument().
const rtl::Reference< XMLPropertySetMapper > & SchXMLExportHelper_Impl::GetPropertySetMapper | ( | ) | const |
Definition at line 1000 of file SchXMLExport.cxx.
References mxPropertySetMapper.
Referenced by exportRegressionCurve().
void SchXMLExportHelper_Impl::InitRangeSegmentationProperties | ( | const css::uno::Reference< css::chart2::XChartDocument > & | xChartDoc | ) |
Definition at line 3877 of file SchXMLExport.cxx.
References DBG_UNHANDLED_EXCEPTION, maSequenceMapping, mbHasCategoryLabels, mbRowSourceColumns, msChartAddress, and SAL_WARN_IF.
|
delete |
void SchXMLExportHelper_Impl::parseDocument | ( | css::uno::Reference< css::chart::XChartDocument > const & | rChartDoc, |
bool | bExportContent, | ||
bool | bIncludeTable = false |
||
) |
if bExportContent is false the auto-styles are collected
Definition at line 1095 of file SchXMLExport.cxx.
References SvXMLExport::AddAttribute(), AddAutoStyleAttribute(), addPosition(), addSize(), Any, CollectAutoStyle(), sax::Converter::convertDateTime(), sax::Converter::convertDouble(), exportPlotArea(), exportTable(), exportText(), XMLEnumPropertyHdl::exportXML(), SchXMLEnumConverter::getLegendExpansionConverter(), SchXMLEnumConverter::getLegendPositionConverter(), SvXMLExport::GetMM100UnitConverter(), SvXMLExport::GetNamespaceMap(), getPageSize(), SvXMLNamespaceMap::GetQNameByKey(), SvXMLExport::GetShapeExport(), SchXMLTools::getTokenByChartType(), xmloff::token::GetXMLToken(), lcl_GetStringFromNumberSequence(), maSequenceMapping, mbHasCategoryLabels, mbRowSourceColumns, mrExport, msString, mxAdditionalShapes, mxExpPropMapper, SvtSaveOptions::ODFSVER_012, SvtSaveOptions::ODFSVER_013, SvtSaveOptions::ODFSVER_EXTENDED, SAL_WARN, SAL_WARN_IF, TOOLS_INFO_EXCEPTION, xmloff::token::XML_ADD_IN, xmloff::token::XML_BAR, xmloff::token::XML_CALCULATION_SETTINGS, xmloff::token::XML_CHART, xmloff::token::XML_CLASS, xmloff::token::XML_COLUMN_MAPPING, xmloff::token::XML_DATA_PILOT_SOURCE, xmloff::token::XML_DATE_VALUE, xmloff::token::XML_HREF, xmloff::token::XML_LEGEND, xmloff::token::XML_LEGEND_EXPANSION, xmloff::token::XML_LEGEND_EXPANSION_ASPECT_RATIO, xmloff::token::XML_LEGEND_POSITION, XML_NAMESPACE_CHART, XML_NAMESPACE_LO_EXT, XML_NAMESPACE_OOO, XML_NAMESPACE_STYLE, XML_NAMESPACE_TABLE, XML_NAMESPACE_XLINK, xmloff::token::XML_NULL_DATE, xmloff::token::XML_OVERLAY, xmloff::token::XML_ROW_MAPPING, xmloff::token::XML_SIMPLE, xmloff::token::XML_SUBTITLE, xmloff::token::XML_TITLE, xmloff::token::XML_TOKEN_INVALID, and xmloff::token::XML_TYPE.
Referenced by collectAutoStyles(), and exportChart().
|
inline |
Definition at line 172 of file SchXMLExport.cxx.
Definition at line 262 of file SchXMLExport.cxx.
Referenced by exportTable().
tDataSequenceCont SchXMLExportHelper_Impl::m_aDataSequencesToExport |
Definition at line 279 of file SchXMLExport.cxx.
Referenced by exportCandleStickSeries(), exportErrorBar(), exportPropertyMapping(), exportSeries(), and exportTable().
::std::queue< OUString > SchXMLExportHelper_Impl::maAutoStyleNameQueue |
first parseDocument: collect autostyles and store names in this queue second parseDocument: export content and use names from this queue
Definition at line 184 of file SchXMLExport.cxx.
Referenced by AddAutoStyleAttribute(), CollectAutoStyle(), exportChart(), and exportDataPoints().
OUString SchXMLExportHelper_Impl::maCategoriesRange |
Definition at line 280 of file SchXMLExport.cxx.
Referenced by exportAxes(), and exportTable().
OUString SchXMLExportHelper_Impl::maDestShellID |
Definition at line 275 of file SchXMLExport.cxx.
Referenced by exportAxis().
css::uno::Sequence< sal_Int32 > SchXMLExportHelper_Impl::maSequenceMapping |
Definition at line 270 of file SchXMLExport.cxx.
Referenced by InitRangeSegmentationProperties(), and parseDocument().
OUString SchXMLExportHelper_Impl::maSrcShellID |
Definition at line 274 of file SchXMLExport.cxx.
Referenced by exportAxis().
bool SchXMLExportHelper_Impl::mbHasCategoryLabels |
Definition at line 267 of file SchXMLExport.cxx.
Referenced by exportAxes(), InitRangeSegmentationProperties(), and parseDocument().
bool SchXMLExportHelper_Impl::mbRowSourceColumns |
Definition at line 268 of file SchXMLExport.cxx.
Referenced by exportTable(), InitRangeSegmentationProperties(), and parseDocument().
SvXMLAutoStylePoolP& SchXMLExportHelper_Impl::mrAutoStylePool |
Definition at line 258 of file SchXMLExport.cxx.
Referenced by CollectAutoStyle(), exportAutoStyles(), and SchXMLExportHelper_Impl().
SvXMLExport& SchXMLExportHelper_Impl::mrExport |
Definition at line 257 of file SchXMLExport.cxx.
Referenced by AddAutoStyleAttribute(), exportAutoStyles(), exportAxes(), exportAxis(), exportAxisTitle(), exportCandleStickSeries(), exportCoordinateRegion(), exportCustomLabel(), exportCustomLabelPosition(), exportDataPoints(), exportDateScale(), exportErrorBar(), exportGrid(), exportPlotArea(), exportPropertyMapping(), exportRegressionCurve(), exportSeries(), exportTable(), exportText(), and parseDocument().
OUString SchXMLExportHelper_Impl::msChartAddress |
Definition at line 269 of file SchXMLExport.cxx.
Referenced by exportPlotArea(), and InitRangeSegmentationProperties().
OUString SchXMLExportHelper_Impl::msCLSID |
Definition at line 272 of file SchXMLExport.cxx.
OUString SchXMLExportHelper_Impl::msString |
Definition at line 264 of file SchXMLExport.cxx.
Referenced by exportTable(), and parseDocument().
OUStringBuffer SchXMLExportHelper_Impl::msStringBuffer |
Definition at line 263 of file SchXMLExport.cxx.
Referenced by exportPlotArea(), and exportTable().
css::uno::Reference< css::drawing::XShapes > SchXMLExportHelper_Impl::mxAdditionalShapes |
Definition at line 277 of file SchXMLExport.cxx.
Referenced by parseDocument().
rtl::Reference< XMLChartExportPropertyMapper > SchXMLExportHelper_Impl::mxExpPropMapper |
Definition at line 260 of file SchXMLExport.cxx.
Referenced by exportAutoStyles(), exportAxis(), exportAxisTitle(), exportDataPoints(), exportErrorBar(), exportGrid(), exportPlotArea(), exportRegressionCurve(), exportSeries(), parseDocument(), and SchXMLExportHelper_Impl().
rtl::Reference< XMLPropertySetMapper > SchXMLExportHelper_Impl::mxPropertySetMapper |
Definition at line 259 of file SchXMLExport.cxx.
Referenced by GetPropertySetMapper().