diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-12-12 09:38:47 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-12-12 09:38:47 +0000 |
commit | 86d6b4cb79154606f1efad1ef49f3a40b204ea92 (patch) | |
tree | 0822e3eff191a4340359b475ee86dce600df3d49 /oox/source/xls/workbookhelper.cxx | |
parent | b7db135b871b1f400eaed004dec348776d13170f (diff) |
CWS-TOOLING: integrate CWS mooxlsc
2008-12-12 09:32:19 +0100 dr r265390 : #i10000# warning
2008-12-11 14:54:26 +0100 dr r265301 : add strings from dr66 to meet ui freeze
2008-12-11 14:53:20 +0100 dr r265300 : add strings from dr66 to meet ui freeze
2008-12-08 14:43:25 +0100 er r264997 : DBG_... need semicolon
2008-12-04 19:16:50 +0100 er r264872 : DBG_... needs semicolon
2008-12-04 11:09:27 +0100 er r264824 : DBG_ERROR needs semicolon
2008-12-03 13:29:46 +0100 er r264770 : CWS-TOOLING: rebase CWS mooxlsc to trunk@264325 (milestone: DEV300:m36)
2008-12-02 16:49:09 +0100 er r264722 : disable code for named references #i4385# import as long as #i3740# isn't fully implemented
2008-12-02 16:45:04 +0100 er r264721 : some compilers attempt to be too smart; persuade them it's really meant what was written
2008-12-02 16:04:56 +0100 er r264715 : #i3740# no storage in ODF for external name references
2008-11-29 02:20:50 +0100 er r264575 : some huge performance improvement when reading repeated empty rows for the external references cache from ODF, as they often occur in the sparse matrix
2008-11-29 01:14:55 +0100 er r264574 : WriteExternalRefCaches: for table:number-columns-repeated write used columns instead of MAXCOLCOUNT
2008-11-28 18:30:04 +0100 er r264570 : #i3740# write/read external name references as bracketed references, as proposed on the ODFF list
2008-11-27 20:36:54 +0100 er r264521 : merge i95068 from cws calc46 for code correctness
2008-11-21 20:39:34 +0100 kohei r264174 : fixed a crash when importing a BIFF8 document with per-sheet external names.
For now, we don't support per-sheet external names. Let's throw in NoName
error until they are supported.
2008-11-21 18:47:27 +0100 kohei r264168 : I forgot to process cached range references in the EXTERNNAME record, which
prevented cached external names with range references from being imported
correctly.
P.S. I swear I thought I had covered this....
2008-11-20 23:07:22 +0100 er r264104 : #i4385# parse external defined names in MOOXML import
2008-11-14 23:18:54 +0100 er r263700 : #i92797# parse external sheet references under aspects of MOOXML import and new ScExternalRefManager
2008-11-14 18:49:48 +0100 er r263696 : remove infinity assertion, leftover from binary file format; coded double error may occur via filter import
2008-11-12 13:29:44 +0100 er r263593 : make references to entire rows/columns, such as A:A or 3:3, actually work in MOOXML import
2008-11-03 12:35:11 +0100 er r263282 : a struct is a struct is a ...
2008-10-31 00:30:59 +0100 er r262843 : aTableRowCellAttrTokenMap needed
2008-10-31 00:26:07 +0100 er r262842 : GetTableRowCellAttrTokenMap() is not unused
2008-10-31 00:13:53 +0100 er r262841 : merge error
2008-10-31 00:05:39 +0100 er r262840 : merge error
2008-10-30 23:17:48 +0100 er r262839 : unresolved merge conflict!?!
2008-10-30 22:59:11 +0100 er r262838 : merge error
2008-10-30 16:31:04 +0100 hr r262833 : CWS-TOOLING: rebase CWS mooxlsc to trunk@262620 (milestone: DEV300:m34)
2008-10-16 21:57:51 +0200 er r262272 : migrate CWS mooxlsc to SVN
Diffstat (limited to 'oox/source/xls/workbookhelper.cxx')
-rw-r--r-- | oox/source/xls/workbookhelper.cxx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/oox/source/xls/workbookhelper.cxx b/oox/source/xls/workbookhelper.cxx index 6d7ae205c74b..03a0cc8d97c4 100644 --- a/oox/source/xls/workbookhelper.cxx +++ b/oox/source/xls/workbookhelper.cxx @@ -42,6 +42,7 @@ #include <com/sun/star/sheet/XNamedRange.hpp> #include <com/sun/star/sheet/XNamedRanges.hpp> #include <com/sun/star/sheet/XDatabaseRanges.hpp> +#include <com/sun/star/sheet/XExternalDocLinks.hpp> #include <com/sun/star/style/XStyle.hpp> #include <com/sun/star/style/XStyleFamiliesSupplier.hpp> #include "oox/helper/progressbar.hxx" @@ -86,6 +87,7 @@ using ::com::sun::star::sheet::XSpreadsheet; using ::com::sun::star::sheet::XNamedRange; using ::com::sun::star::sheet::XNamedRanges; using ::com::sun::star::sheet::XDatabaseRanges; +using ::com::sun::star::sheet::XExternalDocLinks; using ::com::sun::star::style::XStyle; using ::com::sun::star::style::XStyleFamiliesSupplier; using ::oox::core::BinaryFilterBase; @@ -179,6 +181,8 @@ public: Reference< XNamedRanges > getNamedRanges() const; /** Returns the container for database ranges from the Calc document. */ Reference< XDatabaseRanges > getDatabaseRanges() const; + /** Returns the container for external documents from the Calc document. */ + Reference< XExternalDocLinks > getExternalDocLinks() const; /** Returns the container for DDE links from the Calc document. */ Reference< XNameAccess > getDdeLinks() const; /** Returns the cell or page styles container from the Calc document. */ @@ -290,6 +294,7 @@ private: OUString maRefDeviceProp; /// Property name for reference device. OUString maNamedRangesProp; /// Property name for defined names. OUString maDatabaseRangesProp; /// Property name for database ranges. + OUString maExtDocLinksProp; /// Property name for external links. OUString maDdeLinksProp; /// Property name for DDE links. OUString maCellStylesProp; /// Property name for cell styles. OUString maPageStylesProp; /// Property name for page styles. @@ -388,6 +393,14 @@ Reference< XDatabaseRanges > WorkbookData::getDatabaseRanges() const return xDatabaseRanges; } +Reference< XExternalDocLinks > WorkbookData::getExternalDocLinks() const +{ + PropertySet aPropSet( mxDoc ); + Reference< XExternalDocLinks > xDocLinks; + aPropSet.getProperty( xDocLinks, maExtDocLinksProp ); + return xDocLinks; +} + Reference< XNameAccess > WorkbookData::getDdeLinks() const { PropertySet aPropSet( mxDoc ); @@ -542,6 +555,7 @@ void WorkbookData::initialize( bool bWorkbookFile ) maRefDeviceProp = CREATE_OUSTRING( "ReferenceDevice" ); maNamedRangesProp = CREATE_OUSTRING( "NamedRanges" ); maDatabaseRangesProp = CREATE_OUSTRING( "DatabaseRanges" ); + maExtDocLinksProp = CREATE_OUSTRING( "ExternalDocLinks" ); maDdeLinksProp = CREATE_OUSTRING( "DDELinks" ); maCellStylesProp = CREATE_OUSTRING( "CellStyles" ); maPageStylesProp = CREATE_OUSTRING( "PageStyles" ); @@ -723,6 +737,11 @@ Reference< XDatabaseRanges > WorkbookHelper::getDatabaseRanges() const return mrBookData.getDatabaseRanges(); } +Reference< XExternalDocLinks > WorkbookHelper::getExternalDocLinks() const +{ + return mrBookData.getExternalDocLinks(); +} + Reference< XNameAccess > WorkbookHelper::getDdeLinks() const { return mrBookData.getDdeLinks(); |