summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLTableShapeImportHelper.hxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2000-11-15 12:58:43 +0000
committerSascha Ballach <sab@openoffice.org>2000-11-15 12:58:43 +0000
commit257fa58ce3b1a5d1b7d116c6c9bdafe5402e496c (patch)
treed98504863fb9a119cbb36b0936da1a2851e68e03 /sc/source/filter/xml/XMLTableShapeImportHelper.hxx
parent80f3188732a538d80d395d25f2d032614761c13a (diff)
make the import of shapes with a end position possible
Diffstat (limited to 'sc/source/filter/xml/XMLTableShapeImportHelper.hxx')
-rw-r--r--sc/source/filter/xml/XMLTableShapeImportHelper.hxx21
1 files changed, 9 insertions, 12 deletions
diff --git a/sc/source/filter/xml/XMLTableShapeImportHelper.hxx b/sc/source/filter/xml/XMLTableShapeImportHelper.hxx
index 15a167cde0ec..6c7a46d7472e 100644
--- a/sc/source/filter/xml/XMLTableShapeImportHelper.hxx
+++ b/sc/source/filter/xml/XMLTableShapeImportHelper.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLTableShapeImportHelper.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: sab $ $Date: 2000-11-14 18:30:44 $
+ * last change: $Author: sab $ $Date: 2000-11-15 13:58:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -76,23 +76,20 @@ class XMLTableShapeImportHelper : public XMLShapeImportHelper
{
ScXMLImport& rImport;
- ::com::sun::star::awt::Point* pPoint;
+ ::com::sun::star::awt::Point aRefPoint;
sal_Bool bOnTable;
public:
XMLTableShapeImportHelper( ScXMLImport& rImp );
~XMLTableShapeImportHelper();
- virtual void addShape(
- ::com::sun::star::uno::Reference<
- ::com::sun::star::drawing::XShape >& rShape,
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::xml::sax::XAttributeList >& xAttrList,
- ::com::sun::star::uno::Reference<
- ::com::sun::star::drawing::XShapes >& rShapes );
+ virtual void finishShape(com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& rShape,
+ const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList >& xAttrList,
+ com::sun::star::uno::Reference< com::sun::star::drawing::XShapes >& rShapes);
- void SetPoint (::com::sun::star::awt::Point* pTempPoint) { pPoint = pTempPoint; }
- void SetOnTable (sal_Bool bTempOnTable) { bOnTable = bTempOnTable; }
+
+ void SetPoint (const ::com::sun::star::awt::Point& aPoint) { aRefPoint = aPoint; }
+ void SetOnTable (const sal_Bool bTempOnTable) { bOnTable = bTempOnTable; }
};
#endif