From 655069412a11c6397e9655230667c44ce4940bcb Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Mon, 23 Aug 2004 07:37:38 +0000 Subject: INTEGRATION: CWS tune03 (1.9.70); FILE MERGED 2004/07/19 19:10:40 mhu 1.9.70.1: #i29979# Added SW_DLLPUBLIC/PRIVATE (see swdllapi.h) to exported symbols/classes. --- sw/inc/pam.hxx | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) (limited to 'sw/inc/pam.hxx') diff --git a/sw/inc/pam.hxx b/sw/inc/pam.hxx index 2bdb97481149..68102651da23 100644 --- a/sw/inc/pam.hxx +++ b/sw/inc/pam.hxx @@ -2,9 +2,9 @@ * * $RCSfile: pam.hxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: kz $ $Date: 2004-05-18 13:58:25 $ + * last change: $Author: rt $ $Date: 2004-08-23 08:37:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -82,6 +82,9 @@ #include // fuer SwNodeIndex #endif +#ifndef INCLUDED_SWDLLAPI_H +#include "swdllapi.h" +#endif class SwFmt; class SfxPoolItem; @@ -108,8 +111,8 @@ struct SwPosition SwPosition( const SwNode& rNode ); SwPosition( const SwNodeIndex &rNode ); SwPosition( const SwNodeIndex &rNode, const SwIndex &rCntnt ); - SwPosition( const SwPosition & ); + SwPosition( const SwPosition & ); SwPosition &operator=(const SwPosition &); // #111827# @@ -153,10 +156,17 @@ SwComparePosition ComparePosition( // SwPointAndMark / SwPaM struct SwMoveFnCollection; typedef SwMoveFnCollection* SwMoveFn; -extern SwMoveFn fnMoveForward, fnMoveBackward; +SW_DLLPUBLIC extern SwMoveFn fnMoveForward; // SwPam::Move()/Find() default argument. +extern SwMoveFn fnMoveBackward; typedef FASTBOOL (*SwGoInDoc)( SwPaM& rPam, SwMoveFn fnMove ); -extern SwGoInDoc fnGoDoc, fnGoSection, fnGoNode, fnGoCntnt, fnGoCntntCells, fnGoCntntSkipHidden, fnGoCntntCellsSkipHidden; +extern SwGoInDoc fnGoDoc; +extern SwGoInDoc fnGoSection; +extern SwGoInDoc fnGoNode; +SW_DLLPUBLIC extern SwGoInDoc fnGoCntnt; // SwPam::Move() default argument. +extern SwGoInDoc fnGoCntntCells; +extern SwGoInDoc fnGoCntntSkipHidden; +extern SwGoInDoc fnGoCntntCellsSkipHidden; void _InitPam(); @@ -173,7 +183,6 @@ class SwPaM : public Ring public: SwPaM( const SwPosition& rPos, SwPaM* pRing = 0 ); SwPaM( const SwPosition& rMk, const SwPosition& rPt, SwPaM* pRing = 0 ); - SwPaM( SwPaM & ); SwPaM( const SwNodeIndex& rMk, const SwNodeIndex& rPt, long nMkOffset = 0, long nPtOffset = 0, SwPaM* pRing = 0 ); SwPaM( const SwNode& rMk, const SwNode& rPt, @@ -186,6 +195,11 @@ public: SwPaM( const SwNodeIndex& rNd, xub_StrLen nCntnt = 0, SwPaM* pRing = 0 ); virtual ~SwPaM(); + // @@@ semantic: no copy ctor. + SwPaM( SwPaM & ); + // @@@ semantic: no copy assignment for super class Ring. + SwPaM& operator=( const SwPaM & ); + // Bewegen des Cursors FASTBOOL Move( SwMoveFn fnMove = fnMoveForward, SwGoInDoc fnGo = fnGoCntnt ); @@ -245,8 +259,6 @@ public: SwPosition *End() { return (*pPoint) > (*pMark)? pPoint: pMark; } - SwPaM& operator=( SwPaM & ); - // erfrage vom SwPaM den aktuellen Node/ContentNode am SPoint / Mark SwNode* GetNode( BOOL bPoint = TRUE ) const { -- cgit