diff options
author | Christian Lippka <cl@openoffice.org> | 2001-02-08 13:45:43 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2001-02-08 13:45:43 +0000 |
commit | c926c2727838584ed5ab870bbb97b8381c58700c (patch) | |
tree | d9bc37c9a8434d10fb18de5d5719a3719ee10413 /xmloff/source/draw/shapeimport.cxx | |
parent | 86ad6979ffcf609e22c06e741ecac2fc7826763e (diff) |
#83528# merging control styles with shape styles
Diffstat (limited to 'xmloff/source/draw/shapeimport.cxx')
-rw-r--r-- | xmloff/source/draw/shapeimport.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx index 28fcbe7177d5..eb961cb55b3b 100644 --- a/xmloff/source/draw/shapeimport.cxx +++ b/xmloff/source/draw/shapeimport.cxx @@ -2,9 +2,9 @@ * * $RCSfile: shapeimport.cxx,v $ * - * $Revision: 1.24 $ + * $Revision: 1.25 $ * - * last change: $Author: mh $ $Date: 2001-02-01 16:29:47 $ + * last change: $Author: cl $ $Date: 2001-02-08 14:45:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -120,9 +120,11 @@ using namespace ::com::sun::star; ////////////////////////////////////////////////////////////////////////////// XMLShapeImportHelper::XMLShapeImportHelper( + SvXMLImport& rImporter, const uno::Reference< frame::XModel>& rModel, SvXMLImportPropertyMapper *pExtMapper ) : mxModel(rModel), + mrImporter( rImporter ), mpPropertySetMapper(0L), mpPresPagePropsMapper(0L), mpStylesContext(0L), @@ -174,6 +176,12 @@ XMLShapeImportHelper::XMLShapeImportHelper( // chain text attributes mpPropertySetMapper->ChainImportMapper(XMLTextImportHelper::CreateCharExtPropMapper()); +/* + // chain form attributes + const UniReference< SvXMLImportPropertyMapper> xFormMapper( rImporter.GetFormImport()->getStylePropertyMapper().getBodyPtr() ); + mpPropertySetMapper->ChainImportMapper(xFormMapper); +*/ + // construct PresPagePropsMapper xMapper = new XMLPropertySetMapper((XMLPropertyMapEntry*)aXMLSDPresPageProps, mpSdPropHdlFactory); mpPresPagePropsMapper = new SvXMLImportPropertyMapper( xMapper ); |