20#ifndef INCLUDED_OOX_DRAWINGML_CHART_TITLECONVERTER_HXX
21#define INCLUDED_OOX_DRAWINGML_CHART_TITLECONVERTER_HXX
26 namespace chart2 {
class XDiagram; }
27 namespace chart2 {
class XFormattedString; }
28 namespace chart2 {
class XTitled; }
29 namespace chart2::data {
class XDataSequence; }
46 css::uno::Reference< css::chart2::data::XDataSequence >
49 css::uno::Sequence< css::uno::Reference< css::chart2::XFormattedString > >
51 const OUString& rDefaultText,
56 css::uno::Reference< css::chart2::XFormattedString >
58 ::std::vector< css::uno::Reference< css::chart2::XFormattedString > >& orStringVec,
59 const OUString& rString,
60 bool bAddNewLine )
const;
74 const css::uno::Reference< css::chart2::XTitled >& rxTitled,
75 const OUString& rAutoTitle,
ObjectType eObjType,
76 sal_Int32 nMainIdx = -1, sal_Int32 nSubIdx = -1 );
90 const css::uno::Reference< css::chart2::XDiagram >& rxDiagram );
Base class of all converter classes.
virtual ~LegendConverter() override
void legendEntriesFormatting(const css::uno::Reference< css::chart2::XDiagram > &rxDiagram)
void convertFromModel(const css::uno::Reference< css::chart2::XDiagram > &rxDiagram)
Creates a legend object and attaches it at the passed diagram.
LegendConverter(const ConverterRoot &rParent, LegendModel &rModel)
css::uno::Sequence< css::uno::Reference< css::chart2::XFormattedString > > createStringSequence(const OUString &rDefaultText, const ModelRef< TextBody > &rxTextProp, ObjectType eObjType)
Creates a sequence of formatted string objects.
TextConverter(const ConverterRoot &rParent, TextModel &rModel)
virtual ~TextConverter() override
css::uno::Reference< css::chart2::XFormattedString > appendFormattedString(::std::vector< css::uno::Reference< css::chart2::XFormattedString > > &orStringVec, const OUString &rString, bool bAddNewLine) const
css::uno::Reference< css::chart2::data::XDataSequence > createDataSequence(const OUString &rRole)
Creates a data sequence object from the contained text data.
void convertFromModel(const css::uno::Reference< css::chart2::XTitled > &rxTitled, const OUString &rAutoTitle, ObjectType eObjType, sal_Int32 nMainIdx=-1, sal_Int32 nSubIdx=-1)
Creates a title text object and attaches it at the passed interface.
TitleConverter(const ConverterRoot &rParent, TitleModel &rModel)
virtual ~TitleConverter() override
ObjectType
Enumerates different object types for specific automatic formatting behaviour.