diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-17 15:03:18 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-17 15:03:18 +0000 |
commit | 095cbe48a9087fd4bbdfe0c42937634c8818bc4f (patch) | |
tree | 81bccdfdf84e34b75ddfcf4e6f74a104c427157d /sw/inc/pam.hxx | |
parent | ac76c84cc67c7d0540e190719f180f91171dc6e9 (diff) |
INTEGRATION: CWS sw011 (1.5.158); FILE MERGED
2003/04/11 10:38:23 hbrinkm 1.5.158.1: #108536# SwPaM::Normalize
Diffstat (limited to 'sw/inc/pam.hxx')
-rw-r--r-- | sw/inc/pam.hxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sw/inc/pam.hxx b/sw/inc/pam.hxx index 29ae5f6c3038..895d5093f3cc 100644 --- a/sw/inc/pam.hxx +++ b/sw/inc/pam.hxx @@ -2,9 +2,9 @@ * * $RCSfile: pam.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jp $ $Date: 2002-02-01 12:33:23 $ + * last change: $Author: vg $ $Date: 2003-04-17 16:03:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -245,6 +245,14 @@ public: return ( bPoint ? pPoint->nNode : pMark->nNode ).GetNode().GetCntntNode(); } + /** + Normalizes PaM, i.e. sort point and mark. + + @param bPointFirst TRUE: If the point is behind the mark then swap. + FALSE: If the mark is behind the point then swap. + */ + SwPaM & Normalize(BOOL bPointFirst = TRUE); + // erfrage vom SwPaM das Dokument, in dem er angemeldet ist SwDoc* GetDoc() const { return pPoint->nNode.GetNode().GetDoc(); } SwPosition& GetBound( BOOL bOne = TRUE ) |