diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-07-05 09:55:04 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-07-05 09:55:04 +0000 |
commit | 8dfa04996611acc861905db92cd234323e9fdf71 (patch) | |
tree | 7705f2b7ec946803cfe6cc3c07ff90add6b698bb /xmloff/source/chart/SchXMLChartContext.hxx | |
parent | 5dbe96fb0e1c615ca0bf8300609b2b39c8cc5cb8 (diff) |
INTEGRATION: CWS sch10 (1.11.602); FILE MERGED
2005/06/30 09:50:16 bm 1.11.602.1: #i51307# set size/position and 3d scene properties only if necessary, i.e. when respective attributes have been read
Diffstat (limited to 'xmloff/source/chart/SchXMLChartContext.hxx')
-rw-r--r-- | xmloff/source/chart/SchXMLChartContext.hxx | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/xmloff/source/chart/SchXMLChartContext.hxx b/xmloff/source/chart/SchXMLChartContext.hxx index d9156f1f211c..356f765ca7ec 100644 --- a/xmloff/source/chart/SchXMLChartContext.hxx +++ b/xmloff/source/chart/SchXMLChartContext.hxx @@ -2,9 +2,9 @@ * * $RCSfile: SchXMLChartContext.hxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: bm $ $Date: 2001-10-23 10:02:41 $ + * last change: $Author: obo $ $Date: 2005-07-05 10:55:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -103,6 +103,10 @@ private: ::rtl::OUString maMainTitle, maSubTitle; com::sun::star::awt::Point maMainTitlePos, maSubTitlePos, maLegendPos; + // #i51307# only set actual positions if the svg:x/y attributes have been read + bool mbSetMainTitlePos; + bool mbSetSubTitlePos; + bool mbSetLegendPos; sal_Bool mbHasOwnTable; sal_Bool mbHasLegend; @@ -158,13 +162,15 @@ private: com::sun::star::uno::Reference< com::sun::star::drawing::XShape > mxTitleShape; rtl::OUString msAutoStyleName; com::sun::star::awt::Point& mrPosition; + bool & mrSetPosition; public: SchXMLTitleContext( SchXMLImportHelper& rImpHelper, SvXMLImport& rImport, const rtl::OUString& rLocalName, rtl::OUString& rTitle, com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& xTitleShape, - com::sun::star::awt::Point& rPosition ); + com::sun::star::awt::Point& rPosition, + bool & rSetPosition ); virtual ~SchXMLTitleContext(); virtual void StartElement( const com::sun::star::uno::Reference< @@ -182,11 +188,13 @@ class SchXMLLegendContext : public SvXMLImportContext private: SchXMLImportHelper& mrImportHelper; com::sun::star::awt::Point& mrPosition; + bool & mrSetPosition; public: SchXMLLegendContext( SchXMLImportHelper& rImpHelper, SvXMLImport& rImport, const rtl::OUString& rLocalName, - com::sun::star::awt::Point& rPosition ); + com::sun::star::awt::Point& rPosition, + bool & rSetPosition ); virtual ~SchXMLLegendContext(); virtual void StartElement( const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList >& xAttrList ); |