diff options
author | Michael Brauer <mib@openoffice.org> | 2000-11-20 09:15:09 +0000 |
---|---|---|
committer | Michael Brauer <mib@openoffice.org> | 2000-11-20 09:15:09 +0000 |
commit | 6cc45bb7c1c900cd0bf1d12fd0132d9cf9c6dc75 (patch) | |
tree | 5cc105e26d4c8afd3b62773885439d24f88e2783 /xmloff/source/style/xmlaustp.cxx | |
parent | 6e66b2fcf9f6ce80bda4bed0af6a48073d4558b9 (diff) |
Auto style pool cache
Diffstat (limited to 'xmloff/source/style/xmlaustp.cxx')
-rw-r--r-- | xmloff/source/style/xmlaustp.cxx | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlaustp.cxx b/xmloff/source/style/xmlaustp.cxx index d97531945c4f..385bfca62be2 100644 --- a/xmloff/source/style/xmlaustp.cxx +++ b/xmloff/source/style/xmlaustp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xmlaustp.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: mib $ $Date: 2000-11-07 13:33:06 $ + * last change: $Author: mib $ $Date: 2000-11-20 10:15:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -275,6 +275,26 @@ OUString SvXMLAutoStylePoolP::Add( sal_Int32 nFamily, return pImpl->Add( nFamily, rParent, rProperties ); } +OUString SvXMLAutoStylePoolP::AddAndCache( sal_Int32 nFamily, + const vector< XMLPropertyState >& rProperties ) +{ + OUString sEmpty; + return pImpl->Add( nFamily, sEmpty, rProperties, sal_True ); +} + +OUString SvXMLAutoStylePoolP::AddAndCache( sal_Int32 nFamily, + const OUString& rParent, + const vector< XMLPropertyState >& rProperties ) +{ + return pImpl->Add( nFamily, rParent, rProperties, sal_True ); +} + +OUString SvXMLAutoStylePoolP::AddAndCache( sal_Int32 nFamily, + const OUString& rParent ) +{ + return pImpl->AddToCache( nFamily, rParent ); +} + OUString SvXMLAutoStylePoolP::Find( sal_Int32 nFamily, const vector< XMLPropertyState >& rProperties ) const { @@ -289,6 +309,12 @@ OUString SvXMLAutoStylePoolP::Find( sal_Int32 nFamily, return pImpl->Find( nFamily, rParent, rProperties ); } +OUString SvXMLAutoStylePoolP::FindAndRemoveCached( sal_Int32 nFamily ) const +{ + return pImpl->FindAndRemoveCached( nFamily ); +} + + void SvXMLAutoStylePoolP::exportXML( sal_Int32 nFamily, const uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & rHandler, const SvXMLUnitConverter& rUnitConverter, |