22#include <com/sun/star/chart2/XDiagram.hpp>
23#include <com/sun/star/chart2/XDataTable.hpp>
25#include <oox/token/properties.hxx>
45 uno::Reference<chart2::XDataTable> xDataTable(
46 createInstance(
"com.sun.star.chart2.DataTable"), uno::UNO_QUERY_THROW);
47 rxDiagram->setDataTable(xDataTable);
62 catch (uno::Exception&)
A wrapper for a UNO property set.
bool setProperty(sal_Int32 nPropId, const Type &rValue)
Puts the passed value into the property set.
Base class of all converter classes.
ObjectFormatter & getFormatter() const
Returns the object formatter.
css::uno::Reference< css::uno::XInterface > createInstance(const OUString &rServiceName) const
Creates an instance for the passed service name, using the process service factory.
DataTableConverter(const ConverterRoot &rParent, DataTableModel &rModel)
void convertFromModel(css::uno::Reference< css::chart2::XDiagram > const &rxDiagram)
Converts the OOXML data table model to a chart2 diagram.
virtual ~DataTableConverter() override
@ OBJECTTYPE_DATATABLE
Down-bar in line/stock charts.
bool mbShowOutline
Show Vertical Border.
ModelRef< Shape > mxShapeProp
ModelRef< TextBody > mxTextProp
frame formatting.
bool mbShowKeys
Show outline.
bool mbShowVBorder
Show Horizontal Border.
constexpr OUStringLiteral PROP_VBorder
constexpr OUStringLiteral PROP_Outline
constexpr OUStringLiteral PROP_HBorder
constexpr OUStringLiteral PROP_Keys