summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2001-08-21 11:56:17 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2001-08-21 11:56:17 +0000
commita4b01fca63a5278aea41479ff325cbe84e9e3ed1 (patch)
tree08726b01f0bf7965161032ea6457fc1509fb67d6 /sw/inc
parent7a33966ef1463bdefbc010d366a51da9efa46953 (diff)
#86004# performance improvements for table export
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/unoport.hxx10
-rw-r--r--sw/inc/unotbl.hxx9
2 files changed, 11 insertions, 8 deletions
diff --git a/sw/inc/unoport.hxx b/sw/inc/unoport.hxx
index 8e558c70b349..008efb2cf18f 100644
--- a/sw/inc/unoport.hxx
+++ b/sw/inc/unoport.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoport.hxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: os $ $Date: 2001-07-04 07:31:58 $
+ * last change: $Author: dvo $ $Date: 2001-08-21 12:56:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -173,8 +173,8 @@ protected:
::com::sun::star::uno::Any *pValues,
sal_Int32 nLength );
public:
- SwXTextPortion(const SwUnoCrsr* pPortionCrsr, ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > xParent, SwTextPortionType eType );
- SwXTextPortion(const SwUnoCrsr* pPortionCrsr, ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > xParent, SwFrmFmt& rFmt );
+ SwXTextPortion(const SwUnoCrsr* pPortionCrsr, ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > & rParent, SwTextPortionType eType );
+ SwXTextPortion(const SwUnoCrsr* pPortionCrsr, ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > & rParent, SwFrmFmt& rFmt );
virtual ~SwXTextPortion();
//XTextRange
@@ -264,7 +264,7 @@ class SwXRubyPortion : public SwXTextPortion
public:
SwXRubyPortion(const SwUnoCrsr* pPortionCrsr,
SwTxtRuby& rAttr,
- ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > xParent,
+ ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > & rParent,
sal_Bool bEnd );
~SwXRubyPortion();
};
diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index e8040a12ec02..c0563f88f2c3 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unotbl.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: mib $ $Date: 2001-06-12 07:15:52 $
+ * last change: $Author: dvo $ $Date: 2001-08-21 12:56:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -130,6 +130,9 @@ class SwXCell : public SwXCellBaseClass,
SwTableBox* pBox; // only set in non-XML import
const SwStartNode* pStartNode; // only set in XML import
+ // table position where pBox was found last
+ sal_uInt16 nFndPos;
+
protected:
virtual const SwStartNode *GetStartNode() const;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextCursor > createCursor();
@@ -193,7 +196,7 @@ public:
SwTableBox* GetTblBox()const {return pBox;}
static SwXCell* CreateXCell(SwFrmFmt* pTblFmt, SwTableBox* pBox, const String* pCellName = 0);
- static SwTableBox* FindBox(SwTable* pTable, SwTableBox* pBox);
+ SwTableBox* FindBox(SwTable* pTable, SwTableBox* pBox);
SwFrmFmt* GetFrmFmt() const { return (SwFrmFmt*)GetRegisteredIn(); }
};