Files
libreoffice/sw/inc/node.hxx

750 lines
24 KiB
C++
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2000-09-18 16:15:01 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2000-09-18 16:15:01 +00:00
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
2000-09-18 16:15:01 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
2000-09-18 16:15:01 +00:00
*
* This file is part of OpenOffice.org.
2000-09-18 16:15:01 +00:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
2000-09-18 16:15:01 +00:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
2000-09-18 16:15:01 +00:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
2000-09-18 16:15:01 +00:00
*
************************************************************************/
#ifndef SW_NODE_HXX
#define SW_NODE_HXX
#include <vector>
#include <boost/utility.hpp>
#include <boost/shared_ptr.hpp>
2000-09-18 16:15:01 +00:00
#include <tools/mempool.hxx>
#include <tools/gen.hxx>
#include "swdllapi.h"
2000-09-18 16:15:01 +00:00
#include <ndarr.hxx>
#include <ndtyp.hxx>
#include <index.hxx>
#include <fmtcol.hxx>
2000-09-18 16:15:01 +00:00
// ---------------------
// forward declarations
2000-09-18 16:15:01 +00:00
// ---------------------
class SvUShorts;
class SwCntntFrm;
class SwCntntNode;
class SwDoc;
class SwEndNode;
class SwFrm;
class SwFrmFmt;
class SwGrfNode;
class SwNoTxtNode;
class SwNodeIndex;
class SwOLENode;
class SwRect;
class SwSection;
class SwSectionFmt;
class SwTOXBase;
2000-09-18 16:15:01 +00:00
class SwSectionNode;
class SwStartNode;
class SwTabFrm;
class SwRootFrm;
2000-09-18 16:15:01 +00:00
class SwTable;
class SwTableNode;
class SwTableBox;
class SwTxtNode;
class SwPageDesc;
class ViewShell;
struct SwPosition;
class IStyleAccess;
INTEGRATION: CWS writercorehandoff (1.12.140); FILE MERGED 2006/07/31 06:20:58 fme 1.12.140.18: #i50348# Resync 2006/07/27 14:34:16 fme 1.12.140.17: RESYNC: (1.14-1.15); FILE MERGED 2006/05/09 10:06:39 fme 1.12.140.16: #i50348# make SwDoc accessible via interfaces 2006/05/08 10:40:27 fme 1.12.140.15: #i50348# Make SwDoc accessible via interfaces 2006/01/20 09:16:34 fme 1.12.140.14: #i50348# General cleanup - removed unused header files, functions, members, declarations 2006/01/19 08:42:53 fme 1.12.140.13: #i50348# General cleanup - removed unused header files, functions, members, declarations 2005/12/20 15:02:15 tra 1.12.140.12: RESYNC: (1.13-1.14); FILE MERGED 2005/11/18 14:52:01 fme 1.12.140.11: #i50348# Make SwDoc accessible via interfaces 2005/11/11 07:54:40 fme 1.12.140.10: #i50348# make SwDoc accessible via interfaces 2005/11/10 21:32:45 tra 1.12.140.9: #i50348# 2005/09/13 11:41:16 tra 1.12.140.8: RESYNC: (1.12-1.13); FILE MERGED 2005/07/19 06:05:20 fme 1.12.140.7: #i50348# make SwDoc accessible via interfaces 2005/07/13 13:23:43 fme 1.12.140.6: #i50348# Make SwDoc accessible via interfaces 2005/07/05 08:12:33 tra 1.12.140.5: #i50348#make SwDoc interface based 2005/06/24 11:42:36 fme 1.12.140.4: #i50348# Make SwDoc accessible via interfaces 2005/06/22 13:08:11 tra 1.12.140.3: #i50348#toward a interface based SwDoc 2005/06/22 06:37:40 tra 1.12.140.2: #i50348# make SwDoc accessible via interfaces 2005/06/07 14:10:09 fme 1.12.140.1: #i50348# General cleanup - removed unused header files, functions, members, declarations etc.
2006-08-14 14:28:28 +00:00
class IDocumentSettingAccess;
class IDocumentDeviceAccess;
CWS-TOOLING: integrate CWS swrefactormarks2 2009-04-09 12:51:41 +0200 b_michaelsen r270689 : #i94949# cleaned up assertions after rebasing 2009-04-08 17:37:08 +0200 b_michaelsen r270658 : fixing sw/source/ui/utlui/makefile.mk 2009-04-07 17:56:54 +0200 b_michaelsen r270606 : added bookctrl.cxx to EXCEPTIONFILES, because this is needed for stl on unxsols4 2009-04-07 17:05:20 +0200 b_michaelsen r270603 : added crbm.cxx to EXCEPTIONFILES, because this is needed for stl on unxsols4 2009-04-02 23:44:38 +0200 b_michaelsen r270436 : CWS-TOOLING: rebase CWS swrefactormarks2 to trunk@270033 (milestone: DEV300:m45) 2009-02-27 16:25:31 +0100 b_michaelsen r268606 : #i94949# fixed Windows buildbreaker 2009-02-25 18:01:13 +0100 b_michaelsen r268464 : #i94949# Bookmarktest document filter roundtrips 2009-02-24 18:23:55 +0100 b_michaelsen r268404 : #i94949# Bookmark unittests 2009-02-23 19:47:44 +0100 b_michaelsen r268370 : #i94949# added unittest for bookmarks 2009-02-23 12:22:07 +0100 b_michaelsen r268348 : #i94949# fixing CheckCrossReferences testcase 2009-02-20 18:12:50 +0100 b_michaelsen r268335 : #i94949# fixing SwXTextRange 2009-02-18 18:32:57 +0100 b_michaelsen r268252 : #i94949# deregistering DdeBookmarks on delete 2009-02-18 18:29:08 +0100 b_michaelsen r268251 : fixing dbgoutsw.cxx for debug builds 2009-02-16 18:42:43 +0100 b_michaelsen r267834 : CWS-TOOLING: rebase CWS swrefactormarks2 to trunk@267171 (milestone: DEV300:m41) 2009-02-12 15:32:02 +0100 b_michaelsen r267667 : #i94949 fixed crossrefbookmark naming 2009-02-11 18:30:08 +0100 b_michaelsen r267624 : #94949# fixing bookmark navigation 2009-02-11 13:55:26 +0100 b_michaelsen r267599 : #i94949# fixed bookmark naming 2009-02-10 17:53:05 +0100 b_michaelsen r267571 : #i94949# renamed HasOtherMarkPos to IsExpanded 2009-02-10 17:23:01 +0100 b_michaelsen r267564 : #i94949# renamed ::sw::bookmark namespace to more fitting ::sw::mark 2009-02-10 16:16:32 +0100 b_michaelsen r267553 : #i94949# creating only CrossRefBookmark per Txtnode 2009-02-10 12:14:05 +0100 b_michaelsen r267547 : #i94949# fixed bookmark count in navigator 2009-02-09 19:12:18 +0100 b_michaelsen r267532 : #i94949# lcl_CopyBookmarks(..) - handle marks on boundaries correctly 2009-02-09 17:32:45 +0100 b_michaelsen r267524 : #i94949# setting the refobject of the DdeBookmark in Sin SwServerObject::SetDdeBookmark(..) 2009-02-09 17:22:15 +0100 b_michaelsen r267523 : #i94949# trying to harden SwServerObject 2009-02-09 16:47:32 +0100 b_michaelsen r267521 : #i94949# lcl_CopyBookmarks(..): try to get the source mark name, if possible 2009-02-09 16:05:42 +0100 b_michaelsen r267519 : #i94949# clearing the OtherMarkPos if PaM has no mark in repositionMark(..), swapping inverted bookmarks without hissing an assertion 2009-02-09 15:55:38 +0100 b_michaelsen r267518 : #i94949# checking for out-of-bounds in SwView::ExecuteStatusLine(..) 2009-02-09 15:23:47 +0100 b_michaelsen r267517 : #i94949# using an UNO_BOOKMARK in ui/dbui/dbinsdlg.cxx 2009-02-09 14:14:47 +0100 b_michaelsen r267514 : #i94949# IDocumentMarkAccess::GetType(..) asserts on unknown type 2009-02-09 14:04:25 +0100 b_michaelsen r267513 : #i94949# using rtl strings instead of tools-strings in CrossRefBookmarks 2009-02-09 13:55:01 +0100 b_michaelsen r267510 : #i94949# using empty string for UnoMark construction 2009-02-09 13:46:46 +0100 b_michaelsen r267509 : #i94949# removed superfluous #includes, removed superfluous member DdeBookmark::bGenerateName, initialized DdeBookmark::m_aRefObj removed superfluous local _FindItem::ClearObj 2009-02-06 14:38:37 +0100 b_michaelsen r267462 : #i94949# fixing FN_STAT_BOOKMARK dispatches 2009-02-05 18:05:07 +0100 b_michaelsen r267436 : #i94949# removing superfluous #includes 2009-02-04 15:51:31 +0100 b_michaelsen r267391 : fixing resync merge error 2009-02-02 19:39:55 +0100 b_michaelsen r267294 : #i94949# bookmark performance 2009-01-30 19:30:51 +0100 b_michaelsen r267229 : #i94949# throwing IllegalArgumentException, if appropriate 2009-01-30 19:29:56 +0100 b_michaelsen r267228 : #i94949# refactored lcl_FillBookmarkArray, comments, constness 2009-01-30 19:23:49 +0100 b_michaelsen r267227 : #i94949# refactored lcl_FillBookmarkArray, comments, constness 2009-01-30 19:16:06 +0100 b_michaelsen r267226 : #i94949# refactored lcl_FillBookmarkArray 2009-01-30 17:59:27 +0100 b_michaelsen r267222 : #i94949# removed superficial #include 2009-01-30 17:50:02 +0100 b_michaelsen r267220 : #i94949# SwXTextRange remembers its UNO bookmark 2009-01-29 20:19:58 +0100 b_michaelsen r267168 : #i94949# implemented IDocumentMarkAccess::findBookmark 2009-01-29 17:22:17 +0100 b_michaelsen r267162 : #i94949# implemented renameMark in Markmanager 2009-01-29 14:17:10 +0100 b_michaelsen r267134 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 13:21:54 +0100 b_michaelsen r267125 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 13:06:10 +0100 b_michaelsen r267120 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 13:00:09 +0100 b_michaelsen r267118 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 10:35:10 +0100 b_michaelsen r267101 : #i94949# renamed SetCrsrToBkmk to SetCrsrToMark, moving to start/end of doc if no more bookmarks can be found 2009-01-28 17:05:36 +0100 b_michaelsen r267070 : #i94949# fixed order in aProvNamesId in unocoll.cxx 2009-01-28 15:46:13 +0100 b_michaelsen r267063 : #i94949# documentation 2009-01-28 15:36:59 +0100 b_michaelsen r267062 : #i94949# removing superficial #include 2009-01-28 15:30:36 +0100 b_michaelsen r267061 : #i94949# basic code conventions 2009-01-28 11:14:30 +0100 b_michaelsen r267039 : #i94949# comparing to the actual name of the new mark 2009-01-26 15:22:25 +0100 b_michaelsen r266927 : #i94949# performance fixes 2009-01-14 21:16:56 +0100 b_michaelsen r266332 : #i94949# fixing linux x86-64 compiler warnings 2009-01-14 19:52:06 +0100 b_michaelsen r266331 : #i94949# fixing some compiler warnings 2008-12-15 13:04:49 +0100 b_michaelsen r265474 : #i94949# fixed microsoft compiler warnings 2008-12-12 18:26:02 +0100 b_michaelsen r265434 : #i94949# fixed pro platform buildbreakers 2008-12-11 17:51:24 +0100 b_michaelsen r265342 : CWS-TOOLING: rebase CWS swrefactormarks2 to trunk@264807 (milestone: DEV300:m37) 2008-12-09 18:30:59 +0100 b_michaelsen r265134 : #i94949# fixed IDocumentMarkAccess::GetType for new mark inheritance tree 2008-12-09 16:56:26 +0100 b_michaelsen r265118 : #i94949# fixed deleteMark optimization 2008-12-09 14:55:58 +0100 b_michaelsen r265092 : #i94949# DdeLink and DdeBookmark 2008-12-05 18:28:05 +0100 b_michaelsen r264914 : #i94949# fixed InitDoc in bookmarks 2008-12-02 02:23:51 +0100 b_michaelsen r264649 : #i94949# removed obsolete naming proposal code in SwXTextRange, fixed navigator reminders to forget the oldest reminder when the pool is empty 2008-12-02 02:05:19 +0100 b_michaelsen r264648 : #i94949# using bisect search for delete 2008-12-02 01:58:16 +0100 b_michaelsen r264647 : #i94949# using bisect search for delete 2008-12-02 01:37:33 +0100 b_michaelsen r264646 : #i94949# using bisect search for delete 2008-12-02 01:03:29 +0100 b_michaelsen r264645 : #i94949# fixed deleteMark crash 2008-12-01 20:55:00 +0100 b_michaelsen r264638 : #i94949# removed crossrefs from ui enumerations 2008-12-01 15:48:12 +0100 b_michaelsen r264613 : #i94949# removed superfluous local functions 2008-12-01 15:01:19 +0100 b_michaelsen r264608 : #i94949# optimized insertion of new marks 2008-12-01 14:33:21 +0100 b_michaelsen r264603 : #i94949# simplified code finding Fieldmark for a position 2008-12-01 14:05:55 +0100 b_michaelsen r264598 : #i94949# fixed reverse travelling through marks, removed obsolete getUniqueMarkName() 2008-11-27 18:48:15 +0100 b_michaelsen r264515 : #i94949# fixed _SaveCntntIdx and friends 2008-11-27 15:59:49 +0100 b_michaelsen r264500 : #i94949# fix Mark position only in ctor 2008-11-27 15:52:28 +0100 b_michaelsen r264497 : #i94949# fixed Bug in SwXBookmark, was using pDoc too early 2008-11-26 14:54:22 +0100 b_michaelsen r264396 : #i94949# fixed documentation, simplified navigator reminder code 2008-11-24 20:45:51 +0100 b_michaelsen r264266 : #i94949# removed last obsolete getUniqueMarkName calls 2008-11-24 20:21:35 +0100 b_michaelsen r264265 : #i94949# fixed typo in IDocumentMarkAccess, removed obsolete getUniqueMarkName calls 2008-11-24 18:34:32 +0100 b_michaelsen r264264 : #i94949# repositioning of Marks, removed possibility to delete marks by name in the core, refactoring of navigator reminder generation 2008-11-21 14:08:49 +0100 b_michaelsen r264137 : #i94949# simplified makeMark 2008-11-21 12:07:09 +0100 b_michaelsen r264120 : #i94949# moved ShortName and KeyCode from IMark to IBookmark 2008-11-19 12:50:49 +0100 b_michaelsen r263981 : #i94949# starting refactoring of bookmark naming 2008-11-19 11:31:08 +0100 b_michaelsen r263972 : #i94949# getting rid of obsolete dynamic casts 2008-11-18 19:06:09 +0100 b_michaelsen r263795 : #i94949# getting rid of index based mark access, IDocumentMarkAccess already provides iterators 2008-11-18 17:50:18 +0100 b_michaelsen r263792 : #i94949# getting rid of index based mark access, IDocumentMarkAccess already provides iterators 2008-11-18 16:48:20 +0100 b_michaelsen r263783 : #i94949# removed methods from crsrsh which are already available directly via IDocumentMarkAccess 2008-11-18 11:31:35 +0100 b_michaelsen r263753 : #i94949# cleaning up mark code in crsrsh 2008-11-17 10:15:25 +0100 b_michaelsen r263705 : #i94949# removed possible integer overflow 2008-11-14 18:48:45 +0100 b_michaelsen r263695 : #i94949# management of mark names in MarkManager 2008-11-14 18:23:40 +0100 b_michaelsen r263693 : #i94949# using polymorphism to do mark-specific setup in SwDoc 2008-11-14 16:27:09 +0100 b_michaelsen r263684 : #i94949# got rid of makeCrossRefBookmark 2008-11-14 13:03:32 +0100 b_michaelsen r263674 : #i94949# refactored Correction methods 2008-11-13 12:27:55 +0100 b_michaelsen r263631 : #i94949# got rid of old-style tools assertions in new code 2008-11-12 16:58:16 +0100 b_michaelsen r263608 : #i94949# added assertion for unique names 2008-11-12 16:55:18 +0100 b_michaelsen r263607 : #i94949# maked XFormField deprecated 2008-11-12 13:04:29 +0100 b_michaelsen r263587 : #i94949# replaced IDocumentMarkAccess::GetType with simple dynamic_cast where possible 2008-11-11 18:45:53 +0100 b_michaelsen r263572 : #i94949# cleaned up SwHstryBookmark 2008-11-11 13:48:18 +0100 b_michaelsen r263557 : #i94949# removed dynamic_casts to SwModify by inheriting IMark from it 2008-11-11 11:26:28 +0100 b_michaelsen r263548 : #i94949# fixed SwXBookmark 2008-11-10 17:01:19 +0100 b_michaelsen r263529 : #i94949# fixed DdeBookmarks in clipboard 2008-11-10 16:44:52 +0100 b_michaelsen r263527 : #i94949# formatting 2008-11-10 16:29:16 +0100 b_michaelsen r263526 : #i94949# fixing unoobj.cxx 2008-11-10 16:23:50 +0100 b_michaelsen r263525 : #i94949# cleaning up crossrefbookmark.cxx/.hxx 2008-11-10 16:02:08 +0100 b_michaelsen r263524 : #i94949# Pdf Export should only generate 'real' bookmarks 2008-11-10 15:33:58 +0100 b_michaelsen r263521 : #i94949# removed const_casts 2008-11-10 15:12:06 +0100 b_michaelsen r263520 : #i94949# moved _DelBookmarks into MarksManager 2008-11-07 18:48:38 +0100 b_michaelsen r263480 : #i94949# using iterator interface 2008-11-07 18:41:46 +0100 b_michaelsen r263478 : #i94949# using iterator interface 2008-11-07 18:07:41 +0100 b_michaelsen r263477 : #i94949# using iterator interface 2008-11-07 17:54:41 +0100 b_michaelsen r263476 : #i94949# using iterator interface 2008-11-07 17:44:41 +0100 b_michaelsen r263475 : #i94949# moved correction methods into MarkManager 2008-11-06 18:47:28 +0100 b_michaelsen r263404 : #i94949# getting rid of superfluous const_casts 2008-11-06 17:58:01 +0100 b_michaelsen r263403 : #i94949# no more setting of mark positions outside of the core 2008-11-06 17:08:37 +0100 b_michaelsen r263401 : #i94949# removed setters from IMark 2008-11-06 13:55:25 +0100 b_michaelsen r263383 : #i94949 SwDoc does not implement IDocumentMarkAccess anymore 2008-11-04 18:17:03 +0100 b_michaelsen r263333 : #i94949# began removing IDocumentMarkAccess from SwDoc 2008-11-04 16:48:34 +0100 b_michaelsen r263330 : removing dead code (SwBitArray) found by mst 2008-11-04 16:29:32 +0100 b_michaelsen r263329 : removing dead code (SwBitArray) found by mst 2008-11-04 14:57:48 +0100 b_michaelsen r263326 : removing dead code (SwBitArray) found by mst 2008-11-04 14:50:18 +0100 b_michaelsen r263325 : #i94949# stricter typing in IDocumentMarkAccess 2008-10-24 15:16:27 +0200 b_michaelsen r262647 : #i94949# renamed ::sw::bookmark::SimpleMark to NavigatorReminder to fit the IDocumentMarkAccess enum 2008-10-24 15:10:10 +0200 b_michaelsen r262646 : #i94949# only 'real' bookmark implement IBookmark, Marks also get removed from m_vFieldmarks on delete/clear 2008-10-24 13:06:23 +0200 b_michaelsen r262636 : #i94949# Fieldmark tabnavigation 2008-10-23 12:16:36 +0200 b_michaelsen r262619 : #i94949# Fieldmark classes and filters 2008-10-22 13:17:18 +0200 b_michaelsen r262597 : #i94949# writer import fixes 2008-10-21 11:30:38 +0200 b_michaelsen r262565 : #i94949# renamed methods containing Bookmark in the generic IMark interface 2008-10-20 14:09:02 +0200 b_michaelsen r262318 : #i94949# fixed SwDoc::CorrRel 2008-10-16 22:45:13 +0200 b_michaelsen r262273 : #i94949 simplified Before/After methods 2008-10-16 21:40:57 +0200 b_michaelsen r262271 : #i94949 renamed SimpleMark to NavigatorReminder 2008-10-16 21:15:23 +0200 b_michaelsen r262270 : #i94949 using shared_ptr only in MarkManager 2008-10-16 17:46:37 +0200 b_michaelsen r262269 : #i94949# getFieldmarkBefore and getFieldmarkAfter 2008-10-16 17:12:13 +0200 b_michaelsen r262265 : #i94949# cleanup in crbm.cxx 2008-10-16 12:49:01 +0200 b_michaelsen r262257 : #i94949# fixed usage of invalid iterator, fixed invalid cast 2008-10-15 15:34:20 +0200 b_michaelsen r262239 : #i94949# added moved files 2008-10-15 15:26:45 +0200 b_michaelsen r262237 : #i94949# initial reimplementation of Bookmarks
2009-04-21 15:40:02 +00:00
class IDocumentMarkAccess;
INTEGRATION: CWS writercorehandoff (1.12.140); FILE MERGED 2006/07/31 06:20:58 fme 1.12.140.18: #i50348# Resync 2006/07/27 14:34:16 fme 1.12.140.17: RESYNC: (1.14-1.15); FILE MERGED 2006/05/09 10:06:39 fme 1.12.140.16: #i50348# make SwDoc accessible via interfaces 2006/05/08 10:40:27 fme 1.12.140.15: #i50348# Make SwDoc accessible via interfaces 2006/01/20 09:16:34 fme 1.12.140.14: #i50348# General cleanup - removed unused header files, functions, members, declarations 2006/01/19 08:42:53 fme 1.12.140.13: #i50348# General cleanup - removed unused header files, functions, members, declarations 2005/12/20 15:02:15 tra 1.12.140.12: RESYNC: (1.13-1.14); FILE MERGED 2005/11/18 14:52:01 fme 1.12.140.11: #i50348# Make SwDoc accessible via interfaces 2005/11/11 07:54:40 fme 1.12.140.10: #i50348# make SwDoc accessible via interfaces 2005/11/10 21:32:45 tra 1.12.140.9: #i50348# 2005/09/13 11:41:16 tra 1.12.140.8: RESYNC: (1.12-1.13); FILE MERGED 2005/07/19 06:05:20 fme 1.12.140.7: #i50348# make SwDoc accessible via interfaces 2005/07/13 13:23:43 fme 1.12.140.6: #i50348# Make SwDoc accessible via interfaces 2005/07/05 08:12:33 tra 1.12.140.5: #i50348#make SwDoc interface based 2005/06/24 11:42:36 fme 1.12.140.4: #i50348# Make SwDoc accessible via interfaces 2005/06/22 13:08:11 tra 1.12.140.3: #i50348#toward a interface based SwDoc 2005/06/22 06:37:40 tra 1.12.140.2: #i50348# make SwDoc accessible via interfaces 2005/06/07 14:10:09 fme 1.12.140.1: #i50348# General cleanup - removed unused header files, functions, members, declarations etc.
2006-08-14 14:28:28 +00:00
class IDocumentRedlineAccess;
class IDocumentStylePoolAccess;
class IDocumentLineNumberAccess;
class IDocumentLinksAdministration;
class IDocumentFieldsAccess;
class IDocumentContentOperations;
class IDocumentListItems;
class SwOLENodes;
2000-09-18 16:15:01 +00:00
// --------------------
// class SwNode
// --------------------
class SW_DLLPUBLIC SwNode : private /* public*/ BigPtrEntry
2000-09-18 16:15:01 +00:00
{
friend class SwNodes;
#if OSL_DEBUG_LEVEL > 1
static long nSerial;
long nMySerial;
#endif
sal_uInt8 nNodeType;
2000-09-18 16:15:01 +00:00
2011-02-21 02:20:33 +01:00
// For text nodes: level of auto format. Was put here because we had still free bits.
sal_uInt8 nAFmtNumLvl : 3;
Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 Conflicts: starmath/inc/applicat.hxx starmath/inc/dialog.hxx starmath/inc/document.hxx starmath/inc/edit.hxx starmath/inc/format.hxx starmath/inc/node.hxx starmath/inc/parse.hxx starmath/inc/rect.hxx starmath/inc/smdll.hxx starmath/inc/smmod.hxx starmath/inc/starmath.hrc starmath/inc/symbol.hxx starmath/inc/toolbox.hxx starmath/inc/utility.hxx starmath/inc/view.hxx starmath/prj/build.lst starmath/qa/cppunit/version.map starmath/sdi/smslots.sdi starmath/source/accessibility.cxx starmath/source/cfgitem.cxx starmath/source/cfgitem.hxx starmath/source/config.cxx starmath/source/dialog.cxx starmath/source/document.cxx starmath/source/edit.cxx starmath/source/format.cxx starmath/source/makefile.mk starmath/source/math_pch.cxx starmath/source/mathmlexport.cxx starmath/source/mathmlimport.cxx starmath/source/mathtype.cxx starmath/source/node.cxx starmath/source/parse.cxx starmath/source/rect.cxx starmath/source/register.cxx starmath/source/smdetect.cxx starmath/source/smdll.cxx starmath/source/smmod.cxx starmath/source/smres.src starmath/source/symbol.cxx starmath/source/toolbox.cxx starmath/source/unomodel.cxx starmath/source/utility.cxx starmath/source/view.cxx sw/JunitTest_sw_unoapi.mk sw/Library_swd.mk sw/Makefile sw/inc/IDocumentFieldsAccess.hxx sw/inc/IDocumentSettingAccess.hxx sw/inc/IDocumentUndoRedo.hxx sw/inc/IShellCursorSupplier.hxx sw/inc/SwUndoField.hxx sw/inc/acmplwrd.hxx sw/inc/authfld.hxx sw/inc/bparr.hxx sw/inc/calbck.hxx sw/inc/calc.hxx sw/inc/ccoll.hxx sw/inc/cellatr.hxx sw/inc/cellfml.hxx sw/inc/chpfld.hxx sw/inc/cmdid.h sw/inc/crsrsh.hxx sw/inc/crstate.hxx sw/inc/dbfld.hxx sw/inc/dbmgr.hxx sw/inc/dcontact.hxx sw/inc/ddefld.hxx sw/inc/doc.hxx sw/inc/docary.hxx sw/inc/docsh.hxx sw/inc/docstat.hxx sw/inc/docstyle.hxx sw/inc/docufld.hxx sw/inc/editsh.hxx sw/inc/errhdl.hxx sw/inc/expfld.hxx sw/inc/fchrfmt.hxx sw/inc/fesh.hxx sw/inc/fldbas.hxx sw/inc/flddat.hxx sw/inc/flddropdown.hxx sw/inc/flypos.hxx sw/inc/fmtanchr.hxx sw/inc/fmtautofmt.hxx sw/inc/fmtclds.hxx sw/inc/fmtcnct.hxx sw/inc/fmtcol.hxx sw/inc/fmtfsize.hxx sw/inc/fmtftn.hxx sw/inc/fmtftntx.hxx sw/inc/fmthdft.hxx sw/inc/fmtinfmt.hxx sw/inc/fmtline.hxx sw/inc/fmtornt.hxx sw/inc/fmtpdsc.hxx sw/inc/fmtruby.hxx sw/inc/fmtsrnd.hxx sw/inc/fmturl.hxx sw/inc/fmtwrapinfluenceonobjpos.hxx sw/inc/format.hxx sw/inc/frmatr.hxx sw/inc/frmfmt.hxx sw/inc/grfatr.hxx sw/inc/helpid.h sw/inc/hintids.hxx sw/inc/hints.hxx sw/inc/htmltbl.hxx sw/inc/inetfld.hxx sw/inc/io.hxx sw/inc/iodetect.hxx sw/inc/itabenum.hxx sw/inc/ndarr.hxx sw/inc/ndgrf.hxx sw/inc/ndindex.hxx sw/inc/ndnotxt.hxx sw/inc/ndole.hxx sw/inc/ndtxt.hxx sw/inc/ndtyp.hxx sw/inc/node.hxx sw/inc/numrule.hxx sw/inc/pagedesc.hxx sw/inc/pagepreviewlayout.hxx sw/inc/pam.hxx sw/inc/paratr.hxx sw/inc/poolfmt.awk sw/inc/poolfmt.hxx sw/inc/printdata.hxx sw/inc/reffld.hxx sw/inc/shellio.hxx sw/inc/shellres.hxx sw/inc/swabstdlg.hxx sw/inc/swatrset.hxx sw/inc/swerror.h sw/inc/swprtopt.hxx sw/inc/swtable.hxx sw/inc/swtypes.hxx sw/inc/tblafmt.hxx sw/inc/tgrditem.hxx sw/inc/tox.hxx sw/inc/undobj.hxx sw/inc/unocoll.hxx sw/inc/unoframe.hxx sw/inc/unoprnms.hxx sw/inc/usrfld.hxx sw/inc/viewopt.hxx sw/inc/viewsh.hxx sw/inc/viscrs.hxx sw/prj/build.lst sw/qa/complex/accessibility/makefile.mk sw/qa/core/Test-BigPtrArray.cxx sw/qa/core/makefile.mk sw/sdi/makefile.mk sw/source/core/access/makefile.mk sw/source/core/access/textmarkuphelper.cxx sw/source/core/attr/calbck.cxx sw/source/core/attr/cellatr.cxx sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx sw/source/core/attr/format.cxx sw/source/core/attr/hints.cxx sw/source/core/bastyp/calc.cxx sw/source/core/bastyp/init.cxx sw/source/core/bastyp/makefile.mk sw/source/core/bastyp/swcache.cxx sw/source/core/crsr/bookmrk.cxx sw/source/core/crsr/callnk.cxx sw/source/core/crsr/crsrsh.cxx sw/source/core/crsr/crstrvl.cxx sw/source/core/crsr/findattr.cxx sw/source/core/crsr/findcoll.cxx sw/source/core/crsr/makefile.mk sw/source/core/crsr/pam.cxx sw/source/core/crsr/swcrsr.cxx sw/source/core/crsr/trvltbl.cxx sw/source/core/crsr/unocrsr.cxx sw/source/core/crsr/viscrs.cxx sw/source/core/doc/acmplwrd.cxx sw/source/core/doc/doc.cxx sw/source/core/doc/docbm.cxx sw/source/core/doc/doccomp.cxx sw/source/core/doc/docdesc.cxx sw/source/core/doc/docdraw.cxx sw/source/core/doc/docedt.cxx sw/source/core/doc/docfld.cxx sw/source/core/doc/docfly.cxx sw/source/core/doc/docfmt.cxx sw/source/core/doc/docftn.cxx sw/source/core/doc/docglbl.cxx sw/source/core/doc/docglos.cxx sw/source/core/doc/doclay.cxx sw/source/core/doc/docnew.cxx sw/source/core/doc/docnum.cxx sw/source/core/doc/docredln.cxx sw/source/core/doc/docruby.cxx sw/source/core/doc/docsort.cxx sw/source/core/doc/docstat.cxx sw/source/core/doc/doctxm.cxx sw/source/core/doc/fmtcol.cxx sw/source/core/doc/gctable.cxx sw/source/core/doc/htmltbl.cxx sw/source/core/doc/makefile.mk sw/source/core/doc/number.cxx sw/source/core/doc/poolfmt.cxx sw/source/core/doc/tblafmt.cxx sw/source/core/doc/tblcpy.cxx sw/source/core/doc/tblrwcl.cxx sw/source/core/docnode/makefile.mk sw/source/core/docnode/ndcopy.cxx sw/source/core/docnode/ndnum.cxx sw/source/core/docnode/ndsect.cxx sw/source/core/docnode/ndtbl.cxx sw/source/core/docnode/ndtbl1.cxx sw/source/core/docnode/node.cxx sw/source/core/docnode/node2lay.cxx sw/source/core/docnode/nodes.cxx sw/source/core/docnode/section.cxx sw/source/core/docnode/swbaslnk.cxx sw/source/core/draw/dcontact.cxx sw/source/core/draw/dflyobj.cxx sw/source/core/draw/drawdoc.cxx sw/source/core/draw/dview.cxx sw/source/core/draw/makefile.mk sw/source/core/edit/autofmt.cxx sw/source/core/edit/edattr.cxx sw/source/core/edit/eddel.cxx sw/source/core/edit/edfcol.cxx sw/source/core/edit/edfld.cxx sw/source/core/edit/edfldexp.cxx sw/source/core/edit/edfmt.cxx sw/source/core/edit/edglss.cxx sw/source/core/edit/editsh.cxx sw/source/core/edit/edlingu.cxx sw/source/core/edit/ednumber.cxx sw/source/core/edit/edsect.cxx sw/source/core/edit/edtab.cxx sw/source/core/edit/edtox.cxx sw/source/core/edit/edundo.cxx sw/source/core/edit/makefile.mk sw/source/core/except/dbgloop.cxx sw/source/core/except/errhdl.cxx sw/source/core/fields/authfld.cxx sw/source/core/fields/cellfml.cxx sw/source/core/fields/chpfld.cxx sw/source/core/fields/dbfld.cxx sw/source/core/fields/ddefld.cxx sw/source/core/fields/ddetbl.cxx sw/source/core/fields/docufld.cxx sw/source/core/fields/expfld.cxx sw/source/core/fields/fldbas.cxx sw/source/core/fields/flddat.cxx sw/source/core/fields/flddropdown.cxx sw/source/core/fields/macrofld.cxx sw/source/core/fields/makefile.mk sw/source/core/fields/reffld.cxx sw/source/core/fields/scrptfld.cxx sw/source/core/fields/tblcalc.cxx sw/source/core/fields/usrfld.cxx sw/source/core/frmedt/fecopy.cxx sw/source/core/frmedt/fedesc.cxx sw/source/core/frmedt/fefly1.cxx sw/source/core/frmedt/feshview.cxx sw/source/core/frmedt/fetab.cxx sw/source/core/frmedt/fews.cxx sw/source/core/frmedt/makefile.mk sw/source/core/frmedt/tblsel.cxx sw/source/core/graphic/grfatr.cxx sw/source/core/inc/SwUndoFmt.hxx sw/source/core/inc/SwUndoTOXChange.hxx sw/source/core/inc/anchoredobjectposition.hxx sw/source/core/inc/dbgloop.hxx sw/source/core/inc/drawfont.hxx sw/source/core/inc/flowfrm.hxx sw/source/core/inc/frame.hxx sw/source/core/inc/frmtool.hxx sw/source/core/inc/layact.hxx sw/source/core/inc/layfrm.hxx sw/source/core/inc/notxtfrm.hxx sw/source/core/inc/rolbck.hxx sw/source/core/inc/rootfrm.hxx sw/source/core/inc/scriptinfo.hxx sw/source/core/inc/swblocks.hxx sw/source/core/inc/swcache.hxx sw/source/core/inc/tabfrm.hxx sw/source/core/inc/txmsrt.hxx sw/source/core/inc/undoflystrattr.hxx sw/source/core/inc/viewimp.hxx sw/source/core/layout/atrfrm.cxx sw/source/core/layout/calcmove.cxx sw/source/core/layout/dbg_lay.cxx sw/source/core/layout/findfrm.cxx sw/source/core/layout/flowfrm.cxx sw/source/core/layout/fly.cxx sw/source/core/layout/flycnt.cxx sw/source/core/layout/flyincnt.cxx sw/source/core/layout/flylay.cxx sw/source/core/layout/frmtool.cxx sw/source/core/layout/ftnfrm.cxx sw/source/core/layout/layact.cxx sw/source/core/layout/laycache.cxx sw/source/core/layout/makefile.mk sw/source/core/layout/objectformatter.cxx sw/source/core/layout/pagechg.cxx sw/source/core/layout/pagedesc.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/layout/sectfrm.cxx sw/source/core/layout/tabfrm.cxx sw/source/core/layout/trvlfrm.cxx sw/source/core/layout/unusedf.cxx sw/source/core/layout/wsfrm.cxx sw/source/core/makefile.mk sw/source/core/objectpositioning/anchoredobjectposition.cxx sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx sw/source/core/objectpositioning/makefile.mk sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx sw/source/core/ole/ndole.cxx sw/source/core/para/makefile.mk sw/source/core/para/paratr.cxx sw/source/core/sw3io/makefile.mk sw/source/core/sw3io/sw3convert.cxx sw/source/core/swg/SwXMLTextBlocks.cxx sw/source/core/swg/makefile.mk sw/source/core/swg/swblocks.cxx sw/source/core/table/swnewtable.cxx sw/source/core/table/swtable.cxx sw/source/core/text/EnhancedPDFExportHelper.cxx sw/source/core/text/atrstck.cxx sw/source/core/text/frmcrsr.cxx sw/source/core/text/frmform.cxx sw/source/core/text/itrcrsr.cxx sw/source/core/text/itrform2.cxx sw/source/core/text/makefile.mk sw/source/core/text/porlay.cxx sw/source/core/text/pormulti.cxx sw/source/core/text/txtfld.cxx sw/source/core/text/txtfrm.cxx sw/source/core/text/txtio.cxx sw/source/core/tox/makefile.mk sw/source/core/tox/txmsrt.cxx sw/source/core/txtnode/fmtatr2.cxx sw/source/core/txtnode/fntcache.cxx sw/source/core/txtnode/fntcap.cxx sw/source/core/txtnode/makefile.mk sw/source/core/txtnode/ndhints.cxx sw/source/core/txtnode/ndtxt.cxx sw/source/core/txtnode/swfont.cxx sw/source/core/txtnode/thints.cxx sw/source/core/txtnode/txtatr2.cxx sw/source/core/txtnode/txtedt.cxx sw/source/core/undo/SwUndoField.cxx sw/source/core/undo/SwUndoPageDesc.cxx sw/source/core/undo/SwUndoTOXChange.cxx sw/source/core/undo/docundo.cxx sw/source/core/undo/makefile.mk sw/source/core/undo/rolbck.cxx sw/source/core/undo/unbkmk.cxx sw/source/core/undo/undel.cxx sw/source/core/undo/undobj.cxx sw/source/core/undo/undobj1.cxx sw/source/core/undo/unfmco.cxx sw/source/core/undo/unins.cxx sw/source/core/undo/unnum.cxx sw/source/core/undo/unoutl.cxx sw/source/core/undo/unredln.cxx sw/source/core/undo/unsect.cxx sw/source/core/undo/unsort.cxx sw/source/core/undo/unspnd.cxx sw/source/core/undo/untbl.cxx sw/source/core/unocore/makefile.mk sw/source/core/unocore/swunohelper.cxx sw/source/core/unocore/unobkm.cxx sw/source/core/unocore/unocoll.cxx sw/source/core/unocore/unocrsrhelper.cxx sw/source/core/unocore/unodraw.cxx sw/source/core/unocore/unofield.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unomap.cxx sw/source/core/unocore/unoprnms.cxx sw/source/core/unocore/unoredlines.cxx sw/source/core/unocore/unosett.cxx sw/source/core/unocore/unosrch.cxx sw/source/core/unocore/unostyle.cxx sw/source/core/unocore/unotbl.cxx sw/source/core/view/vdraw.cxx sw/source/core/view/viewimp.cxx sw/source/core/view/viewpg.cxx sw/source/core/view/viewsh.cxx sw/source/core/view/vnew.cxx sw/source/core/view/vprint.cxx sw/source/filter/ascii/ascatr.cxx sw/source/filter/ascii/makefile.mk sw/source/filter/ascii/wrtasc.cxx sw/source/filter/basflt/fltini.cxx sw/source/filter/basflt/iodetect.cxx sw/source/filter/basflt/makefile.mk sw/source/filter/html/SwAppletImpl.cxx sw/source/filter/html/css1atr.cxx sw/source/filter/html/htmlatr.cxx sw/source/filter/html/htmlbas.cxx sw/source/filter/html/htmlcss1.cxx sw/source/filter/html/htmlfly.cxx sw/source/filter/html/htmlftn.cxx sw/source/filter/html/htmlgrin.cxx sw/source/filter/html/htmlnum.cxx sw/source/filter/html/htmlplug.cxx sw/source/filter/html/htmltab.cxx sw/source/filter/html/makefile.mk sw/source/filter/html/parcss1.cxx sw/source/filter/html/svxcss1.cxx sw/source/filter/html/swhtml.cxx sw/source/filter/inc/msfilter.hxx sw/source/filter/inc/wrtswtbl.hxx sw/source/filter/rtf/makefile.mk sw/source/filter/rtf/rtffly.cxx sw/source/filter/rtf/rtfnum.cxx sw/source/filter/rtf/rtftbl.cxx sw/source/filter/rtf/swparrtf.cxx sw/source/filter/rtf/swparrtf.hxx sw/source/filter/writer/makefile.mk sw/source/filter/writer/writer.cxx sw/source/filter/writer/wrt_fn.cxx sw/source/filter/writer/wrtswtbl.cxx sw/source/filter/ww1/fltshell.cxx sw/source/filter/ww1/makefile.mk sw/source/filter/ww1/w1class.cxx sw/source/filter/ww1/w1class.hxx sw/source/filter/ww1/w1filter.cxx sw/source/filter/ww1/w1par.cxx sw/source/filter/ww1/w1sprm.cxx sw/source/filter/ww1/w1struct.hxx sw/source/filter/ww8/README-rtf.txt sw/source/filter/ww8/attributeoutputbase.hxx sw/source/filter/ww8/docxattributeoutput.cxx sw/source/filter/ww8/docxattributeoutput.hxx sw/source/filter/ww8/docxexport.cxx sw/source/filter/ww8/docxexport.hxx sw/source/filter/ww8/docxexportfilter.cxx sw/source/filter/ww8/dump/dump8.cxx sw/source/filter/ww8/dump/dump8a.cxx sw/source/filter/ww8/dump/msvbasic.cxx sw/source/filter/ww8/dump/msvbasic.hxx sw/source/filter/ww8/dump/ww8darr.cxx sw/source/filter/ww8/dump/ww8darr.hxx sw/source/filter/ww8/dump/ww8dout.cxx sw/source/filter/ww8/dump/ww8dout.hxx sw/source/filter/ww8/dump/ww8scan.cxx sw/source/filter/ww8/dump/ww8scan.hxx sw/source/filter/ww8/dump/ww8struc.hxx sw/source/filter/ww8/makefile.mk sw/source/filter/ww8/rtfattributeoutput.cxx sw/source/filter/ww8/rtfattributeoutput.hxx sw/source/filter/ww8/rtfexport.cxx sw/source/filter/ww8/rtfexport.hxx sw/source/filter/ww8/rtfexportfilter.cxx sw/source/filter/ww8/rtfexportfilter.hxx sw/source/filter/ww8/rtfimportfilter.cxx sw/source/filter/ww8/rtfimportfilter.hxx sw/source/filter/ww8/rtfsdrexport.cxx sw/source/filter/ww8/rtfsdrexport.hxx sw/source/filter/ww8/writerhelper.cxx sw/source/filter/ww8/writerwordglue.cxx sw/source/filter/ww8/wrtw8esh.cxx sw/source/filter/ww8/wrtw8nds.cxx sw/source/filter/ww8/wrtw8num.cxx sw/source/filter/ww8/wrtw8sty.cxx sw/source/filter/ww8/wrtww8.cxx sw/source/filter/ww8/wrtww8.hxx sw/source/filter/ww8/wrtww8gr.cxx sw/source/filter/ww8/ww8atr.cxx sw/source/filter/ww8/ww8attributeoutput.hxx sw/source/filter/ww8/ww8graf.cxx sw/source/filter/ww8/ww8graf.hxx sw/source/filter/ww8/ww8graf2.cxx sw/source/filter/ww8/ww8par.cxx sw/source/filter/ww8/ww8par.hxx sw/source/filter/ww8/ww8par2.cxx sw/source/filter/ww8/ww8par3.cxx sw/source/filter/ww8/ww8par5.cxx sw/source/filter/ww8/ww8par6.cxx sw/source/filter/ww8/ww8scan.cxx sw/source/filter/ww8/ww8scan.hxx sw/source/filter/ww8/ww8struc.hxx sw/source/filter/xml/makefile.mk sw/source/filter/xml/xmlimpit.cxx sw/source/filter/xml/xmltble.cxx sw/source/filter/xml/xmltbli.cxx sw/source/ui/app/appenv.cxx sw/source/ui/app/apphdl.cxx sw/source/ui/app/applab.cxx sw/source/ui/app/appopt.cxx sw/source/ui/app/docsh.cxx sw/source/ui/app/docsh2.cxx sw/source/ui/app/docshini.cxx sw/source/ui/app/docst.cxx sw/source/ui/app/docstyle.cxx sw/source/ui/app/makefile.mk sw/source/ui/app/mn.src sw/source/ui/app/swmodul1.cxx sw/source/ui/cctrl/makefile.mk sw/source/ui/cctrl/swlbox.cxx sw/source/ui/chrdlg/break.cxx sw/source/ui/chrdlg/ccoll.cxx sw/source/ui/chrdlg/chardlg.cxx sw/source/ui/chrdlg/drpcps.cxx sw/source/ui/chrdlg/makefile.mk sw/source/ui/chrdlg/numpara.cxx sw/source/ui/chrdlg/pardlg.cxx sw/source/ui/chrdlg/swuiccoll.cxx sw/source/ui/config/barcfg.cxx sw/source/ui/config/caption.cxx sw/source/ui/config/cfgitems.cxx sw/source/ui/config/fontcfg.cxx sw/source/ui/config/mailconfigpage.cxx sw/source/ui/config/makefile.mk sw/source/ui/config/modcfg.cxx sw/source/ui/config/optcomp.cxx sw/source/ui/config/optload.cxx sw/source/ui/config/optpage.cxx sw/source/ui/config/prtopt.cxx sw/source/ui/config/uinums.cxx sw/source/ui/config/usrpref.cxx sw/source/ui/config/viewopt.cxx sw/source/ui/dbui/dbinsdlg.cxx sw/source/ui/dbui/dbmgr.cxx sw/source/ui/dbui/dbtree.cxx sw/source/ui/dbui/makefile.mk sw/source/ui/dbui/mmaddressblockpage.cxx sw/source/ui/dbui/mmdocselectpage.cxx sw/source/ui/dbui/mmoutputpage.cxx sw/source/ui/dbui/swdbtoolsclient.cxx sw/source/ui/dialog/abstract.cxx sw/source/ui/dialog/ascfldlg.cxx sw/source/ui/dialog/macassgn.cxx sw/source/ui/dialog/makefile.mk sw/source/ui/dialog/regionsw.cxx sw/source/ui/dialog/swdlgfact.cxx sw/source/ui/dialog/swdlgfact.hxx sw/source/ui/dialog/uiregionsw.cxx sw/source/ui/dochdl/gloshdl.cxx sw/source/ui/dochdl/makefile.mk sw/source/ui/dochdl/swdtflvr.cxx sw/source/ui/docvw/PostItMgr.cxx sw/source/ui/docvw/SidebarWin.cxx sw/source/ui/docvw/edtdd.cxx sw/source/ui/docvw/edtwin.cxx sw/source/ui/docvw/edtwin2.cxx sw/source/ui/docvw/edtwin3.cxx sw/source/ui/docvw/makefile.mk sw/source/ui/docvw/romenu.cxx sw/source/ui/docvw/romenu.hxx sw/source/ui/docvw/srcedtw.cxx sw/source/ui/envelp/envfmt.cxx sw/source/ui/envelp/envimg.cxx sw/source/ui/envelp/envlop1.cxx sw/source/ui/envelp/envprt.cxx sw/source/ui/envelp/label1.cxx sw/source/ui/envelp/labfmt.cxx sw/source/ui/envelp/labprt.cxx sw/source/ui/envelp/mailmrge.cxx sw/source/ui/envelp/makefile.mk sw/source/ui/fldui/flddb.cxx sw/source/ui/fldui/flddinf.cxx sw/source/ui/fldui/flddok.cxx sw/source/ui/fldui/fldedt.cxx sw/source/ui/fldui/fldfunc.cxx sw/source/ui/fldui/fldmgr.cxx sw/source/ui/fldui/fldpage.cxx sw/source/ui/fldui/fldref.cxx sw/source/ui/fldui/fldtdlg.cxx sw/source/ui/fldui/fldvar.cxx sw/source/ui/fldui/fldwrap.cxx sw/source/ui/fldui/inpdlg.cxx sw/source/ui/fldui/makefile.mk sw/source/ui/fmtui/makefile.mk sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/frmdlg/colmgr.cxx sw/source/ui/frmdlg/column.cxx sw/source/ui/frmdlg/cption.cxx sw/source/ui/frmdlg/frmdlg.cxx sw/source/ui/frmdlg/frmmgr.cxx sw/source/ui/frmdlg/frmpage.cxx sw/source/ui/frmdlg/makefile.mk sw/source/ui/frmdlg/wrap.cxx sw/source/ui/globdoc/makefile.mk sw/source/ui/inc/bmpwin.hxx sw/source/ui/inc/colmgr.hxx sw/source/ui/inc/column.hxx sw/source/ui/inc/envimg.hxx sw/source/ui/inc/envlop.hxx sw/source/ui/inc/frmpage.hxx sw/source/ui/inc/inputwin.hxx sw/source/ui/inc/javaedit.hxx sw/source/ui/inc/num.hxx sw/source/ui/inc/optpage.hxx sw/source/ui/inc/regionsw.hxx sw/source/ui/inc/split.hxx sw/source/ui/inc/swlbox.hxx sw/source/ui/inc/swmn_tmpl.hrc sw/source/ui/inc/swuiidxmrk.hxx sw/source/ui/inc/tabsh.hxx sw/source/ui/inc/toxmgr.hxx sw/source/ui/inc/uiitems.hxx sw/source/ui/inc/view.hxx sw/source/ui/inc/workctrl.hxx sw/source/ui/inc/wrap.hxx sw/source/ui/inc/wrtsh.hxx sw/source/ui/index/cnttab.cxx sw/source/ui/index/makefile.mk sw/source/ui/index/toxmgr.cxx sw/source/ui/lingu/hhcwrp.cxx sw/source/ui/lingu/makefile.mk sw/source/ui/lingu/olmenu.cxx sw/source/ui/misc/bookmark.cxx sw/source/ui/misc/docfnote.cxx sw/source/ui/misc/glosbib.cxx sw/source/ui/misc/glosdoc.cxx sw/source/ui/misc/glshell.cxx sw/source/ui/misc/insfnote.cxx sw/source/ui/misc/linenum.cxx sw/source/ui/misc/makefile.mk sw/source/ui/misc/num.cxx sw/source/ui/misc/numberingtypelistbox.cxx sw/source/ui/misc/outline.cxx sw/source/ui/misc/pgfnote.cxx sw/source/ui/misc/pggrid.cxx sw/source/ui/misc/redlndlg.cxx sw/source/ui/misc/srtdlg.cxx sw/source/ui/misc/swmodalredlineacceptdlg.cxx sw/source/ui/ribbar/conarc.cxx sw/source/ui/ribbar/drawbase.cxx sw/source/ui/ribbar/inputwin.cxx sw/source/ui/ribbar/inputwin.src sw/source/ui/ribbar/makefile.mk sw/source/ui/ribbar/tbxanchr.cxx sw/source/ui/ribbar/workctrl.cxx sw/source/ui/ribbar/workctrl.src sw/source/ui/shells/annotsh.cxx sw/source/ui/shells/basesh.cxx sw/source/ui/shells/beziersh.cxx sw/source/ui/shells/drawdlg.cxx sw/source/ui/shells/drwbassh.cxx sw/source/ui/shells/drwtxtex.cxx sw/source/ui/shells/drwtxtsh.cxx sw/source/ui/shells/frmsh.cxx sw/source/ui/shells/grfsh.cxx sw/source/ui/shells/grfshex.cxx sw/source/ui/shells/makefile.mk sw/source/ui/shells/tabsh.cxx sw/source/ui/shells/textfld.cxx sw/source/ui/shells/textglos.cxx sw/source/ui/shells/textsh.cxx sw/source/ui/shells/textsh1.cxx sw/source/ui/shells/txtattr.cxx sw/source/ui/shells/txtcrsr.cxx sw/source/ui/shells/txtnum.cxx sw/source/ui/table/convert.cxx sw/source/ui/table/instable.cxx sw/source/ui/table/makefile.mk sw/source/ui/table/swtablerep.cxx sw/source/ui/table/tabledlg.cxx sw/source/ui/table/tablemgr.cxx sw/source/ui/table/tablepg.hxx sw/source/ui/table/tautofmt.cxx sw/source/ui/uiview/formatclipboard.cxx sw/source/ui/uiview/makefile.mk sw/source/ui/uiview/pview.cxx sw/source/ui/uiview/pview.src sw/source/ui/uiview/scroll.cxx sw/source/ui/uiview/srcview.cxx sw/source/ui/uiview/swcli.cxx sw/source/ui/uiview/uivwimp.cxx sw/source/ui/uiview/view.cxx sw/source/ui/uiview/view1.cxx sw/source/ui/uiview/view2.cxx sw/source/ui/uiview/viewcoll.cxx sw/source/ui/uiview/viewdlg2.cxx sw/source/ui/uiview/viewling.cxx sw/source/ui/uiview/viewmdi.cxx sw/source/ui/uiview/viewport.cxx sw/source/ui/uiview/viewprt.cxx sw/source/ui/uiview/viewsrch.cxx sw/source/ui/uiview/viewtab.cxx sw/source/ui/uno/SwXDocumentSettings.cxx sw/source/ui/uno/SwXPrintPreviewSettings.cxx sw/source/ui/uno/SwXPrintPreviewSettings.hxx sw/source/ui/uno/unoatxt.cxx sw/source/ui/uno/unomod.cxx sw/source/ui/uno/unotxdoc.cxx sw/source/ui/uno/unotxvw.cxx sw/source/ui/utlui/attrdesc.cxx sw/source/ui/utlui/content.cxx sw/source/ui/utlui/glbltree.cxx sw/source/ui/utlui/initui.cxx sw/source/ui/utlui/makefile.mk sw/source/ui/utlui/navipi.cxx sw/source/ui/utlui/navipi.src sw/source/ui/utlui/numfmtlb.cxx sw/source/ui/utlui/prcntfld.cxx sw/source/ui/utlui/uiitems.cxx sw/source/ui/utlui/uitool.cxx sw/source/ui/utlui/unotools.cxx sw/source/ui/utlui/viewlayoutctrl.cxx sw/source/ui/utlui/zoomctrl.cxx sw/source/ui/vba/makefile.mk sw/source/ui/vba/service.cxx sw/source/ui/web/makefile.mk sw/source/ui/wrtsh/makefile.mk sw/source/ui/wrtsh/wrtsh1.cxx sw/source/ui/wrtsh/wrtsh2.cxx sw/source/ui/wrtsh/wrtsh4.cxx sw/source/ui/wrtsh/wrtundo.cxx sw/util/hidother.src sw/util/makefile.mk sw/util/msword.map
2011-03-14 16:51:14 +00:00
sal_Bool bSetNumLSpace : 1; // For numbering: TRUE: set indent.
sal_Bool bIgnoreDontExpand : 1; // for Text Attributes - ignore the flag
2000-09-18 16:15:01 +00:00
protected:
SwStartNode* pStartOfSection;
SwNode( const SwNodeIndex &rWhere, const sal_uInt8 nNodeId );
2000-09-18 16:15:01 +00:00
// for the initial StartNode
SwNode( SwNodes& rNodes, sal_uLong nPos, const sal_uInt8 nNodeId );
2000-09-18 16:15:01 +00:00
public:
virtual ~SwNode();
#if OSL_DEBUG_LEVEL > 1
long int GetSerial() const { return nMySerial; }
#endif
sal_uInt16 GetSectionLevel() const;
INTEGRATION: CWS writercorehandoff (1.12.140); FILE MERGED 2006/07/31 06:20:58 fme 1.12.140.18: #i50348# Resync 2006/07/27 14:34:16 fme 1.12.140.17: RESYNC: (1.14-1.15); FILE MERGED 2006/05/09 10:06:39 fme 1.12.140.16: #i50348# make SwDoc accessible via interfaces 2006/05/08 10:40:27 fme 1.12.140.15: #i50348# Make SwDoc accessible via interfaces 2006/01/20 09:16:34 fme 1.12.140.14: #i50348# General cleanup - removed unused header files, functions, members, declarations 2006/01/19 08:42:53 fme 1.12.140.13: #i50348# General cleanup - removed unused header files, functions, members, declarations 2005/12/20 15:02:15 tra 1.12.140.12: RESYNC: (1.13-1.14); FILE MERGED 2005/11/18 14:52:01 fme 1.12.140.11: #i50348# Make SwDoc accessible via interfaces 2005/11/11 07:54:40 fme 1.12.140.10: #i50348# make SwDoc accessible via interfaces 2005/11/10 21:32:45 tra 1.12.140.9: #i50348# 2005/09/13 11:41:16 tra 1.12.140.8: RESYNC: (1.12-1.13); FILE MERGED 2005/07/19 06:05:20 fme 1.12.140.7: #i50348# make SwDoc accessible via interfaces 2005/07/13 13:23:43 fme 1.12.140.6: #i50348# Make SwDoc accessible via interfaces 2005/07/05 08:12:33 tra 1.12.140.5: #i50348#make SwDoc interface based 2005/06/24 11:42:36 fme 1.12.140.4: #i50348# Make SwDoc accessible via interfaces 2005/06/22 13:08:11 tra 1.12.140.3: #i50348#toward a interface based SwDoc 2005/06/22 06:37:40 tra 1.12.140.2: #i50348# make SwDoc accessible via interfaces 2005/06/07 14:10:09 fme 1.12.140.1: #i50348# General cleanup - removed unused header files, functions, members, declarations etc.
2006-08-14 14:28:28 +00:00
inline sal_uLong StartOfSectionIndex() const;
INTEGRATION: CWS writercorehandoff (1.12.140); FILE MERGED 2006/07/31 06:20:58 fme 1.12.140.18: #i50348# Resync 2006/07/27 14:34:16 fme 1.12.140.17: RESYNC: (1.14-1.15); FILE MERGED 2006/05/09 10:06:39 fme 1.12.140.16: #i50348# make SwDoc accessible via interfaces 2006/05/08 10:40:27 fme 1.12.140.15: #i50348# Make SwDoc accessible via interfaces 2006/01/20 09:16:34 fme 1.12.140.14: #i50348# General cleanup - removed unused header files, functions, members, declarations 2006/01/19 08:42:53 fme 1.12.140.13: #i50348# General cleanup - removed unused header files, functions, members, declarations 2005/12/20 15:02:15 tra 1.12.140.12: RESYNC: (1.13-1.14); FILE MERGED 2005/11/18 14:52:01 fme 1.12.140.11: #i50348# Make SwDoc accessible via interfaces 2005/11/11 07:54:40 fme 1.12.140.10: #i50348# make SwDoc accessible via interfaces 2005/11/10 21:32:45 tra 1.12.140.9: #i50348# 2005/09/13 11:41:16 tra 1.12.140.8: RESYNC: (1.12-1.13); FILE MERGED 2005/07/19 06:05:20 fme 1.12.140.7: #i50348# make SwDoc accessible via interfaces 2005/07/13 13:23:43 fme 1.12.140.6: #i50348# Make SwDoc accessible via interfaces 2005/07/05 08:12:33 tra 1.12.140.5: #i50348#make SwDoc interface based 2005/06/24 11:42:36 fme 1.12.140.4: #i50348# Make SwDoc accessible via interfaces 2005/06/22 13:08:11 tra 1.12.140.3: #i50348#toward a interface based SwDoc 2005/06/22 06:37:40 tra 1.12.140.2: #i50348# make SwDoc accessible via interfaces 2005/06/07 14:10:09 fme 1.12.140.1: #i50348# General cleanup - removed unused header files, functions, members, declarations etc.
2006-08-14 14:28:28 +00:00
inline const SwStartNode* StartOfSectionNode() const { return pStartOfSection; }
inline SwStartNode* StartOfSectionNode() { return pStartOfSection; }
inline sal_uLong EndOfSectionIndex() const;
2000-09-18 16:15:01 +00:00
inline const SwEndNode* EndOfSectionNode() const;
INTEGRATION: CWS writercorehandoff (1.12.140); FILE MERGED 2006/07/31 06:20:58 fme 1.12.140.18: #i50348# Resync 2006/07/27 14:34:16 fme 1.12.140.17: RESYNC: (1.14-1.15); FILE MERGED 2006/05/09 10:06:39 fme 1.12.140.16: #i50348# make SwDoc accessible via interfaces 2006/05/08 10:40:27 fme 1.12.140.15: #i50348# Make SwDoc accessible via interfaces 2006/01/20 09:16:34 fme 1.12.140.14: #i50348# General cleanup - removed unused header files, functions, members, declarations 2006/01/19 08:42:53 fme 1.12.140.13: #i50348# General cleanup - removed unused header files, functions, members, declarations 2005/12/20 15:02:15 tra 1.12.140.12: RESYNC: (1.13-1.14); FILE MERGED 2005/11/18 14:52:01 fme 1.12.140.11: #i50348# Make SwDoc accessible via interfaces 2005/11/11 07:54:40 fme 1.12.140.10: #i50348# make SwDoc accessible via interfaces 2005/11/10 21:32:45 tra 1.12.140.9: #i50348# 2005/09/13 11:41:16 tra 1.12.140.8: RESYNC: (1.12-1.13); FILE MERGED 2005/07/19 06:05:20 fme 1.12.140.7: #i50348# make SwDoc accessible via interfaces 2005/07/13 13:23:43 fme 1.12.140.6: #i50348# Make SwDoc accessible via interfaces 2005/07/05 08:12:33 tra 1.12.140.5: #i50348#make SwDoc interface based 2005/06/24 11:42:36 fme 1.12.140.4: #i50348# Make SwDoc accessible via interfaces 2005/06/22 13:08:11 tra 1.12.140.3: #i50348#toward a interface based SwDoc 2005/06/22 06:37:40 tra 1.12.140.2: #i50348# make SwDoc accessible via interfaces 2005/06/07 14:10:09 fme 1.12.140.1: #i50348# General cleanup - removed unused header files, functions, members, declarations etc.
2006-08-14 14:28:28 +00:00
inline SwEndNode* EndOfSectionNode();
2000-09-18 16:15:01 +00:00
inline sal_uInt8 GetAutoFmtLvl() const { return nAFmtNumLvl; }
inline void SetAutoFmtLvl( sal_uInt8 nVal ) { nAFmtNumLvl = nVal; }
2000-09-18 16:15:01 +00:00
inline sal_Bool IsSetNumLSpace() const { return bSetNumLSpace; }
inline void SetNumLSpace( sal_Bool bFlag ) { bSetNumLSpace = bFlag; }
2000-11-06 09:46:12 +00:00
inline sal_Bool IsIgnoreDontExpand() const { return bIgnoreDontExpand; }
inline void SetIgnoreDontExpand( sal_Bool bNew ) { bIgnoreDontExpand = bNew; }
2000-09-18 16:15:01 +00:00
sal_uInt8 GetNodeType() const { return nNodeType; }
2000-09-18 16:15:01 +00:00
inline SwStartNode *GetStartNode();
inline const SwStartNode *GetStartNode() const;
inline SwCntntNode *GetCntntNode();
inline const SwCntntNode *GetCntntNode() const;
inline SwEndNode *GetEndNode();
inline const SwEndNode *GetEndNode() const;
#ifndef ICC
INTEGRATION: CWS writercorehandoff (1.12.140); FILE MERGED 2006/07/31 06:20:58 fme 1.12.140.18: #i50348# Resync 2006/07/27 14:34:16 fme 1.12.140.17: RESYNC: (1.14-1.15); FILE MERGED 2006/05/09 10:06:39 fme 1.12.140.16: #i50348# make SwDoc accessible via interfaces 2006/05/08 10:40:27 fme 1.12.140.15: #i50348# Make SwDoc accessible via interfaces 2006/01/20 09:16:34 fme 1.12.140.14: #i50348# General cleanup - removed unused header files, functions, members, declarations 2006/01/19 08:42:53 fme 1.12.140.13: #i50348# General cleanup - removed unused header files, functions, members, declarations 2005/12/20 15:02:15 tra 1.12.140.12: RESYNC: (1.13-1.14); FILE MERGED 2005/11/18 14:52:01 fme 1.12.140.11: #i50348# Make SwDoc accessible via interfaces 2005/11/11 07:54:40 fme 1.12.140.10: #i50348# make SwDoc accessible via interfaces 2005/11/10 21:32:45 tra 1.12.140.9: #i50348# 2005/09/13 11:41:16 tra 1.12.140.8: RESYNC: (1.12-1.13); FILE MERGED 2005/07/19 06:05:20 fme 1.12.140.7: #i50348# make SwDoc accessible via interfaces 2005/07/13 13:23:43 fme 1.12.140.6: #i50348# Make SwDoc accessible via interfaces 2005/07/05 08:12:33 tra 1.12.140.5: #i50348#make SwDoc interface based 2005/06/24 11:42:36 fme 1.12.140.4: #i50348# Make SwDoc accessible via interfaces 2005/06/22 13:08:11 tra 1.12.140.3: #i50348#toward a interface based SwDoc 2005/06/22 06:37:40 tra 1.12.140.2: #i50348# make SwDoc accessible via interfaces 2005/06/07 14:10:09 fme 1.12.140.1: #i50348# General cleanup - removed unused header files, functions, members, declarations etc.
2006-08-14 14:28:28 +00:00
inline
2000-09-18 16:15:01 +00:00
#endif
SwTxtNode *GetTxtNode();
#ifndef ICC
INTEGRATION: CWS writercorehandoff (1.12.140); FILE MERGED 2006/07/31 06:20:58 fme 1.12.140.18: #i50348# Resync 2006/07/27 14:34:16 fme 1.12.140.17: RESYNC: (1.14-1.15); FILE MERGED 2006/05/09 10:06:39 fme 1.12.140.16: #i50348# make SwDoc accessible via interfaces 2006/05/08 10:40:27 fme 1.12.140.15: #i50348# Make SwDoc accessible via interfaces 2006/01/20 09:16:34 fme 1.12.140.14: #i50348# General cleanup - removed unused header files, functions, members, declarations 2006/01/19 08:42:53 fme 1.12.140.13: #i50348# General cleanup - removed unused header files, functions, members, declarations 2005/12/20 15:02:15 tra 1.12.140.12: RESYNC: (1.13-1.14); FILE MERGED 2005/11/18 14:52:01 fme 1.12.140.11: #i50348# Make SwDoc accessible via interfaces 2005/11/11 07:54:40 fme 1.12.140.10: #i50348# make SwDoc accessible via interfaces 2005/11/10 21:32:45 tra 1.12.140.9: #i50348# 2005/09/13 11:41:16 tra 1.12.140.8: RESYNC: (1.12-1.13); FILE MERGED 2005/07/19 06:05:20 fme 1.12.140.7: #i50348# make SwDoc accessible via interfaces 2005/07/13 13:23:43 fme 1.12.140.6: #i50348# Make SwDoc accessible via interfaces 2005/07/05 08:12:33 tra 1.12.140.5: #i50348#make SwDoc interface based 2005/06/24 11:42:36 fme 1.12.140.4: #i50348# Make SwDoc accessible via interfaces 2005/06/22 13:08:11 tra 1.12.140.3: #i50348#toward a interface based SwDoc 2005/06/22 06:37:40 tra 1.12.140.2: #i50348# make SwDoc accessible via interfaces 2005/06/07 14:10:09 fme 1.12.140.1: #i50348# General cleanup - removed unused header files, functions, members, declarations etc.
2006-08-14 14:28:28 +00:00
inline
2000-09-18 16:15:01 +00:00
#endif
const SwTxtNode *GetTxtNode() const;
INTEGRATION: CWS writercorehandoff (1.12.140); FILE MERGED 2006/07/31 06:20:58 fme 1.12.140.18: #i50348# Resync 2006/07/27 14:34:16 fme 1.12.140.17: RESYNC: (1.14-1.15); FILE MERGED 2006/05/09 10:06:39 fme 1.12.140.16: #i50348# make SwDoc accessible via interfaces 2006/05/08 10:40:27 fme 1.12.140.15: #i50348# Make SwDoc accessible via interfaces 2006/01/20 09:16:34 fme 1.12.140.14: #i50348# General cleanup - removed unused header files, functions, members, declarations 2006/01/19 08:42:53 fme 1.12.140.13: #i50348# General cleanup - removed unused header files, functions, members, declarations 2005/12/20 15:02:15 tra 1.12.140.12: RESYNC: (1.13-1.14); FILE MERGED 2005/11/18 14:52:01 fme 1.12.140.11: #i50348# Make SwDoc accessible via interfaces 2005/11/11 07:54:40 fme 1.12.140.10: #i50348# make SwDoc accessible via interfaces 2005/11/10 21:32:45 tra 1.12.140.9: #i50348# 2005/09/13 11:41:16 tra 1.12.140.8: RESYNC: (1.12-1.13); FILE MERGED 2005/07/19 06:05:20 fme 1.12.140.7: #i50348# make SwDoc accessible via interfaces 2005/07/13 13:23:43 fme 1.12.140.6: #i50348# Make SwDoc accessible via interfaces 2005/07/05 08:12:33 tra 1.12.140.5: #i50348#make SwDoc interface based 2005/06/24 11:42:36 fme 1.12.140.4: #i50348# Make SwDoc accessible via interfaces 2005/06/22 13:08:11 tra 1.12.140.3: #i50348#toward a interface based SwDoc 2005/06/22 06:37:40 tra 1.12.140.2: #i50348# make SwDoc accessible via interfaces 2005/06/07 14:10:09 fme 1.12.140.1: #i50348# General cleanup - removed unused header files, functions, members, declarations etc.
2006-08-14 14:28:28 +00:00
inline SwOLENode *GetOLENode();
inline const SwOLENode *GetOLENode() const;
inline SwNoTxtNode *GetNoTxtNode();
inline const SwNoTxtNode *GetNoTxtNode() const;
inline SwGrfNode *GetGrfNode();
inline const SwGrfNode *GetGrfNode() const;
2000-09-18 16:15:01 +00:00
inline SwTableNode *GetTableNode();
inline const SwTableNode *GetTableNode() const;
inline SwSectionNode *GetSectionNode();
inline const SwSectionNode *GetSectionNode() const;
inline sal_Bool IsStartNode() const;
inline sal_Bool IsCntntNode() const;
inline sal_Bool IsEndNode() const;
inline sal_Bool IsTxtNode() const;
inline sal_Bool IsTableNode() const;
inline sal_Bool IsSectionNode() const;
inline sal_Bool IsOLENode() const;
inline sal_Bool IsNoTxtNode() const;
inline sal_Bool IsGrfNode() const;
2000-09-18 16:15:01 +00:00
/**
Checks if this node is in redlines.
@retval sal_True this node is in redlines
@retval sal_False else
*/
sal_Bool IsInRedlines() const;
2011-02-21 02:20:33 +01:00
// Search table node, in which it is. If it is in no table
// return 0.
2000-09-18 16:15:01 +00:00
SwTableNode *FindTableNode();
INTEGRATION: CWS writercorehandoff (1.12.140); FILE MERGED 2006/07/31 06:20:58 fme 1.12.140.18: #i50348# Resync 2006/07/27 14:34:16 fme 1.12.140.17: RESYNC: (1.14-1.15); FILE MERGED 2006/05/09 10:06:39 fme 1.12.140.16: #i50348# make SwDoc accessible via interfaces 2006/05/08 10:40:27 fme 1.12.140.15: #i50348# Make SwDoc accessible via interfaces 2006/01/20 09:16:34 fme 1.12.140.14: #i50348# General cleanup - removed unused header files, functions, members, declarations 2006/01/19 08:42:53 fme 1.12.140.13: #i50348# General cleanup - removed unused header files, functions, members, declarations 2005/12/20 15:02:15 tra 1.12.140.12: RESYNC: (1.13-1.14); FILE MERGED 2005/11/18 14:52:01 fme 1.12.140.11: #i50348# Make SwDoc accessible via interfaces 2005/11/11 07:54:40 fme 1.12.140.10: #i50348# make SwDoc accessible via interfaces 2005/11/10 21:32:45 tra 1.12.140.9: #i50348# 2005/09/13 11:41:16 tra 1.12.140.8: RESYNC: (1.12-1.13); FILE MERGED 2005/07/19 06:05:20 fme 1.12.140.7: #i50348# make SwDoc accessible via interfaces 2005/07/13 13:23:43 fme 1.12.140.6: #i50348# Make SwDoc accessible via interfaces 2005/07/05 08:12:33 tra 1.12.140.5: #i50348#make SwDoc interface based 2005/06/24 11:42:36 fme 1.12.140.4: #i50348# Make SwDoc accessible via interfaces 2005/06/22 13:08:11 tra 1.12.140.3: #i50348#toward a interface based SwDoc 2005/06/22 06:37:40 tra 1.12.140.2: #i50348# make SwDoc accessible via interfaces 2005/06/07 14:10:09 fme 1.12.140.1: #i50348# General cleanup - removed unused header files, functions, members, declarations etc.
2006-08-14 14:28:28 +00:00
inline const SwTableNode *FindTableNode() const;
2000-09-18 16:15:01 +00:00
2011-02-21 02:20:33 +01:00
// Search section node, in which it is. If it is in no section
// return 0.
2000-09-18 16:15:01 +00:00
SwSectionNode *FindSectionNode();
INTEGRATION: CWS writercorehandoff (1.12.140); FILE MERGED 2006/07/31 06:20:58 fme 1.12.140.18: #i50348# Resync 2006/07/27 14:34:16 fme 1.12.140.17: RESYNC: (1.14-1.15); FILE MERGED 2006/05/09 10:06:39 fme 1.12.140.16: #i50348# make SwDoc accessible via interfaces 2006/05/08 10:40:27 fme 1.12.140.15: #i50348# Make SwDoc accessible via interfaces 2006/01/20 09:16:34 fme 1.12.140.14: #i50348# General cleanup - removed unused header files, functions, members, declarations 2006/01/19 08:42:53 fme 1.12.140.13: #i50348# General cleanup - removed unused header files, functions, members, declarations 2005/12/20 15:02:15 tra 1.12.140.12: RESYNC: (1.13-1.14); FILE MERGED 2005/11/18 14:52:01 fme 1.12.140.11: #i50348# Make SwDoc accessible via interfaces 2005/11/11 07:54:40 fme 1.12.140.10: #i50348# make SwDoc accessible via interfaces 2005/11/10 21:32:45 tra 1.12.140.9: #i50348# 2005/09/13 11:41:16 tra 1.12.140.8: RESYNC: (1.12-1.13); FILE MERGED 2005/07/19 06:05:20 fme 1.12.140.7: #i50348# make SwDoc accessible via interfaces 2005/07/13 13:23:43 fme 1.12.140.6: #i50348# Make SwDoc accessible via interfaces 2005/07/05 08:12:33 tra 1.12.140.5: #i50348#make SwDoc interface based 2005/06/24 11:42:36 fme 1.12.140.4: #i50348# Make SwDoc accessible via interfaces 2005/06/22 13:08:11 tra 1.12.140.3: #i50348#toward a interface based SwDoc 2005/06/22 06:37:40 tra 1.12.140.2: #i50348# make SwDoc accessible via interfaces 2005/06/07 14:10:09 fme 1.12.140.1: #i50348# General cleanup - removed unused header files, functions, members, declarations etc.
2006-08-14 14:28:28 +00:00
inline const SwSectionNode *FindSectionNode() const;
2000-09-18 16:15:01 +00:00
SwStartNode* FindSttNodeByType( SwStartNodeType eTyp );
inline const SwStartNode* FindSttNodeByType( SwStartNodeType eTyp ) const;
const SwStartNode* FindTableBoxStartNode() const
{ return FindSttNodeByType( SwTableBoxStartNode ); }
const SwStartNode* FindFlyStartNode() const
{ return FindSttNodeByType( SwFlyStartNode ); }
const SwStartNode* FindFootnoteStartNode() const
{ return FindSttNodeByType( SwFootnoteStartNode ); }
const SwStartNode* FindHeaderStartNode() const
{ return FindSttNodeByType( SwHeaderStartNode ); }
const SwStartNode* FindFooterStartNode() const
{ return FindSttNodeByType( SwFooterStartNode ); }
2011-02-21 02:20:33 +01:00
// Node is in which nodes-array/doc?
INTEGRATION: CWS writercorehandoff (1.12.140); FILE MERGED 2006/07/31 06:20:58 fme 1.12.140.18: #i50348# Resync 2006/07/27 14:34:16 fme 1.12.140.17: RESYNC: (1.14-1.15); FILE MERGED 2006/05/09 10:06:39 fme 1.12.140.16: #i50348# make SwDoc accessible via interfaces 2006/05/08 10:40:27 fme 1.12.140.15: #i50348# Make SwDoc accessible via interfaces 2006/01/20 09:16:34 fme 1.12.140.14: #i50348# General cleanup - removed unused header files, functions, members, declarations 2006/01/19 08:42:53 fme 1.12.140.13: #i50348# General cleanup - removed unused header files, functions, members, declarations 2005/12/20 15:02:15 tra 1.12.140.12: RESYNC: (1.13-1.14); FILE MERGED 2005/11/18 14:52:01 fme 1.12.140.11: #i50348# Make SwDoc accessible via interfaces 2005/11/11 07:54:40 fme 1.12.140.10: #i50348# make SwDoc accessible via interfaces 2005/11/10 21:32:45 tra 1.12.140.9: #i50348# 2005/09/13 11:41:16 tra 1.12.140.8: RESYNC: (1.12-1.13); FILE MERGED 2005/07/19 06:05:20 fme 1.12.140.7: #i50348# make SwDoc accessible via interfaces 2005/07/13 13:23:43 fme 1.12.140.6: #i50348# Make SwDoc accessible via interfaces 2005/07/05 08:12:33 tra 1.12.140.5: #i50348#make SwDoc interface based 2005/06/24 11:42:36 fme 1.12.140.4: #i50348# Make SwDoc accessible via interfaces 2005/06/22 13:08:11 tra 1.12.140.3: #i50348#toward a interface based SwDoc 2005/06/22 06:37:40 tra 1.12.140.2: #i50348# make SwDoc accessible via interfaces 2005/06/07 14:10:09 fme 1.12.140.1: #i50348# General cleanup - removed unused header files, functions, members, declarations etc.
2006-08-14 14:28:28 +00:00
inline SwNodes& GetNodes();
2000-09-18 16:15:01 +00:00
inline const SwNodes& GetNodes() const;
INTEGRATION: CWS writercorehandoff (1.12.140); FILE MERGED 2006/07/31 06:20:58 fme 1.12.140.18: #i50348# Resync 2006/07/27 14:34:16 fme 1.12.140.17: RESYNC: (1.14-1.15); FILE MERGED 2006/05/09 10:06:39 fme 1.12.140.16: #i50348# make SwDoc accessible via interfaces 2006/05/08 10:40:27 fme 1.12.140.15: #i50348# Make SwDoc accessible via interfaces 2006/01/20 09:16:34 fme 1.12.140.14: #i50348# General cleanup - removed unused header files, functions, members, declarations 2006/01/19 08:42:53 fme 1.12.140.13: #i50348# General cleanup - removed unused header files, functions, members, declarations 2005/12/20 15:02:15 tra 1.12.140.12: RESYNC: (1.13-1.14); FILE MERGED 2005/11/18 14:52:01 fme 1.12.140.11: #i50348# Make SwDoc accessible via interfaces 2005/11/11 07:54:40 fme 1.12.140.10: #i50348# make SwDoc accessible via interfaces 2005/11/10 21:32:45 tra 1.12.140.9: #i50348# 2005/09/13 11:41:16 tra 1.12.140.8: RESYNC: (1.12-1.13); FILE MERGED 2005/07/19 06:05:20 fme 1.12.140.7: #i50348# make SwDoc accessible via interfaces 2005/07/13 13:23:43 fme 1.12.140.6: #i50348# Make SwDoc accessible via interfaces 2005/07/05 08:12:33 tra 1.12.140.5: #i50348#make SwDoc interface based 2005/06/24 11:42:36 fme 1.12.140.4: #i50348# Make SwDoc accessible via interfaces 2005/06/22 13:08:11 tra 1.12.140.3: #i50348#toward a interface based SwDoc 2005/06/22 06:37:40 tra 1.12.140.2: #i50348# make SwDoc accessible via interfaces 2005/06/07 14:10:09 fme 1.12.140.1: #i50348# General cleanup - removed unused header files, functions, members, declarations etc.
2006-08-14 14:28:28 +00:00
inline SwDoc* GetDoc();
inline const SwDoc* GetDoc() const;
/** Provides access to the document setting interface
*/
const IDocumentSettingAccess* getIDocumentSettingAccess() const;
/** Provides access to the document device interface
*/
const IDocumentDeviceAccess* getIDocumentDeviceAccess() const;
/** Provides access to the document bookmark interface
*/
CWS-TOOLING: integrate CWS swrefactormarks2 2009-04-09 12:51:41 +0200 b_michaelsen r270689 : #i94949# cleaned up assertions after rebasing 2009-04-08 17:37:08 +0200 b_michaelsen r270658 : fixing sw/source/ui/utlui/makefile.mk 2009-04-07 17:56:54 +0200 b_michaelsen r270606 : added bookctrl.cxx to EXCEPTIONFILES, because this is needed for stl on unxsols4 2009-04-07 17:05:20 +0200 b_michaelsen r270603 : added crbm.cxx to EXCEPTIONFILES, because this is needed for stl on unxsols4 2009-04-02 23:44:38 +0200 b_michaelsen r270436 : CWS-TOOLING: rebase CWS swrefactormarks2 to trunk@270033 (milestone: DEV300:m45) 2009-02-27 16:25:31 +0100 b_michaelsen r268606 : #i94949# fixed Windows buildbreaker 2009-02-25 18:01:13 +0100 b_michaelsen r268464 : #i94949# Bookmarktest document filter roundtrips 2009-02-24 18:23:55 +0100 b_michaelsen r268404 : #i94949# Bookmark unittests 2009-02-23 19:47:44 +0100 b_michaelsen r268370 : #i94949# added unittest for bookmarks 2009-02-23 12:22:07 +0100 b_michaelsen r268348 : #i94949# fixing CheckCrossReferences testcase 2009-02-20 18:12:50 +0100 b_michaelsen r268335 : #i94949# fixing SwXTextRange 2009-02-18 18:32:57 +0100 b_michaelsen r268252 : #i94949# deregistering DdeBookmarks on delete 2009-02-18 18:29:08 +0100 b_michaelsen r268251 : fixing dbgoutsw.cxx for debug builds 2009-02-16 18:42:43 +0100 b_michaelsen r267834 : CWS-TOOLING: rebase CWS swrefactormarks2 to trunk@267171 (milestone: DEV300:m41) 2009-02-12 15:32:02 +0100 b_michaelsen r267667 : #i94949 fixed crossrefbookmark naming 2009-02-11 18:30:08 +0100 b_michaelsen r267624 : #94949# fixing bookmark navigation 2009-02-11 13:55:26 +0100 b_michaelsen r267599 : #i94949# fixed bookmark naming 2009-02-10 17:53:05 +0100 b_michaelsen r267571 : #i94949# renamed HasOtherMarkPos to IsExpanded 2009-02-10 17:23:01 +0100 b_michaelsen r267564 : #i94949# renamed ::sw::bookmark namespace to more fitting ::sw::mark 2009-02-10 16:16:32 +0100 b_michaelsen r267553 : #i94949# creating only CrossRefBookmark per Txtnode 2009-02-10 12:14:05 +0100 b_michaelsen r267547 : #i94949# fixed bookmark count in navigator 2009-02-09 19:12:18 +0100 b_michaelsen r267532 : #i94949# lcl_CopyBookmarks(..) - handle marks on boundaries correctly 2009-02-09 17:32:45 +0100 b_michaelsen r267524 : #i94949# setting the refobject of the DdeBookmark in Sin SwServerObject::SetDdeBookmark(..) 2009-02-09 17:22:15 +0100 b_michaelsen r267523 : #i94949# trying to harden SwServerObject 2009-02-09 16:47:32 +0100 b_michaelsen r267521 : #i94949# lcl_CopyBookmarks(..): try to get the source mark name, if possible 2009-02-09 16:05:42 +0100 b_michaelsen r267519 : #i94949# clearing the OtherMarkPos if PaM has no mark in repositionMark(..), swapping inverted bookmarks without hissing an assertion 2009-02-09 15:55:38 +0100 b_michaelsen r267518 : #i94949# checking for out-of-bounds in SwView::ExecuteStatusLine(..) 2009-02-09 15:23:47 +0100 b_michaelsen r267517 : #i94949# using an UNO_BOOKMARK in ui/dbui/dbinsdlg.cxx 2009-02-09 14:14:47 +0100 b_michaelsen r267514 : #i94949# IDocumentMarkAccess::GetType(..) asserts on unknown type 2009-02-09 14:04:25 +0100 b_michaelsen r267513 : #i94949# using rtl strings instead of tools-strings in CrossRefBookmarks 2009-02-09 13:55:01 +0100 b_michaelsen r267510 : #i94949# using empty string for UnoMark construction 2009-02-09 13:46:46 +0100 b_michaelsen r267509 : #i94949# removed superfluous #includes, removed superfluous member DdeBookmark::bGenerateName, initialized DdeBookmark::m_aRefObj removed superfluous local _FindItem::ClearObj 2009-02-06 14:38:37 +0100 b_michaelsen r267462 : #i94949# fixing FN_STAT_BOOKMARK dispatches 2009-02-05 18:05:07 +0100 b_michaelsen r267436 : #i94949# removing superfluous #includes 2009-02-04 15:51:31 +0100 b_michaelsen r267391 : fixing resync merge error 2009-02-02 19:39:55 +0100 b_michaelsen r267294 : #i94949# bookmark performance 2009-01-30 19:30:51 +0100 b_michaelsen r267229 : #i94949# throwing IllegalArgumentException, if appropriate 2009-01-30 19:29:56 +0100 b_michaelsen r267228 : #i94949# refactored lcl_FillBookmarkArray, comments, constness 2009-01-30 19:23:49 +0100 b_michaelsen r267227 : #i94949# refactored lcl_FillBookmarkArray, comments, constness 2009-01-30 19:16:06 +0100 b_michaelsen r267226 : #i94949# refactored lcl_FillBookmarkArray 2009-01-30 17:59:27 +0100 b_michaelsen r267222 : #i94949# removed superficial #include 2009-01-30 17:50:02 +0100 b_michaelsen r267220 : #i94949# SwXTextRange remembers its UNO bookmark 2009-01-29 20:19:58 +0100 b_michaelsen r267168 : #i94949# implemented IDocumentMarkAccess::findBookmark 2009-01-29 17:22:17 +0100 b_michaelsen r267162 : #i94949# implemented renameMark in Markmanager 2009-01-29 14:17:10 +0100 b_michaelsen r267134 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 13:21:54 +0100 b_michaelsen r267125 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 13:06:10 +0100 b_michaelsen r267120 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 13:00:09 +0100 b_michaelsen r267118 : #i94949# cleanup in SwXBookmark, whitespace 2009-01-29 10:35:10 +0100 b_michaelsen r267101 : #i94949# renamed SetCrsrToBkmk to SetCrsrToMark, moving to start/end of doc if no more bookmarks can be found 2009-01-28 17:05:36 +0100 b_michaelsen r267070 : #i94949# fixed order in aProvNamesId in unocoll.cxx 2009-01-28 15:46:13 +0100 b_michaelsen r267063 : #i94949# documentation 2009-01-28 15:36:59 +0100 b_michaelsen r267062 : #i94949# removing superficial #include 2009-01-28 15:30:36 +0100 b_michaelsen r267061 : #i94949# basic code conventions 2009-01-28 11:14:30 +0100 b_michaelsen r267039 : #i94949# comparing to the actual name of the new mark 2009-01-26 15:22:25 +0100 b_michaelsen r266927 : #i94949# performance fixes 2009-01-14 21:16:56 +0100 b_michaelsen r266332 : #i94949# fixing linux x86-64 compiler warnings 2009-01-14 19:52:06 +0100 b_michaelsen r266331 : #i94949# fixing some compiler warnings 2008-12-15 13:04:49 +0100 b_michaelsen r265474 : #i94949# fixed microsoft compiler warnings 2008-12-12 18:26:02 +0100 b_michaelsen r265434 : #i94949# fixed pro platform buildbreakers 2008-12-11 17:51:24 +0100 b_michaelsen r265342 : CWS-TOOLING: rebase CWS swrefactormarks2 to trunk@264807 (milestone: DEV300:m37) 2008-12-09 18:30:59 +0100 b_michaelsen r265134 : #i94949# fixed IDocumentMarkAccess::GetType for new mark inheritance tree 2008-12-09 16:56:26 +0100 b_michaelsen r265118 : #i94949# fixed deleteMark optimization 2008-12-09 14:55:58 +0100 b_michaelsen r265092 : #i94949# DdeLink and DdeBookmark 2008-12-05 18:28:05 +0100 b_michaelsen r264914 : #i94949# fixed InitDoc in bookmarks 2008-12-02 02:23:51 +0100 b_michaelsen r264649 : #i94949# removed obsolete naming proposal code in SwXTextRange, fixed navigator reminders to forget the oldest reminder when the pool is empty 2008-12-02 02:05:19 +0100 b_michaelsen r264648 : #i94949# using bisect search for delete 2008-12-02 01:58:16 +0100 b_michaelsen r264647 : #i94949# using bisect search for delete 2008-12-02 01:37:33 +0100 b_michaelsen r264646 : #i94949# using bisect search for delete 2008-12-02 01:03:29 +0100 b_michaelsen r264645 : #i94949# fixed deleteMark crash 2008-12-01 20:55:00 +0100 b_michaelsen r264638 : #i94949# removed crossrefs from ui enumerations 2008-12-01 15:48:12 +0100 b_michaelsen r264613 : #i94949# removed superfluous local functions 2008-12-01 15:01:19 +0100 b_michaelsen r264608 : #i94949# optimized insertion of new marks 2008-12-01 14:33:21 +0100 b_michaelsen r264603 : #i94949# simplified code finding Fieldmark for a position 2008-12-01 14:05:55 +0100 b_michaelsen r264598 : #i94949# fixed reverse travelling through marks, removed obsolete getUniqueMarkName() 2008-11-27 18:48:15 +0100 b_michaelsen r264515 : #i94949# fixed _SaveCntntIdx and friends 2008-11-27 15:59:49 +0100 b_michaelsen r264500 : #i94949# fix Mark position only in ctor 2008-11-27 15:52:28 +0100 b_michaelsen r264497 : #i94949# fixed Bug in SwXBookmark, was using pDoc too early 2008-11-26 14:54:22 +0100 b_michaelsen r264396 : #i94949# fixed documentation, simplified navigator reminder code 2008-11-24 20:45:51 +0100 b_michaelsen r264266 : #i94949# removed last obsolete getUniqueMarkName calls 2008-11-24 20:21:35 +0100 b_michaelsen r264265 : #i94949# fixed typo in IDocumentMarkAccess, removed obsolete getUniqueMarkName calls 2008-11-24 18:34:32 +0100 b_michaelsen r264264 : #i94949# repositioning of Marks, removed possibility to delete marks by name in the core, refactoring of navigator reminder generation 2008-11-21 14:08:49 +0100 b_michaelsen r264137 : #i94949# simplified makeMark 2008-11-21 12:07:09 +0100 b_michaelsen r264120 : #i94949# moved ShortName and KeyCode from IMark to IBookmark 2008-11-19 12:50:49 +0100 b_michaelsen r263981 : #i94949# starting refactoring of bookmark naming 2008-11-19 11:31:08 +0100 b_michaelsen r263972 : #i94949# getting rid of obsolete dynamic casts 2008-11-18 19:06:09 +0100 b_michaelsen r263795 : #i94949# getting rid of index based mark access, IDocumentMarkAccess already provides iterators 2008-11-18 17:50:18 +0100 b_michaelsen r263792 : #i94949# getting rid of index based mark access, IDocumentMarkAccess already provides iterators 2008-11-18 16:48:20 +0100 b_michaelsen r263783 : #i94949# removed methods from crsrsh which are already available directly via IDocumentMarkAccess 2008-11-18 11:31:35 +0100 b_michaelsen r263753 : #i94949# cleaning up mark code in crsrsh 2008-11-17 10:15:25 +0100 b_michaelsen r263705 : #i94949# removed possible integer overflow 2008-11-14 18:48:45 +0100 b_michaelsen r263695 : #i94949# management of mark names in MarkManager 2008-11-14 18:23:40 +0100 b_michaelsen r263693 : #i94949# using polymorphism to do mark-specific setup in SwDoc 2008-11-14 16:27:09 +0100 b_michaelsen r263684 : #i94949# got rid of makeCrossRefBookmark 2008-11-14 13:03:32 +0100 b_michaelsen r263674 : #i94949# refactored Correction methods 2008-11-13 12:27:55 +0100 b_michaelsen r263631 : #i94949# got rid of old-style tools assertions in new code 2008-11-12 16:58:16 +0100 b_michaelsen r263608 : #i94949# added assertion for unique names 2008-11-12 16:55:18 +0100 b_michaelsen r263607 : #i94949# maked XFormField deprecated 2008-11-12 13:04:29 +0100 b_michaelsen r263587 : #i94949# replaced IDocumentMarkAccess::GetType with simple dynamic_cast where possible 2008-11-11 18:45:53 +0100 b_michaelsen r263572 : #i94949# cleaned up SwHstryBookmark 2008-11-11 13:48:18 +0100 b_michaelsen r263557 : #i94949# removed dynamic_casts to SwModify by inheriting IMark from it 2008-11-11 11:26:28 +0100 b_michaelsen r263548 : #i94949# fixed SwXBookmark 2008-11-10 17:01:19 +0100 b_michaelsen r263529 : #i94949# fixed DdeBookmarks in clipboard 2008-11-10 16:44:52 +0100 b_michaelsen r263527 : #i94949# formatting 2008-11-10 16:29:16 +0100 b_michaelsen r263526 : #i94949# fixing unoobj.cxx 2008-11-10 16:23:50 +0100 b_michaelsen r263525 : #i94949# cleaning up crossrefbookmark.cxx/.hxx 2008-11-10 16:02:08 +0100 b_michaelsen r263524 : #i94949# Pdf Export should only generate 'real' bookmarks 2008-11-10 15:33:58 +0100 b_michaelsen r263521 : #i94949# removed const_casts 2008-11-10 15:12:06 +0100 b_michaelsen r263520 : #i94949# moved _DelBookmarks into MarksManager 2008-11-07 18:48:38 +0100 b_michaelsen r263480 : #i94949# using iterator interface 2008-11-07 18:41:46 +0100 b_michaelsen r263478 : #i94949# using iterator interface 2008-11-07 18:07:41 +0100 b_michaelsen r263477 : #i94949# using iterator interface 2008-11-07 17:54:41 +0100 b_michaelsen r263476 : #i94949# using iterator interface 2008-11-07 17:44:41 +0100 b_michaelsen r263475 : #i94949# moved correction methods into MarkManager 2008-11-06 18:47:28 +0100 b_michaelsen r263404 : #i94949# getting rid of superfluous const_casts 2008-11-06 17:58:01 +0100 b_michaelsen r263403 : #i94949# no more setting of mark positions outside of the core 2008-11-06 17:08:37 +0100 b_michaelsen r263401 : #i94949# removed setters from IMark 2008-11-06 13:55:25 +0100 b_michaelsen r263383 : #i94949 SwDoc does not implement IDocumentMarkAccess anymore 2008-11-04 18:17:03 +0100 b_michaelsen r263333 : #i94949# began removing IDocumentMarkAccess from SwDoc 2008-11-04 16:48:34 +0100 b_michaelsen r263330 : removing dead code (SwBitArray) found by mst 2008-11-04 16:29:32 +0100 b_michaelsen r263329 : removing dead code (SwBitArray) found by mst 2008-11-04 14:57:48 +0100 b_michaelsen r263326 : removing dead code (SwBitArray) found by mst 2008-11-04 14:50:18 +0100 b_michaelsen r263325 : #i94949# stricter typing in IDocumentMarkAccess 2008-10-24 15:16:27 +0200 b_michaelsen r262647 : #i94949# renamed ::sw::bookmark::SimpleMark to NavigatorReminder to fit the IDocumentMarkAccess enum 2008-10-24 15:10:10 +0200 b_michaelsen r262646 : #i94949# only 'real' bookmark implement IBookmark, Marks also get removed from m_vFieldmarks on delete/clear 2008-10-24 13:06:23 +0200 b_michaelsen r262636 : #i94949# Fieldmark tabnavigation 2008-10-23 12:16:36 +0200 b_michaelsen r262619 : #i94949# Fieldmark classes and filters 2008-10-22 13:17:18 +0200 b_michaelsen r262597 : #i94949# writer import fixes 2008-10-21 11:30:38 +0200 b_michaelsen r262565 : #i94949# renamed methods containing Bookmark in the generic IMark interface 2008-10-20 14:09:02 +0200 b_michaelsen r262318 : #i94949# fixed SwDoc::CorrRel 2008-10-16 22:45:13 +0200 b_michaelsen r262273 : #i94949 simplified Before/After methods 2008-10-16 21:40:57 +0200 b_michaelsen r262271 : #i94949 renamed SimpleMark to NavigatorReminder 2008-10-16 21:15:23 +0200 b_michaelsen r262270 : #i94949 using shared_ptr only in MarkManager 2008-10-16 17:46:37 +0200 b_michaelsen r262269 : #i94949# getFieldmarkBefore and getFieldmarkAfter 2008-10-16 17:12:13 +0200 b_michaelsen r262265 : #i94949# cleanup in crbm.cxx 2008-10-16 12:49:01 +0200 b_michaelsen r262257 : #i94949# fixed usage of invalid iterator, fixed invalid cast 2008-10-15 15:34:20 +0200 b_michaelsen r262239 : #i94949# added moved files 2008-10-15 15:26:45 +0200 b_michaelsen r262237 : #i94949# initial reimplementation of Bookmarks
2009-04-21 15:40:02 +00:00
const IDocumentMarkAccess* getIDocumentMarkAccess() const;
INTEGRATION: CWS writercorehandoff (1.12.140); FILE MERGED 2006/07/31 06:20:58 fme 1.12.140.18: #i50348# Resync 2006/07/27 14:34:16 fme 1.12.140.17: RESYNC: (1.14-1.15); FILE MERGED 2006/05/09 10:06:39 fme 1.12.140.16: #i50348# make SwDoc accessible via interfaces 2006/05/08 10:40:27 fme 1.12.140.15: #i50348# Make SwDoc accessible via interfaces 2006/01/20 09:16:34 fme 1.12.140.14: #i50348# General cleanup - removed unused header files, functions, members, declarations 2006/01/19 08:42:53 fme 1.12.140.13: #i50348# General cleanup - removed unused header files, functions, members, declarations 2005/12/20 15:02:15 tra 1.12.140.12: RESYNC: (1.13-1.14); FILE MERGED 2005/11/18 14:52:01 fme 1.12.140.11: #i50348# Make SwDoc accessible via interfaces 2005/11/11 07:54:40 fme 1.12.140.10: #i50348# make SwDoc accessible via interfaces 2005/11/10 21:32:45 tra 1.12.140.9: #i50348# 2005/09/13 11:41:16 tra 1.12.140.8: RESYNC: (1.12-1.13); FILE MERGED 2005/07/19 06:05:20 fme 1.12.140.7: #i50348# make SwDoc accessible via interfaces 2005/07/13 13:23:43 fme 1.12.140.6: #i50348# Make SwDoc accessible via interfaces 2005/07/05 08:12:33 tra 1.12.140.5: #i50348#make SwDoc interface based 2005/06/24 11:42:36 fme 1.12.140.4: #i50348# Make SwDoc accessible via interfaces 2005/06/22 13:08:11 tra 1.12.140.3: #i50348#toward a interface based SwDoc 2005/06/22 06:37:40 tra 1.12.140.2: #i50348# make SwDoc accessible via interfaces 2005/06/07 14:10:09 fme 1.12.140.1: #i50348# General cleanup - removed unused header files, functions, members, declarations etc.
2006-08-14 14:28:28 +00:00
/** Provides access to the document redline interface
*/
const IDocumentRedlineAccess* getIDocumentRedlineAccess() const;
/** Provides access to the document style pool interface
*/
const IDocumentStylePoolAccess* getIDocumentStylePoolAccess() const;
/** Provides access to the document line number information interface
*/
const IDocumentLineNumberAccess* getIDocumentLineNumberAccess() const;
/** Provides access to the document draw model interface
*/
const IDocumentDrawModelAccess* getIDocumentDrawModelAccess() const;
/** Provides access to the document layout interface
*/
const IDocumentLayoutAccess* getIDocumentLayoutAccess() const;
IDocumentLayoutAccess* getIDocumentLayoutAccess();
/** Provides access to the document links administration interface
*/
const IDocumentLinksAdministration* getIDocumentLinksAdministration() const;
IDocumentLinksAdministration* getIDocumentLinksAdministration();
/** Provides access to the document fields administration interface
*/
const IDocumentFieldsAccess* getIDocumentFieldsAccess() const;
IDocumentFieldsAccess* getIDocumentFieldsAccess();
/** Provides access to the document content operations interface
*/
IDocumentContentOperations* getIDocumentContentOperations();
2000-09-18 16:15:01 +00:00
/** Provides access to the document automatic styles interface
*/
IStyleAccess& getIDocumentStyleAccess();
/** Provides access to the document's numbered items interface
@author OD
*/
IDocumentListItems& getIDocumentListItems();
2011-02-21 02:20:33 +01:00
// Is node in the visible area of the Shell?
sal_Bool IsInVisibleArea( ViewShell* pSh = 0 ) const;
2011-02-21 02:20:33 +01:00
// Is node in an protected area?
sal_Bool IsInProtectSect() const;
2011-02-21 02:20:33 +01:00
// Is node in something that is protected (range, frame,
// table cells ... including anchor in case of frames or footnotes)?
sal_Bool IsProtect() const;
2011-02-21 02:20:33 +01:00
// Search PageDesc with which this node is formated. If layout is existent
// search over layout, else only the hard way is left: search over the nodes
// to the front!!
const SwPageDesc* FindPageDesc( sal_Bool bCalcLay, sal_uInt32* pPgDescNdIdx = 0 ) const;
2000-09-18 16:15:01 +00:00
2011-02-21 02:20:33 +01:00
// If node is in a fly return the respective format.
2000-09-18 16:15:01 +00:00
SwFrmFmt* GetFlyFmt() const;
2011-02-21 02:20:33 +01:00
// If node is in a table return the respective table box.
2000-09-18 16:15:01 +00:00
SwTableBox* GetTblBox() const;
inline sal_uLong GetIndex() const { return GetPos(); }
2000-09-18 16:15:01 +00:00
const SwTxtNode* FindOutlineNodeOfLevel( sal_uInt8 nLvl ) const;
2000-09-18 16:15:01 +00:00
sal_uInt8 HasPrevNextLayNode() const;
2000-09-18 16:15:01 +00:00
private:
2011-02-21 02:20:33 +01:00
// Private constructor because copying is never allowed!!
2000-09-18 16:15:01 +00:00
SwNode( const SwNode & rNodes );
SwNode & operator= ( const SwNode & rNodes );
2000-09-18 16:15:01 +00:00
};
// --------------------
// class SwStartNode
// --------------------
class SwStartNode: public SwNode
{
friend class SwNode;
friend class SwNodes;
friend class SwEndNode; // to set the theEndOfSection !!
2000-09-18 16:15:01 +00:00
SwEndNode* pEndOfSection;
SwStartNodeType eSttNdTyp;
// for the initial StartNode
SwStartNode( SwNodes& rNodes, sal_uLong nPos );
2000-09-18 16:15:01 +00:00
protected:
SwStartNode( const SwNodeIndex &rWhere,
const sal_uInt8 nNodeType = ND_STARTNODE,
2000-09-18 16:15:01 +00:00
SwStartNodeType = SwNormalStartNode );
public:
DECL_FIXEDMEMPOOL_NEWDEL(SwStartNode)
SwStartNodeType GetStartNodeType() const { return eSttNdTyp; }
2011-02-21 02:20:33 +01:00
// Call ChkCondcoll to all ContentNodes of section.
2000-09-18 16:15:01 +00:00
void CheckSectionCondColl() const;
private:
2011-02-21 02:20:33 +01:00
// Private constructor because copying is never allowed!!
2000-09-18 16:15:01 +00:00
SwStartNode( const SwStartNode & rNode );
SwStartNode & operator= ( const SwStartNode & rNode );
2000-09-18 16:15:01 +00:00
};
// --------------------
// class SwEndNode
// --------------------
class SwEndNode : public SwNode
{
friend class SwNodes;
2011-02-21 02:20:33 +01:00
friend class SwTableNode; // To enable creation of its EndNote.
friend class SwSectionNode; // To enable creation of its EndNote.
2000-09-18 16:15:01 +00:00
// for the initial StartNode
SwEndNode( SwNodes& rNodes, sal_uLong nPos, SwStartNode& rSttNd );
2000-09-18 16:15:01 +00:00
protected:
SwEndNode( const SwNodeIndex &rWhere, SwStartNode& rSttNd );
DECL_FIXEDMEMPOOL_NEWDEL(SwEndNode)
private:
2011-02-21 02:20:33 +01:00
// Private constructor because copying is never allowed!!
2000-09-18 16:15:01 +00:00
SwEndNode( const SwEndNode & rNode );
SwEndNode & operator= ( const SwEndNode & rNode );
2000-09-18 16:15:01 +00:00
};
// --------------------
// SwCntntNode
// --------------------
CWS-TOOLING: integrate CWS libmsword 2008-12-18 12:33:19 +0100 kendy r265681 : Export less symbols. 2008-12-17 19:26:56 +0100 kendy r265655 : Move libmsword to the -writer package. 2008-12-15 17:46:16 +0100 kendy r265516 : Enable exceptions for iodetect.cxx. 2008-12-15 15:17:53 +0100 kendy r265504 : Deliver the msword.dll. 2008-12-09 19:38:17 +0100 kendy r265138 : Remove accidentally added method. 2008-12-09 19:33:57 +0100 kendy r265137 : Fix linking on Win32. 2008-12-09 18:37:16 +0100 kendy r265135 : Move SwFltControlStack::Delete() to ww1/fltshell.cxx to fix linking. 2008-12-09 18:01:56 +0100 kendy r265127 : Visibility fixes. 2008-12-09 15:51:52 +0100 kendy r265109 : Fix ambiguous usage of class Color. 2008-12-09 14:54:27 +0100 kendy r265091 : Add #include "precompiled_sw.hxx" to fix --enable-pch build. 2008-12-09 14:44:59 +0100 kendy r265088 : Add #include "precompiled_sw.hxx" to fix --enable-pch build. 2008-12-08 19:14:49 +0100 kendy r265015 : #i96313# Get rid of inc/iodetect.cxx, it's a really bad idea to share code by #ifdefing parts of it, and #including a .cxx file ;-) This change moves it to iodetect.cxx, which is compiled to a .o/.obj that is used where needed. 2008-11-20 17:45:08 +0100 kendy r264083 : #i96313# Make the destruction of Readers consistent. 2008-11-20 17:18:11 +0100 kendy r264070 : #i96313# Added missing SW_DLLPUBLIC for (Import|Export)(DOC|RTF). 2008-11-18 19:21:07 +0100 kendy r263797 : #i96313# Remove accidentally added file. 2008-11-18 17:14:31 +0100 kendy r263790 : #i96313# Split doc and rtf filters into a separate library From: Radek Doulik <rodo@novell.com> fix SwFieldBookmark class visibility (suggested by kendy) 2008-11-18 17:14:01 +0100 kendy r263789 : #i96313# Split doc and rtf filters into a separate library From: Fridrich Strba <fstrba@novell.com> add visibility markup to allow linking 2008-11-18 17:13:29 +0100 kendy r263788 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> Visibility markup for libmsword. This is the most trivial approach, every class that had a symbol that needed to be visible was marked with SW_DLLPUBLIC; the correct (but more time consuming) way would be to mark just the exact methods that were needed. To be done later if generally shows that the separate libmsword makes sense; and also now we have the upper limit of symbols that needed to be added, and we can only make it better [decrease the number] ;-) 2008-11-18 17:12:58 +0100 kendy r263787 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> Added the missing msword.map. 2008-11-18 17:12:25 +0100 kendy r263786 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> scp2 change for libmsword. 2008-11-18 17:11:55 +0100 kendy r263785 : #i96313# Split doc and rtf filters into a separate library From: Jan Holesovsky <kendy@suse.cz> Convert the binary .doc and .rtf filters into a separate library. It is called 'libmsword' and loaded on demand when either of the formats (.doc, .rtf) is loaded or saved.
2009-01-05 14:06:42 +00:00
class SW_DLLPUBLIC SwCntntNode: public SwModify, public SwNode, public SwIndexReg
2000-09-18 16:15:01 +00:00
{
//FEATURE::CONDCOLL
SwDepend* pCondColl;
//FEATURE::CONDCOLL
mutable bool mbSetModifyAtAttr;
2000-09-18 16:15:01 +00:00
protected:
SwCntntNode( const SwNodeIndex &rWhere, const sal_uInt8 nNodeType,
2000-09-18 16:15:01 +00:00
SwFmtColl *pFmtColl );
virtual ~SwCntntNode();
2011-02-21 02:20:33 +01:00
// Attribute-set for all auto attributes of a CntntNode.
// (e.g. TxtNode or NoTxtNode).
boost::shared_ptr<const SfxItemSet> mpAttrSet;
2011-02-21 02:20:33 +01:00
// Make respective nodes create the specific AttrSets.
2000-09-18 16:15:01 +00:00
virtual void NewAttrSet( SwAttrPool& ) = 0;
// There some functions that like to remove items from the internal
// SwAttrSet (handle):
sal_uInt16 ClearItemsFromAttrSet( const std::vector<sal_uInt16>& rWhichIds );
virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew);
2000-09-18 16:15:01 +00:00
public:
2011-02-21 02:20:33 +01:00
TYPEINFO(); //Already contained in base class Client.
2000-09-18 16:15:01 +00:00
// MakeFrm will be called for a certain layout
// pSib is another SwFrm of the same layout (e.g. the SwRootFrm itself, a sibling, the parent)
virtual SwCntntFrm *MakeFrm( SwFrm* pSib ) = 0;
2000-09-18 16:15:01 +00:00
virtual SwCntntNode *SplitCntntNode(const SwPosition & ) = 0;
2000-09-18 16:15:01 +00:00
virtual SwCntntNode *JoinNext();
virtual SwCntntNode *JoinPrev();
2011-02-21 02:20:33 +01:00
// Is it possible to join two nodes?
// In pIdx the second position can be returned.
2000-09-18 16:15:01 +00:00
int CanJoinNext( SwNodeIndex* pIdx =0 ) const;
int CanJoinPrev( SwNodeIndex* pIdx =0 ) const;
void MakeStartIndex( SwIndex * pIdx ) { pIdx->Assign( this, 0 ); }
void MakeEndIndex( SwIndex * pIdx ) { pIdx->Assign( this, Len() ); }
sal_Bool GoNext(SwIndex *, sal_uInt16 nMode ) const;
sal_Bool GoPrevious(SwIndex *, sal_uInt16 nMode ) const;
2000-09-18 16:15:01 +00:00
// Replacement for good old GetFrm(..):
SwCntntFrm *getLayoutFrm( const SwRootFrm*,
const Point* pDocPos = 0,
2000-09-18 16:15:01 +00:00
const SwPosition *pPos = 0,
const sal_Bool bCalcFrm = sal_True ) const;
2011-02-21 02:20:33 +01:00
// Returns the real size of the frame or an empty rectangle if
// no layout exists. Needed for export filters.
SwRect FindLayoutRect( const sal_Bool bPrtArea = sal_False,
2000-09-18 16:15:01 +00:00
const Point* pPoint = 0,
const sal_Bool bCalcFrm = sal_False ) const;
SwRect FindPageFrmRect( const sal_Bool bPrtArea = sal_False,
2000-09-18 16:15:01 +00:00
const Point* pPoint = 0,
const sal_Bool bCalcFrm = sal_False ) const;
2011-02-21 02:20:33 +01:00
// Method creates all views of document for given node. The content
// frames that are created are put in the respective layout.
2000-09-18 16:15:01 +00:00
void MakeFrms( SwCntntNode& rNode );
2011-02-21 02:20:33 +01:00
// Method deletes all vies of document for the node. The content-
// frames are removed from the respective layout.
2000-09-18 16:15:01 +00:00
void DelFrms();
2011-02-21 02:20:33 +01:00
// Returns count of elements of node content. Default is 1.
// There are differences between text node and formula node.
2000-09-18 16:15:01 +00:00
virtual xub_StrLen Len() const;
virtual SwCntntNode* MakeCopy( SwDoc*, const SwNodeIndex& ) const = 0;
2011-02-21 02:20:33 +01:00
// Get information from Client.
virtual sal_Bool GetInfo( SfxPoolItem& ) const;
2000-09-18 16:15:01 +00:00
2011-02-21 02:20:33 +01:00
// SS for PoolItems: hard attributation.
2000-09-18 16:15:01 +00:00
2011-02-21 02:20:33 +01:00
// If bInParent is FALSE search for attribute only in this node.
const SfxPoolItem& GetAttr( sal_uInt16 nWhich, sal_Bool bInParent=sal_True ) const;
sal_Bool GetAttr( SfxItemSet& rSet, sal_Bool bInParent=sal_True ) const;
// made virtual
virtual sal_Bool SetAttr( const SfxPoolItem& );
virtual sal_Bool SetAttr( const SfxItemSet& rSet );
virtual sal_Bool ResetAttr( sal_uInt16 nWhich1, sal_uInt16 nWhich2 = 0 );
virtual sal_Bool ResetAttr( const SvUShorts& rWhichArr );
virtual sal_uInt16 ResetAllAttr();
2011-02-21 02:20:33 +01:00
// Obtains attribute that is not delivered via conditional style!
const SfxPoolItem* GetNoCondAttr( sal_uInt16 nWhich, sal_Bool bInParents ) const;
2000-09-18 16:15:01 +00:00
2011-02-21 02:20:33 +01:00
// Does node has already its own auto-attributes?
// Access to SwAttrSet.
2000-09-18 16:15:01 +00:00
inline const SwAttrSet &GetSwAttrSet() const;
inline const SwAttrSet *GetpSwAttrSet() const { return static_cast<const SwAttrSet*>(mpAttrSet.get()); }
inline sal_Bool HasSwAttrSet() const { return mpAttrSet ? sal_True : sal_False; }
2000-09-18 16:15:01 +00:00
virtual SwFmtColl* ChgFmtColl( SwFmtColl* );
SwFmtColl* GetFmtColl() const { return (SwFmtColl*)GetRegisteredIn(); }
//FEATURE::CONDCOLL
inline SwFmtColl& GetAnyFmtColl() const;
void SetCondFmtColl( SwFmtColl* );
inline SwFmtColl* GetCondFmtColl() const;
sal_Bool IsAnyCondition( SwCollCondition& rTmp ) const;
2000-09-18 16:15:01 +00:00
void ChkCondColl();
//FEATURE::CONDCOLL
2011-02-21 02:20:33 +01:00
// Invalidates NumRule at the node. NumRule is updated
// on EndAction of a Shell at the latest.
sal_Bool InvalidateNumRule();
2000-09-18 16:15:01 +00:00
// determines the text direction for a certain
// position. Return -1, if text direction could *not* be determined.
short GetTextDirection( const SwPosition& rPos,
const Point* pPt ) const;
inline void SetModifyAtAttr( bool bSetModifyAtAttr ) const { mbSetModifyAtAttr = bSetModifyAtAttr; }
inline bool GetModifyAtAttr() const { return mbSetModifyAtAttr; }
static SwOLENodes* CreateOLENodesArray( const SwFmtColl& rColl, bool bOnlyWithInvalidSize );
2000-09-18 16:15:01 +00:00
private:
2011-02-21 02:20:33 +01:00
// Private constructor because copying is never allowed!!
2000-09-18 16:15:01 +00:00
SwCntntNode( const SwCntntNode & rNode );
SwCntntNode & operator= ( const SwCntntNode & rNode );
2000-09-18 16:15:01 +00:00
};
//---------
// SwTableNode
//---------
2009-01-23 08:38:16 +00:00
class SW_DLLPUBLIC SwTableNode : public SwStartNode, public SwModify
2000-09-18 16:15:01 +00:00
{
friend class SwNodes;
SwTable* pTable;
protected:
virtual ~SwTableNode();
public:
SwTableNode( const SwNodeIndex & );
const SwTable& GetTable() const { return *pTable; }
SwTable& GetTable() { return *pTable; }
SwTabFrm *MakeFrm( SwFrm* );
2000-09-18 16:15:01 +00:00
2011-02-21 02:20:33 +01:00
// Creates the frms for the table node (i.e. the TabFrms).
2000-09-18 16:15:01 +00:00
void MakeFrms( SwNodeIndex* pIdxBehind );
2011-02-21 02:20:33 +01:00
// Method deletes all views of document for the node.
// The content frames are removed from the respective layout.
2000-09-18 16:15:01 +00:00
void DelFrms();
2011-02-21 02:20:33 +01:00
// Method creates all views of the document for the previous node.
// The content frames that are created are put into the respective layout.
2000-09-18 16:15:01 +00:00
void MakeFrms( const SwNodeIndex & rIdx );
SwTableNode* MakeCopy( SwDoc*, const SwNodeIndex& ) const;
void SetNewTable( SwTable* , sal_Bool bNewFrames=sal_True );
2000-09-18 16:15:01 +00:00
private:
2011-02-21 02:20:33 +01:00
// Private constructor because copying is never allowed!!
2000-09-18 16:15:01 +00:00
SwTableNode( const SwTableNode & rNode );
SwTableNode & operator= ( const SwTableNode & rNode );
2000-09-18 16:15:01 +00:00
};
//---------
// SwSectionNode
//---------
class SwSectionNode
: public SwStartNode
, private ::boost::noncopyable
2000-09-18 16:15:01 +00:00
{
friend class SwNodes;
private:
::std::auto_ptr<SwSection> const m_pSection;
2000-09-18 16:15:01 +00:00
protected:
virtual ~SwSectionNode();
public:
SwSectionNode(SwNodeIndex const&,
SwSectionFmt & rFmt, SwTOXBase const*const pTOXBase);
2000-09-18 16:15:01 +00:00
const SwSection& GetSection() const { return *m_pSection; }
SwSection& GetSection() { return *m_pSection; }
2000-09-18 16:15:01 +00:00
SwFrm *MakeFrm( SwFrm* );
2000-09-18 16:15:01 +00:00
2011-02-21 02:20:33 +01:00
// Creates the frms for the SectionNode (i.e. the SectionFrms).
// On default the frames are created until the end of the range.
// When another NodeIndex pEnd is passed a MakeFrms is called up to it.
// Used by TableToText.
2000-09-18 16:15:01 +00:00
void MakeFrms( SwNodeIndex* pIdxBehind, SwNodeIndex* pEnd = NULL );
2011-02-21 02:20:33 +01:00
// Method deletes all views of document for the node. The
// content frames are removed from the respective layout.
2000-09-18 16:15:01 +00:00
void DelFrms();
2011-02-21 02:20:33 +01:00
// Method creates all views of document for the previous node.
// The content frames created are put into the respective layout.
2000-09-18 16:15:01 +00:00
void MakeFrms( const SwNodeIndex & rIdx );
SwSectionNode* MakeCopy( SwDoc*, const SwNodeIndex& ) const;
2011-02-21 02:20:33 +01:00
// Set pointer in format of section on itself.
2000-09-18 16:15:01 +00:00
void NodesArrChgd();
// ueberprueft bei _nicht_ versteckten Bereichen, ob es Inhalt gibt, der
// _nicht_ in einem versteckten (Unter-)Bereich liegt
2011-02-21 02:20:33 +01:00
// Check for not hidden areas whether there is content that is not in
// a hidden sub-area.
sal_Bool IsCntntHidden() const;
2000-09-18 16:15:01 +00:00
};
inline SwEndNode *SwNode::GetEndNode()
{
return ND_ENDNODE == nNodeType ? (SwEndNode*)this : 0;
}
inline const SwEndNode *SwNode::GetEndNode() const
{
return ND_ENDNODE == nNodeType ? (const SwEndNode*)this : 0;
}
inline SwStartNode *SwNode::GetStartNode()
{
return ND_STARTNODE & nNodeType ? (SwStartNode*)this : 0;
}
inline const SwStartNode *SwNode::GetStartNode() const
{
return ND_STARTNODE & nNodeType ? (const SwStartNode*)this : 0;
}
inline SwTableNode *SwNode::GetTableNode()
{
return ND_TABLENODE == nNodeType ? (SwTableNode*)this : 0;
}
inline const SwTableNode *SwNode::GetTableNode() const
{
return ND_TABLENODE == nNodeType ? (const SwTableNode*)this : 0;
}
inline SwSectionNode *SwNode::GetSectionNode()
{
return ND_SECTIONNODE == nNodeType ? (SwSectionNode*)this : 0;
}
inline const SwSectionNode *SwNode::GetSectionNode() const
{
return ND_SECTIONNODE == nNodeType ? (const SwSectionNode*)this : 0;
}
inline SwCntntNode *SwNode::GetCntntNode()
{
return ND_CONTENTNODE & nNodeType ? (SwCntntNode*)this : 0;
}
inline const SwCntntNode *SwNode::GetCntntNode() const
{
return ND_CONTENTNODE & nNodeType ? (const SwCntntNode*)this : 0;
}
inline sal_Bool SwNode::IsStartNode() const
2000-09-18 16:15:01 +00:00
{
return ND_STARTNODE & nNodeType ? sal_True : sal_False;
2000-09-18 16:15:01 +00:00
}
inline sal_Bool SwNode::IsCntntNode() const
2000-09-18 16:15:01 +00:00
{
return ND_CONTENTNODE & nNodeType ? sal_True : sal_False;
2000-09-18 16:15:01 +00:00
}
inline sal_Bool SwNode::IsEndNode() const
2000-09-18 16:15:01 +00:00
{
return ND_ENDNODE == nNodeType ? sal_True : sal_False;
2000-09-18 16:15:01 +00:00
}
inline sal_Bool SwNode::IsTxtNode() const
2000-09-18 16:15:01 +00:00
{
return ND_TEXTNODE == nNodeType ? sal_True : sal_False;
2000-09-18 16:15:01 +00:00
}
inline sal_Bool SwNode::IsTableNode() const
2000-09-18 16:15:01 +00:00
{
return ND_TABLENODE == nNodeType ? sal_True : sal_False;
2000-09-18 16:15:01 +00:00
}
inline sal_Bool SwNode::IsSectionNode() const
2000-09-18 16:15:01 +00:00
{
return ND_SECTIONNODE == nNodeType ? sal_True : sal_False;
2000-09-18 16:15:01 +00:00
}
inline sal_Bool SwNode::IsNoTxtNode() const
2000-09-18 16:15:01 +00:00
{
return ND_NOTXTNODE & nNodeType ? sal_True : sal_False;
2000-09-18 16:15:01 +00:00
}
inline sal_Bool SwNode::IsOLENode() const
2000-09-18 16:15:01 +00:00
{
return ND_OLENODE == nNodeType ? sal_True : sal_False;
2000-09-18 16:15:01 +00:00
}
inline sal_Bool SwNode::IsGrfNode() const
2000-09-18 16:15:01 +00:00
{
return ND_GRFNODE == nNodeType ? sal_True : sal_False;
2000-09-18 16:15:01 +00:00
}
inline const SwStartNode* SwNode::FindSttNodeByType( SwStartNodeType eTyp ) const
{
return ((SwNode*)this)->FindSttNodeByType( eTyp );
}
inline const SwTableNode* SwNode::FindTableNode() const
{
return ((SwNode*)this)->FindTableNode();
}
inline const SwSectionNode* SwNode::FindSectionNode() const
{
return ((SwNode*)this)->FindSectionNode();
}
inline sal_uLong SwNode::StartOfSectionIndex() const
2000-09-18 16:15:01 +00:00
{
return pStartOfSection->GetIndex();
}
inline sal_uLong SwNode::EndOfSectionIndex() const
2000-09-18 16:15:01 +00:00
{
const SwStartNode* pStNd = IsStartNode() ? (SwStartNode*)this : pStartOfSection;
return pStNd->pEndOfSection->GetIndex();
}
inline const SwEndNode* SwNode::EndOfSectionNode() const
{
const SwStartNode* pStNd = IsStartNode() ? (SwStartNode*)this : pStartOfSection;
return pStNd->pEndOfSection;
}
inline SwEndNode* SwNode::EndOfSectionNode()
{
SwStartNode* pStNd = IsStartNode() ? (SwStartNode*)this : pStartOfSection;
return pStNd->pEndOfSection;
}
inline SwNodes& SwNode::GetNodes()
{
return (SwNodes&)GetArray();
}
inline const SwNodes& SwNode::GetNodes() const
{
return (SwNodes&)GetArray();
}
inline SwDoc* SwNode::GetDoc()
{
return GetNodes().GetDoc();
}
inline const SwDoc* SwNode::GetDoc() const
{
return GetNodes().GetDoc();
}
inline SwFmtColl* SwCntntNode::GetCondFmtColl() const
{
return pCondColl ? (SwFmtColl*)pCondColl->GetRegisteredIn() : 0;
}
inline SwFmtColl& SwCntntNode::GetAnyFmtColl() const
{
return pCondColl && pCondColl->GetRegisteredIn()
? *(SwFmtColl*)pCondColl->GetRegisteredIn()
: *(SwFmtColl*)GetRegisteredIn();
}
inline const SwAttrSet& SwCntntNode::GetSwAttrSet() const
{
return mpAttrSet ? *GetpSwAttrSet() : GetAnyFmtColl().GetAttrSet();
2000-09-18 16:15:01 +00:00
}
2000-09-18 16:15:01 +00:00
//FEATURE::CONDCOLL
inline const SfxPoolItem& SwCntntNode::GetAttr( sal_uInt16 nWhich,
sal_Bool bInParents ) const
2000-09-18 16:15:01 +00:00
{
return GetSwAttrSet().Get( nWhich, bInParents );
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */