summaryrefslogtreecommitdiff
path: root/oox/source/ole/axbinaryreader.cxx
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-04-17 17:08:59 +0100
committerNoel Power <noel.power@suse.com>2013-04-17 17:10:31 +0100
commita43cc9ec8dde4f311bcf8ff96e6a26d56b2abdcf (patch)
treed33f375d48027afd6e910154a7e8bf0162b9f8ee /oox/source/ole/axbinaryreader.cxx
parent2bbdf5c72254a70c43894eb907f23f78557f709a (diff)
implement MultiPage, Page & TabStrip import for oox
Change-Id: I1912c9550c12a971fcc7fdbc8bd623f18ccc40b8
Diffstat (limited to 'oox/source/ole/axbinaryreader.cxx')
-rw-r--r--oox/source/ole/axbinaryreader.cxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/oox/source/ole/axbinaryreader.cxx b/oox/source/ole/axbinaryreader.cxx
index 1e4c626d1224..b78f428794fd 100644
--- a/oox/source/ole/axbinaryreader.cxx
+++ b/oox/source/ole/axbinaryreader.cxx
@@ -144,7 +144,7 @@ bool AxBinaryPropertyReader::StringProperty::readProperty( AxAlignedInputStream&
return lclReadString( rInStrm, mrValue, mnSize, false );
}
-bool AxBinaryPropertyReader::StringArrayProperty::readProperty( AxAlignedInputStream& rInStrm )
+bool AxBinaryPropertyReader::ArrayStringProperty::readProperty( AxAlignedInputStream& rInStrm )
{
sal_Int64 nEndPos = rInStrm.tell() + mnSize;
while( rInStrm.tell() < nEndPos )
@@ -214,6 +214,15 @@ void AxBinaryPropertyReader::readStringProperty( OUString& orValue )
}
}
+void AxBinaryPropertyReader::readArrayStringProperty( std::vector<OUString>& orValue )
+{
+ if( startNextProperty() )
+ {
+ sal_uInt32 nSize = maInStrm.readAligned< sal_uInt32 >();
+ maLargeProps.push_back( ComplexPropVector::value_type( new ArrayStringProperty( orValue, nSize ) ) );
+ }
+}
+
void AxBinaryPropertyReader::readGuidProperty( OUString& orGuid )
{
if( startNextProperty() )