summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/chart/SchXMLAxisContext.cxx1
-rw-r--r--xmloff/source/chart/SchXMLChartContext.cxx2
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx3
3 files changed, 6 insertions, 0 deletions
diff --git a/xmloff/source/chart/SchXMLAxisContext.cxx b/xmloff/source/chart/SchXMLAxisContext.cxx
index 39d93cb26662..b54808790845 100644
--- a/xmloff/source/chart/SchXMLAxisContext.cxx
+++ b/xmloff/source/chart/SchXMLAxisContext.cxx
@@ -564,6 +564,7 @@ void SchXMLAxisContext::SetAxisTitle()
{
try
{
+ // TODO: ODF import for formatted chart titles
xTitleProp->setPropertyValue("String", uno::Any(m_aCurrentAxis.aTitle) );
}
catch( beans::UnknownPropertyException & )
diff --git a/xmloff/source/chart/SchXMLChartContext.cxx b/xmloff/source/chart/SchXMLChartContext.cxx
index 9d5522feaceb..6072a1a09622 100644
--- a/xmloff/source/chart/SchXMLChartContext.cxx
+++ b/xmloff/source/chart/SchXMLChartContext.cxx
@@ -736,6 +736,7 @@ void SchXMLChartContext::endFastElement(sal_Int32 )
{
try
{
+ // TODO: ODF import for formatted chart titles
xTitleProp->setPropertyValue("String", uno::Any(maMainTitle) );
}
catch(const beans::UnknownPropertyException&)
@@ -751,6 +752,7 @@ void SchXMLChartContext::endFastElement(sal_Int32 )
{
try
{
+ // TODO: ODF import for formatted chart titles
xTitleProp->setPropertyValue("String", uno::Any(maSubTitle) );
}
catch(const beans::UnknownPropertyException&)
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index 79238a5b34be..56cdca7bdefa 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -1344,6 +1344,7 @@ void SchXMLExportHelper_Impl::parseDocument( Reference< chart::XChartDocument >
Reference< beans::XPropertySet > xPropSet( xShape, uno::UNO_QUERY );
if( xPropSet.is())
{
+ // TODO: ODF export for formatted chart titles
Any aAny( xPropSet->getPropertyValue( "String" ));
OUString aText;
aAny >>= aText;
@@ -1385,6 +1386,7 @@ void SchXMLExportHelper_Impl::parseDocument( Reference< chart::XChartDocument >
Reference< beans::XPropertySet > xPropSet( xShape, uno::UNO_QUERY );
if( xPropSet.is())
{
+ // TODO: ODF import for formatted chart titles
Any aAny( xPropSet->getPropertyValue( "String" ));
OUString aText;
aAny >>= aText;
@@ -2264,6 +2266,7 @@ void SchXMLExportHelper_Impl::exportAxisTitle( const Reference< beans::XProperty
std::vector<XMLPropertyState> aPropertyStates = mxExpPropMapper->Filter(mrExport, rTitleProps);
if( bExportContent )
{
+ // TODO: ODF import for formatted chart titles
OUString aText;
Any aAny( rTitleProps->getPropertyValue( "String" ));
aAny >>= aText;