summaryrefslogtreecommitdiff
path: root/oox/source/vml/vmldrawingfragment.cxx
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@novell.com>2011-07-05 16:47:26 +0530
committerMuthu Subramanian <sumuthu@novell.com>2011-07-05 16:47:26 +0530
commitbfed95561999e53e3bf760d370782dd320b39c52 (patch)
treed5e5bf68bd5abd974291f6902cb61d5d0fb1f341 /oox/source/vml/vmldrawingfragment.cxx
parentfc0a2d2d9525736a11c963d70a66e1246667e82f (diff)
Pointers for importing legacyDiagramText.
Diffstat (limited to 'oox/source/vml/vmldrawingfragment.cxx')
-rw-r--r--oox/source/vml/vmldrawingfragment.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/oox/source/vml/vmldrawingfragment.cxx b/oox/source/vml/vmldrawingfragment.cxx
index 12dd0a42fabf..0f92632f0e00 100644
--- a/oox/source/vml/vmldrawingfragment.cxx
+++ b/oox/source/vml/vmldrawingfragment.cxx
@@ -50,6 +50,13 @@ DrawingFragment::DrawingFragment( XmlFilterBase& rFilter, const OUString& rFragm
FragmentHandler2( rFilter, rFragmentPath, false ), // do not trim whitespace, has been preprocessed by the input stream
mrDrawing( rDrawing )
{
+ RelationsRef xLegacyRels = getRelations().getRelationsFromType( CREATE_MSOFFICE_RELATION_TYPE( "legacyDiagramText" ) );
+ for( Relations::const_iterator aIt = xLegacyRels->begin(), aEnd = xLegacyRels->end(); aIt != aEnd; ++aIt )
+ {
+ OUString aLegacyFragmentPath = getFragmentPathFromRelation( aIt->second );
+ // TODO: import legacyDiagramText from aLegacyFragmentPath - this is a binary import.
+ // printf("legacyDiagram: %s\n", ::rtl::OUStringToOString( aLegacyFragmentPath, RTL_TEXTENCODING_UTF8).getStr());
+ }
}
Reference< XInputStream > DrawingFragment::openFragmentStream() const