diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-13 11:15:34 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-13 11:15:34 +0000 |
commit | f1c61a448f26444af9e6c1cc1e18f80fa4e07c02 (patch) | |
tree | f9d6dd008accaf7bfd82589e6be7aa47ab7f464d /xmloff/source | |
parent | a0176c45b488677627f6925bc64003ce1030a4f4 (diff) |
INTEGRATION: CWS swqbf87 (1.124.40); FILE MERGED
2006/10/05 09:22:58 od 1.124.40.2: RESYNC: (1.124-1.125); FILE MERGED
2006/09/28 13:59:33 od 1.124.40.1: #i69627# classes <SvXMLExport> and <SvXMLExport_Impl>
- new function <SvXMLExport::writeOutlineStyleAsNormalListStyle()>
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/core/xmlexp.cxx | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index a8cd417a5339..44ecf88d8212 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -4,9 +4,9 @@ * * $RCSfile: xmlexp.cxx,v $ * - * $Revision: 1.125 $ + * $Revision: 1.126 $ * - * last change: $Author: obo $ $Date: 2006-09-17 10:22:44 $ + * last change: $Author: obo $ $Date: 2006-10-13 12:15:34 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -309,9 +309,15 @@ public: ::comphelper::UnoInterfaceToUniqueIdentifierMapper maInterfaceToIdentifierMapper; uno::Reference< uri::XUriReferenceFactory > mxUriReferenceFactory; rtl::OUString msPackageURI; + // --> OD 2006-09-27 #i69627# + sal_Bool mbOutlineStyleAsNormalListStyle; + // <-- }; SvXMLExport_Impl::SvXMLExport_Impl() + // --> OD 2006-09-27 #i69627# + : mbOutlineStyleAsNormalListStyle( false ) + // <-- { mxUriReferenceFactory = uri::UriReferenceFactory::create( comphelper_getProcessComponentContext()); @@ -789,6 +795,16 @@ void SAL_CALL SvXMLExport::initialize( const uno::Sequence< uno::Any >& aArgumen aBaseURL.insertName( sName ); msOrigFileName = aBaseURL.GetMainURL(INetURLObject::DECODE_TO_IURI); } + + // --> OD 2006-09-26 #i69627# + OUString sOutlineStyleAsNormalListStyle( + RTL_CONSTASCII_USTRINGPARAM("OutlineStyleAsNormalListStyle") ); + if( xPropertySetInfo->hasPropertyByName( sOutlineStyleAsNormalListStyle ) ) + { + uno::Any aAny = mxExportInfo->getPropertyValue( sOutlineStyleAsNormalListStyle ); + aAny >>= (mpImpl->mbOutlineStyleAsNormalListStyle); + } + // <-- } } @@ -2205,6 +2221,13 @@ void SvXMLExport::DisposingModel() return mpImpl->maInterfaceToIdentifierMapper; } +// --> OD 2006-09-27 #i69627# +const sal_Bool SvXMLExport::writeOutlineStyleAsNormalListStyle() const +{ + return mpImpl->mbOutlineStyleAsNormalListStyle; +} +// <-- + //============================================================================= void SvXMLElementExport::StartElement( SvXMLExport& rExp, |