diff options
Diffstat (limited to 'sw/inc')
296 files changed, 7004 insertions, 7004 deletions
diff --git a/sw/inc/AnnotationWin.hxx b/sw/inc/AnnotationWin.hxx index 2eeee761b33e..eb2c2641438d 100644 --- a/sw/inc/AnnotationWin.hxx +++ b/sw/inc/AnnotationWin.hxx @@ -51,21 +51,21 @@ class SwAnnotationWin : public sw::sidebarwindows::SwSidebarWin SwFmtFld* aField ); virtual ~SwAnnotationWin(); - virtual void UpdateData(); - virtual void SetPostItText(); - virtual void Delete(); - virtual void GotoPos(); + virtual void UpdateData(); + virtual void SetPostItText(); + virtual void Delete(); + virtual void GotoPos(); - virtual String GetAuthor(); - virtual Date GetDate(); - virtual Time GetTime(); + virtual String GetAuthor(); + virtual Date GetDate(); + virtual Time GetTime(); virtual sal_uInt32 MoveCaret(); - virtual bool CalcFollow(); - void InitAnswer(OutlinerParaObject* pText); + virtual bool CalcFollow(); + void InitAnswer(OutlinerParaObject* pText); - virtual bool IsProtected(); + virtual bool IsProtected(); protected: virtual MenuButton* CreateMenuButton(); diff --git a/sw/inc/EnhancedPDFExportHelper.hxx b/sw/inc/EnhancedPDFExportHelper.hxx index 7c4e522daf3b..f4e0e6372645 100644 --- a/sw/inc/EnhancedPDFExportHelper.hxx +++ b/sw/inc/EnhancedPDFExportHelper.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/HandleAnchorNodeChg.hxx b/sw/inc/HandleAnchorNodeChg.hxx index 9b8fffba0ef4..dddeab5227da 100644 --- a/sw/inc/HandleAnchorNodeChg.hxx +++ b/sw/inc/HandleAnchorNodeChg.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/IDocumentChartDataProviderAccess.hxx b/sw/inc/IDocumentChartDataProviderAccess.hxx index 18c0aba92b2f..4043e75c4f32 100644 --- a/sw/inc/IDocumentChartDataProviderAccess.hxx +++ b/sw/inc/IDocumentChartDataProviderAccess.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/IDocumentContentOperations.hxx b/sw/inc/IDocumentContentOperations.hxx index 08ac070fd891..bc6f0b154c8c 100644 --- a/sw/inc/IDocumentContentOperations.hxx +++ b/sw/inc/IDocumentContentOperations.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -132,7 +132,7 @@ /** */ - virtual SwFlyFrmFmt* Insert(const SwPaM& rRg, const GraphicObject& rGrfObj, const SfxItemSet* pFlyAttrSet, + virtual SwFlyFrmFmt* Insert(const SwPaM& rRg, const GraphicObject& rGrfObj, const SfxItemSet* pFlyAttrSet, const SfxItemSet* pGrfAttrSet, SwFrmFmt*) = 0; /** austauschen einer Grafik (mit Undo) diff --git a/sw/inc/IDocumentDeviceAccess.hxx b/sw/inc/IDocumentDeviceAccess.hxx index 6b1a30b8d06f..84e7ba134b8c 100644 --- a/sw/inc/IDocumentDeviceAccess.hxx +++ b/sw/inc/IDocumentDeviceAccess.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,7 +39,7 @@ */ class IDocumentDeviceAccess { - public: + public: /** Return the printer set at the document. @@ -138,7 +138,7 @@ [in] the new PrintData. */ virtual void setPrintData(/*[in]*/ const SwPrintData& rPrtData) = 0; - + protected: virtual ~IDocumentDeviceAccess() {}; }; diff --git a/sw/inc/IDocumentDrawModelAccess.hxx b/sw/inc/IDocumentDrawModelAccess.hxx index 9d247673ece2..a5c426be432b 100644 --- a/sw/inc/IDocumentDrawModelAccess.hxx +++ b/sw/inc/IDocumentDrawModelAccess.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/IDocumentExternalData.hxx b/sw/inc/IDocumentExternalData.hxx index badcb82be23d..b75ccbc7911c 100644 --- a/sw/inc/IDocumentExternalData.hxx +++ b/sw/inc/IDocumentExternalData.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -54,7 +54,7 @@ typedef ::boost::shared_ptr<ExternalData> tExternalDataPointer; class IDocumentExternalData { protected: - typedef ::std::hash_map<sw::tExternalDataType, sw::tExternalDataPointer, sw::ExternalDataTypeHash> + typedef ::std::hash_map<sw::tExternalDataType, sw::tExternalDataPointer, sw::ExternalDataTypeHash> tExternalData; tExternalData m_externalData; @@ -62,7 +62,7 @@ protected: virtual ~IDocumentExternalData() {}; public: - virtual void setExternalData(sw::tExternalDataType eType, + virtual void setExternalData(sw::tExternalDataType eType, sw::tExternalDataPointer pPayload) = 0; virtual sw::tExternalDataPointer getExternalData(sw::tExternalDataType eType) = 0; }; diff --git a/sw/inc/IDocumentFieldsAccess.hxx b/sw/inc/IDocumentFieldsAccess.hxx index d5b3ec4aa7f5..6c40d8cf05ea 100644 --- a/sw/inc/IDocumentFieldsAccess.hxx +++ b/sw/inc/IDocumentFieldsAccess.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -148,7 +148,7 @@ namespace com { namespace sun { namespace star { namespace uno { class Any; } } virtual SwDocUpdtFld& GetUpdtFlds() const = 0; - /* @@@MAINTAINABILITY-HORROR@@@ + /* @@@MAINTAINABILITY-HORROR@@@ SwNode (see parameter pChk) is (?) part of the private data structure of SwDoc and should not be exposed */ diff --git a/sw/inc/IDocumentLayoutAccess.hxx b/sw/inc/IDocumentLayoutAccess.hxx index 7593aa670a99..0e645f196191 100644 --- a/sw/inc/IDocumentLayoutAccess.hxx +++ b/sw/inc/IDocumentLayoutAccess.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/IDocumentLineNumberAccess.hxx b/sw/inc/IDocumentLineNumberAccess.hxx index b4a6327dcc33..9f0ffa0401a3 100644 --- a/sw/inc/IDocumentLineNumberAccess.hxx +++ b/sw/inc/IDocumentLineNumberAccess.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/IDocumentLinksAdministration.hxx b/sw/inc/IDocumentLinksAdministration.hxx index 449316fa0729..e3457bcf9f7c 100644 --- a/sw/inc/IDocumentLinksAdministration.hxx +++ b/sw/inc/IDocumentLinksAdministration.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,11 +39,11 @@ namespace sfx2 { class SvLinkSource; class LinkManager; } */ class IDocumentLinksAdministration { - public: + public: /** Links un-/sichtbar in LinkManager einfuegen (gelinkte Bereiche) */ virtual bool IsVisibleLinks() const = 0; - + /** */ virtual void SetVisibleLinks(bool bFlag) = 0; @@ -51,7 +51,7 @@ namespace sfx2 { class SvLinkSource; class LinkManager; } /** */ virtual sfx2::LinkManager& GetLinkManager() = 0; - + /** */ virtual const sfx2::LinkManager& GetLinkManager() const = 0; @@ -60,31 +60,31 @@ namespace sfx2 { class SvLinkSource; class LinkManager; } SwDocShell::UpdateLinks() to new SwDoc::UpdateLinks(): */ virtual void UpdateLinks(BOOL bUI) = 0; - + /** SS fuers Linken von Dokumentteilen */ virtual bool GetData(const String& rItem, const String& rMimeType, ::com::sun::star::uno::Any& rValue) const = 0; - + /** */ virtual bool SetData(const String& rItem, const String& rMimeType, const ::com::sun::star::uno::Any& rValue) = 0; - + /** */ virtual ::sfx2::SvLinkSource* CreateLinkSource(const String& rItem) = 0; - + /** embedded alle lokalen Links (Bereiche/Grafiken) */ virtual bool EmbedAllLinks() = 0; - + /** */ virtual void SetLinksUpdated(const bool bNewLinksUpdated) = 0; - + /** - */ + */ virtual bool LinksUpdated() const = 0; - + protected: virtual ~IDocumentLinksAdministration() {}; }; diff --git a/sw/inc/IDocumentListItems.hxx b/sw/inc/IDocumentListItems.hxx index 8031993f17e4..e2ce05f7f495 100644 --- a/sw/inc/IDocumentListItems.hxx +++ b/sw/inc/IDocumentListItems.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/IDocumentListsAccess.hxx b/sw/inc/IDocumentListsAccess.hxx index b5f47031d9e3..32ed7e03f453 100644 --- a/sw/inc/IDocumentListsAccess.hxx +++ b/sw/inc/IDocumentListsAccess.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/IDocumentMarkAccess.hxx b/sw/inc/IDocumentMarkAccess.hxx index e3cff0189cf4..ad03f51905c4 100644 --- a/sw/inc/IDocumentMarkAccess.hxx +++ b/sw/inc/IDocumentMarkAccess.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -84,18 +84,18 @@ class IDocumentMarkAccess const ::rtl::OUString& rProposedName, MarkType eMark) =0; - virtual sw::mark::IFieldmark* makeFieldBookmark( const SwPaM& rPaM, - const rtl::OUString& rName, + virtual sw::mark::IFieldmark* makeFieldBookmark( const SwPaM& rPaM, + const rtl::OUString& rName, const rtl::OUString& rType) = 0; - virtual sw::mark::IFieldmark* makeNoTextFieldBookmark( const SwPaM& rPaM, - const rtl::OUString& rName, + virtual sw::mark::IFieldmark* makeNoTextFieldBookmark( const SwPaM& rPaM, + const rtl::OUString& rName, const rtl::OUString& rType) = 0; /** Returns a mark in the document for a paragraph. If there is none, a mark will be created. @param rTxtNode - [in] the paragraph being marked (a selection over the paragraph is marked) + [in] the paragraph being marked (a selection over the paragraph is marked) @param eMark [in] the type of the new mark. @@ -109,18 +109,18 @@ class IDocumentMarkAccess /** Moves an existing mark to a new selection and performs needed updates. @param io_pMark [in/out] the mark to be moved - + @param rPaM - [in] new selection to be marked + [in] new selection to be marked */ virtual void repositionMark(::sw::mark::IMark* io_pMark, const SwPaM& rPaM) =0; - /** Renames an existing Mark, if possible. + /** Renames an existing Mark, if possible. @param io_pMark [in/out] the mark to be renamed - + @param rNewName [in] new name for the mark @@ -132,9 +132,9 @@ class IDocumentMarkAccess /** Corrects marks (absolute) This method ignores the previous position of the mark in the paragraph - @param rOldNode + @param rOldNode [in] the node from which nodes should be moved - + @param rNewPos [in] new position to which marks will be moved, if nOffset == 0 @@ -148,11 +148,11 @@ class IDocumentMarkAccess /** Corrects marks (relative) This method uses the previous position of the mark in the paragraph as offset - @param rOldNode + @param rOldNode [in] the node from which nodes should be moved - + @param rNewPos - [in] new position to which marks from the start of the paragraph will be + [in] new position to which marks from the start of the paragraph will be moved, if nOffset == 0 @param nOffset @@ -208,7 +208,7 @@ class IDocumentMarkAccess [in] the name of the mark to find. @returns - an iterator pointing to the mark, or pointing to getMarksEnd() if nothing was found. + an iterator pointing to the mark, or pointing to getMarksEnd() if nothing was found. */ virtual const_iterator_t findMark(const ::rtl::OUString& rMark) const =0; @@ -233,7 +233,7 @@ class IDocumentMarkAccess [in] the name of the bookmark to find. @returns - an iterator pointing to the bookmark, or getBookmarksEnd() if nothing was found. + an iterator pointing to the bookmark, or getBookmarksEnd() if nothing was found. */ virtual const_iterator_t findBookmark(const ::rtl::OUString& rMark) const =0; diff --git a/sw/inc/IDocumentOutlineNodes.hxx b/sw/inc/IDocumentOutlineNodes.hxx index 9468fa9c14bb..f0e2cc963e02 100644 --- a/sw/inc/IDocumentOutlineNodes.hxx +++ b/sw/inc/IDocumentOutlineNodes.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/IDocumentRedlineAccess.hxx b/sw/inc/IDocumentRedlineAccess.hxx index 0e00188dac6b..97f53e81ff3a 100644 --- a/sw/inc/IDocumentRedlineAccess.hxx +++ b/sw/inc/IDocumentRedlineAccess.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/IDocumentSettingAccess.hxx b/sw/inc/IDocumentSettingAccess.hxx index 2b120901f6ba..2c8c5abdb71c 100644 --- a/sw/inc/IDocumentSettingAccess.hxx +++ b/sw/inc/IDocumentSettingAccess.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/IDocumentState.hxx b/sw/inc/IDocumentState.hxx index 22c836c871ea..e4a7552a439c 100644 --- a/sw/inc/IDocumentState.hxx +++ b/sw/inc/IDocumentState.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -25,41 +25,41 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - + #ifndef IDOCUMENTSTATE_HXX_INCLUDED #define IDOCUMENTSTATE_HXX_INCLUDED - + #include <tools/solar.h> - + /** Get information about the current document state */ class IDocumentState - { + { public: /** Bei Formataenderungen muss das zu Fuss gerufen werden! */ virtual void SetModified() = 0; - + /** */ virtual void ResetModified() = 0; - + /** Dokumentaenderungen? */ - virtual bool IsModified() const = 0; - + virtual bool IsModified() const = 0; + /** Zustaende ueber Ladezustand frueher DocInfo */ virtual bool IsLoaded() const = 0; - + /** */ - virtual bool IsUpdateExpFld() const = 0; - + virtual bool IsUpdateExpFld() const = 0; + /** */ - virtual bool IsNewDoc() const = 0; + virtual bool IsNewDoc() const = 0; /** */ @@ -67,16 +67,16 @@ /** */ - virtual void SetPageNums(bool b) = 0; - + virtual void SetPageNums(bool b) = 0; + /** */ virtual void SetNewDoc(bool b) = 0; - + /** */ virtual void SetUpdateExpFldStat(bool b) = 0; - + /** */ virtual void SetLoaded(bool b = sal_True) = 0; @@ -84,7 +84,7 @@ protected: virtual ~IDocumentState() {}; }; - + #endif // IDOCUMENTSTATE_HXX_INCLUDED /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/IDocumentStatistics.hxx b/sw/inc/IDocumentStatistics.hxx index c40372997da9..e31f1483caaf 100644 --- a/sw/inc/IDocumentStatistics.hxx +++ b/sw/inc/IDocumentStatistics.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -42,9 +42,9 @@ */ virtual void DocInfoChgd() = 0; - /** Dokument - Statistics + /** Dokument - Statistics */ - virtual const SwDocStat &GetDocStat() const = 0; + virtual const SwDocStat &GetDocStat() const = 0; /** */ diff --git a/sw/inc/IDocumentStylePoolAccess.hxx b/sw/inc/IDocumentStylePoolAccess.hxx index 92727e8c705e..cdb9ef08fcf8 100644 --- a/sw/inc/IDocumentStylePoolAccess.hxx +++ b/sw/inc/IDocumentStylePoolAccess.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/IDocumentTimerAccess.hxx b/sw/inc/IDocumentTimerAccess.hxx index c918edc074d4..a717f4606953 100644 --- a/sw/inc/IDocumentTimerAccess.hxx +++ b/sw/inc/IDocumentTimerAccess.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -25,14 +25,14 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ - + #ifndef IDOCUMENTTIMERACCESS_HXX_INCLUDED #define IDOCUMENTTIMERACCESS_HXX_INCLUDED - + /** Get information about the current document state */ class IDocumentTimerAccess - { + { public: /** Set modus to start, i.e. start timer if block count == 0 @@ -57,7 +57,7 @@ protected: virtual ~IDocumentTimerAccess() {}; }; - + #endif // IDOCUMENTTIMERACCESS_HXX_INCLUDED /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/IDocumentUndoRedo.hxx b/sw/inc/IDocumentUndoRedo.hxx index 45f33f58dc1b..89b54629d372 100644 --- a/sw/inc/IDocumentUndoRedo.hxx +++ b/sw/inc/IDocumentUndoRedo.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -177,7 +177,7 @@ public: bis zum Ende des Undo-Arrays */ virtual void ClearRedo() = 0; - + /** Manipulates the position of the undo stack which reset the modified flag */ virtual void setUndoNoModifiedPosition( SwUndoNoModifiedPosition ) = 0; @@ -185,11 +185,11 @@ public: /** Gets the position of the undo stack which reset the modified flag */ virtual SwUndoNoModifiedPosition getUndoNoModifiedPosition() const = 0; - + protected: virtual ~IDocumentUndoRedo() {}; }; - + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/IGrammarContact.hxx b/sw/inc/IGrammarContact.hxx index dbaf3867d496..f3581ecbe4fc 100644 --- a/sw/inc/IGrammarContact.hxx +++ b/sw/inc/IGrammarContact.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -37,9 +37,9 @@ class SwDoc; /** Organizer of the contact between SwTxtNodes and grammar checker */ class IGrammarContact -{ +{ public: - + /** Update cursor position reacts to a change of the current input cursor As long as the cursor in inside a paragraph, the grammar checking does not show new grammar faults. When the cursor leaves the paragraph, these @@ -47,7 +47,7 @@ public: @returns void */ virtual void updateCursorPosition( const SwPosition& rNewPos ) = 0; - + /** getGrammarCheck checks if the given text node is blocked by the current cursor if not, the normal markup list is returned if blocked, it will return a markup list "proxy" diff --git a/sw/inc/IInterface.hxx b/sw/inc/IInterface.hxx index 1fbdf7947732..fbe9d116edc3 100644 --- a/sw/inc/IInterface.hxx +++ b/sw/inc/IInterface.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -28,43 +28,43 @@ #ifndef IINTERFACE_HXX_INCLUDED #define IINTERFACE_HXX_INCLUDED - + #include <sal/types.h> - - /** The base interface + + /** The base interface */ class IInterface - { + { public: - + /** Aquire a reference to an instance. A caller shall release the instance by calling 'release' when it is no longer needed. 'acquire' and 'release' calls need to be balanced. - - @returns + + @returns the current reference count of the instance for debugging purposes. */ virtual sal_Int32 acquire() = 0; - + /** Releases a reference to an instance. A caller has to call 'release' when a before aquired reference to an instance - is no longer needed. 'acquire' and 'release' calls need to - be balanced. - - @returns + is no longer needed. 'acquire' and 'release' calls need to + be balanced. + + @returns the current reference count of the instance for debugging purposes. */ - virtual sal_Int32 release() = 0; - + virtual sal_Int32 release() = 0; + /** Returns the current reference count. This method should be used for debugging purposes. Using it otherwise is a signal of a design flaw. */ virtual sal_Int32 getReferenceCount() const = 0; - + protected: virtual ~IInterface() {}; }; - + #endif // IDOCUMENT_HXX_INCLUDED /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/IMark.hxx b/sw/inc/IMark.hxx index 66d1dc6d19df..5ef17ebd5053 100644 --- a/sw/inc/IMark.hxx +++ b/sw/inc/IMark.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx index 946492a3b794..2823b10ec078 100644 --- a/sw/inc/PostItMgr.hxx +++ b/sw/inc/PostItMgr.hxx @@ -66,12 +66,12 @@ class SwSidebarItem; class SwFrm; class Window; -#define SORT_POS 1 -#define SORT_AUTHOR 2 -#define SORT_DATE 3 +#define SORT_POS 1 +#define SORT_AUTHOR 2 +#define SORT_DATE 3 -#define COL_NOTES_SIDEPANE_ARROW_ENABLED RGB_COLORDATA(0,0,0) -#define COL_NOTES_SIDEPANE_ARROW_DISABLED RGB_COLORDATA(172,168,153) +#define COL_NOTES_SIDEPANE_ARROW_ENABLED RGB_COLORDATA(0,0,0) +#define COL_NOTES_SIDEPANE_ARROW_DISABLED RGB_COLORDATA(172,168,153) typedef std::list<SwSidebarItem*> SwSidebarItem_list; typedef std::list<SwSidebarItem*>::iterator SwSidebarItem_iterator; @@ -146,21 +146,21 @@ class SwNoteProps: public utl::ConfigItem class SwPostItMgr: public SfxListener { private: - SwView* mpView; - SwWrtShell* mpWrtShell; - SwEditWin* mpEditWin; + SwView* mpView; + SwWrtShell* mpWrtShell; + SwEditWin* mpEditWin; std::list< SwSidebarItem*> mvPostItFlds; - std::vector<SwPostItPageItem*> mPages; - ULONG mnEventId; - bool mbWaitingForCalcRects; + std::vector<SwPostItPageItem*> mPages; + ULONG mnEventId; + bool mbWaitingForCalcRects; sw::sidebarwindows::SwSidebarWin* mpActivePostIt; - bool mbLayout; - long mbLayoutHeight; - long mbLayouting; - bool mbReadOnly; - bool mbDeleteNote; - FieldShadowState mShadowState; - OutlinerParaObject* mpAnswer; + bool mbLayout; + long mbLayoutHeight; + long mbLayouting; + bool mbReadOnly; + bool mbDeleteNote; + FieldShadowState mShadowState; + OutlinerParaObject* mpAnswer; bool mbIsShowAnchor; // data structure to collect the <SwSidebarWin> instances for certain <SwFrm> instances. @@ -168,26 +168,26 @@ class SwPostItMgr: public SfxListener typedef std::list<sw::sidebarwindows::SwSidebarWin*>::iterator SwSidebarWin_iterator; - void AddPostIts(bool bCheckExistance = true,bool bFocus = true); - //void AddRedlineComments(bool bCheckExistance, bool bFocus); + void AddPostIts(bool bCheckExistance = true,bool bFocus = true); + //void AddRedlineComments(bool bCheckExistance, bool bFocus); void RemoveSidebarWin(); - void PreparePageContainer(); - void Scroll(const long lScroll,const unsigned long aPage ); + void PreparePageContainer(); + void Scroll(const long lScroll,const unsigned long aPage ); void AutoScroll(const sw::sidebarwindows::SwSidebarWin* pPostIt,const unsigned long aPage ); - bool ScrollbarHit(const unsigned long aPage,const Point &aPoint); + bool ScrollbarHit(const unsigned long aPage,const Point &aPoint); bool LayoutByPage( std::list<sw::sidebarwindows::SwSidebarWin*> &aVisiblePostItList, const Rectangle aBorder, long lNeededHeight); - void CheckForRemovedPostIts(); - bool ArrowEnabled(USHORT aDirection,unsigned long aPage) const; - bool BorderOverPageBorder(unsigned long aPage) const; - bool HasScrollbars() const; - void Focus(SfxBroadcaster& rBC); - - sal_Int32 GetInitialAnchorDistance() const; - sal_Int32 GetScrollSize() const; - sal_Int32 GetSpaceBetween() const; - void SetReadOnlyState(); + void CheckForRemovedPostIts(); + bool ArrowEnabled(USHORT aDirection,unsigned long aPage) const; + bool BorderOverPageBorder(unsigned long aPage) const; + bool HasScrollbars() const; + void Focus(SfxBroadcaster& rBC); + + sal_Int32 GetInitialAnchorDistance() const; + sal_Int32 GetScrollSize() const; + sal_Int32 GetSpaceBetween() const; + void SetReadOnlyState(); DECL_LINK( CalcHdl, void*); sw::sidebarwindows::SwSidebarWin* GetSidebarWin(const SfxBroadcaster* pBroadcaster) const; @@ -202,8 +202,8 @@ class SwPostItMgr: public SfxListener ~SwPostItMgr(); typedef std::list< SwSidebarItem* >::const_iterator const_iterator; - const_iterator begin() const { return mvPostItFlds.begin(); } - const_iterator end() const { return mvPostItFlds.end(); } + const_iterator begin() const { return mvPostItFlds.begin(); } + const_iterator end() const { return mvPostItFlds.end(); } void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); @@ -264,12 +264,12 @@ class SwPostItMgr: public SfxListener void SetSpellChecking(); - Color GetColorDark(sal_uInt16 aAuthorIndex); - Color GetColorLight(sal_uInt16 aAuthorIndex); + Color GetColorDark(sal_uInt16 aAuthorIndex); + Color GetColorLight(sal_uInt16 aAuthorIndex); Color GetColorAnchor(sal_uInt16 aAuthorIndex); - void RegisterAnswer(OutlinerParaObject* pAnswer) { mpAnswer = pAnswer;} + void RegisterAnswer(OutlinerParaObject* pAnswer) { mpAnswer = pAnswer;} OutlinerParaObject* IsAnswer() {return mpAnswer;} void CheckMetaText(); void StartSpelling(); diff --git a/sw/inc/RefreshListenerContainer.hxx b/sw/inc/RefreshListenerContainer.hxx index cc9506d843b1..155b5face17e 100644 --- a/sw/inc/RefreshListenerContainer.hxx +++ b/sw/inc/RefreshListenerContainer.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/SidebarWin.hxx b/sw/inc/SidebarWin.hxx index 7720c387b7ea..981b1a7dfa07 100644 --- a/sw/inc/SidebarWin.hxx +++ b/sw/inc/SidebarWin.hxx @@ -99,47 +99,47 @@ class SwSidebarWin : public Window long GetPostItTextHeight(); - void SwitchToPostIt(USHORT aDirection); - virtual void SwitchToFieldPos(); + void SwitchToPostIt(USHORT aDirection); + virtual void SwitchToFieldPos(); virtual sal_uInt32 MoveCaret() = 0; - virtual void UpdateData() = 0; - virtual void SetPostItText() = 0; - virtual void Delete(); - virtual void GotoPos() = 0; + virtual void UpdateData() = 0; + virtual void SetPostItText() = 0; + virtual void Delete(); + virtual void GotoPos() = 0; virtual String GetAuthor() = 0; virtual Date GetDate() = 0; virtual Time GetTime() = 0; - void ExecuteCommand(USHORT nSlot); - void InitControls(); + void ExecuteCommand(USHORT nSlot); + void InitControls(); void HidePostIt(); void DoResize(); - void ResizeIfNeccessary(long aOldHeight, long aNewHeight); - void SetScrollbar(); + void ResizeIfNeccessary(long aOldHeight, long aNewHeight); + void SetScrollbar(); - void SetVirtualPosSize( const Point& aPoint, const Size& aSize); - const Point VirtualPos() { return mPosSize.TopLeft(); } - const Size VirtualSize() { return mPosSize.GetSize(); } + void SetVirtualPosSize( const Point& aPoint, const Size& aSize); + const Point VirtualPos() { return mPosSize.TopLeft(); } + const Size VirtualSize() { return mPosSize.GetSize(); } void ShowAnchorOnly(const Point &aPoint); void ShowNote(); void HideNote(); - void ResetAttributes(); + void ResetAttributes(); void SetSidebarPosition(sw::sidebarwindows::SidebarPosition eSidebarPosition); - void SetReadonly(BOOL bSet); - BOOL IsReadOnly() { return mbReadonly;} - bool IsPreview() { return nFlags & PB_Preview;} + void SetReadonly(BOOL bSet); + BOOL IsReadOnly() { return mbReadonly;} + bool IsPreview() { return nFlags & PB_Preview;} void SetColor(Color aColorDark,Color aColorLight, Color aColorAnchor); const Color& ColorAnchor() { return mColorAnchor; } const Color& ColorDark() { return mColorDark; } const Color& ColorLight() { return mColorLight; } - void Rescale(); + void Rescale(); void SetViewState(::sw::sidebarwindows::ViewState bViewState); @@ -147,25 +147,25 @@ class SwSidebarWin : public Window void SetFollow( bool bIsFollow) { mbIsFollow = bIsFollow; }; virtual bool CalcFollow() = 0; - sal_Int32 GetMetaHeight(); - sal_Int32 GetMinimumSizeWithMeta(); - sal_Int32 GetMinimumSizeWithoutMeta(); - sal_Int32 GetMetaButtonAreaWidth(); - sal_Int32 GetScrollbarWidth(); + sal_Int32 GetMetaHeight(); + sal_Int32 GetMinimumSizeWithMeta(); + sal_Int32 GetMinimumSizeWithoutMeta(); + sal_Int32 GetMetaButtonAreaWidth(); + sal_Int32 GetScrollbarWidth(); - void SetSpellChecking(); + void SetSpellChecking(); - void ToggleInsMode(); + void ToggleInsMode(); - virtual void ActivatePostIt(); - virtual void DeactivatePostIt(); + virtual void ActivatePostIt(); + virtual void DeactivatePostIt(); void SetChangeTracking( const SwPostItHelper::SwLayoutStatus aStatus, const Color& aColor); SwPostItHelper::SwLayoutStatus GetLayoutStatus() { return mLayoutStatus; } Color GetChangeColor() { return mChangeColor; } - virtual bool IsProtected() {return mbReadonly;}; + virtual bool IsProtected() {return mbReadonly;}; DECL_LINK( WindowEventListener, VclSimpleEvent* ); inline bool IsMouseOverSidebarWin() const { return mbMouseOver; } @@ -245,27 +245,27 @@ class SwSidebarWin : public Window class SwRedComment : public SwSidebarWin { private: - SwRedline* pRedline; + SwRedline* pRedline; protected: - virtual void MouseButtonDown( const MouseEvent& rMEvt ); + virtual void MouseButtonDown( const MouseEvent& rMEvt ); public: SwRedComment( Window* pParent, WinBits nBits,SwPostItMgr* aMgr,SwPostItBits aBits,SwRedline* pRed); virtual ~SwRedComment() {}; - virtual void UpdateData(); - virtual void SetPostItText(); - virtual void Delete(); - virtual void GotoPos(); - virtual void SetPopup(); - virtual void ActivatePostIt(); - virtual void DeactivatePostIt(); + virtual void UpdateData(); + virtual void SetPostItText(); + virtual void Delete(); + virtual void GotoPos(); + virtual void SetPopup(); + virtual void ActivatePostIt(); + virtual void DeactivatePostIt(); - virtual String GetAuthor(); - virtual Date GetDate(); - virtual Time GetTime(); + virtual String GetAuthor(); + virtual Date GetDate(); + virtual Time GetTime(); - virtual bool IsProtected(); + virtual bool IsProtected(); }; */ diff --git a/sw/inc/SwAppletImpl.hxx b/sw/inc/SwAppletImpl.hxx index b6870c745635..8ec30648b775 100644 --- a/sw/inc/SwAppletImpl.hxx +++ b/sw/inc/SwAppletImpl.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -54,8 +54,8 @@ class SwApplet_Impl { com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject > xApplet; SvCommandList aCommandList; // und die szugehorige Command-List - SfxItemSet aItemSet; - String sAlt; + SfxItemSet aItemSet; + String sAlt; public: static USHORT GetOptionType( const String& rName, BOOL bApplet ); diff --git a/sw/inc/SwCapObjType.hxx b/sw/inc/SwCapObjType.hxx index e0f194f5cdbb..3fae8a859e00 100644 --- a/sw/inc/SwCapObjType.hxx +++ b/sw/inc/SwCapObjType.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/SwGetPoolIdFromName.hxx b/sw/inc/SwGetPoolIdFromName.hxx index 25e1a4181755..44040cbafac2 100644 --- a/sw/inc/SwGetPoolIdFromName.hxx +++ b/sw/inc/SwGetPoolIdFromName.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -36,12 +36,12 @@ typedef USHORT SwGetPoolIdFromName; namespace nsSwGetPoolIdFromName { const SwGetPoolIdFromName GET_POOLID_TXTCOLL = 0x01; - const SwGetPoolIdFromName GET_POOLID_CHRFMT = 0x02; - const SwGetPoolIdFromName GET_POOLID_FRMFMT = 0x04; + const SwGetPoolIdFromName GET_POOLID_CHRFMT = 0x02; + const SwGetPoolIdFromName GET_POOLID_FRMFMT = 0x04; const SwGetPoolIdFromName GET_POOLID_PAGEDESC = 0x08; const SwGetPoolIdFromName GET_POOLID_NUMRULE = 0x10; } -#endif +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/SwNodeNum.hxx b/sw/inc/SwNodeNum.hxx index 69cf305cd0e0..d05552d7c160 100644 --- a/sw/inc/SwNodeNum.hxx +++ b/sw/inc/SwNodeNum.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/SwNumberTree.hxx b/sw/inc/SwNumberTree.hxx index e8c0ac0e08d1..4d880b6b8831 100644 --- a/sw/inc/SwNumberTree.hxx +++ b/sw/inc/SwNumberTree.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/SwNumberTreeTypes.hxx b/sw/inc/SwNumberTreeTypes.hxx index a50140d96c27..378d7f4b753b 100644 --- a/sw/inc/SwNumberTreeTypes.hxx +++ b/sw/inc/SwNumberTreeTypes.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/SwRewriter.hxx b/sw/inc/SwRewriter.hxx index 8de178aac4bb..c2d60502b8bf 100644 --- a/sw/inc/SwRewriter.hxx +++ b/sw/inc/SwRewriter.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/SwSmartTagMgr.hxx b/sw/inc/SwSmartTagMgr.hxx index d06293ad82bb..7b59e871bebf 100644 --- a/sw/inc/SwSmartTagMgr.hxx +++ b/sw/inc/SwSmartTagMgr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -45,13 +45,13 @@ private: SwSmartTagMgr( const rtl::OUString& rModuleName ); virtual ~SwSmartTagMgr(); - + public: static SwSmartTagMgr& Get(); - + // ::com::sun::star::util::XModifyListener virtual void SAL_CALL modified( const ::com::sun::star::lang::EventObject& aEvent ) throw(::com::sun::star::uno::RuntimeException); - + // ::com::sun::star::util::XChangesListener virtual void SAL_CALL changesOccurred( const ::com::sun::star::util::ChangesEvent& Event ) throw(::com::sun::star::uno::RuntimeException); }; diff --git a/sw/inc/SwStyleNameMapper.hxx b/sw/inc/SwStyleNameMapper.hxx index 1269c2efd1c4..429c5f32a6f8 100644 --- a/sw/inc/SwStyleNameMapper.hxx +++ b/sw/inc/SwStyleNameMapper.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -44,8 +44,8 @@ * These UI names are loaded from the resource files on demand. * * It also holds all information about the 'Programmatic' names of styles - * which remain static (and are hardcoded in the corresponding cxx file) - * for all languages. + * which remain static (and are hardcoded in the corresponding cxx file) + * for all languages. * * This class also provides static functions which can be used for the * following conversions: @@ -59,7 +59,7 @@ * * The relationship of these tables to the style families is as follows: * - * 1. Paragraph contains the Text, Lists, Extra, Register, Doc and HTML + * 1. Paragraph contains the Text, Lists, Extra, Register, Doc and HTML * name arrays. * 2. Character contains the ChrFmt and HTMLChrFmt name arrays. * 3. Page contains the PageDesc name array. @@ -97,8 +97,8 @@ class SwStyleNameMapper protected: // UI Name tables - static SvStringsDtor *pTextUINameArray, - *pListsUINameArray, + static SvStringsDtor *pTextUINameArray, + *pListsUINameArray, *pExtraUINameArray, *pRegisterUINameArray, *pDocUINameArray, @@ -109,8 +109,8 @@ protected: *pPageDescUINameArray, *pNumRuleUINameArray, // Programmatic Name tables - *pTextProgNameArray, - *pListsProgNameArray, + *pTextProgNameArray, + *pListsProgNameArray, *pExtraProgNameArray, *pRegisterProgNameArray, *pDocProgNameArray, @@ -133,12 +133,12 @@ protected: *pFrameProgMap, *pNumRuleProgMap; - static SvStringsDtor* NewUINameArray( SvStringsDtor*&, - sal_uInt16 nStt, + static SvStringsDtor* NewUINameArray( SvStringsDtor*&, + sal_uInt16 nStt, sal_uInt16 nEnd ); - static SvStringsDtor* NewProgNameArray( SvStringsDtor*&, - const SwTableEntry *pTable, + static SvStringsDtor* NewProgNameArray( SvStringsDtor*&, + const SwTableEntry *pTable, sal_uInt8 nCount); static void fillNameFromId ( sal_uInt16 nId, String &rName, sal_Bool bProgName ); @@ -150,18 +150,18 @@ protected: public: // This gets the UI Name from the programmatic name static const String& GetUIName ( const String& rName, SwGetPoolIdFromName ); - static void FillUIName ( const String& rName, String& rFillName, SwGetPoolIdFromName, sal_Bool bDisambiguate = sal_False ); + static void FillUIName ( const String& rName, String& rFillName, SwGetPoolIdFromName, sal_Bool bDisambiguate = sal_False ); // Get the programmatic Name from the UI name static const String& GetProgName ( const String& rName, SwGetPoolIdFromName ); - static void FillProgName ( const String& rName, String& rFillName, SwGetPoolIdFromName, sal_Bool bDisambiguate = sal_False ); + static void FillProgName ( const String& rName, String& rFillName, SwGetPoolIdFromName, sal_Bool bDisambiguate = sal_False ); // This gets the UI Name from the Pool ID SW_DLLPUBLIC static void FillUIName ( sal_uInt16 nId, String& rFillName ); SW_DLLPUBLIC static const String& GetUIName ( sal_uInt16 nId, const String& rName ); // This gets the programmatic Name from the Pool ID - static void FillProgName( sal_uInt16 nId, String& rFillName ); + static void FillProgName( sal_uInt16 nId, String& rFillName ); SW_DLLPUBLIC static const String& GetProgName ( sal_uInt16 nId, const String& rName ); // This gets the PoolId from the UI Name diff --git a/sw/inc/SwUndoField.hxx b/sw/inc/SwUndoField.hxx index b2d8671a8a8b..eba56ed8c659 100644 --- a/sw/inc/SwUndoField.hxx +++ b/sw/inc/SwUndoField.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/SwUndoFmt.hxx b/sw/inc/SwUndoFmt.hxx index 3b11b548261a..b68ae488bec3 100644 --- a/sw/inc/SwUndoFmt.hxx +++ b/sw/inc/SwUndoFmt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/SwUndoPageDesc.hxx b/sw/inc/SwUndoPageDesc.hxx index 4b52347198a7..b112437bd7b4 100644 --- a/sw/inc/SwUndoPageDesc.hxx +++ b/sw/inc/SwUndoPageDesc.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,9 +41,9 @@ class SwUndoPageDesc : public SwUndo SwDoc * pDoc; bool bExchange; - // To avoid duplication of (header/footer)content nodes for simple page desc changes - void ExchangeContentNodes( SwPageDesc& rSource, SwPageDesc &rDest ); - + // To avoid duplication of (header/footer)content nodes for simple page desc changes + void ExchangeContentNodes( SwPageDesc& rSource, SwPageDesc &rDest ); + public: SwUndoPageDesc(const SwPageDesc & aOld, const SwPageDesc & aNew, SwDoc * pDoc); diff --git a/sw/inc/SwUndoTOXChange.hxx b/sw/inc/SwUndoTOXChange.hxx index 9c6838e470a1..1b498b5154e0 100644 --- a/sw/inc/SwUndoTOXChange.hxx +++ b/sw/inc/SwUndoTOXChange.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/SwXMLSectionList.hxx b/sw/inc/SwXMLSectionList.hxx index 7a9971f8f875..8655fc468b11 100644 --- a/sw/inc/SwXMLSectionList.hxx +++ b/sw/inc/SwXMLSectionList.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -46,7 +46,7 @@ public: SvStrings & rSectionList; // #110680# - SwXMLSectionList( + SwXMLSectionList( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory, SvStrings & rNewSectionList ); @@ -60,13 +60,13 @@ private: SwXMLSectionList & rLocalRef; public: SvXMLSectionListContext ( SwXMLSectionList& rImport, - sal_uInt16 nPrefix, + sal_uInt16 nPrefix, const rtl::OUString& rLocalName, - const ::com::sun::star::uno::Reference< + const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const rtl::OUString& rLocalName, - const ::com::sun::star::uno::Reference< + const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); ~SvXMLSectionListContext ( void ); }; @@ -77,13 +77,13 @@ private: SwXMLSectionList & rLocalRef; public: SvXMLIgnoreSectionListContext ( SwXMLSectionList& rImport, - sal_uInt16 nPrefix, + sal_uInt16 nPrefix, const rtl::OUString& rLocalName, - const ::com::sun::star::uno::Reference< + const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const rtl::OUString& rLocalName, - const ::com::sun::star::uno::Reference< + const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList ); ~SvXMLIgnoreSectionListContext ( void ); }; diff --git a/sw/inc/TextCursorHelper.hxx b/sw/inc/TextCursorHelper.hxx index 731cccf33c58..b5e511037d91 100644 --- a/sw/inc/TextCursorHelper.hxx +++ b/sw/inc/TextCursorHelper.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -44,10 +44,10 @@ public: //XUnoTunnel virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException); - virtual const SwPaM* GetPaM() const = 0; - virtual SwPaM* GetPaM() = 0; - virtual const SwDoc* GetDoc() const = 0; - virtual SwDoc* GetDoc() = 0; + virtual const SwPaM* GetPaM() const = 0; + virtual SwPaM* GetPaM() = 0; + virtual const SwDoc* GetDoc() const = 0; + virtual SwDoc* GetDoc() = 0; }; #endif // _SW_TEXTCURSORHELPER_HXX diff --git a/sw/inc/accessibilityoptions.hxx b/sw/inc/accessibilityoptions.hxx index 445d0c401e00..cecaa83776d6 100644 --- a/sw/inc/accessibilityoptions.hxx +++ b/sw/inc/accessibilityoptions.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/accmap.hxx b/sw/inc/accmap.hxx index 93692b635357..7170d762d2f1 100644 --- a/sw/inc/accmap.hxx +++ b/sw/inc/accmap.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -296,7 +296,7 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& _rxShape, const long _nIndex, const ::accessibility::AccessibleShapeTreeInfo& _rShapeTreeInfo - ) throw (::com::sun::star::uno::RuntimeException); + ) throw (::com::sun::star::uno::RuntimeException); // additional Core/Pixel conversions for internal use; also works // for preview diff --git a/sw/inc/acmplwrd.hxx b/sw/inc/acmplwrd.hxx index 476e72f8ec81..69648ca8f11e 100644 --- a/sw/inc/acmplwrd.hxx +++ b/sw/inc/acmplwrd.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -63,7 +63,7 @@ public: void SetMaxCount( USHORT n ); - USHORT GetMinWordLen() const { return nMinWrdLen; } + USHORT GetMinWordLen() const { return nMinWrdLen; } void SetMinWordLen( USHORT n ); const SvStringsISortDtor& GetWordList() const { return aWordLst; } diff --git a/sw/inc/anchoreddrawobject.hxx b/sw/inc/anchoreddrawobject.hxx index 47594915644e..d8f563651e72 100644 --- a/sw/inc/anchoreddrawobject.hxx +++ b/sw/inc/anchoreddrawobject.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/anchoredobject.hxx b/sw/inc/anchoredobject.hxx index 66311bc4e84d..b8a97575afa7 100644 --- a/sw/inc/anchoredobject.hxx +++ b/sw/inc/anchoredobject.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx index 5155673ba074..b9eb7063207f 100644 --- a/sw/inc/authfld.hxx +++ b/sw/inc/authfld.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,28 +41,28 @@ class SwAuthDataArr; --------------------------------------------------*/ class SwAuthEntry { - String aAuthFields[AUTH_FIELD_END]; - USHORT nRefCount; + String aAuthFields[AUTH_FIELD_END]; + USHORT nRefCount; public: SwAuthEntry() : nRefCount(0){} SwAuthEntry( const SwAuthEntry& rCopy ); - BOOL operator==(const SwAuthEntry& rComp); + BOOL operator==(const SwAuthEntry& rComp); - inline const String& GetAuthorField(ToxAuthorityField ePos)const; - inline void SetAuthorField(ToxAuthorityField ePos, + inline const String& GetAuthorField(ToxAuthorityField ePos)const; + inline void SetAuthorField(ToxAuthorityField ePos, const String& rField); - void AddRef() { ++nRefCount; } - void RemoveRef() { --nRefCount; } - USHORT GetRefCount() { return nRefCount; } + void AddRef() { ++nRefCount; } + void RemoveRef() { --nRefCount; } + USHORT GetRefCount() { return nRefCount; } }; /* -----------------20.10.99 16:49------------------- --------------------------------------------------*/ struct SwTOXSortKey { - ToxAuthorityField eField; - BOOL bSortAscending; + ToxAuthorityField eField; + BOOL bSortAscending; SwTOXSortKey() : eField(AUTH_FIELD_END), bSortAscending(TRUE){} @@ -76,14 +76,14 @@ class SortKeyArr; class SW_DLLPUBLIC SwAuthorityFieldType : public SwFieldType { - SwDoc* m_pDoc; - SwAuthDataArr* m_pDataArr; - SvLongs* m_pSequArr; - SortKeyArr* m_pSortKeyArr; - sal_Unicode m_cPrefix; - sal_Unicode m_cSuffix; - BOOL m_bIsSequence :1; - BOOL m_bSortByDocument :1; + SwDoc* m_pDoc; + SwAuthDataArr* m_pDataArr; + SvLongs* m_pSequArr; + SortKeyArr* m_pSortKeyArr; + sal_Unicode m_cPrefix; + sal_Unicode m_cSuffix; + BOOL m_bIsSequence :1; + BOOL m_bSortByDocument :1; LanguageType m_eLanguage; String m_sSortAlgorithm; @@ -96,62 +96,62 @@ public: ~SwAuthorityFieldType(); virtual SwFieldType* Copy() const; - virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew ); + virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew ); virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhichId ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhichId ); inline void SetDoc(SwDoc* pNewDoc) { m_pDoc = pNewDoc; } SwDoc* GetDoc(){ return m_pDoc; } - void RemoveField(long nHandle); - long AddField(const String& rFieldContents); - BOOL AddField(long nHandle); - void DelSequenceArray() + void RemoveField(long nHandle); + long AddField(const String& rFieldContents); + BOOL AddField(long nHandle); + void DelSequenceArray() { m_pSequArr->Remove(0, m_pSequArr->Count()); } - const SwAuthEntry* GetEntryByHandle(long nHandle) const; + const SwAuthEntry* GetEntryByHandle(long nHandle) const; - void GetAllEntryIdentifiers( SvStringsDtor& rToFill )const; - const SwAuthEntry* GetEntryByIdentifier(const String& rIdentifier)const; + void GetAllEntryIdentifiers( SvStringsDtor& rToFill )const; + const SwAuthEntry* GetEntryByIdentifier(const String& rIdentifier)const; bool ChangeEntryContent(const SwAuthEntry* pNewEntry); // import interface - USHORT AppendField(const SwAuthEntry& rInsert); - long GetHandle(USHORT nPos); + USHORT AppendField(const SwAuthEntry& rInsert); + long GetHandle(USHORT nPos); - USHORT GetSequencePos(long nHandle); + USHORT GetSequencePos(long nHandle); - BOOL IsSequence() const {return m_bIsSequence;} - void SetSequence(BOOL bSet) + BOOL IsSequence() const {return m_bIsSequence;} + void SetSequence(BOOL bSet) { DelSequenceArray(); m_bIsSequence = bSet; } - void SetPreSuffix( sal_Unicode cPre, sal_Unicode cSuf) + void SetPreSuffix( sal_Unicode cPre, sal_Unicode cSuf) { m_cPrefix = cPre; m_cSuffix = cSuf; } - sal_Unicode GetPrefix() const { return m_cPrefix;} - sal_Unicode GetSuffix() const { return m_cSuffix;} + sal_Unicode GetPrefix() const { return m_cPrefix;} + sal_Unicode GetSuffix() const { return m_cSuffix;} - BOOL IsSortByDocument() const {return m_bSortByDocument;} - void SetSortByDocument(BOOL bSet) + BOOL IsSortByDocument() const {return m_bSortByDocument;} + void SetSortByDocument(BOOL bSet) { DelSequenceArray(); m_bSortByDocument = bSet; } - USHORT GetSortKeyCount() const ; - const SwTOXSortKey* GetSortKey(USHORT nIdx) const ; - void SetSortKeys(USHORT nKeyCount, SwTOXSortKey nKeys[]); + USHORT GetSortKeyCount() const ; + const SwTOXSortKey* GetSortKey(USHORT nIdx) const ; + void SetSortKeys(USHORT nKeyCount, SwTOXSortKey nKeys[]); //initui.cxx - static const String& GetAuthFieldName(ToxAuthorityField eType); - static const String& GetAuthTypeName(ToxAuthorityType eType); + static const String& GetAuthFieldName(ToxAuthorityField eType); + static const String& GetAuthTypeName(ToxAuthorityType eType); LanguageType GetLanguage() const {return m_eLanguage;} void SetLanguage(LanguageType nLang) {m_eLanguage = nLang;} @@ -172,11 +172,11 @@ public: SwAuthorityField(SwAuthorityFieldType* pType, long nHandle); ~SwAuthorityField(); - const String& GetFieldText(ToxAuthorityField eField) const; + const String& GetFieldText(ToxAuthorityField eField) const; - virtual String Expand() const; - virtual SwField* Copy() const; - virtual void SetPar1(const String& rStr); + virtual String Expand() const; + virtual SwField* Copy() const; + virtual void SetPar1(const String& rStr); virtual SwFieldType* ChgTyp( SwFieldType* ); virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhichId ) const; @@ -188,12 +188,12 @@ public: }; // --- inlines ----------------------------------------------------------- -inline const String& SwAuthEntry::GetAuthorField(ToxAuthorityField ePos)const +inline const String& SwAuthEntry::GetAuthorField(ToxAuthorityField ePos)const { DBG_ASSERT(AUTH_FIELD_END > ePos, "wrong index"); return aAuthFields[ePos]; } -inline void SwAuthEntry::SetAuthorField(ToxAuthorityField ePos, const String& rField) +inline void SwAuthEntry::SetAuthorField(ToxAuthorityField ePos, const String& rField) { DBG_ASSERT(AUTH_FIELD_END > ePos, "wrong index"); if(AUTH_FIELD_END > ePos) diff --git a/sw/inc/authratr.hxx b/sw/inc/authratr.hxx index 7c369a6acecc..b082e70f7900 100644 --- a/sw/inc/authratr.hxx +++ b/sw/inc/authratr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -33,20 +33,20 @@ #include <tools/color.hxx> #include "swdllapi.h" -#define COL_NONE TRGB_COLORDATA( 0x80, 0xFF, 0xFF, 0xFF ) +#define COL_NONE TRGB_COLORDATA( 0x80, 0xFF, 0xFF, 0xFF ) class SW_DLLPUBLIC AuthorCharAttr { public: - USHORT nItemId; - USHORT nAttr; + USHORT nItemId; + USHORT nAttr; ColorData nColor; AuthorCharAttr(); inline BOOL operator == ( const AuthorCharAttr& rAttr ) const { - return nItemId == rAttr.nItemId && nAttr == rAttr.nAttr && + return nItemId == rAttr.nItemId && nAttr == rAttr.nAttr && nColor == rAttr.nColor; } }; diff --git a/sw/inc/bparr.hxx b/sw/inc/bparr.hxx index 2032300ea0dc..425f8395e12f 100644 --- a/sw/inc/bparr.hxx +++ b/sw/inc/bparr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -44,7 +44,7 @@ class BigPtrEntry public: virtual ~BigPtrEntry() {} protected: - BigPtrEntry() : pBlock(0), nOffset(0) {} + BigPtrEntry() : pBlock(0), nOffset(0) {} inline ULONG GetPos() const; inline BigPtrArray& GetArray() const; @@ -63,27 +63,27 @@ typedef BOOL (*FnForEach)( const ElementPtr&, void* pArgs ); // Overhead definiert haben, reichen 80% = 800 Eintraege vollkommen aus // Will mann voellige Kompression haben, muss eben 100 angegeben werden. -#define COMPRESSLVL 80 +#define COMPRESSLVL 80 -struct BlockInfo { // Block-Info: - BigPtrArray* pBigArr; // in diesem Array steht der Block - ElementPtr* pData; // Datenblock - ULONG nStart, nEnd; // Start- und EndIndex - USHORT nElem; // Anzahl Elemente +struct BlockInfo { // Block-Info: + BigPtrArray* pBigArr; // in diesem Array steht der Block + ElementPtr* pData; // Datenblock + ULONG nStart, nEnd; // Start- und EndIndex + USHORT nElem; // Anzahl Elemente }; class SW_DLLPUBLIC BigPtrArray { - BlockInfo** ppInf; // Block-Infos - ULONG nSize; // Anzahl Elemente - USHORT nMaxBlock; // akt. max Anzahl Bloecke - USHORT nBlock; // Anzahl Bloecke - USHORT nCur; // letzter Block - - USHORT Index2Block( ULONG ) const; // Blocksuche - BlockInfo* InsBlock( USHORT ); // Block einfuegen - void BlockDel( USHORT ); // es wurden Bloecke geloescht - void UpdIndex( USHORT ); // Indexe neu berechnen + BlockInfo** ppInf; // Block-Infos + ULONG nSize; // Anzahl Elemente + USHORT nMaxBlock; // akt. max Anzahl Bloecke + USHORT nBlock; // Anzahl Bloecke + USHORT nCur; // letzter Block + + USHORT Index2Block( ULONG ) const; // Blocksuche + BlockInfo* InsBlock( USHORT ); // Block einfuegen + void BlockDel( USHORT ); // es wurden Bloecke geloescht + void UpdIndex( USHORT ); // Indexe neu berechnen protected: // fuelle alle Bloecke auf. diff --git a/sw/inc/breakit.hxx b/sw/inc/breakit.hxx index ac95208423e1..5b16b3eab660 100644 --- a/sw/inc/breakit.hxx +++ b/sw/inc/breakit.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,7 +41,7 @@ class String; /************************************************************************* - * class SwBreakIt + * class SwBreakIt *************************************************************************/ @@ -59,7 +59,7 @@ class SW_DLLPUBLIC SwBreakIt LanguageType aForbiddenLang; // language of the current forbiddenChar struct void _GetLocale( const LanguageType aLang ); - void _GetForbidden( const LanguageType aLang ); + void _GetForbidden( const LanguageType aLang ); void createBreakIterator() const; void createScriptTypeDetector(); @@ -89,10 +89,10 @@ public: return xBreak; } - com::sun::star::uno::Reference< com::sun::star::i18n::XScriptTypeDetector > GetScriptTypeDetector() - { + com::sun::star::uno::Reference< com::sun::star::i18n::XScriptTypeDetector > GetScriptTypeDetector() + { createScriptTypeDetector(); - return xCTLDetect; + return xCTLDetect; } const com::sun::star::lang::Locale& GetLocale( const LanguageType aLang ) diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index 9ce4a11a2159..4c5c4494c36e 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -65,15 +65,15 @@ class SW_DLLPUBLIC SwClient friend class SwModify; friend class SwClientIter; - SwClient *pLeft, *pRight; // fuer die AVL-Sortierung - BOOL bModifyLocked : 1; // wird in SwModify::Modify benutzt, + SwClient *pLeft, *pRight; // fuer die AVL-Sortierung + BOOL bModifyLocked : 1; // wird in SwModify::Modify benutzt, // eigentlich ein Member des SwModify // aber aus Platzgruenden hier. - BOOL bInModify : 1; // ist in einem Modify. (Debug!!!) - BOOL bInDocDTOR : 1; // Doc wird zerstoert, nicht "abmelden" - BOOL bInCache : 1; // Ist im BorderAttrCache des Layout, + BOOL bInModify : 1; // ist in einem Modify. (Debug!!!) + BOOL bInDocDTOR : 1; // Doc wird zerstoert, nicht "abmelden" + BOOL bInCache : 1; // Ist im BorderAttrCache des Layout, // Traegt sich dann im Modify aus! - BOOL bInSwFntCache : 1; // Ist im SwFont-Cache der Formatierung + BOOL bInSwFntCache : 1; // Ist im SwFont-Cache der Formatierung protected: SwModify *pRegisteredIn; @@ -93,14 +93,14 @@ public: //werden. TYPEINFO(); - void LockModify() { bModifyLocked = TRUE; } - void UnlockModify() { bModifyLocked = FALSE; } - void SetInCache( BOOL bNew ) { bInCache = bNew; } - void SetInSwFntCache( BOOL bNew ) { bInSwFntCache = bNew; } - BOOL IsModifyLocked() const { return bModifyLocked; } - BOOL IsInDocDTOR() const { return bInDocDTOR; } - BOOL IsInCache() const { return bInCache; } - BOOL IsInSwFntCache() const { return bInSwFntCache; } + void LockModify() { bModifyLocked = TRUE; } + void UnlockModify() { bModifyLocked = FALSE; } + void SetInCache( BOOL bNew ) { bInCache = bNew; } + void SetInSwFntCache( BOOL bNew ) { bInSwFntCache = bNew; } + BOOL IsModifyLocked() const { return bModifyLocked; } + BOOL IsInDocDTOR() const { return bInDocDTOR; } + BOOL IsInCache() const { return bInCache; } + BOOL IsInSwFntCache() const { return bInSwFntCache; } // erfrage vom Client Informationen virtual BOOL GetInfo( SfxPoolItem& ) const; @@ -140,9 +140,9 @@ public: virtual void Modify( SfxPoolItem *pOldValue, SfxPoolItem *pNewValue ); void Add(SwClient *pDepend); SwClient *Remove(SwClient *pDepend) - { return bInDocDTOR ? 0 : _Remove( pDepend ); } + { return bInDocDTOR ? 0 : _Remove( pDepend ); } - const SwClient* GetDepends() const { return pRoot; } + const SwClient* GetDepends() const { return pRoot; } // erfrage vom Client Informationen virtual BOOL GetInfo( SfxPoolItem& ) const; @@ -197,8 +197,8 @@ private: class SwClientIter { - friend SwClient* SwModify::_Remove(SwClient *); // fuer Ptr-Korrektur - friend void SwModify::Add(SwClient *); // nur fuer OSL_ENSURE(! + friend SwClient* SwModify::_Remove(SwClient *); // fuer Ptr-Korrektur + friend void SwModify::Add(SwClient *); // nur fuer OSL_ENSURE(! SwModify const& rRoot; SwClient *pAkt, *pDelNext; @@ -208,25 +208,25 @@ class SwClientIter SwClient* mpWatchClient; // if set, SwModify::_Remove checks if this client is removed - TypeId aSrchId; // fuer First/Next - suche diesen Type + TypeId aSrchId; // fuer First/Next - suche diesen Type public: SW_DLLPUBLIC SwClientIter( SwModify const& ); SW_DLLPUBLIC ~SwClientIter(); - const SwModify& GetModify() const { return rRoot; } + const SwModify& GetModify() const { return rRoot; } #ifndef CFRONT - SwClient* operator++(int); // zum Naechsten - SwClient* operator--(int); // zum Vorherigen + SwClient* operator++(int); // zum Naechsten + SwClient* operator--(int); // zum Vorherigen #endif - SwClient* operator++(); // zum Naechsten - SwClient* operator--(); // zum Vorherigen + SwClient* operator++(); // zum Naechsten + SwClient* operator--(); // zum Vorherigen - SwClient* GoStart(); // zum Anfang - SwClient* GoEnd(); // zum Ende + SwClient* GoStart(); // zum Anfang + SwClient* GoEnd(); // zum Ende - inline SwClient* GoRoot(); // wieder ab Root (==Start) anfangen + inline SwClient* GoRoot(); // wieder ab Root (==Start) anfangen SwClient* operator()() const { return pDelNext == pAkt ? pAkt : pDelNext; } @@ -240,7 +240,7 @@ public: void SetWatchClient( SwClient* pWatch ) { mpWatchClient = pWatch; } }; -inline SwClient* SwClientIter::GoRoot() // wieder ab Root anfangen +inline SwClient* SwClientIter::GoRoot() // wieder ab Root anfangen { pAkt = rRoot.pRoot; return (pDelNext = pAkt); diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx index 36614e6725f5..bcc0ff6fa079 100644 --- a/sw/inc/calc.hxx +++ b/sw/inc/calc.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,29 +41,29 @@ class LocaleDataWrapper; class SwFieldType; class SwDoc; -#define TBLSZ 47 // sollte Primzahl sein, wegen HashTable +#define TBLSZ 47 // sollte Primzahl sein, wegen HashTable -const sal_Unicode cListDelim = '|'; +const sal_Unicode cListDelim = '|'; /****************************************************************************** - * Calculate Operations + * Calculate Operations ******************************************************************************/ enum SwCalcOper { - CALC_NAME, CALC_NUMBER, CALC_ENDCALC, + CALC_NAME, CALC_NUMBER, CALC_ENDCALC, CALC_PLUS='+', CALC_MINUS='-', CALC_MUL='*', CALC_DIV='/', CALC_PRINT=';', CALC_ASSIGN='=', CALC_LP='(', CALC_RP=')', CALC_PHD='%', CALC_POW='^', CALC_LISTOP = cListDelim, - CALC_NOT=256, CALC_AND=257, CALC_OR=258, - CALC_XOR=259, CALC_EQ=260, CALC_NEQ=261, - CALC_LEQ=262, CALC_GEQ=263, CALC_LES=264, - CALC_GRE=265, CALC_SUM=266, CALC_MEAN=267, - CALC_SQRT=268, CALC_MIN=269, CALC_MIN_IN=270, - CALC_MAX=271, CALC_MAX_IN=272, CALC_SIN=273, - CALC_COS=274, CALC_TAN=275, CALC_ASIN=276, - CALC_ACOS=278, CALC_ATAN=279, CALC_TDIF=280, + CALC_NOT=256, CALC_AND=257, CALC_OR=258, + CALC_XOR=259, CALC_EQ=260, CALC_NEQ=261, + CALC_LEQ=262, CALC_GEQ=263, CALC_LES=264, + CALC_GRE=265, CALC_SUM=266, CALC_MEAN=267, + CALC_SQRT=268, CALC_MIN=269, CALC_MIN_IN=270, + CALC_MAX=271, CALC_MAX_IN=272, CALC_SIN=273, + CALC_COS=274, CALC_TAN=275, CALC_ASIN=276, + CALC_ACOS=278, CALC_ATAN=279, CALC_TDIF=280, CALC_ROUND=281, CALC_DATE=282, CALC_MONTH=283, CALC_DAY=284 }; @@ -102,18 +102,18 @@ extern const sal_Char __FAR_DATA sCalc_Round[]; extern const sal_Char __FAR_DATA sCalc_Date[]; /****************************************************************************** - * Calculate ErrorCodes + * Calculate ErrorCodes ******************************************************************************/ enum SwCalcError { CALC_NOERR=0, - CALC_SYNTAX, // Syntax Fehler - CALC_ZERODIV, // Division durch Null - CALC_BRACK, // Fehlerhafte Klammerung - CALC_POWERR, // Ueberlauf in Quadratfunktion - CALC_VARNFND, // Variable wurde nicht gefunden - CALC_OVERFLOW, // Ueberlauf - CALC_WRONGTIME // falsches Zeitformat + CALC_SYNTAX, // Syntax Fehler + CALC_ZERODIV, // Division durch Null + CALC_BRACK, // Fehlerhafte Klammerung + CALC_POWERR, // Ueberlauf in Quadratfunktion + CALC_VARNFND, // Variable wurde nicht gefunden + CALC_OVERFLOW, // Ueberlauf + CALC_WRONGTIME // falsches Zeitformat }; class SwSbxValue : public SbxValue @@ -121,14 +121,14 @@ class SwSbxValue : public SbxValue bool bVoid; public: //JP 03.02.99: immer auf eine Zahl defaulten, damit auch gerechnet wird. - // Ansonsten wird daraus ein SbxEMPTY und damit ist nichts - // anzufangen. + // Ansonsten wird daraus ein SbxEMPTY und damit ist nichts + // anzufangen. SwSbxValue( long n = 0 ) : bVoid(false) { PutLong( n ); } SwSbxValue( const double& rD ) : bVoid(false) { PutDouble( rD ); } - SwSbxValue( const SwSbxValue& rVal ) : + SwSbxValue( const SwSbxValue& rVal ) : SvRefBase( rVal ), - SbxValue( rVal ), - bVoid(rVal.bVoid) + SbxValue( rVal ), + bVoid(rVal.bVoid) {} virtual ~SwSbxValue(); @@ -138,25 +138,25 @@ public: // Strings sonderbehandeln BOOLs sonderbehandeln double GetDouble() const; SwSbxValue& MakeDouble(); - + bool IsVoidValue() {return bVoid;} void SetVoidValue(bool bSet) {bVoid = bSet;} }; /****************************************************************************** - * Calculate HashTables fuer VarTable und Operations + * Calculate HashTables fuer VarTable und Operations ******************************************************************************/ struct SwHash { SwHash( const String& rStr ); virtual ~SwHash(); - String aStr; + String aStr; SwHash *pNext; }; struct SwCalcExp : public SwHash { - SwSbxValue nValue; + SwSbxValue nValue; const SwFieldType* pFldType; SwCalcExp( const String& rStr, const SwSbxValue& rVal, @@ -173,39 +173,39 @@ struct _CalcOp; _CalcOp* FindOperator( const String& rSearch ); /****************************************************************************** - * class SwCalc + * class SwCalc ******************************************************************************/ class SwCalc { - SwHash* VarTable[ TBLSZ ]; - String aVarName, sCurrSym; - String sCommand; - SvPtrarr aRekurStk; - SwSbxValue nLastLeft; - SwSbxValue nNumberValue; - SwCalcExp aErrExpr; - xub_StrLen nCommandPos; - - SwDoc& rDoc; + SwHash* VarTable[ TBLSZ ]; + String aVarName, sCurrSym; + String sCommand; + SvPtrarr aRekurStk; + SwSbxValue nLastLeft; + SwSbxValue nNumberValue; + SwCalcExp aErrExpr; + xub_StrLen nCommandPos; + + SwDoc& rDoc; SvtSysLocale m_aSysLocale; const LocaleDataWrapper* pLclData; - CharClass* pCharClass; + CharClass* pCharClass; - USHORT nListPor; - SwCalcOper eCurrOper; - SwCalcOper eCurrListOper; + USHORT nListPor; + SwCalcOper eCurrOper; + SwCalcOper eCurrListOper; SwCalcError eError; - SwCalcOper GetToken(); - SwSbxValue Expr(); - SwSbxValue Term(); - SwSbxValue Prim(); + SwCalcOper GetToken(); + SwSbxValue Expr(); + SwSbxValue Term(); + SwSbxValue Prim(); - BOOL ParseTime( USHORT*, USHORT*, USHORT* ); + BOOL ParseTime( USHORT*, USHORT*, USHORT* ); - String GetColumnName( const String& rName ); - String GetDBName( const String& rName ); + String GetColumnName( const String& rName ); + String GetDBName( const String& rName ); // dont call this methods SwCalc( const SwCalc& ); @@ -215,21 +215,21 @@ public: SwCalc( SwDoc& rD ); ~SwCalc(); - SwSbxValue Calculate( const String &rStr ); - String GetStrResult( const SwSbxValue& rValue, BOOL bRound = TRUE ); - String GetStrResult( double, BOOL bRound = TRUE ); + SwSbxValue Calculate( const String &rStr ); + String GetStrResult( const SwSbxValue& rValue, BOOL bRound = TRUE ); + String GetStrResult( double, BOOL bRound = TRUE ); - SwCalcExp* VarInsert( const String& r ); - SwCalcExp* VarLook( const String &rStr, USHORT ins = 0 ); - void VarChange( const String& rStr, const SwSbxValue& rValue ); - void VarChange( const String& rStr, double ); - SwHash** GetVarTable() { return VarTable; } + SwCalcExp* VarInsert( const String& r ); + SwCalcExp* VarLook( const String &rStr, USHORT ins = 0 ); + void VarChange( const String& rStr, const SwSbxValue& rValue ); + void VarChange( const String& rStr, double ); + SwHash** GetVarTable() { return VarTable; } - BOOL Push( const VoidPtr pPtr ); - void Pop( const VoidPtr pPtr ); + BOOL Push( const VoidPtr pPtr ); + void Pop( const VoidPtr pPtr ); - void SetCalcError( SwCalcError eErr ) { eError = eErr; } - BOOL IsCalcError() const { return 0 != eError; } + void SetCalcError( SwCalcError eErr ) { eError = eErr; } + BOOL IsCalcError() const { return 0 != eError; } static bool Str2Double( const String& rStr, xub_StrLen& rPos, double& rVal, diff --git a/sw/inc/ccoll.hxx b/sw/inc/ccoll.hxx index 96d67dedd50c..b6bd5eb30103 100644 --- a/sw/inc/ccoll.hxx +++ b/sw/inc/ccoll.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -47,7 +47,7 @@ //*********************************************************** struct CollName { -// const char* pStr; +// const char* pStr; ULONG nCnd; ULONG nSubCond; }; @@ -71,9 +71,9 @@ rtl::OUString GetCommandContextByIndex( sal_Int16 nIndex ); class SW_DLLPUBLIC SwCondCollItem : public SfxPoolItem { - static CommandStruct aCmds[COND_COMMAND_COUNT]; + static CommandStruct aCmds[COND_COMMAND_COUNT]; - String sStyles[COND_COMMAND_COUNT]; + String sStyles[COND_COMMAND_COUNT]; public: SwCondCollItem(USHORT nWhich = FN_COND_COLL); @@ -81,13 +81,13 @@ public: TYPEINFO(); - virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; - virtual int operator==( const SfxPoolItem& ) const; + virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; + virtual int operator==( const SfxPoolItem& ) const; - static const CommandStruct* GetCmds(); + static const CommandStruct* GetCmds(); - const String& GetStyle(USHORT nPos) const; - void SetStyle( const String* pStyle, USHORT nPos); + const String& GetStyle(USHORT nPos) const; + void SetStyle( const String* pStyle, USHORT nPos); }; diff --git a/sw/inc/cellatr.hxx b/sw/inc/cellatr.hxx index 27aae1368c83..5356990c21ec 100644 --- a/sw/inc/cellatr.hxx +++ b/sw/inc/cellatr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -37,14 +37,14 @@ class SW_DLLPUBLIC SwTblBoxNumFormat : public SfxUInt32Item { - BOOL bAuto; // automatisch vergebenes Flag + BOOL bAuto; // automatisch vergebenes Flag public: SwTblBoxNumFormat( UINT32 nFormat = NUMBERFORMAT_TEXT, BOOL bAuto = FALSE ); // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; inline SwTblBoxNumFormat& operator=( const SwTblBoxNumFormat& rAttr ) { @@ -53,13 +53,13 @@ public: return *this; } - BOOL GetAutoFlag() const { return bAuto; } - void SetAutoFlag( BOOL bFlag = TRUE ) { bAuto = bFlag; } + BOOL GetAutoFlag() const { return bAuto; } + void SetAutoFlag( BOOL bFlag = TRUE ) { bAuto = bFlag; } }; class SwTblBoxFormula : public SfxPoolItem, public SwTableFormula { - SwModify* pDefinedIn; // Modify-Object, in dem die Formel steht + SwModify* pDefinedIn; // Modify-Object, in dem die Formel steht // kann nur TablenBoxFormat sein public: @@ -67,14 +67,14 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; // erfrage und setze den Modify-Pointer inline const SwModify* GetDefinedIn() const { return pDefinedIn; } inline void ChgDefinedIn( const SwModify* pNew ) { pDefinedIn = (SwModify*)pNew; } // suche den Node, in dem die Formel steht: - // BoxAttribut -> BoxStartNode + // BoxAttribut -> BoxStartNode virtual const SwNode* GetNodeOfFormula() const; SwTableBox* GetTableBox(); @@ -96,7 +96,7 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; inline SwTblBoxValue& operator=( const SwTblBoxValue& rCmp ) { @@ -104,7 +104,7 @@ public: return *this; } - double GetValue() const { return nValue; } + double GetValue() const { return nValue; } }; @@ -113,18 +113,18 @@ public: inline const SwTblBoxNumFormat &SwAttrSet::GetTblBoxNumFmt(BOOL bInP) const { return (const SwTblBoxNumFormat&)Get( RES_BOXATR_FORMAT,bInP); } -inline const SwTblBoxFormula &SwAttrSet::GetTblBoxFormula(BOOL bInP) const +inline const SwTblBoxFormula &SwAttrSet::GetTblBoxFormula(BOOL bInP) const { return (const SwTblBoxFormula&)Get( RES_BOXATR_FORMULA,bInP); } -inline const SwTblBoxValue &SwAttrSet::GetTblBoxValue(BOOL bInP) const +inline const SwTblBoxValue &SwAttrSet::GetTblBoxValue(BOOL bInP) const { return (const SwTblBoxValue&)Get( RES_BOXATR_VALUE, bInP); } //*************************************************************************** -inline const SwTblBoxNumFormat &SwFmt::GetTblBoxNumFmt(BOOL bInP) const +inline const SwTblBoxNumFormat &SwFmt::GetTblBoxNumFmt(BOOL bInP) const { return aSet.GetTblBoxNumFmt(bInP); } -inline const SwTblBoxFormula &SwFmt::GetTblBoxFormula(BOOL bInP) const +inline const SwTblBoxFormula &SwFmt::GetTblBoxFormula(BOOL bInP) const { return aSet.GetTblBoxFormula(bInP); } -inline const SwTblBoxValue &SwFmt::GetTblBoxValue(BOOL bInP) const +inline const SwTblBoxValue &SwFmt::GetTblBoxValue(BOOL bInP) const { return aSet.GetTblBoxValue(bInP); } #endif diff --git a/sw/inc/cellfml.hxx b/sw/inc/cellfml.hxx index efdccf488995..a5968b974c4e 100644 --- a/sw/inc/cellfml.hxx +++ b/sw/inc/cellfml.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -47,8 +47,8 @@ class SwTblCalcPara USHORT nStackCnt, nMaxSize; public: - SwTableSortBoxes *pBoxStk; // Stack fuers erkennen von Rekursionen ! - SwCalc& rCalc; // akt. Calculator + SwTableSortBoxes *pBoxStk; // Stack fuers erkennen von Rekursionen ! + SwCalc& rCalc; // akt. Calculator const SwTable* pTbl; // akt. Tabelle SwTblCalcPara( SwCalc& rCalculator, const SwTable& rTable ); @@ -57,8 +57,8 @@ public: bool CalcWithStackOverflow(); bool IsStackOverFlow() const { return nMaxSize == nStackCnt; } bool IncStackCnt() { return nMaxSize == ++nStackCnt; } - void DecStackCnt() { if( nStackCnt ) --nStackCnt; } - void SetLastTblBox( const SwTableBox* pBox ) { pLastTblBox = pBox; } + void DecStackCnt() { if( nStackCnt ) --nStackCnt; } + void SetLastTblBox( const SwTableBox* pBox ) { pLastTblBox = pBox; } }; @@ -97,13 +97,13 @@ typedef void (SwTableFormula:: *FnScanFormel)( const SwTable&, String&, protected: enum NameType { EXTRNL_NAME, INTRNL_NAME, REL_NAME }; - String sFormel; // akt. Formel - NameType eNmType; // akt. Darstellungs Art + String sFormel; // akt. Formel + NameType eNmType; // akt. Darstellungs Art bool bValidValue; // TRUE: Formel neu berechnen // suche den Node, in dem die Formel steht: - // TextFeld -> TextNode, - // BoxAttribut -> BoxStartNode + // TextFeld -> TextNode, + // BoxAttribut -> BoxStartNode // !!! MUSS VON JEDER ABLEITUNG UEBERLADEN WERDEN !!! virtual const SwNode* GetNodeOfFormula() const = 0; @@ -119,7 +119,7 @@ protected: public: - SwTableFormula( const SwTableFormula& rCpy ) { *this = rCpy; } + SwTableFormula( const SwTableFormula& rCpy ) { *this = rCpy; } virtual ~SwTableFormula(); SwTableFormula& operator=( const SwTableFormula& rCpy ) { @@ -141,13 +141,13 @@ public: // ist gerade eine intern Darstellung aktiv bool IsIntrnlName() const { return eNmType == INTRNL_NAME; } // erfrage die akt. Darstellung der Formel - NameType GetNameType() const { return eNmType; } + NameType GetNameType() const { return eNmType; } // erfrage/setze das Flag, ob der akt. Wert gueltig ist bool IsValid() const { return bValidValue; } inline void ChgValid( bool bNew ) { bValidValue = bNew; } - const String& GetFormula() const { return sFormel; } + const String& GetFormula() const { return sFormel; } void SetFormula( const String& rNew ) { sFormel = rNew; diff --git a/sw/inc/charatr.hxx b/sw/inc/charatr.hxx index 3480af7cade8..b6380bb30499 100644 --- a/sw/inc/charatr.hxx +++ b/sw/inc/charatr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -29,11 +29,11 @@ #define _CHARATR_HXX #include <format.hxx> -#include <hintids.hxx> // fuer die WhichIds +#include <hintids.hxx> // fuer die WhichIds /****************************************************************************** - * Implementierung der Charakter-Attribut Methoden vom SwAttrSet + * Implementierung der Charakter-Attribut Methoden vom SwAttrSet * AMA 12.10.94: Umstellung auf SvxItems. ******************************************************************************/ @@ -91,9 +91,9 @@ inline const SvxLanguageItem &SwAttrSet::GetCTLLanguage(BOOL bInP) const { return (const SvxLanguageItem&)Get( RES_CHRATR_CTL_LANGUAGE,bInP); } inline const SvxEscapementItem &SwAttrSet::GetEscapement(BOOL bInP) const { return (const SvxEscapementItem&)Get( RES_CHRATR_ESCAPEMENT,bInP); } -inline const SvxCaseMapItem &SwAttrSet::GetCaseMap(BOOL bInP) const +inline const SvxCaseMapItem &SwAttrSet::GetCaseMap(BOOL bInP) const { return (const SvxCaseMapItem&)Get( RES_CHRATR_CASEMAP,bInP); } -inline const SvxNoHyphenItem &SwAttrSet::GetNoHyphenHere(BOOL bInP) const +inline const SvxNoHyphenItem &SwAttrSet::GetNoHyphenHere(BOOL bInP) const { return (const SvxNoHyphenItem&)Get( RES_CHRATR_NOHYPHEN,bInP); } inline const SvxBlinkItem &SwAttrSet::GetBlink(BOOL bInP) const { return (const SvxBlinkItem&)Get( RES_CHRATR_BLINK,bInP); } @@ -101,19 +101,19 @@ inline const SvxBrushItem &SwAttrSet::GetChrBackground( BOOL bInP ) const { return (const SvxBrushItem&)Get( RES_CHRATR_BACKGROUND, bInP ); } inline const SvxEmphasisMarkItem &SwAttrSet::GetEmphasisMark( BOOL bInP ) const { return (const SvxEmphasisMarkItem&)Get( RES_CHRATR_EMPHASIS_MARK, bInP ); } -inline const SvxTwoLinesItem &SwAttrSet::Get2Lines( BOOL bInP ) const +inline const SvxTwoLinesItem &SwAttrSet::Get2Lines( BOOL bInP ) const { return (const SvxTwoLinesItem&)Get( RES_CHRATR_TWO_LINES, bInP ); } -inline const SvxCharScaleWidthItem &SwAttrSet::GetCharScaleW( BOOL bInP ) const +inline const SvxCharScaleWidthItem &SwAttrSet::GetCharScaleW( BOOL bInP ) const { return (const SvxCharScaleWidthItem&)Get( RES_CHRATR_SCALEW, bInP ); } -inline const SvxCharRotateItem &SwAttrSet::GetCharRotate( BOOL bInP ) const +inline const SvxCharRotateItem &SwAttrSet::GetCharRotate( BOOL bInP ) const { return (const SvxCharRotateItem&)Get( RES_CHRATR_ROTATE, bInP ); } -inline const SvxCharReliefItem &SwAttrSet::GetCharRelief( BOOL bInP ) const +inline const SvxCharReliefItem &SwAttrSet::GetCharRelief( BOOL bInP ) const { return (const SvxCharReliefItem&)Get( RES_CHRATR_RELIEF, bInP ); } inline const SvxCharHiddenItem &SwAttrSet::GetCharHidden( BOOL bInP ) const { return (const SvxCharHiddenItem&)Get( RES_CHRATR_HIDDEN, bInP ); } /****************************************************************************** - * Implementierung der Charakter-Attribut Methoden vom SwFmt + * Implementierung der Charakter-Attribut Methoden vom SwFmt * AMA: 12.10.94: Umstellung auf SvxItems. ******************************************************************************/ diff --git a/sw/inc/charfmt.hxx b/sw/inc/charfmt.hxx index 39837e16ddd7..0eba12bd1fbf 100644 --- a/sw/inc/charfmt.hxx +++ b/sw/inc/charfmt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/chcmprse.hxx b/sw/inc/chcmprse.hxx index 30e322eb99a1..28a0a381db03 100644 --- a/sw/inc/chcmprse.hxx +++ b/sw/inc/chcmprse.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -29,7 +29,7 @@ #ifndef _CHCMPRSE_HXX #define _CHCMPRSE_HXX -enum SwCharCompressType{ CHARCOMPRESS_NONE, +enum SwCharCompressType{ CHARCOMPRESS_NONE, CHARCOMPRESS_PUNCTUATION, CHARCOMPRESS_PUNCTUATION_KANA }; diff --git a/sw/inc/checkit.hxx b/sw/inc/checkit.hxx index 1b3380a82156..5e0a12561aca 100644 --- a/sw/inc/checkit.hxx +++ b/sw/inc/checkit.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/chpfld.hxx b/sw/inc/chpfld.hxx index fe37e4c465a9..560cffc10a03 100644 --- a/sw/inc/chpfld.hxx +++ b/sw/inc/chpfld.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,11 +39,11 @@ class SwTxtNode; enum SwChapterFormat { CF_BEGIN, - CF_NUMBER = CF_BEGIN, // nur die Kapitelnummer - CF_TITLE, // nur die "Ueberschrift" - CF_NUM_TITLE, // Kapitelnummer und "Ueberschrift" - CF_NUMBER_NOPREPST, // nur die Kapitelnummer ohne Post/Prefix - CF_NUM_NOPREPST_TITLE, // Kapitelnummer ohne Post/Prefix und "Ueberschrift" + CF_NUMBER = CF_BEGIN, // nur die Kapitelnummer + CF_TITLE, // nur die "Ueberschrift" + CF_NUM_TITLE, // Kapitelnummer und "Ueberschrift" + CF_NUMBER_NOPREPST, // nur die Kapitelnummer ohne Post/Prefix + CF_NUM_NOPREPST_TITLE, // Kapitelnummer ohne Post/Prefix und "Ueberschrift" CF_END }; @@ -56,7 +56,7 @@ class SwChapterFieldType : public SwFieldType public: SwChapterFieldType(); - virtual SwFieldType* Copy() const; + virtual SwFieldType* Copy() const; }; @@ -83,11 +83,11 @@ public: // <-- void ChangeExpansion(const SwTxtNode &rNd, BOOL bSrchNum); - virtual String Expand() const; + virtual String Expand() const; virtual SwField* Copy() const; inline BYTE GetLevel() const; - inline void SetLevel(BYTE); + inline void SetLevel(BYTE); inline const String& GetNumber() const; inline const String& GetTitle() const; @@ -95,8 +95,8 @@ public: virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); }; -inline BYTE SwChapterField::GetLevel() const { return nLevel; } -inline void SwChapterField::SetLevel(BYTE nLev) { nLevel = nLev; } +inline BYTE SwChapterField::GetLevel() const { return nLevel; } +inline void SwChapterField::SetLevel(BYTE nLev) { nLevel = nLev; } inline const String& SwChapterField::GetNumber() const { return sNumber; } inline const String& SwChapterField::GetTitle() const { return sTitle; } diff --git a/sw/inc/chrdlg.hrc b/sw/inc/chrdlg.hrc index 447229eb8965..7e3175a3a3d8 100644 --- a/sw/inc/chrdlg.hrc +++ b/sw/inc/chrdlg.hrc @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -45,7 +45,7 @@ #define STR_TEXTCOLL_HEADER (RC_CHRDLG_BEGIN + 2) #define STR_PAGEFMT_HEADER (RC_CHRDLG_BEGIN + 4) #define SW_STR_NONE (RC_CHRDLG_BEGIN + 5) -//#define STR_NUMFMT (RC_CHRDLG_BEGIN + 6) +//#define STR_NUMFMT (RC_CHRDLG_BEGIN + 6) #define MSG_ILLEGAL_PAGENUM (RC_CHRDLG_BEGIN + 1) diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h index cd8cc254a72b..3d4eea357680 100644 --- a/sw/inc/cmdid.h +++ b/sw/inc/cmdid.h @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -42,33 +42,33 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr /* Flags die mittels des Disable-Features in den Slot-Definitionen ausgenutzt * werden */ -#define SW_DISABLE_ON_PROTECTED_CURSOR 0x00000001 -#define SW_DISABLE_ON_MAILBOX_EDITOR 0x00000002 - - -#define FN_FILE SID_SW_START -#define FN_EDIT (SID_SW_START + 100) -#define FN_VIEW (SID_SW_START + 200) -#define FN_INSERT (SID_SW_START + 300) -#define FN_FORMAT (SID_SW_START + 400) -#define FN_EXTRA (SID_SW_START + 600) -#define FN_WINDOW (SID_SW_START + 700) -#define FN_HELP (SID_SW_START + 800) -#define FN_SELECTION (SID_SW_START + 900) -#define FN_QUERY (SID_SW_START + 1000) -#define FN_ENVELP (SID_SW_START + 1050) -#define FN_PARAM (SID_SW_START + 1100) -#define FN_STAT (SID_SW_START + 1180) -#define FN_PRNOPT (SID_SW_START + 1200) -#define FN_PGPREVIEW (SID_SW_START + 1250) -#define FN_FRAME (SID_SW_START + 1300) -#define FN_INSERT2 (SID_SW_START + 1400) -#define FN_FORMAT2 (SID_SW_START + 1600) +#define SW_DISABLE_ON_PROTECTED_CURSOR 0x00000001 +#define SW_DISABLE_ON_MAILBOX_EDITOR 0x00000002 + + +#define FN_FILE SID_SW_START +#define FN_EDIT (SID_SW_START + 100) +#define FN_VIEW (SID_SW_START + 200) +#define FN_INSERT (SID_SW_START + 300) +#define FN_FORMAT (SID_SW_START + 400) +#define FN_EXTRA (SID_SW_START + 600) +#define FN_WINDOW (SID_SW_START + 700) +#define FN_HELP (SID_SW_START + 800) +#define FN_SELECTION (SID_SW_START + 900) +#define FN_QUERY (SID_SW_START + 1000) +#define FN_ENVELP (SID_SW_START + 1050) +#define FN_PARAM (SID_SW_START + 1100) +#define FN_STAT (SID_SW_START + 1180) +#define FN_PRNOPT (SID_SW_START + 1200) +#define FN_PGPREVIEW (SID_SW_START + 1250) +#define FN_FRAME (SID_SW_START + 1300) +#define FN_INSERT2 (SID_SW_START + 1400) +#define FN_FORMAT2 (SID_SW_START + 1600) #define FN_EDIT2 (SID_SW_START + 1800) -#define FN_QUERY2 (SID_SW_START + 2000) -#define FN_EXTRA2 (SID_SW_START + 2200) -#define FN_PARAM2 (SID_SW_START + 2400) -#define FN_NOTES (SID_SW_START + 2500) +#define FN_QUERY2 (SID_SW_START + 2000) +#define FN_EXTRA2 (SID_SW_START + 2200) +#define FN_PARAM2 (SID_SW_START + 2400) +#define FN_NOTES (SID_SW_START + 2500) /* More accurately, this range should be from FN_EXTRA2 to FN_PARAM2-1, but * FN_NUMBER_NEWSTART comes from FN_FORMAT2, and FN_PARAM_LINK_DISPLAY_NAME @@ -76,188 +76,188 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr * EDIT2 and QUERY2 and PARAM2 in the range...hopefully this will be fixed * soon */ -#define FN_UNO_RANGE_BEGIN FN_FORMAT2 -#define FN_UNO_RANGE_END (FN_PARAM2 + 199) +#define FN_UNO_RANGE_BEGIN FN_FORMAT2 +#define FN_UNO_RANGE_END (FN_PARAM2 + 199) -#define HELP_OFFSET 1100 -#define CMD_STR_OFFSET 2200 -#define CMD_STR_OFFSET_MULTILANG 3300 -#define CMDID_END 5500 +#define HELP_OFFSET 1100 +#define CMD_STR_OFFSET 2200 +#define CMD_STR_OFFSET_MULTILANG 3300 +#define CMDID_END 5500 /*-------------------------------------------------------------------- Bereich: Datei --------------------------------------------------------------------*/ -#define FN_CLOSE_FILE (FN_FILE + 1 ) /* Schliessen */ -#define FN_LAUNCH_REGISTRY (FN_FILE + 2 ) /* Ablage */ +#define FN_CLOSE_FILE (FN_FILE + 1 ) /* Schliessen */ +#define FN_LAUNCH_REGISTRY (FN_FILE + 2 ) /* Ablage */ -#define FN_NEW_GLOBAL_DOC (FN_FILE + 4 ) /* Globaldokument erzeugen */ -#define FN_NEW_FILE (FN_FILE + 5 ) /* Neu */ -#define FN_NEW_FILE_DLG (FN_FILE + 6 ) /* Neu Dialog */ -#define FN_OPEN_FILE (FN_FILE + 7 ) /* Oeffnen */ -#define FN_EDIT_FILE (FN_FILE + 8 ) /* Oeffnen oder ToTop */ +#define FN_NEW_GLOBAL_DOC (FN_FILE + 4 ) /* Globaldokument erzeugen */ +#define FN_NEW_FILE (FN_FILE + 5 ) /* Neu */ +#define FN_NEW_FILE_DLG (FN_FILE + 6 ) /* Neu Dialog */ +#define FN_OPEN_FILE (FN_FILE + 7 ) /* Oeffnen */ +#define FN_EDIT_FILE (FN_FILE + 8 ) /* Oeffnen oder ToTop */ -#define FN_INETFILE (FN_FILE + 9 ) /* Internet File-Dialog */ +#define FN_INETFILE (FN_FILE + 9 ) /* Internet File-Dialog */ -#define FN_PRINT_FILE (FN_FILE + 10) /* Drucken */ -#define FN_PRINT_FILE_OPTIONS (FN_FILE + 11) /* Drucken Optionen */ -#define FN_SAVE_FILE_AS (FN_FILE + 12) /* Speichern unter */ -#define FN_SAVE_FILE (FN_FILE + 13) /* Speichern */ -#define FN_SETUP_PRINTER (FN_FILE + 14) /* Druckereinstellung */ -#define FN_SETUP_PRINTER_DLG (FN_FILE + 15) /* Druckereinstellung */ -#define FN_SHOW_PREVIEW (FN_FILE + 16) /* Druckbild */ -#define FN_EXIT (FN_FILE + 17) /* Writer beenden */ -#define FN_PRINT_CFG_DLG (FN_FILE + 18) /* Optionen Drucken */ +#define FN_PRINT_FILE (FN_FILE + 10) /* Drucken */ +#define FN_PRINT_FILE_OPTIONS (FN_FILE + 11) /* Drucken Optionen */ +#define FN_SAVE_FILE_AS (FN_FILE + 12) /* Speichern unter */ +#define FN_SAVE_FILE (FN_FILE + 13) /* Speichern */ +#define FN_SETUP_PRINTER (FN_FILE + 14) /* Druckereinstellung */ +#define FN_SETUP_PRINTER_DLG (FN_FILE + 15) /* Druckereinstellung */ +#define FN_SHOW_PREVIEW (FN_FILE + 16) /* Druckbild */ +#define FN_EXIT (FN_FILE + 17) /* Writer beenden */ +#define FN_PRINT_CFG_DLG (FN_FILE + 18) /* Optionen Drucken */ -#define FN_SAVE_ALL (FN_FILE + 23) /* Alle Files speichern */ -#define FN_NEW_FILE_DEFAULT (FN_FILE + 24) /* Neue Datei mit Standardvorlage */ -#define FN_PRINT_FILE_DEFAULT (FN_FILE + 25) /* Drucken mit Defaults */ -#define FN_LAUNCH_EQ_EDITOR (FN_FILE + 26) /* Formel Editor */ -#define FN_CHANGE_PRINTER (FN_FILE + 27) /* Drucker einstellen */ -#define FN_FAX_END (FN_FILE + 29) /* Faxen fertig, Id fuer PostMessage */ +#define FN_SAVE_ALL (FN_FILE + 23) /* Alle Files speichern */ +#define FN_NEW_FILE_DEFAULT (FN_FILE + 24) /* Neue Datei mit Standardvorlage */ +#define FN_PRINT_FILE_DEFAULT (FN_FILE + 25) /* Drucken mit Defaults */ +#define FN_LAUNCH_EQ_EDITOR (FN_FILE + 26) /* Formel Editor */ +#define FN_CHANGE_PRINTER (FN_FILE + 27) /* Drucker einstellen */ +#define FN_FAX_END (FN_FILE + 29) /* Faxen fertig, Id fuer PostMessage */ -#define FN_SELECT_DATABASE (FN_FILE + 30) /* Selektion Datenbank */ -#define FN_DOC_INFO_DLG (FN_FILE + 31) /* Dokumentinfo */ -#define FN_DOC_MGR_DLG (FN_FILE + 32) /* Dokument-Manager */ +#define FN_SELECT_DATABASE (FN_FILE + 30) /* Selektion Datenbank */ +#define FN_DOC_INFO_DLG (FN_FILE + 31) /* Dokumentinfo */ +#define FN_DOC_MGR_DLG (FN_FILE + 32) /* Dokument-Manager */ -#define FN_GET_DOCSTAT (FN_FILE + 33) /* Dokumentstatistik einzeln auslesen */ +#define FN_GET_DOCSTAT (FN_FILE + 33) /* Dokumentstatistik einzeln auslesen */ #define FN_SAVE_SELECTION (FN_FILE + 35) /* Selektion speichern */ -#define FN_OUTLINE_TO_IMPRESS (FN_FILE + 36) /* Outline zu StarImpress senden */ +#define FN_OUTLINE_TO_IMPRESS (FN_FILE + 36) /* Outline zu StarImpress senden */ #define FN_OUTLINE_TO_CLIPBOARD (FN_FILE + 37) /* Outline in das Clipboad copieren */ -#define FN_NEW_HTML_DOC (FN_FILE + 40 ) /* HTML-Dokument "erzeugen" */ +#define FN_NEW_HTML_DOC (FN_FILE + 40 ) /* HTML-Dokument "erzeugen" */ -#define FN_APP_START (FN_FILE + 98) /* fuer Makro bei App.Start */ -#define FN_APP_END (FN_FILE + 99) /* fuer Makro bei App.Ende */ +#define FN_APP_START (FN_FILE + 98) /* fuer Makro bei App.Start */ +#define FN_APP_END (FN_FILE + 99) /* fuer Makro bei App.Ende */ /*-------------------------------------------------------------------- Bereich: Bearbeiten --------------------------------------------------------------------*/ -#define FN_CLEAR (FN_EDIT + 1 ) /* Loeschen */ -#define FN_COPY (FN_EDIT + 2 ) /* Kopieren */ -#define FN_CUT (FN_EDIT + 3 ) /* Ausschneiden */ -#define FN_EDIT_FIELD (FN_EDIT + 4 ) /* Textbefehl bearbeiten */ -#define FN_EDIT_FIELD_DLG (FN_EDIT + 5 ) /* Textbefehl bearbeiten */ -#define FN_EDIT_FILE_INFO (FN_EDIT + 6 ) /* Dokumentinfo */ -#define FN_EDIT_FILE_INFO_DLG (FN_EDIT + 7 ) /* Dokumentinfo Dialog */ -#define FN_EDIT_LINK (FN_EDIT + 8 ) /* Verknuepfungen */ -#define FN_EDIT_LINK_DLG (FN_EDIT + 9 ) /* Verknuepfungen */ -#define FN_GOTO (FN_EDIT + 11) /* Gehe zu */ - -#define FN_PASTE (FN_EDIT + 13) /* Einfuegen */ -#define FN_PASTESPECIAL_DLG (FN_EDIT + 15) /* Verknuepfung einfuegen */ -#define FN_NUMBER_BULLETS (FN_EDIT + 21) /* Bullets */ -#define FN_REPEAT (FN_EDIT + 22) /* Letzten Befehl wiederholen */ -#define FN_EDIT_IDX_ENTRY_DLG (FN_EDIT + 23) /* Index-Entry bearbeiten */ -#define FN_UPDATE_FIELDS (FN_EDIT + 26) /* Feldinhalte erneuern */ -#define FN_EXECUTE_MACROFIELD (FN_EDIT + 27) /* Macrofeld ausfuehren */ -#define FN_EDIT_FORMULA (FN_EDIT + 28) /* Formel in RibbonBar bearbeiten */ -#define FN_CALC_TABLE (FN_EDIT + 29) /* Tabelle durchrechnen */ +#define FN_CLEAR (FN_EDIT + 1 ) /* Loeschen */ +#define FN_COPY (FN_EDIT + 2 ) /* Kopieren */ +#define FN_CUT (FN_EDIT + 3 ) /* Ausschneiden */ +#define FN_EDIT_FIELD (FN_EDIT + 4 ) /* Textbefehl bearbeiten */ +#define FN_EDIT_FIELD_DLG (FN_EDIT + 5 ) /* Textbefehl bearbeiten */ +#define FN_EDIT_FILE_INFO (FN_EDIT + 6 ) /* Dokumentinfo */ +#define FN_EDIT_FILE_INFO_DLG (FN_EDIT + 7 ) /* Dokumentinfo Dialog */ +#define FN_EDIT_LINK (FN_EDIT + 8 ) /* Verknuepfungen */ +#define FN_EDIT_LINK_DLG (FN_EDIT + 9 ) /* Verknuepfungen */ +#define FN_GOTO (FN_EDIT + 11) /* Gehe zu */ + +#define FN_PASTE (FN_EDIT + 13) /* Einfuegen */ +#define FN_PASTESPECIAL_DLG (FN_EDIT + 15) /* Verknuepfung einfuegen */ +#define FN_NUMBER_BULLETS (FN_EDIT + 21) /* Bullets */ +#define FN_REPEAT (FN_EDIT + 22) /* Letzten Befehl wiederholen */ +#define FN_EDIT_IDX_ENTRY_DLG (FN_EDIT + 23) /* Index-Entry bearbeiten */ +#define FN_UPDATE_FIELDS (FN_EDIT + 26) /* Feldinhalte erneuern */ +#define FN_EXECUTE_MACROFIELD (FN_EDIT + 27) /* Macrofeld ausfuehren */ +#define FN_EDIT_FORMULA (FN_EDIT + 28) /* Formel in RibbonBar bearbeiten */ +#define FN_CALC_TABLE (FN_EDIT + 29) /* Tabelle durchrechnen */ /*-------------------------------------------------------------------- Bereich: Bullets --------------------------------------------------------------------*/ -#define FN_NUM_BULLET_DOWN (FN_EDIT + 30) /* Runterstufen */ -#define FN_NUM_BULLET_UP (FN_EDIT + 31) /* Raufstufen */ -#define FN_NUM_BULLET_PREV (FN_EDIT + 32) /* zum vorigen Eintrag */ -#define FN_NUM_BULLET_NEXT (FN_EDIT + 33) /* zum naechsten Eintrag */ -#define FN_NUM_BULLET_MOVEUP (FN_EDIT + 34) /* nach oben schieben */ -#define FN_NUM_BULLET_MOVEDOWN (FN_EDIT + 35) /* nach unten schieben */ -#define FN_NUM_BULLET_NONUM (FN_EDIT + 36) /* Eintrag ohne Nummer */ +#define FN_NUM_BULLET_DOWN (FN_EDIT + 30) /* Runterstufen */ +#define FN_NUM_BULLET_UP (FN_EDIT + 31) /* Raufstufen */ +#define FN_NUM_BULLET_PREV (FN_EDIT + 32) /* zum vorigen Eintrag */ +#define FN_NUM_BULLET_NEXT (FN_EDIT + 33) /* zum naechsten Eintrag */ +#define FN_NUM_BULLET_MOVEUP (FN_EDIT + 34) /* nach oben schieben */ +#define FN_NUM_BULLET_MOVEDOWN (FN_EDIT + 35) /* nach unten schieben */ +#define FN_NUM_BULLET_NONUM (FN_EDIT + 36) /* Eintrag ohne Nummer */ #ifndef FN_NUM_BULLET_OFF //in SVX already -#define FN_NUM_BULLET_OFF (FN_EDIT + 37) /* Numerierung aus */ +#define FN_NUM_BULLET_OFF (FN_EDIT + 37) /* Numerierung aus */ #endif // schon im SVX -//#define FN_NUM_BULLET_ON (FN_EDIT + 38) /* Numerierung mit Bullets an */ +//#define FN_NUM_BULLET_ON (FN_EDIT + 38) /* Numerierung mit Bullets an */ -#define FN_NUM_BULLET_OUTLINE_DOWN (FN_EDIT + 39) /* Runterstufen mit Unterpunkten */ -#define FN_NUM_BULLET_OUTLINE_UP (FN_EDIT + 40) /* Raufstufen mit Unterpunkten */ -#define FN_NUM_BULLET_OUTLINE_MOVEUP (FN_EDIT + 41) /* nach oben schieben mit Unterpunkten */ -#define FN_NUM_BULLET_OUTLINE_MOVEDOWN (FN_EDIT + 42) /* nach unten schieben mit Unterpunkten */ -#define FN_UPDATE_INPUTFIELDS (FN_EDIT + 43) /* Eingabefelder updaten */ +#define FN_NUM_BULLET_OUTLINE_DOWN (FN_EDIT + 39) /* Runterstufen mit Unterpunkten */ +#define FN_NUM_BULLET_OUTLINE_UP (FN_EDIT + 40) /* Raufstufen mit Unterpunkten */ +#define FN_NUM_BULLET_OUTLINE_MOVEUP (FN_EDIT + 41) /* nach oben schieben mit Unterpunkten */ +#define FN_NUM_BULLET_OUTLINE_MOVEDOWN (FN_EDIT + 42) /* nach unten schieben mit Unterpunkten */ +#define FN_UPDATE_INPUTFIELDS (FN_EDIT + 43) /* Eingabefelder updaten */ // schon im SVX -//#define FN_NUM_NUMBERING_ON (FN_EDIT + 44) /* Numerierung an */ +//#define FN_NUM_NUMBERING_ON (FN_EDIT + 44) /* Numerierung an */ -#define FN_NUM_OR_NONUM (FN_EDIT + 46) /* Nummer ein-/aus */ +#define FN_NUM_OR_NONUM (FN_EDIT + 46) /* Nummer ein-/aus */ -#define FN_GOTO_NEXT_INPUTFLD (FN_EDIT + 47) /* zum naechsten EingabeFeld */ -#define FN_GOTO_PREV_INPUTFLD (FN_EDIT + 48) /* zum vorherigen EingabeFeld */ +#define FN_GOTO_NEXT_INPUTFLD (FN_EDIT + 47) /* zum naechsten EingabeFeld */ +#define FN_GOTO_PREV_INPUTFLD (FN_EDIT + 48) /* zum vorherigen EingabeFeld */ -#define FN_REPEAT_SEARCH (FN_EDIT + 50) /* Suche wiederholen */ -#define FN_REPEAT_REPLACE (FN_EDIT + 51) /* Ersetzen wiederholen */ -#define FN_UPDATE_GRAFIC (FN_EDIT + 53) /* Grafik aendern */ -#define FN_SETTAB_ATCURPOS (FN_EDIT + 54) /* Tab an der aktuellen Pos setzen */ -#define FN_SET_LR_IND_ATCURPOS (FN_EDIT + 55) /* EZE und LR setzen */ -#define FN_FRMCNT_TO_BODY (FN_EDIT + 56) /* Rahmeninhalt zu Text */ -#define FN_UPDATE_TOXBASE (FN_EDIT + 57) /* Naechstes Verzeichnis erneuern */ +#define FN_REPEAT_SEARCH (FN_EDIT + 50) /* Suche wiederholen */ +#define FN_REPEAT_REPLACE (FN_EDIT + 51) /* Ersetzen wiederholen */ +#define FN_UPDATE_GRAFIC (FN_EDIT + 53) /* Grafik aendern */ +#define FN_SETTAB_ATCURPOS (FN_EDIT + 54) /* Tab an der aktuellen Pos setzen */ +#define FN_SET_LR_IND_ATCURPOS (FN_EDIT + 55) /* EZE und LR setzen */ +#define FN_FRMCNT_TO_BODY (FN_EDIT + 56) /* Rahmeninhalt zu Text */ +#define FN_UPDATE_TOXBASE (FN_EDIT + 57) /* Naechstes Verzeichnis erneuern */ -#define FN_REPAGINATE (FN_EDIT + 61) /* Neuformatierung erzwingen */ -#define FN_EDIT_FOOTNOTE (FN_EDIT + 62) /* Fussnote bearbeiten */ +#define FN_REPAGINATE (FN_EDIT + 61) /* Neuformatierung erzwingen */ +#define FN_EDIT_FOOTNOTE (FN_EDIT + 62) /* Fussnote bearbeiten */ -#define FN_EDIT_REGION (FN_EDIT + 65) /* Bereiche bearbeiten */ -#define FN_GOTO_REFERENCE (FN_EDIT + 66) /* Von der Refmark zur Referenz */ +#define FN_EDIT_REGION (FN_EDIT + 65) /* Bereiche bearbeiten */ +#define FN_GOTO_REFERENCE (FN_EDIT + 66) /* Von der Refmark zur Referenz */ // schon im Svx definiert -#define FN_NEXT_BOOKMARK (FN_EDIT + 68) /* */ -#define FN_PREV_BOOKMARK (FN_EDIT + 69) /* */ +#define FN_NEXT_BOOKMARK (FN_EDIT + 68) /* */ +#define FN_PREV_BOOKMARK (FN_EDIT + 69) /* */ /*Navigator ToolBoxen*/ -#define FN_SELECT_BOOKMARK (FN_EDIT + 70) /**/ -#define FN_ITEM_DOWN (FN_EDIT + 71) /**/ -#define FN_ITEM_LEFT (FN_EDIT + 72) /**/ -#define FN_ITEM_RIGHT (FN_EDIT + 73) /**/ -#define FN_ITEM_UP (FN_EDIT + 74) /**/ -#define FN_DOWN (FN_EDIT + 75) /**/ - -#define FN_SELECT_FOOTER (FN_EDIT + 77) /**/ -#define FN_SELECT_FRAME (FN_EDIT + 78) /**/ -#define FN_SELECT_HEADER (FN_EDIT + 79) /**/ -#define FN_PAGENUMBER (FN_EDIT + 80) /**/ -#define FN_SELECT_AUTO_BOOKMARK (FN_EDIT + 81) /**/ -#define FN_SELECT_FOOTNOTE (FN_EDIT + 82) /**/ +#define FN_SELECT_BOOKMARK (FN_EDIT + 70) /**/ +#define FN_ITEM_DOWN (FN_EDIT + 71) /**/ +#define FN_ITEM_LEFT (FN_EDIT + 72) /**/ +#define FN_ITEM_RIGHT (FN_EDIT + 73) /**/ +#define FN_ITEM_UP (FN_EDIT + 74) /**/ +#define FN_DOWN (FN_EDIT + 75) /**/ + +#define FN_SELECT_FOOTER (FN_EDIT + 77) /**/ +#define FN_SELECT_FRAME (FN_EDIT + 78) /**/ +#define FN_SELECT_HEADER (FN_EDIT + 79) /**/ +#define FN_PAGENUMBER (FN_EDIT + 80) /**/ +#define FN_SELECT_AUTO_BOOKMARK (FN_EDIT + 81) /**/ +#define FN_SELECT_FOOTNOTE (FN_EDIT + 82) /**/ #define FN_SELECT_SET_AUTO_BOOKMARK (FN_EDIT + 83) /**/ -#define FN_SELECT_TABLE (FN_EDIT + 84) /**/ -#define FN_SELECT_INDEX (FN_EDIT + 85) /**/ -#define FN_UP (FN_EDIT + 86) /**/ +#define FN_SELECT_TABLE (FN_EDIT + 84) /**/ +#define FN_SELECT_INDEX (FN_EDIT + 85) /**/ +#define FN_UP (FN_EDIT + 86) /**/ -//#define FN_DELETE_REGION (FN_EDIT + 89) /* Bereiche loeschen */ +//#define FN_DELETE_REGION (FN_EDIT + 89) /* Bereiche loeschen */ -#define FN_SELECT_PARA (FN_EDIT + 97) /* Absatz selektieren */ +#define FN_SELECT_PARA (FN_EDIT + 97) /* Absatz selektieren */ -#define FN_SELECT_CONTENT (FN_EDIT + 99) /* Navigator - Inhaltstyp */ +#define FN_SELECT_CONTENT (FN_EDIT + 99) /* Navigator - Inhaltstyp */ -//#define FN_REDLINE_PROTECT (FN_EDIT2 + 23) /* Redlining password */ ->moved to SVX +//#define FN_REDLINE_PROTECT (FN_EDIT2 + 23) /* Redlining password */ ->moved to SVX #define FN_UPDATE_ALL_LINKS (FN_EDIT2 + 24) /* alle Links updaten */ -//#define FN_REDLINE_ON (FN_EDIT2 + 25) /* Redlining anschalten */ -> moved to SVX -#define FN_REDLINE_SHOW (FN_EDIT2 + 26) /* Redlining anzeigen */ -#define FN_REDLINE_COMMENT (FN_EDIT2 + 27) /* Redlining kommentieren */ +//#define FN_REDLINE_ON (FN_EDIT2 + 25) /* Redlining anschalten */ -> moved to SVX +#define FN_REDLINE_SHOW (FN_EDIT2 + 26) /* Redlining anzeigen */ +#define FN_REDLINE_COMMENT (FN_EDIT2 + 27) /* Redlining kommentieren */ -#define FN_UPDATE_ALL (FN_EDIT2 + 28) /* FN_UPDATE_ALL_LINKS, +#define FN_UPDATE_ALL (FN_EDIT2 + 28) /* FN_UPDATE_ALL_LINKS, FN_UPDATE_FIELDS, FN_UPDATE_TOX, CalcLayout */ -#define FN_REDLINE_ACCEPT (FN_EDIT2 + 29) /* Redlining annehmen/ablehnen */ +#define FN_REDLINE_ACCEPT (FN_EDIT2 + 29) /* Redlining annehmen/ablehnen */ #define FN_ATTR_COLUMNS (FN_EDIT2 + 31) /* SlotId fuer SwFmtCol */ -#define FN_EDIT_CURRENT_TOX (FN_EDIT2 + 32) /* edit current index */ +#define FN_EDIT_CURRENT_TOX (FN_EDIT2 + 32) /* edit current index */ #define FN_EDIT_AUTH_ENTRY_DLG (FN_EDIT2 + 33) /* edit authorities entry*/ -#define FN_UPDATE_CHARTS (FN_EDIT2 + 34) /* update all charts */ +#define FN_UPDATE_CHARTS (FN_EDIT2 + 34) /* update all charts */ -#define FN_EDIT_HYPERLINK (FN_EDIT2 + 35) /* edit hyperlink */ +#define FN_EDIT_HYPERLINK (FN_EDIT2 + 35) /* edit hyperlink */ #define FN_NUM_CONTINUE (FN_EDIT2 + 36) /* continue previous numbering */ #define FN_REDLINE_ACCEPT_DIRECT (FN_EDIT2 + 37) /* accept redline at current position*/ #define FN_REDLINE_REJECT_DIRECT (FN_EDIT2 + 38) /* reject redline at current position*/ @@ -268,52 +268,52 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr Bereich: Bearbeiten --------------------------------------------------------------------*/ -#define FN_REFRESH_VIEW (FN_VIEW + 1) /* Refresh/Redraw */ -#define FN_SHOW_OUTLINE_VIEW (FN_VIEW + 2) /* Gliederungsansicht */ +#define FN_REFRESH_VIEW (FN_VIEW + 1) /* Refresh/Redraw */ +#define FN_SHOW_OUTLINE_VIEW (FN_VIEW + 2) /* Gliederungsansicht */ -#define FN_DRAW_WRAP_DLG (FN_VIEW + 3) /* Draw Umlauf-Dlg */ +#define FN_DRAW_WRAP_DLG (FN_VIEW + 3) /* Draw Umlauf-Dlg */ -#define FN_RULER (FN_VIEW + 11) /* Horizontales Lineal */ +#define FN_RULER (FN_VIEW + 11) /* Horizontales Lineal */ -#define FN_VIEW_GRAPHIC (FN_VIEW + 13) /* Grafiken anzeigen */ -#define FN_VIEW_BOUNDS (FN_VIEW + 14) /* Begrenzungen */ -#define FN_VIEW_FIELDS (FN_VIEW + 15) /* Textbefehle */ -#define FN_VLINEAL (FN_VIEW + 16) /* Vertikales Lineal */ -#define FN_VSCROLLBAR (FN_VIEW + 17) /* Vertikaler Scrollbar */ -#define FN_HSCROLLBAR (FN_VIEW + 18) /* Horizontaler Scrollbar */ -#define FN_TOOLBOX_TOGGLE (FN_VIEW + 19) /* Toolboxinhalte umschalten */ -#define FN_VIEWOPTIONS_ON (FN_VIEW + 20) /* Gruppe Viewoptions an */ -#define FN_VIEWOPTIONS_OFF (FN_VIEW + 21) /* Gruppe Viewoptions aus */ -#define FN_CONTROLS_ON (FN_VIEW + 22) /* Gruppe Bedienelemte an */ -#define FN_CONTROLS_OFF (FN_VIEW + 23) /* Gruppe Bedienelemte aus */ +#define FN_VIEW_GRAPHIC (FN_VIEW + 13) /* Grafiken anzeigen */ +#define FN_VIEW_BOUNDS (FN_VIEW + 14) /* Begrenzungen */ +#define FN_VIEW_FIELDS (FN_VIEW + 15) /* Textbefehle */ +#define FN_VLINEAL (FN_VIEW + 16) /* Vertikales Lineal */ +#define FN_VSCROLLBAR (FN_VIEW + 17) /* Vertikaler Scrollbar */ +#define FN_HSCROLLBAR (FN_VIEW + 18) /* Horizontaler Scrollbar */ +#define FN_TOOLBOX_TOGGLE (FN_VIEW + 19) /* Toolboxinhalte umschalten */ +#define FN_VIEWOPTIONS_ON (FN_VIEW + 20) /* Gruppe Viewoptions an */ +#define FN_VIEWOPTIONS_OFF (FN_VIEW + 21) /* Gruppe Viewoptions aus */ +#define FN_CONTROLS_ON (FN_VIEW + 22) /* Gruppe Bedienelemte an */ +#define FN_CONTROLS_OFF (FN_VIEW + 23) /* Gruppe Bedienelemte aus */ -#define FN_VIEW_META_CHARS (FN_VIEW + 24) /* Sonderzeichen anzeigen */ -#define FN_VIEW_MARKS (FN_VIEW + 25) /* Markierungen anzeigen */ -#define FN_VIEW_FIELDNAME (FN_VIEW + 26) /* Feldname anzeigen */ -#define FN_VIEW_TABLEGRID (FN_VIEW + 27) /* Tabellenbegrenzungen anzeigen */ +#define FN_VIEW_META_CHARS (FN_VIEW + 24) /* Sonderzeichen anzeigen */ +#define FN_VIEW_MARKS (FN_VIEW + 25) /* Markierungen anzeigen */ +#define FN_VIEW_FIELDNAME (FN_VIEW + 26) /* Feldname anzeigen */ +#define FN_VIEW_TABLEGRID (FN_VIEW + 27) /* Tabellenbegrenzungen anzeigen */ -#define FN_SET_PAGE (FN_VIEW + 29) /* Seitenvorlage am Absatz setzen */ +#define FN_SET_PAGE (FN_VIEW + 29) /* Seitenvorlage am Absatz setzen */ -#define FN_TOOLBOX_SWITCH (FN_VIEW + 30) /* Auf Textshell umschalten */ +#define FN_TOOLBOX_SWITCH (FN_VIEW + 30) /* Auf Textshell umschalten */ //noch mehr Navigator -#define FN_CONTENT_LB (FN_VIEW + 32) /**/ +#define FN_CONTENT_LB (FN_VIEW + 32) /**/ #define FN_SHOW_CONTENT_BOX (FN_VIEW + 33) /**/ #define FN_SHOW_ROOT (FN_VIEW + 34) /**/ #define FN_DROP_REGION (FN_VIEW + 35) /**/ -#define FN_OUTLINE_LEVEL (FN_VIEW + 36) /**/ +#define FN_OUTLINE_LEVEL (FN_VIEW + 36) /**/ #define FN_PRINT_LAYOUT (FN_VIEW + 37) /* invertierter BrowseMode */ #define FN_DROP_REGION_LINK (FN_VIEW + 38) /**/ #define FN_DROP_REGION_COPY (FN_VIEW + 39) /**/ -#define FN_SCROLL_NAVIGATION (FN_VIEW + 40) /* Navigationscontroller am Scrollbar*/ -#define FN_SCROLL_NEXT_PREV (FN_VIEW + 41) /* arbeitet den MoveType ab */ +#define FN_SCROLL_NAVIGATION (FN_VIEW + 40) /* Navigationscontroller am Scrollbar*/ +#define FN_SCROLL_NEXT_PREV (FN_VIEW + 41) /* arbeitet den MoveType ab */ -#define FN_VIEW_HIDDEN_PARA (FN_VIEW + 42) /* Versteckte Absaetze */ -#define FN_VIEW_SMOOTH_SCROLL (FN_VIEW + 43) +#define FN_VIEW_HIDDEN_PARA (FN_VIEW + 42) /* Versteckte Absaetze */ +#define FN_VIEW_SMOOTH_SCROLL (FN_VIEW + 43) #define FN_GLOBAL_SWITCH (FN_VIEW + 44) /* umschalten zw. Global und Inhalt*/ #define FN_GLOBAL_EDIT (FN_VIEW + 45) /* bearbeiten */ @@ -323,96 +323,96 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr #define FN_CREATE_NAVIGATION (FN_VIEW + 49) /* Navigations-Controller erzeugen */ #define FN_PREVIEW_ZOOM (FN_VIEW + 51) /* der Tabellencontroller fuer den Zoom */ -#define FN_SET_MODOPT_TBLNUMFMT (FN_VIEW + 52) /* Zahlenerkennung in Tabellen */ +#define FN_SET_MODOPT_TBLNUMFMT (FN_VIEW + 52) /* Zahlenerkennung in Tabellen */ #define FN_HSCROLL_METRIC (FN_VIEW + 53) /* Metric horizontal scrollbar */ #define FN_VSCROLL_METRIC (FN_VIEW + 54) /* Metric vertical scrollbar */ -#define FN_VIEW_NOTES (FN_VIEW + 55) +#define FN_VIEW_NOTES (FN_VIEW + 55) /*-------------------------------------------------------------------- Bereich: Einfuegen --------------------------------------------------------------------*/ // schon im Svx definiert -#define FN_INSERT_BOOKMARK (FN_INSERT + 2 ) /* Sprungmarke einfuegen */ +#define FN_INSERT_BOOKMARK (FN_INSERT + 2 ) /* Sprungmarke einfuegen */ // schon im SVX unter der gleichen Id -//#define FN_INSERT_BREAK (FN_INSERT + 3 ) /* Umbruch */ +//#define FN_INSERT_BREAK (FN_INSERT + 3 ) /* Umbruch */ -#define FN_INSERT_BREAK_DLG (FN_INSERT + 4 ) /* Umbruch */ -#define FN_INSERT_COLUMN_BREAK (FN_INSERT + 5 ) /* Spaltenumbruch */ -#define FN_INSERT_DATE_TIME (FN_INSERT + 6 ) /* Datum/Uhrzeit */ -#define FN_INSERT_FIELD (FN_INSERT + 8 ) /* Textbefehl */ -#define FN_CHANGE_DBFIELD (FN_INSERT + 9 ) /* Datenbankfeld aendern */ +#define FN_INSERT_BREAK_DLG (FN_INSERT + 4 ) /* Umbruch */ +#define FN_INSERT_COLUMN_BREAK (FN_INSERT + 5 ) /* Spaltenumbruch */ +#define FN_INSERT_DATE_TIME (FN_INSERT + 6 ) /* Datum/Uhrzeit */ +#define FN_INSERT_FIELD (FN_INSERT + 8 ) /* Textbefehl */ +#define FN_CHANGE_DBFIELD (FN_INSERT + 9 ) /* Datenbankfeld aendern */ -#define FN_INSERT_CAPTION (FN_INSERT + 10) /* Beschriftung */ +#define FN_INSERT_CAPTION (FN_INSERT + 10) /* Beschriftung */ #define FN_INSERT_DBFIELD (FN_INSERT + 11) /* Insert database field - for recording */ #define FN_INSERT_FOOTNOTE_DLG (FN_INSERT + 12) /* Dialog Fussnote */ -#define FN_INSERT_REF_FIELD (FN_INSERT + 13) /* Refernzfeld einfuegen */ +#define FN_INSERT_REF_FIELD (FN_INSERT + 13) /* Refernzfeld einfuegen */ -#define FN_INSERT_HYPERLINK (FN_INSERT + 14) /* Zeichendialog/HyperlinkPage*/ +#define FN_INSERT_HYPERLINK (FN_INSERT + 14) /* Zeichendialog/HyperlinkPage*/ -#define FN_INSERT_INDEX (FN_INSERT + 16) /* Stichworteintrag */ -#define FN_INSERT_INDEX_DLG (FN_INSERT + 17) /* Stichworteintrag */ -#define FN_INSERT_LINEBREAK (FN_INSERT + 18) /* Zeilenumbruch */ +#define FN_INSERT_INDEX (FN_INSERT + 16) /* Stichworteintrag */ +#define FN_INSERT_INDEX_DLG (FN_INSERT + 17) /* Stichworteintrag */ +#define FN_INSERT_LINEBREAK (FN_INSERT + 18) /* Zeilenumbruch */ #define FN_INSERT_FIELD_DATA_ONLY (FN_INSERT + 19) /* field dialog for mail merge*/ -#define FN_INSERT_OBJECT (FN_INSERT + 21) /* Object */ -#define FN_INSERT_OBJECT_DLG (FN_INSERT + 22) /* Object */ -#define FN_INSERT_PAGEBREAK (FN_INSERT + 23) /* Seitenumbruch */ -#define FN_INSERT_PAGENO (FN_INSERT + 24) /* Seitennummer */ -#define FN_INSERT_PARAGRAPH (FN_INSERT + 25) /* Absatz */ -#define FN_INSERT_RECORD (FN_INSERT + 26) /* Datensatz einfuegen */ -#define FN_MERGE_RECORD (FN_INSERT + 27) /* Datensatz mischen */ -#define FN_INSERT_SYMBOL (FN_INSERT + 28) /* Sonderzeichen */ -#define FN_POSTIT (FN_INSERT + 29) /* PostIt einfuegen/bearbeiten */ -#define FN_INSERT_TABLE (FN_INSERT + 30) /* Tabelle */ +#define FN_INSERT_OBJECT (FN_INSERT + 21) /* Object */ +#define FN_INSERT_OBJECT_DLG (FN_INSERT + 22) /* Object */ +#define FN_INSERT_PAGEBREAK (FN_INSERT + 23) /* Seitenumbruch */ +#define FN_INSERT_PAGENO (FN_INSERT + 24) /* Seitennummer */ +#define FN_INSERT_PARAGRAPH (FN_INSERT + 25) /* Absatz */ +#define FN_INSERT_RECORD (FN_INSERT + 26) /* Datensatz einfuegen */ +#define FN_MERGE_RECORD (FN_INSERT + 27) /* Datensatz mischen */ +#define FN_INSERT_SYMBOL (FN_INSERT + 28) /* Sonderzeichen */ +#define FN_POSTIT (FN_INSERT + 29) /* PostIt einfuegen/bearbeiten */ +#define FN_INSERT_TABLE (FN_INSERT + 30) /* Tabelle */ #define FN_INSERT_STRING (FN_INSERT+31) -#define FN_INSERT_COLS (FN_INSERT + 32) /* Spalten einfuegen */ -#define FN_INSERT_FRAME_INTERACT (FN_INSERT + 33) /* Rahmen einfuegen aktiv */ -#define FN_INSERT_FRAME (FN_INSERT + 34) /* Rahmen einfuegen */ +#define FN_INSERT_COLS (FN_INSERT + 32) /* Spalten einfuegen */ +#define FN_INSERT_FRAME_INTERACT (FN_INSERT + 33) /* Rahmen einfuegen aktiv */ +#define FN_INSERT_FRAME (FN_INSERT + 34) /* Rahmen einfuegen */ -#define FN_INSERT_IDX_ENTRY_DLG (FN_INSERT + 35) /* Verzeichniseintrag einfuegen */ +#define FN_INSERT_IDX_ENTRY_DLG (FN_INSERT + 35) /* Verzeichniseintrag einfuegen */ #define FN_INSERT_FRAME_INTERACT_NOCOL (FN_INSERT + 36) /*insert interactive non column frame*/ //#define FN_INSERT_SOFT_HYPHEN (FN_INSERT + 43) /* weicher Trenner */ //#define FN_INSERT_HARD_SPACE (FN_INSERT + 44) /* hartes Space */ -#define FN_TOOL_GROUP (FN_INSERT + 47) /* Objekte gruppieren */ -#define FN_TOOL_UNGROUP (FN_INSERT + 48) /* Gruppierng aufheben */ +#define FN_TOOL_GROUP (FN_INSERT + 47) /* Objekte gruppieren */ +#define FN_TOOL_UNGROUP (FN_INSERT + 48) /* Gruppierng aufheben */ -#define FN_TOOL_ANKER (FN_INSERT + 49) /* Draw-Objekt umankern */ -#define FN_TOOL_ANKER_PAGE (FN_INSERT + 50) /* Draw-Objekt an Seite verankern */ -#define FN_TOOL_ANKER_PARAGRAPH (FN_INSERT + 51) /* Draw-Objekt am Absatz verankern */ -#define FN_TOOL_HIERARCHIE (FN_INSERT + 52) /* Hierarchie aendern */ +#define FN_TOOL_ANKER (FN_INSERT + 49) /* Draw-Objekt umankern */ +#define FN_TOOL_ANKER_PAGE (FN_INSERT + 50) /* Draw-Objekt an Seite verankern */ +#define FN_TOOL_ANKER_PARAGRAPH (FN_INSERT + 51) /* Draw-Objekt am Absatz verankern */ +#define FN_TOOL_HIERARCHIE (FN_INSERT + 52) /* Hierarchie aendern */ #define FN_MAILMERGE_WIZARD (FN_INSERT + 64) /* mail merge wizard */ -#define FN_QRY_OPEN_TABLE (FN_INSERT + 65) /* Datenbank oeffnen (Basic) */ -#define FN_TOOL_ANKER_FRAME (FN_INSERT + 66) /* Draw-Objekt am Rahmen verankern */ +#define FN_QRY_OPEN_TABLE (FN_INSERT + 65) /* Datenbank oeffnen (Basic) */ +#define FN_TOOL_ANKER_FRAME (FN_INSERT + 66) /* Draw-Objekt am Rahmen verankern */ #define FN_QRY_MERGE (FN_INSERT + 67) /* Datensatz einfuegen (Serienbrief) */ #define FN_MAILMERGE_CHILDWINDOW (FN_INSERT + 68) /* back-to-mail-merge-wizard child window*/ -#define FN_INSERT_SMA (FN_INSERT + 69) /* Einfuegen StarMath */ +#define FN_INSERT_SMA (FN_INSERT + 69) /* Einfuegen StarMath */ -#define FN_QRY_GET_COLUMN_NAME (FN_INSERT + 70) /* Anzahl der Spalten (Basic) */ -#define FN_QRY_GET_COLUMN_TYPE (FN_INSERT + 71) /* Type des Datenbankfeldes ermitteln (Basic) */ -#define FN_QRY_GET_COLUMN_TEXT (FN_INSERT + 72) /* Inhalt des aktuellen Datensatzes (Basic) */ -#define FN_QRY_DEL_DEFINED_DB (FN_INSERT + 75) /* Datenbankdefinition loeschen (Basic) */ +#define FN_QRY_GET_COLUMN_NAME (FN_INSERT + 70) /* Anzahl der Spalten (Basic) */ +#define FN_QRY_GET_COLUMN_TYPE (FN_INSERT + 71) /* Type des Datenbankfeldes ermitteln (Basic) */ +#define FN_QRY_GET_COLUMN_TEXT (FN_INSERT + 72) /* Inhalt des aktuellen Datensatzes (Basic) */ +#define FN_QRY_DEL_DEFINED_DB (FN_INSERT + 75) /* Datenbankdefinition loeschen (Basic) */ -#define FN_DRAWTEXT_ATTR_DLG (FN_INSERT + 76) /* DrawText positionieren */ +#define FN_DRAWTEXT_ATTR_DLG (FN_INSERT + 76) /* DrawText positionieren */ -#define FN_QRY_APPEND_RECORD (FN_INSERT + 77) /* Neuen Datensatz anhaengen */ -#define FN_QRY_UPDATE_RECORD (FN_INSERT + 78) /* Datensatzspalte aendern */ -#define FN_QRY_DELETE_RECORD (FN_INSERT + 79) /* Datensatz loeschen */ -#define FN_QRY_GET_PHYS_RECORD_ID (FN_INSERT + 80) /* Physikalische (absolute) Datensatznummer erfragen (Basic) */ +#define FN_QRY_APPEND_RECORD (FN_INSERT + 77) /* Neuen Datensatz anhaengen */ +#define FN_QRY_UPDATE_RECORD (FN_INSERT + 78) /* Datensatzspalte aendern */ +#define FN_QRY_DELETE_RECORD (FN_INSERT + 79) /* Datensatz loeschen */ +#define FN_QRY_GET_PHYS_RECORD_ID (FN_INSERT + 80) /* Physikalische (absolute) Datensatznummer erfragen (Basic) */ #define FN_TOOL_ANKER_CHAR (FN_INSERT + 84) /* DrawObject zeichengebunden */ //#define FN_INSERT_HARDHYPHEN (FN_INSERT + 85) /* Bindestrich ohne Umbruch*/ -#define FN_QRY_INSERT (FN_INSERT + 86) /* Datensatz-Selektion in Text einfuegen */ -#define FN_QRY_MERGE_FIELD (FN_INSERT + 87) /* Datensatz-Selektion in Felder einfuegen */ -#define FN_QRY_INSERT_FIELD (FN_INSERT + 88) /* Datenbankfeld einfuegen */ +#define FN_QRY_INSERT (FN_INSERT + 86) /* Datensatz-Selektion in Text einfuegen */ +#define FN_QRY_MERGE_FIELD (FN_INSERT + 87) /* Datensatz-Selektion in Felder einfuegen */ +#define FN_QRY_INSERT_FIELD (FN_INSERT + 88) /* Datenbankfeld einfuegen */ -#define FN_INSERT_CTRL (FN_INSERT + 89) /* Werkzeugleistencontroller Einfuegen*/ -#define FN_INSERT_OBJ_CTRL (FN_INSERT + 90) /* Werkzeugleistencontroller Einfuegen/Objekt*/ +#define FN_INSERT_CTRL (FN_INSERT + 89) /* Werkzeugleistencontroller Einfuegen*/ +#define FN_INSERT_OBJ_CTRL (FN_INSERT + 90) /* Werkzeugleistencontroller Einfuegen/Objekt*/ #define FN_INSERT_FIELD_CTRL (FN_INSERT + 91) /* Werkzeugleistencontroller Einfuegen/Feldbefehle*/ #define FN_INSERT_FLD_DATE (FN_INSERT + 92) @@ -428,147 +428,147 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr Bereich: Einfuegen (2.Teil) --------------------------------------------------------------------*/ -#define FN_QRY_GET_ALL_DBNAME (FN_INSERT2 + 1) /* Alle konfigurierten Datenabanknamen ermitteln */ -#define FN_QRY_GET_DBNAME_COUNT (FN_INSERT2 + 2) /* Anzahl aller konfigurierten Datenabanknamen */ -#define FN_QRY_GET_TABLE_NAME (FN_INSERT2 + 3) /* Tabellenname einer Datenbank ermitteln */ -#define FN_QRY_GET_TABLE_COUNT (FN_INSERT2 + 4) /* Anzahl aller Tabellen einer Datenbank ermitteln */ +#define FN_QRY_GET_ALL_DBNAME (FN_INSERT2 + 1) /* Alle konfigurierten Datenabanknamen ermitteln */ +#define FN_QRY_GET_DBNAME_COUNT (FN_INSERT2 + 2) /* Anzahl aller konfigurierten Datenabanknamen */ +#define FN_QRY_GET_TABLE_NAME (FN_INSERT2 + 3) /* Tabellenname einer Datenbank ermitteln */ +#define FN_QRY_GET_TABLE_COUNT (FN_INSERT2 + 4) /* Anzahl aller Tabellen einer Datenbank ermitteln */ #define FN_MAILMERGE_SENDMAIL_CHILDWINDOW (FN_INSERT2 + 5) /* child window provided by mailmerge */ -#define FN_SBA_BRW_UPDATE (FN_INSERT2 + 7) /* Datensaetze in Felder einfuegen */ -#define FN_SBA_BRW_INSERT (FN_INSERT2 + 8) /* Datensaetze in Text einfuegen */ -#define FN_SBA_BRW_MERGE (FN_INSERT2 + 9) /* Serienbriefdruck */ -#define FN_JAVAEDIT (FN_INSERT2 + 10) /* Scriptfeld bearbeiten */ +#define FN_SBA_BRW_UPDATE (FN_INSERT2 + 7) /* Datensaetze in Felder einfuegen */ +#define FN_SBA_BRW_INSERT (FN_INSERT2 + 8) /* Datensaetze in Text einfuegen */ +#define FN_SBA_BRW_MERGE (FN_INSERT2 + 9) /* Serienbriefdruck */ +#define FN_JAVAEDIT (FN_INSERT2 + 10) /* Scriptfeld bearbeiten */ #define FN_INSERT_HRULER (FN_INSERT2 + 11) /* horiz. Grafiklinie einfuegen */ #define FN_TOOL_ANKER_AT_CHAR (FN_INSERT2 + 12) /* Object zeichengebunden */ -#define FN_INSERT_PAGEHEADER (FN_INSERT2 + 13) /* Standard Kopfzeile einfuegen */ -#define FN_INSERT_PAGEFOOTER (FN_INSERT2 + 14) /* Standard Fusszeile einfuegen */ +#define FN_INSERT_PAGEHEADER (FN_INSERT2 + 13) /* Standard Kopfzeile einfuegen */ +#define FN_INSERT_PAGEFOOTER (FN_INSERT2 + 14) /* Standard Fusszeile einfuegen */ -#define FN_INSERT_ENDNOTE (FN_INSERT2 + 18) /* Endnote einfuegen*/ +#define FN_INSERT_ENDNOTE (FN_INSERT2 + 18) /* Endnote einfuegen*/ #define FN_INSERT_REGION (FN_INSERT2 + 19) /* Insert section */ -#define FN_INSERT_MULTI_TOX (FN_INSERT2 + 20) /* insert any TOX */ -#define FN_INSERT_AUTH_ENTRY_DLG (FN_INSERT2 + 21) /* insert entry for table of authorities*/ +#define FN_INSERT_MULTI_TOX (FN_INSERT2 + 20) /* insert any TOX */ +#define FN_INSERT_AUTH_ENTRY_DLG (FN_INSERT2 + 21) /* insert entry for table of authorities*/ /*-------------------------------------------------------------------- Bereich: Format --------------------------------------------------------------------*/ -#define FN_AUTOFORMAT_APPLY (FN_FORMAT + 1 ) /* Autoformat-Optionen anwenden */ -#define FN_AUTOFORMAT_AUTO (FN_FORMAT + 2 ) /* Autoformat waehrend der Eingabe */ -#define FN_GROW_FONT_SIZE (FN_FORMAT + 3 ) /* Groesse */ -#define FN_SHRINK_FONT_SIZE (FN_FORMAT + 4 ) /* Groesse */ -#define FN_UNDERLINE_DOUBLE (FN_FORMAT + 5 ) /* Doppelt unterstreichen */ +#define FN_AUTOFORMAT_APPLY (FN_FORMAT + 1 ) /* Autoformat-Optionen anwenden */ +#define FN_AUTOFORMAT_AUTO (FN_FORMAT + 2 ) /* Autoformat waehrend der Eingabe */ +#define FN_GROW_FONT_SIZE (FN_FORMAT + 3 ) /* Groesse */ +#define FN_SHRINK_FONT_SIZE (FN_FORMAT + 4 ) /* Groesse */ +#define FN_UNDERLINE_DOUBLE (FN_FORMAT + 5 ) /* Doppelt unterstreichen */ #define FN_AUTOFORMAT_REDLINE_APPLY (FN_FORMAT + 6 ) /* Autoformat mit Redlining anwenden */ -#define FN_SET_SUPER_SCRIPT (FN_FORMAT + 11) /* Hochstellung */ -#define FN_SET_SUB_SCRIPT (FN_FORMAT + 12) /* Tiefstellung */ +#define FN_SET_SUPER_SCRIPT (FN_FORMAT + 11) /* Hochstellung */ +#define FN_SET_SUB_SCRIPT (FN_FORMAT + 12) /* Tiefstellung */ -#define FN_SET_CASEMAP (FN_FORMAT + 14) /* CaseMap */ -#define FN_SET_LANGUAGE (FN_FORMAT + 15) /* Sprache */ -#define FN_SET_KERNING (FN_FORMAT + 16) /* Kerning */ +#define FN_SET_CASEMAP (FN_FORMAT + 14) /* CaseMap */ +#define FN_SET_LANGUAGE (FN_FORMAT + 15) /* Sprache */ +#define FN_SET_KERNING (FN_FORMAT + 16) /* Kerning */ -#define FN_INDENT_TO_TABSTOP (FN_FORMAT + 17) /* Einrueckung auf die naechste Tabpostion */ +#define FN_INDENT_TO_TABSTOP (FN_FORMAT + 17) /* Einrueckung auf die naechste Tabpostion */ //schon in svxids.hrc -//#define FN_SET_JUSTIFY_PARA (FN_FORMAT + 21) /* Ausrichtung Absatz */ -#define FN_FLIP_HORZ_GRAFIC (FN_FORMAT + 25) /* Spiegeln horizontal */ -#define FN_FLIP_VERT_GRAFIC (FN_FORMAT + 26) /* Spiegeln vertikal */ -#define FN_SET_LINE_SPACE (FN_FORMAT + 27) /* Zeilenabstand parametrisiert */ -#define FN_SET_ADJUST (FN_FORMAT + 28) /* Ausrichtung parametrisiert */ -#define FN_SET_LRMARGIN (FN_FORMAT + 29) /* linker/rechter Rand */ -#define FN_SET_ULMARGIN (FN_FORMAT + 30) /* oberer/unterer Rand */ -#define FN_UNINDENT_TO_TABSTOP (FN_FORMAT + 31) /* Einrueckung auf die vorgige Tabpostion */ - -#define FN_SET_HYPHEN_ZONE (FN_FORMAT + 32) /* Silbentrennung */ -#define FN_SET_KEEP_TOGETHER (FN_FORMAT + 34) /* nicht trennen */ -#define FN_SET_KEEP_WITH_NEXT (FN_FORMAT + 35) /* mit folgendem zus. */ -#define FN_SET_WIDOW (FN_FORMAT + 36) /* Widows */ -#define FN_SET_ORPHAN (FN_FORMAT + 37) /* Orphans */ - - -#define FN_REGISTER_COLLECTION (FN_FORMAT + 43) /* Referenzvorlage an der Seite */ -#define FN_REGISTER_MODE (FN_FORMAT + 44) /* Registermodus an/aus */ -#define FN_NUM_FORMAT_TABLE_DLG (FN_FORMAT + 45) /* Zahlenformat in Tabelle */ -#define FN_FORMAT_BORDER_DLG (FN_FORMAT + 48) /* Umrandung */ -#define FN_FORMAT_PAGE_COLUMN_DLG (FN_FORMAT + 49) /* Spalten pro Seite */ -#define FN_FORMAT_BACKGROUND_DLG (FN_FORMAT + 50) /* Hintergrund */ -#define FN_FORMAT_PAGE (FN_FORMAT + 51) /* Seite */ -#define FN_FORMAT_PAGE_DLG (FN_FORMAT + 52) /* Seite */ -#define FN_FORMAT_COLUMN (FN_FORMAT + 53) /* Spalten */ -#define FN_FORMAT_DROPCAPS (FN_FORMAT + 54) /* Initialien */ -#define FN_FORMAT_FRAME (FN_FORMAT + 55) /* Rahmen */ -#define FN_FORMAT_FRAME_DLG (FN_FORMAT + 56) /* Rahmen */ -#define FN_FORMAT_GRAFIC (FN_FORMAT + 57) /* Grafik */ -#define FN_FORMAT_GRAFIC_DLG (FN_FORMAT + 58) /* Grafik */ -#define FN_FORMAT_TABLE (FN_FORMAT + 59) /* Tabelle */ -#define FN_FORMAT_TABLE_DLG (FN_FORMAT + 60) /* Tabelle */ -#define FN_FORMAT_OLE_DLG (FN_FORMAT + 61) /* OLE bearbeiten */ - -#define FN_NEW_STYLE_BY_EXAMPLE (FN_FORMAT + 62) /* Vorlage erzeugen by Example */ -#define FN_UPDATE_STYLE_BY_EXAMPLE (FN_FORMAT + 63) /* Vorlage aktualisieren */ -#define FN_STYLE_SHEET_FRAME_DLG (FN_FORMAT + 64) /* Rahmenvorlage */ -#define FN_STYLE_SHEET_DOC_DLG (FN_FORMAT + 65) /* Dokumentvorlage */ -#define FN_STYLE_SHEET_GRAFIK_DLG (FN_FORMAT + 66) /* Dokumentvorlage */ -#define FN_FORMAT_FOOTNOTE (FN_FORMAT + 67) /* Fussnoten */ -#define FN_FORMAT_FOOTNOTE_DLG (FN_FORMAT + 68) /* Fussnoten-Dialog */ +//#define FN_SET_JUSTIFY_PARA (FN_FORMAT + 21) /* Ausrichtung Absatz */ +#define FN_FLIP_HORZ_GRAFIC (FN_FORMAT + 25) /* Spiegeln horizontal */ +#define FN_FLIP_VERT_GRAFIC (FN_FORMAT + 26) /* Spiegeln vertikal */ +#define FN_SET_LINE_SPACE (FN_FORMAT + 27) /* Zeilenabstand parametrisiert */ +#define FN_SET_ADJUST (FN_FORMAT + 28) /* Ausrichtung parametrisiert */ +#define FN_SET_LRMARGIN (FN_FORMAT + 29) /* linker/rechter Rand */ +#define FN_SET_ULMARGIN (FN_FORMAT + 30) /* oberer/unterer Rand */ +#define FN_UNINDENT_TO_TABSTOP (FN_FORMAT + 31) /* Einrueckung auf die vorgige Tabpostion */ + +#define FN_SET_HYPHEN_ZONE (FN_FORMAT + 32) /* Silbentrennung */ +#define FN_SET_KEEP_TOGETHER (FN_FORMAT + 34) /* nicht trennen */ +#define FN_SET_KEEP_WITH_NEXT (FN_FORMAT + 35) /* mit folgendem zus. */ +#define FN_SET_WIDOW (FN_FORMAT + 36) /* Widows */ +#define FN_SET_ORPHAN (FN_FORMAT + 37) /* Orphans */ + + +#define FN_REGISTER_COLLECTION (FN_FORMAT + 43) /* Referenzvorlage an der Seite */ +#define FN_REGISTER_MODE (FN_FORMAT + 44) /* Registermodus an/aus */ +#define FN_NUM_FORMAT_TABLE_DLG (FN_FORMAT + 45) /* Zahlenformat in Tabelle */ +#define FN_FORMAT_BORDER_DLG (FN_FORMAT + 48) /* Umrandung */ +#define FN_FORMAT_PAGE_COLUMN_DLG (FN_FORMAT + 49) /* Spalten pro Seite */ +#define FN_FORMAT_BACKGROUND_DLG (FN_FORMAT + 50) /* Hintergrund */ +#define FN_FORMAT_PAGE (FN_FORMAT + 51) /* Seite */ +#define FN_FORMAT_PAGE_DLG (FN_FORMAT + 52) /* Seite */ +#define FN_FORMAT_COLUMN (FN_FORMAT + 53) /* Spalten */ +#define FN_FORMAT_DROPCAPS (FN_FORMAT + 54) /* Initialien */ +#define FN_FORMAT_FRAME (FN_FORMAT + 55) /* Rahmen */ +#define FN_FORMAT_FRAME_DLG (FN_FORMAT + 56) /* Rahmen */ +#define FN_FORMAT_GRAFIC (FN_FORMAT + 57) /* Grafik */ +#define FN_FORMAT_GRAFIC_DLG (FN_FORMAT + 58) /* Grafik */ +#define FN_FORMAT_TABLE (FN_FORMAT + 59) /* Tabelle */ +#define FN_FORMAT_TABLE_DLG (FN_FORMAT + 60) /* Tabelle */ +#define FN_FORMAT_OLE_DLG (FN_FORMAT + 61) /* OLE bearbeiten */ + +#define FN_NEW_STYLE_BY_EXAMPLE (FN_FORMAT + 62) /* Vorlage erzeugen by Example */ +#define FN_UPDATE_STYLE_BY_EXAMPLE (FN_FORMAT + 63) /* Vorlage aktualisieren */ +#define FN_STYLE_SHEET_FRAME_DLG (FN_FORMAT + 64) /* Rahmenvorlage */ +#define FN_STYLE_SHEET_DOC_DLG (FN_FORMAT + 65) /* Dokumentvorlage */ +#define FN_STYLE_SHEET_GRAFIK_DLG (FN_FORMAT + 66) /* Dokumentvorlage */ +#define FN_FORMAT_FOOTNOTE (FN_FORMAT + 67) /* Fussnoten */ +#define FN_FORMAT_FOOTNOTE_DLG (FN_FORMAT + 68) /* Fussnoten-Dialog */ // schon im Svx definiert -//#define FN_FORMAT_RESET (FN_FORMAT + 69) /* Format zuruecksetzen */ +//#define FN_FORMAT_RESET (FN_FORMAT + 69) /* Format zuruecksetzen */ -#define FN_FRAME_TO_TOP (FN_FORMAT + 70) /* Rahmen nach oben */ -#define FN_FRAME_TO_BOTTOM (FN_FORMAT + 71) /* Rahmen nach unten */ +#define FN_FRAME_TO_TOP (FN_FORMAT + 70) /* Rahmen nach oben */ +#define FN_FRAME_TO_BOTTOM (FN_FORMAT + 71) /* Rahmen nach unten */ -#define FN_FRAME_NOWRAP (FN_FORMAT + 72) /* Rahmen kein Umlauf */ -#define FN_FRAME_WRAP (FN_FORMAT + 73) /* Rahmen Umlauf */ -#define FN_FRAME_WRAPTHRU (FN_FORMAT + 74) /* Rahmen Durchlauf */ +#define FN_FRAME_NOWRAP (FN_FORMAT + 72) /* Rahmen kein Umlauf */ +#define FN_FRAME_WRAP (FN_FORMAT + 73) /* Rahmen Umlauf */ +#define FN_FRAME_WRAPTHRU (FN_FORMAT + 74) /* Rahmen Durchlauf */ -#define FN_FRAME_ALIGN_HORZ_LEFT (FN_FORMAT + 75) /* Rahmen horz. links */ -#define FN_FRAME_ALIGN_HORZ_RIGHT (FN_FORMAT + 76) /* Rahmen horz. rechts */ -#define FN_FRAME_ALIGN_HORZ_CENTER (FN_FORMAT + 77) /* Rahmen horz. zentriert */ -#define FN_FRAME_ALIGN_VERT_TOP (FN_FORMAT + 78) /* Rahmen vert. oben */ -#define FN_FRAME_ALIGN_VERT_BOTTOM (FN_FORMAT + 79) /* Rahmen vert. unten */ -#define FN_FRAME_ALIGN_VERT_CENTER (FN_FORMAT + 80) /* Rahmen vert. zentriert */ +#define FN_FRAME_ALIGN_HORZ_LEFT (FN_FORMAT + 75) /* Rahmen horz. links */ +#define FN_FRAME_ALIGN_HORZ_RIGHT (FN_FORMAT + 76) /* Rahmen horz. rechts */ +#define FN_FRAME_ALIGN_HORZ_CENTER (FN_FORMAT + 77) /* Rahmen horz. zentriert */ +#define FN_FRAME_ALIGN_VERT_TOP (FN_FORMAT + 78) /* Rahmen vert. oben */ +#define FN_FRAME_ALIGN_VERT_BOTTOM (FN_FORMAT + 79) /* Rahmen vert. unten */ +#define FN_FRAME_ALIGN_VERT_CENTER (FN_FORMAT + 80) /* Rahmen vert. zentriert */ -#define FN_SET_FRM_POSITION (FN_FORMAT + 82)/* Rahmenposition -- " -- */ -#define FN_SET_FRM_OPTIONS (FN_FORMAT + 86)/* Rahmenoptionen -- " -- */ +#define FN_SET_FRM_POSITION (FN_FORMAT + 82)/* Rahmenposition -- " -- */ +#define FN_SET_FRM_OPTIONS (FN_FORMAT + 86)/* Rahmenoptionen -- " -- */ -#define FN_SET_PAGE_STYLE (FN_FORMAT + 93) /* Anwenden Seitenv. */ +#define FN_SET_PAGE_STYLE (FN_FORMAT + 93) /* Anwenden Seitenv. */ -#define FN_FORMAT_TITLEPAGE_DLG (FN_FORMAT + 98) /* Title Page */ +#define FN_FORMAT_TITLEPAGE_DLG (FN_FORMAT + 98) /* Title Page */ #define FN_TABLE_REP (FN_FORMAT + 99) /* TableRepresentation */ -#define FN_CONVERT_TEXT_TABLE (FN_FORMAT + 100) /* Konvertierung Text <-> Tabelle */ -#define FN_TABLE_INSERT_ROW (FN_FORMAT + 101) /* Tabelle: Zeile einfuegen */ -#define FN_TABLE_INSERT_COL (FN_FORMAT + 102) /* Tabelle: Spalte einfuegen */ -#define FN_TABLE_DELETE_ROW (FN_FORMAT + 103) /* Tabelle: Zeile loeschen */ -#define FN_TABLE_DELETE_COL (FN_FORMAT + 104) /* Tabelle: Spalte loeschen */ -#define FN_TABLE_SPLIT_CELLS (FN_FORMAT + 105) /* Tabelle: Zellen teilen */ -#define FN_TABLE_MERGE_CELLS (FN_FORMAT + 106) /* Tabelle: Zellen verbinden */ -#define FN_TABLE_SET_ROW_HEIGHT (FN_FORMAT + 107) /* Tabelle: Zeilenhoehe setzen */ -#define FN_TABLE_SET_COL_WIDTH (FN_FORMAT + 108) /* Tabelle: Spaltenbreite setzen */ -#define FN_TABLE_SET_ULSPACE (FN_FORMAT + 109) /* Tabelle: oberen / unteren Abstand einstellen */ +#define FN_CONVERT_TEXT_TABLE (FN_FORMAT + 100) /* Konvertierung Text <-> Tabelle */ +#define FN_TABLE_INSERT_ROW (FN_FORMAT + 101) /* Tabelle: Zeile einfuegen */ +#define FN_TABLE_INSERT_COL (FN_FORMAT + 102) /* Tabelle: Spalte einfuegen */ +#define FN_TABLE_DELETE_ROW (FN_FORMAT + 103) /* Tabelle: Zeile loeschen */ +#define FN_TABLE_DELETE_COL (FN_FORMAT + 104) /* Tabelle: Spalte loeschen */ +#define FN_TABLE_SPLIT_CELLS (FN_FORMAT + 105) /* Tabelle: Zellen teilen */ +#define FN_TABLE_MERGE_CELLS (FN_FORMAT + 106) /* Tabelle: Zellen verbinden */ +#define FN_TABLE_SET_ROW_HEIGHT (FN_FORMAT + 107) /* Tabelle: Zeilenhoehe setzen */ +#define FN_TABLE_SET_COL_WIDTH (FN_FORMAT + 108) /* Tabelle: Spaltenbreite setzen */ +#define FN_TABLE_SET_ULSPACE (FN_FORMAT + 109) /* Tabelle: oberen / unteren Abstand einstellen */ #define FN_OPTIMIZE_TABLE (FN_FORMAT + 110) /* ToolBoxItem fuer Optimierung in Tabellen */ -#define FN_TABLE_SET_SHADOW (FN_FORMAT + 111) /* Tabelle: Schatten einstellen */ -#define FN_TABLE_GOTO_CELL (FN_FORMAT + 112) /* Tabelle: Zelle anspringen */ -#define FN_TABLE_SELECT_ROW (FN_FORMAT + 113) /* Tabelle: Zeile selektieren */ -#define FN_TABLE_SELECT_COL (FN_FORMAT + 114) /* Tabelle: Spalte selektieren */ -#define FN_TABLE_SELECT_ALL (FN_FORMAT + 115) /* Tabelle: Tabelle selektieren */ -#define FN_TABLE_SET_READ_ONLY (FN_FORMAT + 116) /* Tabelle: Tabelle schuetzen */ -#define FN_TABLE_SET_READ_ONLY_CELLS (FN_FORMAT + 117) /* Tabelle: Tabellezellen schuetzen */ -#define FN_TABLE_UNSET_READ_ONLY_CELLS (FN_FORMAT + 119) /* Tabelle: Tabellezellen schuetzen aufheben */ +#define FN_TABLE_SET_SHADOW (FN_FORMAT + 111) /* Tabelle: Schatten einstellen */ +#define FN_TABLE_GOTO_CELL (FN_FORMAT + 112) /* Tabelle: Zelle anspringen */ +#define FN_TABLE_SELECT_ROW (FN_FORMAT + 113) /* Tabelle: Zeile selektieren */ +#define FN_TABLE_SELECT_COL (FN_FORMAT + 114) /* Tabelle: Spalte selektieren */ +#define FN_TABLE_SELECT_ALL (FN_FORMAT + 115) /* Tabelle: Tabelle selektieren */ +#define FN_TABLE_SET_READ_ONLY (FN_FORMAT + 116) /* Tabelle: Tabelle schuetzen */ +#define FN_TABLE_SET_READ_ONLY_CELLS (FN_FORMAT + 117) /* Tabelle: Tabellezellen schuetzen */ +#define FN_TABLE_UNSET_READ_ONLY_CELLS (FN_FORMAT + 119) /* Tabelle: Tabellezellen schuetzen aufheben */ #define FN_TABLE_HEADLINE_REPEAT (FN_FORMAT + 120) /* also used in SwXTextTable*/ -#define FN_TABLE_ADJUST_CELLS (FN_FORMAT + 121) /* Tabelle: Zellen anpassen */ +#define FN_TABLE_ADJUST_CELLS (FN_FORMAT + 121) /* Tabelle: Zellen anpassen */ -#define FN_FRAME_UP (FN_FORMAT + 122) /* Rahmen um eine Ebene nach oben */ -#define FN_FRAME_DOWN (FN_FORMAT + 123) /* Rahmen um eine Ebene nach unten */ +#define FN_FRAME_UP (FN_FORMAT + 122) /* Rahmen um eine Ebene nach oben */ +#define FN_FRAME_DOWN (FN_FORMAT + 123) /* Rahmen um eine Ebene nach unten */ -#define FN_TABLE_INSERT_CHART (FN_FORMAT + 124) +#define FN_TABLE_INSERT_CHART (FN_FORMAT + 124) -#define FN_SET_FRM_LRSPACE (FN_FORMAT + 125) /* Rahmen Seitenabstand */ -#define FN_SET_FRM_ULSPACE (FN_FORMAT + 126) /* Rahmen Kopf-/Fussabstand */ -#define FN_TABLE_SET_LRSPACE (FN_FORMAT + 127) /* Tabelle: linker / rechter Abstand einstellen */ -#define FN_TABLE_OPTIMAL_HEIGHT (FN_FORMAT + 128) /* Zellenhoehe optimal*/ +#define FN_SET_FRM_LRSPACE (FN_FORMAT + 125) /* Rahmen Seitenabstand */ +#define FN_SET_FRM_ULSPACE (FN_FORMAT + 126) /* Rahmen Kopf-/Fussabstand */ +#define FN_TABLE_SET_LRSPACE (FN_FORMAT + 127) /* Tabelle: linker / rechter Abstand einstellen */ +#define FN_TABLE_OPTIMAL_HEIGHT (FN_FORMAT + 128) /* Zellenhoehe optimal*/ #define FN_TABLE_DELETE_TABLE (FN_FORMAT + 129) /* remove current table*/ #define FN_TABLE_SELECT_CELL (FN_FORMAT + 130) /* selects the current table cell */ #define FN_CONVERT_TEXT_TO_TABLE (FN_FORMAT + 131) /* convert selected text to table */ @@ -578,20 +578,20 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr Bereich: Seitenvorlage --------------------------------------------------------------------*/ -#define FN_NEW_PAGE_STYLE (FN_FORMAT + 129) /* Anlegen Seitenvorlage */ +#define FN_NEW_PAGE_STYLE (FN_FORMAT + 129) /* Anlegen Seitenvorlage */ #define FN_PAGE_STYLE_SET_LR_MARGIN (FN_FORMAT + 130) /* linker / rechter Rand */ #define FN_PAGE_STYLE_SET_UL_MARGIN (FN_FORMAT + 131) /* oberer / unterer Rand */ -#define FN_PAGE_STYLE_SET_PAGE (FN_FORMAT + 134) /* linke, rechte... */ +#define FN_PAGE_STYLE_SET_PAGE (FN_FORMAT + 134) /* linke, rechte... */ #define FN_PAGE_STYLE_SET_PAPER_SIZE (FN_FORMAT + 135) /* Papiergroesse */ #define FN_PAGE_STYLE_SET_PAPER_BIN (FN_FORMAT + 136) /* Druckerschacht */ #define FN_PAGE_STYLE_SET_NUMBER_FORMAT (FN_FORMAT + 137) /* Numerierungsart */ -#define FN_PAGE_STYLE_SET_COLS (FN_FORMAT + 138) /* Spaltenanzahl */ +#define FN_PAGE_STYLE_SET_COLS (FN_FORMAT + 138) /* Spaltenanzahl */ /* OS: Diese Ids werden nur noch fuer die Hilfe benoetigt und sind fuer den Dialog durch die Ids ohne _DLG ersetzt*/ -#define FN_TABLE_INSERT_COL_DLG (FN_FORMAT + 142) /* Tabelle: Dlg. Spalte einfuegen */ -#define FN_TABLE_INSERT_ROW_DLG (FN_FORMAT + 143) /* Tabelle: Dlg. Zeile einfuegen */ +#define FN_TABLE_INSERT_COL_DLG (FN_FORMAT + 142) /* Tabelle: Dlg. Spalte einfuegen */ +#define FN_TABLE_INSERT_ROW_DLG (FN_FORMAT + 143) /* Tabelle: Dlg. Zeile einfuegen */ #define FN_GOTO_NEXT_CELL (FN_FORMAT + 145) /* Table: go to next cell */ #define FN_GOTO_PREV_CELL (FN_FORMAT + 146) /* Table: go to previous cell */ @@ -603,114 +603,114 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr Bereich: Ribbon --------------------------------------------------------------------*/ -#define FN_SET_BACKGROUND_COLOR (FN_FORMAT + 150) /* Hintergrundfarbe */ +#define FN_SET_BACKGROUND_COLOR (FN_FORMAT + 150) /* Hintergrundfarbe */ -#define FN_SET_BORDER_POS (FN_FORMAT + 152) /* Position Umrandung */ -#define FN_SET_BORDER_LINES (FN_FORMAT + 153) /* Linienart Umrandung */ -#define FN_SET_BORDER_COLOR (FN_FORMAT + 154) /* Farbe Umrandung */ +#define FN_SET_BORDER_POS (FN_FORMAT + 152) /* Position Umrandung */ +#define FN_SET_BORDER_LINES (FN_FORMAT + 153) /* Linienart Umrandung */ +#define FN_SET_BORDER_COLOR (FN_FORMAT + 154) /* Farbe Umrandung */ -#define FN_FORMULA_CALC (FN_FORMAT + 156) /* Formelauswahl */ -#define FN_FORMULA_CANCEL (FN_FORMAT + 157) /* Formel nicht uebernehmen */ -#define FN_FORMULA_APPLY (FN_FORMAT + 158) /* Formel uebernehmen */ +#define FN_FORMULA_CALC (FN_FORMAT + 156) /* Formelauswahl */ +#define FN_FORMULA_CANCEL (FN_FORMAT + 157) /* Formel nicht uebernehmen */ +#define FN_FORMULA_APPLY (FN_FORMAT + 158) /* Formel uebernehmen */ -#define FN_TABLE_UNSET_READ_ONLY (FN_FORMAT + 159) /* Zellenschutz fuer Tab. aufheben */ +#define FN_TABLE_UNSET_READ_ONLY (FN_FORMAT + 159) /* Zellenschutz fuer Tab. aufheben */ -#define FN_FORMULA_POSITION (FN_FORMAT + 160) /* Positionsanzeige */ -#define FN_FORMULA_EDIT (FN_FORMAT + 161) /* Editfeld */ +#define FN_FORMULA_POSITION (FN_FORMAT + 160) /* Positionsanzeige */ +#define FN_FORMULA_EDIT (FN_FORMAT + 161) /* Editfeld */ -#define FN_FRAME_WRAP_IDEAL (FN_FORMAT + 163) /* Rahmen Idealer Umlauf */ -#define FN_FRAME_WRAPTHRU_TRANSP (FN_FORMAT + 164) /* Rahmen Transparenter Durchlauf */ +#define FN_FRAME_WRAP_IDEAL (FN_FORMAT + 163) /* Rahmen Idealer Umlauf */ +#define FN_FRAME_WRAPTHRU_TRANSP (FN_FORMAT + 164) /* Rahmen Transparenter Durchlauf */ -#define FN_FRAME_ALIGN_VERT_ROW_TOP (FN_FORMAT + 165) /* Rahmen vert. Zeile oben */ -#define FN_FRAME_ALIGN_VERT_ROW_BOTTOM (FN_FORMAT + 166) /* Rahmen vert. Zeile unten */ -#define FN_FRAME_ALIGN_VERT_ROW_CENTER (FN_FORMAT + 167) /* Rahmen vert. Zeile zentriert */ +#define FN_FRAME_ALIGN_VERT_ROW_TOP (FN_FORMAT + 165) /* Rahmen vert. Zeile oben */ +#define FN_FRAME_ALIGN_VERT_ROW_BOTTOM (FN_FORMAT + 166) /* Rahmen vert. Zeile unten */ +#define FN_FRAME_ALIGN_VERT_ROW_CENTER (FN_FORMAT + 167) /* Rahmen vert. Zeile zentriert */ -#define FN_FRAME_ALIGN_VERT_CHAR_TOP (FN_FORMAT + 168) /* Rahmen vert. Zeichen oben */ -#define FN_FRAME_ALIGN_VERT_CHAR_BOTTOM (FN_FORMAT + 169) /* Rahmen vert. Zeichen unten */ -#define FN_FRAME_ALIGN_VERT_CHAR_CENTER (FN_FORMAT + 170) /* Rahmen vert. Zeichen zentriert */ +#define FN_FRAME_ALIGN_VERT_CHAR_TOP (FN_FORMAT + 168) /* Rahmen vert. Zeichen oben */ +#define FN_FRAME_ALIGN_VERT_CHAR_BOTTOM (FN_FORMAT + 169) /* Rahmen vert. Zeichen unten */ +#define FN_FRAME_ALIGN_VERT_CHAR_CENTER (FN_FORMAT + 170) /* Rahmen vert. Zeichen zentriert */ -#define FN_TABLE_SET_DEF_BORDER (FN_FORMAT + 171) /* vordefinierte Umrandungen setzen */ +#define FN_TABLE_SET_DEF_BORDER (FN_FORMAT + 171) /* vordefinierte Umrandungen setzen */ -#define FN_FRAME_WRAP_LEFT (FN_FORMAT + 172) /* Rahmen Umlauf links */ -#define FN_FRAME_WRAP_RIGHT (FN_FORMAT + 173) /* Rahmen Umlauf links */ +#define FN_FRAME_WRAP_LEFT (FN_FORMAT + 172) /* Rahmen Umlauf links */ +#define FN_FRAME_WRAP_RIGHT (FN_FORMAT + 173) /* Rahmen Umlauf links */ #define FN_TABLE_SET_ROW_AUTOHEIGHT (FN_FORMAT + 174) /* Tabelle: Minimale automatische Zeilenhoehe setzen */ -#define FN_WRAP_ANCHOR_ONLY (FN_FORMAT + 181) /* Umlauf nur fuer ersten Absatz */ +#define FN_WRAP_ANCHOR_ONLY (FN_FORMAT + 181) /* Umlauf nur fuer ersten Absatz */ -#define FN_TABLE_BALANCE_CELLS (FN_FORMAT + 182) /* Spalten gleichmaessig verteilen */ -#define FN_TABLE_BALANCE_ROWS (FN_FORMAT + 183) /* Zeilen gleichmaessig verteilen */ +#define FN_TABLE_BALANCE_CELLS (FN_FORMAT + 182) /* Spalten gleichmaessig verteilen */ +#define FN_TABLE_BALANCE_ROWS (FN_FORMAT + 183) /* Zeilen gleichmaessig verteilen */ -#define FN_FRAME_WRAP_CONTOUR (FN_FORMAT + 184) /* Rahmen Kunturumlauf */ +#define FN_FRAME_WRAP_CONTOUR (FN_FORMAT + 184) /* Rahmen Kunturumlauf */ -#define FN_TABLE_VERT_NONE (FN_FORMAT + 185) /* vertikale Ausrichtung in Tabellenzellen */ -#define FN_TABLE_VERT_CENTER (FN_FORMAT + 186) /* -"- */ -#define FN_TABLE_VERT_BOTTOM (FN_FORMAT + 187) /* -"- */ -#define FN_TABLE_SET_VERT_ALIGN (FN_FORMAT + 188) /* -"- */ +#define FN_TABLE_VERT_NONE (FN_FORMAT + 185) /* vertikale Ausrichtung in Tabellenzellen */ +#define FN_TABLE_VERT_CENTER (FN_FORMAT + 186) /* -"- */ +#define FN_TABLE_VERT_BOTTOM (FN_FORMAT + 187) /* -"- */ +#define FN_TABLE_SET_VERT_ALIGN (FN_FORMAT + 188) /* -"- */ #define FN_TABLE_MODE_FIX (FN_FORMAT + 189) /* Tabellenmodus */ #define FN_TABLE_MODE_FIX_PROP (FN_FORMAT + 190) /* -"- */ -#define FN_TABLE_MODE_VARIABLE (FN_FORMAT + 191) /* -"- */ +#define FN_TABLE_MODE_VARIABLE (FN_FORMAT + 191) /* -"- */ #define FN_TABLE_BOX_TEXTDIRECTION (FN_FORMAT + 192) /* text direction of table cells */ -#define FN_TABLE_AUTOSUM (FN_FORMAT + 195) /* Autosumme*/ -#define FN_SET_CONTROL_HANDLER (FN_FORMAT + 199) /* Macro setzen */ +#define FN_TABLE_AUTOSUM (FN_FORMAT + 195) /* Autosumme*/ +#define FN_SET_CONTROL_HANDLER (FN_FORMAT + 199) /* Macro setzen */ #define FN_IS_IMAGE (FN_FORMAT2 + 6) /* Numerierung : mit Grafik?*/ -#define FN_GOTO_NEXT_REGION (FN_FORMAT2 + 9) /* Naechsten Bereich anspringen */ +#define FN_GOTO_NEXT_REGION (FN_FORMAT2 + 9) /* Naechsten Bereich anspringen */ #define FN_GOTO_PREV_REGION (FN_FORMAT2 + 10) /* Vorherigen " */ -#define FN_GET_SBXCONTROL (FN_FORMAT2 + 11) /* SbxObject rausreichen */ +#define FN_GET_SBXCONTROL (FN_FORMAT2 + 11) /* SbxObject rausreichen */ #define FN_ABSTRACT_NEWDOC (FN_FORMAT2 + 12) /* Abstract in neuem Doc */ #define FN_ABSTRACT_STARIMPRESS (FN_FORMAT2 + 13) /* Abstract an StarImpress */ /* OD 2006-03-09 #i51726# - all drawing objects can be named now. */ #define FN_NAME_SHAPE (FN_FORMAT2 + 14) /* Name shapes */ // #i68101# -#define FN_TITLE_DESCRIPTION_SHAPE (FN_FORMAT2 + 15) /* shape title and description */ +#define FN_TITLE_DESCRIPTION_SHAPE (FN_FORMAT2 + 15) /* shape title and description */ -#define FN_NUMBER_FORMAT (FN_FORMAT2 + 120) /* Boxen/NumberFormatter eistellen */ -#define FN_NUMBER_STANDARD (FN_FORMAT2 + 121) -#define FN_NUMBER_TWODEC (FN_FORMAT2 + 123) +#define FN_NUMBER_FORMAT (FN_FORMAT2 + 120) /* Boxen/NumberFormatter eistellen */ +#define FN_NUMBER_STANDARD (FN_FORMAT2 + 121) +#define FN_NUMBER_TWODEC (FN_FORMAT2 + 123) #define FN_NUMBER_SCIENTIFIC (FN_FORMAT2 + 124) -#define FN_NUMBER_DATE (FN_FORMAT2 + 125) -#define FN_NUMBER_TIME (FN_FORMAT2 + 126) -#define FN_NUMBER_CURRENCY (FN_FORMAT2 + 127) -#define FN_NUMBER_PERCENT (FN_FORMAT2 + 128) +#define FN_NUMBER_DATE (FN_FORMAT2 + 125) +#define FN_NUMBER_TIME (FN_FORMAT2 + 126) +#define FN_NUMBER_CURRENCY (FN_FORMAT2 + 127) +#define FN_NUMBER_PERCENT (FN_FORMAT2 + 128) -#define FN_FRAME_CHAIN (FN_FORMAT2 + 136) -#define FN_FRAME_UNCHAIN (FN_FORMAT2 + 137) +#define FN_FRAME_CHAIN (FN_FORMAT2 + 136) +#define FN_FRAME_UNCHAIN (FN_FORMAT2 + 137) -#define FN_NUMBER_NEWSTART (FN_FORMAT2 + 138) -#define FN_NUMBER_NEWSTART_AT (FN_FORMAT2 + 139) +#define FN_NUMBER_NEWSTART (FN_FORMAT2 + 138) +#define FN_NUMBER_NEWSTART_AT (FN_FORMAT2 + 139) -#define FN_FRAME_MIRROR_ON_EVEN_PAGES (FN_FORMAT2 + 140) -#define FN_GRAPHIC_MIRROR_ON_EVEN_PAGES (FN_FORMAT2 + 141) +#define FN_FRAME_MIRROR_ON_EVEN_PAGES (FN_FORMAT2 + 140) +#define FN_GRAPHIC_MIRROR_ON_EVEN_PAGES (FN_FORMAT2 + 141) -#define FN_TABLE_SPLIT_TABLE (FN_FORMAT2 + 142) -#define FN_SYNC_LABELS (FN_FORMAT2 + 143) +#define FN_TABLE_SPLIT_TABLE (FN_FORMAT2 + 142) +#define FN_SYNC_LABELS (FN_FORMAT2 + 143) #define FN_FORMAT_LINENUMBER (FN_FORMAT2 + 144) -#define FN_TABLE_RELATIVE_WIDTH (FN_FORMAT2 + 147) /* Tabelle: relative Breite - UNO */ -#define FN_TABLE_WIDTH (FN_FORMAT2 + 148) /* Tabelle: Breite - UNO */ -#define FN_TABLE_IS_RELATIVE_WIDTH (FN_FORMAT2 + 149) /* Tabelle: ist Breite relativ?- UNO */ +#define FN_TABLE_RELATIVE_WIDTH (FN_FORMAT2 + 147) /* Tabelle: relative Breite - UNO */ +#define FN_TABLE_WIDTH (FN_FORMAT2 + 148) /* Tabelle: Breite - UNO */ +#define FN_TABLE_IS_RELATIVE_WIDTH (FN_FORMAT2 + 149) /* Tabelle: ist Breite relativ?- UNO */ -#define FN_INC_INDENT_OFFSET (FN_FORMAT2 + 150) -#define FN_DEC_INDENT_OFFSET (FN_FORMAT2 + 151) +#define FN_INC_INDENT_OFFSET (FN_FORMAT2 + 150) +#define FN_DEC_INDENT_OFFSET (FN_FORMAT2 + 151) -#define FN_TABLE_MERGE_TABLE (FN_FORMAT2 + 152) +#define FN_TABLE_MERGE_TABLE (FN_FORMAT2 + 152) #define FN_TABLE_ROW_SPLIT (FN_FORMAT2 + 153) -#define FN_FORMAT_APPLY_HEAD1 (FN_FORMAT2 + 154) -#define FN_FORMAT_APPLY_HEAD2 (FN_FORMAT2 + 155) -#define FN_FORMAT_APPLY_HEAD3 (FN_FORMAT2 + 156) -#define FN_FORMAT_APPLY_DEFAULT (FN_FORMAT2 + 157) -#define FN_FORMAT_APPLY_TEXTBODY (FN_FORMAT2 + 158) +#define FN_FORMAT_APPLY_HEAD1 (FN_FORMAT2 + 154) +#define FN_FORMAT_APPLY_HEAD2 (FN_FORMAT2 + 155) +#define FN_FORMAT_APPLY_HEAD3 (FN_FORMAT2 + 156) +#define FN_FORMAT_APPLY_DEFAULT (FN_FORMAT2 + 157) +#define FN_FORMAT_APPLY_TEXTBODY (FN_FORMAT2 + 158) #define FN_REMOVE_DIRECT_CHAR_FORMATS (FN_FORMAT2 + 159) #define FN_SAVE_GRAPHIC (FN_FORMAT2 + 160) @@ -719,75 +719,75 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr Bereich: Extras --------------------------------------------------------------------*/ -#define FN_LINE_NUMBERING_DLG (FN_EXTRA + 2 ) /* Zeilennumerierung */ -#define FN_HYPHENATE_OPT_DLG (FN_EXTRA + 5 ) /* Silbentrennung */ -#define FN_ADD_UNKNOWN (FN_EXTRA + 6 ) /* Woerter lernen */ -#define FN_DICTIONARY_DLG (FN_EXTRA + 8 ) /* Woerterbuecher */ -#define FN_NUMBERING (FN_EXTRA + 9 ) /* Nummerierung/Bullets */ -#define FN_NUMBERING_DLG (FN_EXTRA + 10) /* Nummerierung/Bullets */ -#define FN_NUMBERING_OUTLINE (FN_EXTRA + 11) /* Gliederungsnumerierung */ -#define FN_NUMBERING_OUTLINE_DLG (FN_EXTRA + 12) /* Gliederungsnumerierung */ -#define FN_SORTING_DLG (FN_EXTRA + 14) /* Sortieren */ -#define FN_CALCULATE (FN_EXTRA + 15) /* Berechnen */ -#define FN_GENERATE_TOC_DLG (FN_EXTRA + 16) /* Inhaltsverzeichnis */ -#define FN_GENERATE_INDEX_DLG (FN_EXTRA + 17) /* Stichwortverzeichnis */ -#define FN_GENERATE_DIR_DLG (FN_EXTRA + 18) /* Verzeichnis */ -#define FN_GLOSSARY_DLG (FN_EXTRA + 20) /* Textbausteine */ -#define FN_MACRO_CHOOSER (FN_EXTRA + 21) /* Makro aufnehmen */ - - -#define FN_PLAY_MACRO (FN_EXTRA + 23) /* Makro abspielen */ -#define FN_LAUNCH_BASIC (FN_EXTRA + 25) /* Makro abspielen */ -#define FN_EXPAND_GLOSSARY (FN_EXTRA + 28) /* Textbausteine expandieren */ -#define FN_CONFIG_TOOLBOX (FN_EXTRA + 29) /* Konfiguration Toolbox */ -#define FN_CONFIG_MENU (FN_EXTRA + 30) /* Konfiguration Menu */ -#define FN_CONFIG_KEY (FN_EXTRA + 31) /* Konfiguration Tastatur */ -#define FN_CHANGE_PAGENUM (FN_EXTRA + 34) /* Seitennummer aendern */ - -#define FN_MACRO_POPUP (FN_EXTRA + 37) /* Alle Macrofunktionen */ -#define FN_BULLET (FN_EXTRA + 38) /* Bullet-Liste */ - - -// Bereich: Gloassaries +#define FN_LINE_NUMBERING_DLG (FN_EXTRA + 2 ) /* Zeilennumerierung */ +#define FN_HYPHENATE_OPT_DLG (FN_EXTRA + 5 ) /* Silbentrennung */ +#define FN_ADD_UNKNOWN (FN_EXTRA + 6 ) /* Woerter lernen */ +#define FN_DICTIONARY_DLG (FN_EXTRA + 8 ) /* Woerterbuecher */ +#define FN_NUMBERING (FN_EXTRA + 9 ) /* Nummerierung/Bullets */ +#define FN_NUMBERING_DLG (FN_EXTRA + 10) /* Nummerierung/Bullets */ +#define FN_NUMBERING_OUTLINE (FN_EXTRA + 11) /* Gliederungsnumerierung */ +#define FN_NUMBERING_OUTLINE_DLG (FN_EXTRA + 12) /* Gliederungsnumerierung */ +#define FN_SORTING_DLG (FN_EXTRA + 14) /* Sortieren */ +#define FN_CALCULATE (FN_EXTRA + 15) /* Berechnen */ +#define FN_GENERATE_TOC_DLG (FN_EXTRA + 16) /* Inhaltsverzeichnis */ +#define FN_GENERATE_INDEX_DLG (FN_EXTRA + 17) /* Stichwortverzeichnis */ +#define FN_GENERATE_DIR_DLG (FN_EXTRA + 18) /* Verzeichnis */ +#define FN_GLOSSARY_DLG (FN_EXTRA + 20) /* Textbausteine */ +#define FN_MACRO_CHOOSER (FN_EXTRA + 21) /* Makro aufnehmen */ + + +#define FN_PLAY_MACRO (FN_EXTRA + 23) /* Makro abspielen */ +#define FN_LAUNCH_BASIC (FN_EXTRA + 25) /* Makro abspielen */ +#define FN_EXPAND_GLOSSARY (FN_EXTRA + 28) /* Textbausteine expandieren */ +#define FN_CONFIG_TOOLBOX (FN_EXTRA + 29) /* Konfiguration Toolbox */ +#define FN_CONFIG_MENU (FN_EXTRA + 30) /* Konfiguration Menu */ +#define FN_CONFIG_KEY (FN_EXTRA + 31) /* Konfiguration Tastatur */ +#define FN_CHANGE_PAGENUM (FN_EXTRA + 34) /* Seitennummer aendern */ + +#define FN_MACRO_POPUP (FN_EXTRA + 37) /* Alle Macrofunktionen */ +#define FN_BULLET (FN_EXTRA + 38) /* Bullet-Liste */ + + +// Bereich: Gloassaries // schon im Svx definiert -//#define FN_GET_GLOSSARY_GROUP_COUNT (FN_EXTRA + 42) /* Anzahl der Bausteingruppen */ +//#define FN_GET_GLOSSARY_GROUP_COUNT (FN_EXTRA + 42) /* Anzahl der Bausteingruppen */ -#define FN_AUTO_CORRECT (FN_EXTRA + 49 ) /* Autocorrect aus Basic */ +#define FN_AUTO_CORRECT (FN_EXTRA + 49 ) /* Autocorrect aus Basic */ #define FN_UPDATE_TOX (FN_EXTRA + 53) /* alle Verzeichnisse aktualisieren */ #define FN_UPDATE_CUR_TOX (FN_EXTRA + 54) /* aktuelles Verzeichnisse aktualisieren */ #define FN_REMOVE_CUR_TOX (FN_EXTRA + 55) /* remove the current TOX*/ -#define FN_NAVIGATION_PI_GOTO_PAGE (FN_EXTRA + 59 ) /* Seitenanwahl aus Navi-PI */ +#define FN_NAVIGATION_PI_GOTO_PAGE (FN_EXTRA + 59 ) /* Seitenanwahl aus Navi-PI */ -#define FN_LETTER_WIZZARD (FN_EXTRA + 60 ) -#define FN_FAX_WIZZARD (FN_EXTRA + 61 ) -#define FN_MEMO_WIZZARD (FN_EXTRA + 62 ) -#define FN_AGENDA_WIZZARD (FN_EXTRA + 63 ) +#define FN_LETTER_WIZZARD (FN_EXTRA + 60 ) +#define FN_FAX_WIZZARD (FN_EXTRA + 61 ) +#define FN_MEMO_WIZZARD (FN_EXTRA + 62 ) +#define FN_AGENDA_WIZZARD (FN_EXTRA + 63 ) -#define FN_SET_BASIC_METRIC (FN_EXTRA + 80) /* Defaultmetrik Basic setzen */ +#define FN_SET_BASIC_METRIC (FN_EXTRA + 80) /* Defaultmetrik Basic setzen */ -#define FN_RESERVED_9 (FN_EXTRA + 86) /* Platzhalter */ -#define FN_RESERVED_8 (FN_EXTRA + 87) /* Platzhalter */ -#define FN_RESERVED_7 (FN_EXTRA + 88) /* Platzhalter */ -#define FN_RESERVED_6 (FN_EXTRA + 89) /* Platzhalter */ -#define FN_RESERVED_5 (FN_EXTRA + 90) /* Platzhalter */ -#define FN_RESERVED_4 (FN_EXTRA + 91) /* Platzhalter */ -#define FN_RESERVED_3 (FN_EXTRA + 92) /* Platzhalter */ -#define FN_RESERVED_2 (FN_EXTRA + 93) /* Platzhalter */ -#define FN_RESERVED_1 (FN_EXTRA + 94) /* Platzhalter */ +#define FN_RESERVED_9 (FN_EXTRA + 86) /* Platzhalter */ +#define FN_RESERVED_8 (FN_EXTRA + 87) /* Platzhalter */ +#define FN_RESERVED_7 (FN_EXTRA + 88) /* Platzhalter */ +#define FN_RESERVED_6 (FN_EXTRA + 89) /* Platzhalter */ +#define FN_RESERVED_5 (FN_EXTRA + 90) /* Platzhalter */ +#define FN_RESERVED_4 (FN_EXTRA + 91) /* Platzhalter */ +#define FN_RESERVED_3 (FN_EXTRA + 92) /* Platzhalter */ +#define FN_RESERVED_2 (FN_EXTRA + 93) /* Platzhalter */ +#define FN_RESERVED_1 (FN_EXTRA + 94) /* Platzhalter */ #define FN_COLLECTION_GROUP_CNT (FN_EXTRA + 96) #define FN_COLLECTION_GROUP_IDX (FN_EXTRA + 97) #define FN_COLL_TYPE (FN_EXTRA + 98) /* Typ fuer GlobalDoc-Collection*/ #define FN_COLL_ADD (FN_EXTRA + 99) -#define FN_COLL_TITLE (FN_EXTRA2 + 1) /* Bereichsname oder Index-Title */ -#define FN_SHADOWCURSOR (FN_EXTRA2 + 4) /* Shadow Cursor ein/ausschalten */ +#define FN_COLL_TITLE (FN_EXTRA2 + 1) /* Bereichsname oder Index-Title */ +#define FN_SHADOWCURSOR (FN_EXTRA2 + 4) /* Shadow Cursor ein/ausschalten */ #define FN_VIEW_IN_FRAME (FN_EXTRA2 + 8) /* die View befindet sich in einem FrameDoc*/ @@ -808,74 +808,74 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr #define FN_UNO_REFERENCE_MARK (FN_EXTRA2 + 22) #define FN_UNO_TEXT_SECTION (FN_EXTRA2 + 23) #define FN_UNO_FOOTNOTE (FN_EXTRA2 + 24) -#define FN_UNO_ENDNOTE (FN_EXTRA2 + 25) +#define FN_UNO_ENDNOTE (FN_EXTRA2 + 25) #define FN_UNO_RANGE_COL_LABEL (FN_EXTRA2 + 26) #define FN_UNO_RANGE_ROW_LABEL (FN_EXTRA2 + 27) #define FN_UNO_TABLE_COLUMS (FN_EXTRA2 + 28) #define FN_UNO_TABLE_BORDER (FN_EXTRA2 + 29) -#define FN_UNO_TABLE_COLUMN_SEPARATORS (FN_EXTRA2 + 30) -#define FN_UNO_TABLE_COLUMN_RELATIVE_SUM (FN_EXTRA2 + 31) +#define FN_UNO_TABLE_COLUMN_SEPARATORS (FN_EXTRA2 + 30) +#define FN_UNO_TABLE_COLUMN_RELATIVE_SUM (FN_EXTRA2 + 31) #define FN_UNO_TABLE_CELL_BACKGROUND (FN_EXTRA2 + 32) #define FN_UNO_ROW_HEIGHT (FN_EXTRA2 + 33) #define FN_UNO_ROW_AUTO_HEIGHT (FN_EXTRA2 + 34) -#define FN_UNO_HEADER (FN_EXTRA2 + 35) -#define FN_UNO_HEADER_LEFT (FN_EXTRA2 + 36) -#define FN_UNO_HEADER_RIGHT (FN_EXTRA2 + 37) -#define FN_UNO_FOOTER (FN_EXTRA2 + 38) -#define FN_UNO_FOOTER_LEFT (FN_EXTRA2 + 39) -#define FN_UNO_FOOTER_RIGHT (FN_EXTRA2 + 40) +#define FN_UNO_HEADER (FN_EXTRA2 + 35) +#define FN_UNO_HEADER_LEFT (FN_EXTRA2 + 36) +#define FN_UNO_HEADER_RIGHT (FN_EXTRA2 + 37) +#define FN_UNO_FOOTER (FN_EXTRA2 + 38) +#define FN_UNO_FOOTER_LEFT (FN_EXTRA2 + 39) +#define FN_UNO_FOOTER_RIGHT (FN_EXTRA2 + 40) #define FN_UNO_HEADER_BACKGROUND (FN_EXTRA2 + 41) -#define FN_UNO_HEADER_BOX (FN_EXTRA2 + 42) -#define FN_UNO_HEADER_LR_SPACE (FN_EXTRA2 + 43) -#define FN_UNO_HEADER_SHADOW (FN_EXTRA2 + 44) +#define FN_UNO_HEADER_BOX (FN_EXTRA2 + 42) +#define FN_UNO_HEADER_LR_SPACE (FN_EXTRA2 + 43) +#define FN_UNO_HEADER_SHADOW (FN_EXTRA2 + 44) #define FN_UNO_FOOTER_BACKGROUND (FN_EXTRA2 + 45) -#define FN_UNO_FOOTER_BOX (FN_EXTRA2 + 46) -#define FN_UNO_FOOTER_LR_SPACE (FN_EXTRA2 + 47) -#define FN_UNO_FOOTER_SHADOW (FN_EXTRA2 + 48) +#define FN_UNO_FOOTER_BOX (FN_EXTRA2 + 46) +#define FN_UNO_FOOTER_LR_SPACE (FN_EXTRA2 + 47) +#define FN_UNO_FOOTER_SHADOW (FN_EXTRA2 + 48) #define FN_UNO_HEADER_BODY_DISTANCE (FN_EXTRA2 + 49) -#define FN_UNO_HEADER_IS_DYNAMIC_DISTANCE (FN_EXTRA2 + 50) +#define FN_UNO_HEADER_IS_DYNAMIC_DISTANCE (FN_EXTRA2 + 50) #define FN_UNO_FOOTER_BODY_DISTANCE (FN_EXTRA2 + 51) -#define FN_UNO_FOOTER_IS_DYNAMIC_DISTANCE (FN_EXTRA2 + 52) +#define FN_UNO_FOOTER_IS_DYNAMIC_DISTANCE (FN_EXTRA2 + 52) #define FN_UNO_HEADER_SHARE_CONTENT (FN_EXTRA2 + 53) #define FN_UNO_FOOTER_SHARE_CONTENT (FN_EXTRA2 + 54) #define FN_UNO_HEADER_HEIGHT (FN_EXTRA2 + 55) #define FN_UNO_FOOTER_HEIGHT (FN_EXTRA2 + 56) -#define FN_UNO_HEADER_ON (FN_EXTRA2 + 57) -#define FN_UNO_FOOTER_ON (FN_EXTRA2 + 58) +#define FN_UNO_HEADER_ON (FN_EXTRA2 + 57) +#define FN_UNO_FOOTER_ON (FN_EXTRA2 + 58) #define FN_UNO_FOLLOW_STYLE (FN_EXTRA2 + 59) -#define FN_API_CALL (FN_EXTRA2 + 60) +#define FN_API_CALL (FN_EXTRA2 + 60) #define FN_UNO_IS_PHYSICAL (FN_EXTRA2 + 61) #define FN_UNO_IS_AUTO_UPDATE (FN_EXTRA2 + 62) #define FN_UNO_DISPLAY_NAME (FN_EXTRA2 + 63) -#define FN_UNO_WRAP (FN_EXTRA2 + 64) +#define FN_UNO_WRAP (FN_EXTRA2 + 64) #define FN_UNO_ANCHOR_TYPES (FN_EXTRA2 + 65) -#define FN_UNO_PARA_CHAPTER_NUMBERING_LEVEL (FN_EXTRA2 + 66) +#define FN_UNO_PARA_CHAPTER_NUMBERING_LEVEL (FN_EXTRA2 + 66) #define FN_UNO_PARA_CONDITIONAL_STYLE_NAME (FN_EXTRA2 + 67) #define FN_UNO_CATEGORY (FN_EXTRA2 + 68) -#define FN_UNO_IS_NUMBER (FN_EXTRA2 + 69) -#define FN_UNO_TEXT_WRAP (FN_EXTRA2 + 70) +#define FN_UNO_IS_NUMBER (FN_EXTRA2 + 69) +#define FN_UNO_TEXT_WRAP (FN_EXTRA2 + 70) #define FN_UNO_ANCHOR_TYPE (FN_EXTRA2 + 71) #define FN_SKIP_HIDDEN_TEXT (FN_EXTRA2 + 72) #define FN_SKIP_PROTECTED_TEXT (FN_EXTRA2 + 73) #define FN_UNO_Z_ORDER (FN_EXTRA2 + 74) #define FN_UNO_REDLINE_NODE_START (FN_EXTRA2 + 75) -#define FN_UNO_REDLINE_NODE_END (FN_EXTRA2 + 76) +#define FN_UNO_REDLINE_NODE_END (FN_EXTRA2 + 76) #define FN_UNO_TEXT_PORTION_TYPE (FN_EXTRA2 + 77) #define FN_UNO_CONTROL_CHARACTER (FN_EXTRA2 + 78) #define FN_UNO_BOOKMARK (FN_EXTRA2 + 79) #define FN_UNO_IS_COLLAPSED (FN_EXTRA2 + 80) #define FN_UNO_IS_START (FN_EXTRA2 + 81) #define FN_UNO_IS_AUTOMATIC_CONTOUR (FN_EXTRA2 + 82) -#define FN_UNO_IS_PIXEL_CONTOUR (FN_EXTRA2 + 83) +#define FN_UNO_IS_PIXEL_CONTOUR (FN_EXTRA2 + 83) #define FN_UNO_ALTERNATIVE_TEXT (FN_EXTRA2 + 84) #define FN_UNO_ACTUAL_SIZE (FN_EXTRA2 + 85) #define FN_UNO_GRAPHIC_U_R_L (FN_EXTRA2 + 86) #define FN_UNO_GRAPHIC_FILTER (FN_EXTRA2 + 87) -#define FN_UNO_CELL_NAME (FN_EXTRA2 + 88) +#define FN_UNO_CELL_NAME (FN_EXTRA2 + 88) #define FN_INSERT_GLOSSARY (FN_EXTRA2 + 89) #define FN_NEW_GLOSSARY (FN_EXTRA2 + 90) #define FN_SET_ACT_GLOSSARY (FN_EXTRA2 + 91) @@ -919,98 +919,98 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr Bereich: Traveling & Selektion --------------------------------------------------------------------*/ -#define FN_CHAR_LEFT (FN_SELECTION + 1 ) /* */ -#define FN_CHAR_RIGHT (FN_SELECTION + 2 ) /* */ -#define FN_LINE_UP (FN_SELECTION + 3 ) /* */ -#define FN_LINE_DOWN (FN_SELECTION + 4 ) /* */ -#define FN_START_OF_LINE (FN_SELECTION + 5 ) /* StartOfLine */ -#define FN_END_OF_LINE (FN_SELECTION + 6 ) /* EndOfLine */ -#define FN_START_OF_DOCUMENT (FN_SELECTION + 7 ) /* StartOfDocument */ +#define FN_CHAR_LEFT (FN_SELECTION + 1 ) /* */ +#define FN_CHAR_RIGHT (FN_SELECTION + 2 ) /* */ +#define FN_LINE_UP (FN_SELECTION + 3 ) /* */ +#define FN_LINE_DOWN (FN_SELECTION + 4 ) /* */ +#define FN_START_OF_LINE (FN_SELECTION + 5 ) /* StartOfLine */ +#define FN_END_OF_LINE (FN_SELECTION + 6 ) /* EndOfLine */ +#define FN_START_OF_DOCUMENT (FN_SELECTION + 7 ) /* StartOfDocument */ //schon in svxids.hrc -//#define FN_END_OF_DOCUMENT (FN_SELECTION + 8 ) /* EndOfDocument */ -#define FN_START_OF_NEXT_PAGE (FN_SELECTION + 9 ) /* StartOfNextPage ??? */ -#define FN_END_OF_NEXT_PAGE (FN_SELECTION + 10) /* ??? */ -#define FN_START_OF_PREV_PAGE (FN_SELECTION + 11) /* StartOfPrevPage ??? */ -#define FN_END_OF_PREV_PAGE (FN_SELECTION + 12) /* ??? */ -#define FN_START_OF_PAGE (FN_SELECTION + 13) /* StartOfPage */ -#define FN_END_OF_PAGE (FN_SELECTION + 14) /* EndOfPage */ -#define FN_START_OF_WINDOW (FN_SELECTION + 15) /* StartOfWindow */ -#define FN_END_OF_WINDOW (FN_SELECTION + 16) /* EndOfWindow */ -#define FN_START_OF_COLUMN (FN_SELECTION + 17) /* StartOfColumn */ -#define FN_END_OF_COLUMN (FN_SELECTION + 18) /* EndOfColumn */ -#define FN_START_OF_PARA (FN_SELECTION + 19) /* StartOfPara */ -#define FN_END_OF_PARA (FN_SELECTION + 20) /* EndOfPara */ -#define FN_NEXT_WORD (FN_SELECTION + 21) /* NextWord */ -#define FN_PREV_WORD (FN_SELECTION + 22) /* PrevWord */ -#define FN_NEXT_SENT (FN_SELECTION + 23) /* NextSentence */ -#define FN_PREV_SENT (FN_SELECTION + 24) /* PrevSentence */ -#define FN_DELETE (FN_SELECTION + 25) /* Delete */ -#define FN_BACKSPACE (FN_SELECTION + 26) /* Backspace */ -#define FN_DELETE_SENT (FN_SELECTION + 27) /* DeleteToEndOfSentence */ -#define FN_DELETE_BACK_SENT (FN_SELECTION + 28) /* DeleteToStartOfSentence */ -#define FN_DELETE_WORD (FN_SELECTION + 29) /* DeleteToEndOfWord */ -#define FN_DELETE_BACK_WORD (FN_SELECTION + 30) /* DeleteToStartOfWord */ -#define FN_DELETE_LINE (FN_SELECTION + 31) /* DeleteToEndOfLine */ -#define FN_DELETE_BACK_LINE (FN_SELECTION + 32) /* DeleteToStartOfLine */ -#define FN_DELETE_PARA (FN_SELECTION + 33) /* DeleteToEndOfPara */ -#define FN_DELETE_BACK_PARA (FN_SELECTION + 34) /* DeleteToStartOfPara */ -#define FN_DELETE_WHOLE_LINE (FN_SELECTION + 35) /* DeleteLine ??? */ -#define FN_SET_INS_MODE (FN_SELECTION + 36) /* Einfuegemodus / Overwrite */ -#define FN_PAGEUP (FN_SELECTION + 37) /* PageUpWithCursor */ -#define FN_PAGEDOWN (FN_SELECTION + 38) /* PageDownWithCursor */ -#define FN_SET_ADD_MODE (FN_SELECTION + 39) /* Selektionsmodus */ -#define FN_SET_EXT_MODE (FN_SELECTION + 40) /* Selektionsmodus */ -#define FN_ESCAPE (FN_SELECTION + 41) /* Normal */ +//#define FN_END_OF_DOCUMENT (FN_SELECTION + 8 ) /* EndOfDocument */ +#define FN_START_OF_NEXT_PAGE (FN_SELECTION + 9 ) /* StartOfNextPage ??? */ +#define FN_END_OF_NEXT_PAGE (FN_SELECTION + 10) /* ??? */ +#define FN_START_OF_PREV_PAGE (FN_SELECTION + 11) /* StartOfPrevPage ??? */ +#define FN_END_OF_PREV_PAGE (FN_SELECTION + 12) /* ??? */ +#define FN_START_OF_PAGE (FN_SELECTION + 13) /* StartOfPage */ +#define FN_END_OF_PAGE (FN_SELECTION + 14) /* EndOfPage */ +#define FN_START_OF_WINDOW (FN_SELECTION + 15) /* StartOfWindow */ +#define FN_END_OF_WINDOW (FN_SELECTION + 16) /* EndOfWindow */ +#define FN_START_OF_COLUMN (FN_SELECTION + 17) /* StartOfColumn */ +#define FN_END_OF_COLUMN (FN_SELECTION + 18) /* EndOfColumn */ +#define FN_START_OF_PARA (FN_SELECTION + 19) /* StartOfPara */ +#define FN_END_OF_PARA (FN_SELECTION + 20) /* EndOfPara */ +#define FN_NEXT_WORD (FN_SELECTION + 21) /* NextWord */ +#define FN_PREV_WORD (FN_SELECTION + 22) /* PrevWord */ +#define FN_NEXT_SENT (FN_SELECTION + 23) /* NextSentence */ +#define FN_PREV_SENT (FN_SELECTION + 24) /* PrevSentence */ +#define FN_DELETE (FN_SELECTION + 25) /* Delete */ +#define FN_BACKSPACE (FN_SELECTION + 26) /* Backspace */ +#define FN_DELETE_SENT (FN_SELECTION + 27) /* DeleteToEndOfSentence */ +#define FN_DELETE_BACK_SENT (FN_SELECTION + 28) /* DeleteToStartOfSentence */ +#define FN_DELETE_WORD (FN_SELECTION + 29) /* DeleteToEndOfWord */ +#define FN_DELETE_BACK_WORD (FN_SELECTION + 30) /* DeleteToStartOfWord */ +#define FN_DELETE_LINE (FN_SELECTION + 31) /* DeleteToEndOfLine */ +#define FN_DELETE_BACK_LINE (FN_SELECTION + 32) /* DeleteToStartOfLine */ +#define FN_DELETE_PARA (FN_SELECTION + 33) /* DeleteToEndOfPara */ +#define FN_DELETE_BACK_PARA (FN_SELECTION + 34) /* DeleteToStartOfPara */ +#define FN_DELETE_WHOLE_LINE (FN_SELECTION + 35) /* DeleteLine ??? */ +#define FN_SET_INS_MODE (FN_SELECTION + 36) /* Einfuegemodus / Overwrite */ +#define FN_PAGEUP (FN_SELECTION + 37) /* PageUpWithCursor */ +#define FN_PAGEDOWN (FN_SELECTION + 38) /* PageDownWithCursor */ +#define FN_SET_ADD_MODE (FN_SELECTION + 39) /* Selektionsmodus */ +#define FN_SET_EXT_MODE (FN_SELECTION + 40) /* Selektionsmodus */ +#define FN_ESCAPE (FN_SELECTION + 41) /* Normal */ #define FN_SHIFT_BACKSPACE (FN_SELECTION + 42) /* wie Backspace */ -#define FN_SELECT_WORD (FN_SELECTION + 43) /* Wort selektieren */ +#define FN_SELECT_WORD (FN_SELECTION + 43) /* Wort selektieren */ -#define FN_GOTO_NEXT_OBJ (FN_SELECTION + 44) /* N�chstes Objekt anspringen */ -#define FN_GOTO_PREV_OBJ (FN_SELECTION + 45) /* Vorhergehendes Objekt anspringen */ +#define FN_GOTO_NEXT_OBJ (FN_SELECTION + 44) /* N�chstes Objekt anspringen */ +#define FN_GOTO_PREV_OBJ (FN_SELECTION + 45) /* Vorhergehendes Objekt anspringen */ -#define FN_START_TABLE (FN_SELECTION + 47) /* an den Anfang der Tabelle */ -#define FN_END_TABLE (FN_SELECTION + 48) /* an das Ende der Tabelle */ -#define FN_NEXT_TABLE (FN_SELECTION + 49) /* zur vorhergehenden Tabelle */ -#define FN_PREV_TABLE (FN_SELECTION + 50) /* zur naechsten Tabelle */ +#define FN_START_TABLE (FN_SELECTION + 47) /* an den Anfang der Tabelle */ +#define FN_END_TABLE (FN_SELECTION + 48) /* an das Ende der Tabelle */ +#define FN_NEXT_TABLE (FN_SELECTION + 49) /* zur vorhergehenden Tabelle */ +#define FN_PREV_TABLE (FN_SELECTION + 50) /* zur naechsten Tabelle */ -#define FN_START_OF_NEXT_COLUMN (FN_SELECTION + 51) /* zum Anfang der naechsten Spalte */ -#define FN_END_OF_NEXT_COLUMN (FN_SELECTION + 52) /* zum Ende der naechsten Spalte */ -#define FN_START_OF_PREV_COLUMN (FN_SELECTION + 53) /* zum Anfang der vorhergehenden Spalte */ -#define FN_END_OF_PREV_COLUMN (FN_SELECTION + 54) /* zum Ende der vorhergehenden Spalte */ +#define FN_START_OF_NEXT_COLUMN (FN_SELECTION + 51) /* zum Anfang der naechsten Spalte */ +#define FN_END_OF_NEXT_COLUMN (FN_SELECTION + 52) /* zum Ende der naechsten Spalte */ +#define FN_START_OF_PREV_COLUMN (FN_SELECTION + 53) /* zum Anfang der vorhergehenden Spalte */ +#define FN_END_OF_PREV_COLUMN (FN_SELECTION + 54) /* zum Ende der vorhergehenden Spalte */ -#define FN_FOOTNOTE_TO_ANCHOR (FN_SELECTION + 55) /* aus der Fussnote zum Anchor */ -#define FN_NEXT_FOOTNOTE (FN_SELECTION + 56) /* zur naechsten Fussnote */ -#define FN_PREV_FOOTNOTE (FN_SELECTION + 57) /* zur vorhergehenden Fussnote */ +#define FN_FOOTNOTE_TO_ANCHOR (FN_SELECTION + 55) /* aus der Fussnote zum Anchor */ +#define FN_NEXT_FOOTNOTE (FN_SELECTION + 56) /* zur naechsten Fussnote */ +#define FN_PREV_FOOTNOTE (FN_SELECTION + 57) /* zur vorhergehenden Fussnote */ -#define FN_CNTNT_TO_NEXT_FRAME (FN_SELECTION + 58) /* aus dem Inhalt zum naechsten Rahmen */ -#define FN_FRAME_TO_ANCHOR (FN_SELECTION + 59) /* vom Rahmen zum Anker */ +#define FN_CNTNT_TO_NEXT_FRAME (FN_SELECTION + 58) /* aus dem Inhalt zum naechsten Rahmen */ +#define FN_FRAME_TO_ANCHOR (FN_SELECTION + 59) /* vom Rahmen zum Anker */ -#define FN_TO_HEADER (FN_SELECTION + 60) /* Toggle zwischen Content und Kopfzeile */ -#define FN_TO_FOOTER (FN_SELECTION + 61) /* Toggle zwischen Content und Fusszeile */ +#define FN_TO_HEADER (FN_SELECTION + 60) /* Toggle zwischen Content und Kopfzeile */ +#define FN_TO_FOOTER (FN_SELECTION + 61) /* Toggle zwischen Content und Fusszeile */ -#define FN_IDX_MARK_TO_IDX (FN_SELECTION + 62) /* von der Verzeichnismarkierung zum Verzeichnis */ +#define FN_IDX_MARK_TO_IDX (FN_SELECTION + 62) /* von der Verzeichnismarkierung zum Verzeichnis */ #define FN_TO_FOOTNOTE_AREA (FN_SELECTION + 63) /* jump into the appropriate footnote area */ -#define FN_SET_BLOCK_MODE (FN_SELECTION + 64) /* selection mode: block */ +#define FN_SET_BLOCK_MODE (FN_SELECTION + 64) /* selection mode: block */ -#define FN_PREV_PARA (FN_SELECTION + 74) -#define FN_NEXT_PARA (FN_SELECTION + 75) +#define FN_PREV_PARA (FN_SELECTION + 74) +#define FN_NEXT_PARA (FN_SELECTION + 75) -#define FN_GOTO_NEXT_MARK (FN_SELECTION + 76) /* N�chsten Platzhalter anspringen */ -#define FN_GOTO_PREV_MARK (FN_SELECTION + 77) /* Vorhergehenden Platzhalter anspringen */ +#define FN_GOTO_NEXT_MARK (FN_SELECTION + 76) /* N�chsten Platzhalter anspringen */ +#define FN_GOTO_PREV_MARK (FN_SELECTION + 77) /* Vorhergehenden Platzhalter anspringen */ // schon im SVX unter der gleichen Id -//#define FN_START_DOC_DIRECT (FN_SELECTION + 78) /* Direkt zum Dokanfang springen */ -//#define FN_END_DOC_DIRECT (FN_SELECTION + 79) /* Direkt zum Dokanfang springen */ +//#define FN_START_DOC_DIRECT (FN_SELECTION + 78) /* Direkt zum Dokanfang springen */ +//#define FN_END_DOC_DIRECT (FN_SELECTION + 79) /* Direkt zum Dokanfang springen */ -#define FN_NEXT_TOXMARK (FN_SELECTION + 83) /* zur naechsten Verz. Markierung */ -#define FN_PREV_TOXMARK (FN_SELECTION + 84) /* zur vorherigen Verz. Markierung */ -#define FN_NEXT_TBLFML (FN_SELECTION + 85) /* zur naechsten Tabellenformel */ -#define FN_PREV_TBLFML (FN_SELECTION + 86) /* zur vorherigen Tabellenformel */ -#define FN_NEXT_TBLFML_ERR (FN_SELECTION + 87) /* zur naechsten fehl. Tabellenformel */ -#define FN_PREV_TBLFML_ERR (FN_SELECTION + 88) /* zur vorherigen fehl. Tabellenformel */ +#define FN_NEXT_TOXMARK (FN_SELECTION + 83) /* zur naechsten Verz. Markierung */ +#define FN_PREV_TOXMARK (FN_SELECTION + 84) /* zur vorherigen Verz. Markierung */ +#define FN_NEXT_TBLFML (FN_SELECTION + 85) /* zur naechsten Tabellenformel */ +#define FN_PREV_TBLFML (FN_SELECTION + 86) /* zur vorherigen Tabellenformel */ +#define FN_NEXT_TBLFML_ERR (FN_SELECTION + 87) /* zur naechsten fehl. Tabellenformel */ +#define FN_PREV_TBLFML_ERR (FN_SELECTION + 88) /* zur vorherigen fehl. Tabellenformel */ #define FN_READONLY_SELECTION_MODE (FN_SELECTION + 89) /* switches text selection mode in readonly documents*/ #define FN_SELECTION_MODE_DEFAULT (FN_SELECTION + 90) /* use default selection mode - not block mode */ @@ -1022,30 +1022,30 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr -#define FN_IS_MODIFIED (FN_QUERY +16) /* Dokument geaendert? */ -#define FN_RESET_MODIFIED (FN_QUERY +17) /* Geaendert-Flag zuruecksetzen */ +#define FN_IS_MODIFIED (FN_QUERY +16) /* Dokument geaendert? */ +#define FN_RESET_MODIFIED (FN_QUERY +17) /* Geaendert-Flag zuruecksetzen */ -#define FN_GET_DOC_INFO (FN_QUERY +22) /* Wert Dokumentinfo erfragen */ -#define FN_GET_ERRNO (FN_QUERY +26) /* Error-Nummer abfragen */ -#define FN_GET_DOCMAN_PATH (FN_QUERY +27) /* Pfad zu einer Gruppe im Docmgr erfragen */ +#define FN_GET_DOC_INFO (FN_QUERY +22) /* Wert Dokumentinfo erfragen */ +#define FN_GET_ERRNO (FN_QUERY +26) /* Error-Nummer abfragen */ +#define FN_GET_DOCMAN_PATH (FN_QUERY +27) /* Pfad zu einer Gruppe im Docmgr erfragen */ -#define FN_TXTATR_INET (FN_QUERY +29) /* INet-Attribut */ -#define FN_EXECUTE_DRAG (FN_QUERY +30) /* D&D starten */ +#define FN_TXTATR_INET (FN_QUERY +29) /* INet-Attribut */ +#define FN_EXECUTE_DRAG (FN_QUERY +30) /* D&D starten */ -#define FN_GET_PRINT_AREA (FN_QUERY +32) /* Attribut fuer druckbaren Seitenbereich besorgen */ +#define FN_GET_PRINT_AREA (FN_QUERY +32) /* Attribut fuer druckbaren Seitenbereich besorgen */ -// #define FN_IS_START_OF_PAGE (FN_QUERY +40) /**/ -// #define FN_IS_END_OF_PAGE (FN_QUERY +41) /**/ +// #define FN_IS_START_OF_PAGE (FN_QUERY +40) /**/ +// #define FN_IS_END_OF_PAGE (FN_QUERY +41) /**/ -#define FN_GET_PARAGRAPH (FN_QUERY +48) /* Paragraph-Object von der Textshell +#define FN_GET_PARAGRAPH (FN_QUERY +48) /* Paragraph-Object von der Textshell an die View weiterreichen*/ // hier ist Schluss!!! -#define FN_DB_FORM_LETTER (FN_QUERY2 + 0) /* form letter */ -#define FN_DB_INSERT_CONTENT (FN_QUERY2 + 1) /* merge data into fields*/ -#define FN_DB_INSERT_COLUMNS (FN_QUERY2 + 2) /* insert data into text/table/as fields*/ +#define FN_DB_FORM_LETTER (FN_QUERY2 + 0) /* form letter */ +#define FN_DB_INSERT_CONTENT (FN_QUERY2 + 1) /* merge data into fields*/ +#define FN_DB_INSERT_COLUMNS (FN_QUERY2 + 2) /* insert data into text/table/as fields*/ #define FN_DB_CONNECTION_ANY (FN_QUERY2 + 3) #define FN_DB_COLUMN_ANY (FN_QUERY2 + 4) #define FN_DB_DATA_SOURCE_ANY (FN_QUERY2 + 5) @@ -1053,85 +1053,85 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr #define FN_DB_DATA_COMMAND_TYPE_ANY (FN_QUERY2 + 7) #define FN_DB_DATA_COLUMN_NAME_ANY (FN_QUERY2 + 8) #define FN_DB_DATA_SELECTION_ANY (FN_QUERY2 + 9) -#define FN_DB_DATA_CURSOR_ANY (FN_QUERY2 + 10) +#define FN_DB_DATA_CURSOR_ANY (FN_QUERY2 + 10) /*-------------------------------------------------------------------- Bereich: Envelope --------------------------------------------------------------------*/ -#define FN_ENVELOP (FN_ENVELP ) +#define FN_ENVELOP (FN_ENVELP ) -#define FN_DELETE_NOTE (FN_NOTES+0) -#define FN_DELETE_NOTE_AUTHOR (FN_NOTES+1) -#define FN_DELETE_ALL_NOTES (FN_NOTES+2) -#define FN_HIDE_NOTE (FN_NOTES+3) -#define FN_HIDE_NOTE_AUTHOR (FN_NOTES+4) -#define FN_HIDE_ALL_NOTES (FN_NOTES+5) +#define FN_DELETE_NOTE (FN_NOTES+0) +#define FN_DELETE_NOTE_AUTHOR (FN_NOTES+1) +#define FN_DELETE_ALL_NOTES (FN_NOTES+2) +#define FN_HIDE_NOTE (FN_NOTES+3) +#define FN_HIDE_NOTE_AUTHOR (FN_NOTES+4) +#define FN_HIDE_ALL_NOTES (FN_NOTES+5) -#define FN_DELETE_COMMENT (FN_NOTES+6) -#define FN_REPLY (FN_NOTES+7) +#define FN_DELETE_COMMENT (FN_NOTES+6) +#define FN_REPLY (FN_NOTES+7) /*-------------------------------------------------------------------- Bereich: Parameter --------------------------------------------------------------------*/ -#define FN_PARAM_TABLE_COLS (FN_PARAM) -#define FN_PARAM_TABLE_ROWS (FN_PARAM+1) +#define FN_PARAM_TABLE_COLS (FN_PARAM) +#define FN_PARAM_TABLE_ROWS (FN_PARAM+1) #define FN_PARAM_MOVE_COUNT (FN_PARAM+2) #define FN_PARAM_MOVE_SELECTION (FN_PARAM+3) -#define FN_PARAM_SEARCH_WORDONLY (FN_PARAM+5) -#define FN_PARAM_SEARCH_EXACT (FN_PARAM+6) -#define FN_PARAM_SEARCH_REGEXP (FN_PARAM+7) -#define FN_PARAM_SEARCH_BACKWARDS (FN_PARAM+8) -#define FN_PARAM_SEARCH_FINDALL (FN_PARAM+9) -#define FN_PARAM_SEARCH_SELECTION (FN_PARAM+10) -#define FN_PARAM_SEARCH_TEXT (FN_PARAM+11) +#define FN_PARAM_SEARCH_WORDONLY (FN_PARAM+5) +#define FN_PARAM_SEARCH_EXACT (FN_PARAM+6) +#define FN_PARAM_SEARCH_REGEXP (FN_PARAM+7) +#define FN_PARAM_SEARCH_BACKWARDS (FN_PARAM+8) +#define FN_PARAM_SEARCH_FINDALL (FN_PARAM+9) +#define FN_PARAM_SEARCH_SELECTION (FN_PARAM+10) +#define FN_PARAM_SEARCH_TEXT (FN_PARAM+11) #define FN_PARAM_SEARCH_TEXTREPLACE (FN_PARAM+12) -#define FN_PARAM_PARADLGLIMITS (FN_PARAM+15) -#define FN_PARAM_FRMMODE (FN_PARAM+16) +#define FN_PARAM_PARADLGLIMITS (FN_PARAM+15) +#define FN_PARAM_FRMMODE (FN_PARAM+16) -#define FN_PARAM_ADDPRINTER (FN_PARAM+18) -#define FN_PARAM_GRID (FN_PARAM+19) -#define FN_PARAM_DOCDISP (FN_PARAM+20) -#define FN_PARAM_ELEM (FN_PARAM+21) -#define FN_PARAM_SWTEST (FN_PARAM+22) +#define FN_PARAM_ADDPRINTER (FN_PARAM+18) +#define FN_PARAM_GRID (FN_PARAM+19) +#define FN_PARAM_DOCDISP (FN_PARAM+20) +#define FN_PARAM_ELEM (FN_PARAM+21) +#define FN_PARAM_SWTEST (FN_PARAM+22) -#define FN_PARAM_FTN_INFO (FN_PARAM+23) +#define FN_PARAM_FTN_INFO (FN_PARAM+23) -#define FN_PARAM_REGION_NAME (FN_PARAM+24) -#define FN_PARAM_REGION_CONDITION (FN_PARAM+25) -#define FN_PARAM_REGION_HIDDEN (FN_PARAM+26) -#define FN_PARAM_REGION_PROTECT (FN_PARAM+27) +#define FN_PARAM_REGION_NAME (FN_PARAM+24) +#define FN_PARAM_REGION_CONDITION (FN_PARAM+25) +#define FN_PARAM_REGION_HIDDEN (FN_PARAM+26) +#define FN_PARAM_REGION_PROTECT (FN_PARAM+27) #define FN_PARAM_REGION_EDIT_IN_READONLY (FN_PARAM+28) -#define FN_PARAM_INSERT_AFTER (FN_PARAM+29) +#define FN_PARAM_INSERT_AFTER (FN_PARAM+29) //#define FN_PARAM_FILTER (FN_PARAM+30) already defined in svx/svxids.hrc -#define FN_PARAM_INDEX_NAME (FN_PARAM+31) -#define FN_PARAM_INDEX_OPTIONS (FN_PARAM+32) -#define FN_PARAM_INDEX_FORMAT (FN_PARAM+33) -#define FN_PARAM_INDEX_LEVEL (FN_PARAM+34) -#define FN_PARAM_INDEX_TEMPLATE (FN_PARAM+35) -#define FN_PARAM_INDEX_ALTSTR (FN_PARAM+36) -#define FN_PARAM_INDEX_PRIMKEY (FN_PARAM+37) -#define FN_PARAM_INDEX_SECKEY (FN_PARAM+38) -#define FN_PARAM_WIDTH (FN_PARAM+39) -#define FN_PARAM_LOCATION (FN_PARAM+40) -#define FN_PARAM_DIR (FN_PARAM+41) -#define FN_PARAM_COUNT (FN_PARAM+42) -#define FN_PARAM_COLOR (FN_PARAM+43) - -#define FN_PARAM_TABLE_NAME (FN_PARAM+44) -#define FN_PARAM_TABLE_WIDTH (FN_PARAM+45) -#define FN_PARAM_TABLE_ULSPACE (FN_PARAM+46) -#define FN_PARAM_TABLE_LRSPACE (FN_PARAM+47) -#define FN_PARAM_TABLE_SHADOW (FN_PARAM+48) -#define FN_PARAM_TABLE_ALIGN (FN_PARAM+49) -#define FN_PARAM_TABLE_HEADLINE (FN_PARAM+50) -#define FN_PARAM_TABLE_SPACE (FN_PARAM+51) -#define FN_PARAM_TABLE_COLUMNS (FN_PARAM+52) +#define FN_PARAM_INDEX_NAME (FN_PARAM+31) +#define FN_PARAM_INDEX_OPTIONS (FN_PARAM+32) +#define FN_PARAM_INDEX_FORMAT (FN_PARAM+33) +#define FN_PARAM_INDEX_LEVEL (FN_PARAM+34) +#define FN_PARAM_INDEX_TEMPLATE (FN_PARAM+35) +#define FN_PARAM_INDEX_ALTSTR (FN_PARAM+36) +#define FN_PARAM_INDEX_PRIMKEY (FN_PARAM+37) +#define FN_PARAM_INDEX_SECKEY (FN_PARAM+38) +#define FN_PARAM_WIDTH (FN_PARAM+39) +#define FN_PARAM_LOCATION (FN_PARAM+40) +#define FN_PARAM_DIR (FN_PARAM+41) +#define FN_PARAM_COUNT (FN_PARAM+42) +#define FN_PARAM_COLOR (FN_PARAM+43) + +#define FN_PARAM_TABLE_NAME (FN_PARAM+44) +#define FN_PARAM_TABLE_WIDTH (FN_PARAM+45) +#define FN_PARAM_TABLE_ULSPACE (FN_PARAM+46) +#define FN_PARAM_TABLE_LRSPACE (FN_PARAM+47) +#define FN_PARAM_TABLE_SHADOW (FN_PARAM+48) +#define FN_PARAM_TABLE_ALIGN (FN_PARAM+49) +#define FN_PARAM_TABLE_HEADLINE (FN_PARAM+50) +#define FN_PARAM_TABLE_SPACE (FN_PARAM+51) +#define FN_PARAM_TABLE_COLUMNS (FN_PARAM+52) #define FN_PARAM_GRF_CONNECT (FN_PARAM+53) #define FN_PARAM_FIELD_TYPE (FN_PARAM+54) @@ -1140,45 +1140,45 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr #define FN_PARAM_FIELD_FORMAT (FN_PARAM+57) -#define FN_PARAM_EVENT (FN_PARAM+68) -#define FN_PARAM_URL (FN_PARAM+69) -#define FN_PARAM_GRF_REALSIZE (FN_PARAM+70) -#define FN_PARAM_GRF_DIALOG (FN_PARAM+71) -#define FN_PARAM_GRF_CLIENTMAP (FN_PARAM+74) /* ClientMap */ -#define FN_PARAM_GRF_SERVERMAP (FN_PARAM+75) /* ServerMap */ -#define FN_PARAM_GRF_TARGETFRAME (FN_PARAM+76) /* TargetFrame */ +#define FN_PARAM_EVENT (FN_PARAM+68) +#define FN_PARAM_URL (FN_PARAM+69) +#define FN_PARAM_GRF_REALSIZE (FN_PARAM+70) +#define FN_PARAM_GRF_DIALOG (FN_PARAM+71) +#define FN_PARAM_GRF_CLIENTMAP (FN_PARAM+74) /* ClientMap */ +#define FN_PARAM_GRF_SERVERMAP (FN_PARAM+75) /* ServerMap */ +#define FN_PARAM_GRF_TARGETFRAME (FN_PARAM+76) /* TargetFrame */ #define FN_INET_FIELD_MACRO (FN_PARAM+77) /* Id fuer URL-Feld-Macros*/ -#define FN_PARAM_PRINTER (FN_PARAM+78) /* Drucker* */ -#define FN_PARAM_STDFONTS (FN_PARAM+79) /* ConfigItem Standardfonts */ +#define FN_PARAM_PRINTER (FN_PARAM+78) /* Drucker* */ +#define FN_PARAM_STDFONTS (FN_PARAM+79) /* ConfigItem Standardfonts */ -#define FN_PARAM_WRTSHELL (FN_PARAM2) /* SwWrtShell */ +#define FN_PARAM_WRTSHELL (FN_PARAM2) /* SwWrtShell */ #define FN_COND_COLL (FN_PARAM2+1) /* Item fuer bed. Vorlagen */ -#define FN_PARAM_SELECTION (FN_PARAM2+2) /* selektiertes Wort fuer Format/Zeichen/Hyperlink */ +#define FN_PARAM_SELECTION (FN_PARAM2+2) /* selektiertes Wort fuer Format/Zeichen/Hyperlink */ -#define FN_PARAM_ACT_NUMBER (FN_PARAM2+3) /* PointerItem die aktuelle NumRule */ +#define FN_PARAM_ACT_NUMBER (FN_PARAM2+3) /* PointerItem die aktuelle NumRule */ #define FN_PARAM_CHILD_LEVELS (FN_PARAM2+4) /* Werden Child-Levels benutzt ?*/ -#define FN_PARAM_NUM_PRESET (FN_PARAM2+5) /* vorgewaehlte Numerierung*/ +#define FN_PARAM_NUM_PRESET (FN_PARAM2+5) /* vorgewaehlte Numerierung*/ #define FN_PARAM_HEIGHT (FN_PARAM2+6) /* Param fuer Hoehe */ #define FN_PARAM_DIST (FN_PARAM2+7) /* und Breite, wg. metrischer Umwandlung */ -#define FN_PARAM_SHADOWCURSOR (FN_PARAM2+8) /* Fuer ShadowCursor Optionen */ +#define FN_PARAM_SHADOWCURSOR (FN_PARAM2+8) /* Fuer ShadowCursor Optionen */ -#define FN_PARAM_ACT_NUMLEVEL (FN_PARAM2+9) /* BYTE-Item mit aktuellen NumLevel */ +#define FN_PARAM_ACT_NUMLEVEL (FN_PARAM2+9) /* BYTE-Item mit aktuellen NumLevel */ -#define FN_PARAM_9 (FN_PARAM2+10) +#define FN_PARAM_9 (FN_PARAM2+10) #define FN_PARAM_10 (FN_PARAM2+11) #define FN_TEXT_RANGE (FN_PARAM2+12) /* TextRange Property*/ -#define FN_PARAM_CRSR_IN_PROTECTED (FN_PARAM2+13) /* Cursor in geschuetzten Bereichen*/ +#define FN_PARAM_CRSR_IN_PROTECTED (FN_PARAM2+13) /* Cursor in geschuetzten Bereichen*/ #define FN_PARAM_TOX_TYPE (FN_PARAM2+14) /* TOX type in tox dialog*/ #define FN_PARAM_LINK_DISPLAY_NAME (FN_PARAM2+15) /* LinkDisplayName property*/ -#define FN_PARAM_NUM_LEVEL (FN_PARAM2+16) /* rtf filter*/ -#define FN_PARAM_COUNTOUR_PP (FN_PARAM2+17) /* contour PolyPolygon*/ +#define FN_PARAM_NUM_LEVEL (FN_PARAM2+16) /* rtf filter*/ +#define FN_PARAM_COUNTOUR_PP (FN_PARAM2+17) /* contour PolyPolygon*/ #define FN_ANCHOR_POSITION (FN_PARAM2+18) /* AnchorPosition property */ #define FN_DROP_TEXT (FN_PARAM2+18) /* text set in drop caps tab page - for recording */ @@ -1201,41 +1201,41 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr Bereich: Druckoptionen --------------------------------------------------------------------*/ -#define FN_PRNOPT_GRAPHIC (FN_PRNOPT + 1) -#define FN_PRNOPT_TABLE (FN_PRNOPT + 2) -#define FN_PRNOPT_LEFT_PAGE (FN_PRNOPT + 3) -#define FN_PRNOPT_RIGHT_PAGE (FN_PRNOPT + 4) -#define FN_PRNOPT_REVERSE (FN_PRNOPT + 5) -#define FN_PRNOPT_PAPER_FROM_SETUP (FN_PRNOPT + 6) -#define FN_PRNOPT_POSTITS (FN_PRNOPT + 8) +#define FN_PRNOPT_GRAPHIC (FN_PRNOPT + 1) +#define FN_PRNOPT_TABLE (FN_PRNOPT + 2) +#define FN_PRNOPT_LEFT_PAGE (FN_PRNOPT + 3) +#define FN_PRNOPT_RIGHT_PAGE (FN_PRNOPT + 4) +#define FN_PRNOPT_REVERSE (FN_PRNOPT + 5) +#define FN_PRNOPT_PAPER_FROM_SETUP (FN_PRNOPT + 6) +#define FN_PRNOPT_POSTITS (FN_PRNOPT + 8) #define FN_PRNOPT_BEGIN FN_PRNOPT_GRAPHIC -#define FN_PRNOPT_END FN_PRNOPT_POSTITS +#define FN_PRNOPT_END FN_PRNOPT_POSTITS /*-------------------------------------------------------------------- Beschreibung: Status : nicht mehr als 19! --------------------------------------------------------------------*/ -#define FN_STAT_PAGE (FN_STAT + 1) -#define FN_STAT_TEMPLATE (FN_STAT + 2) -#define FN_STAT_ZOOM (FN_STAT + 3) -#define FN_STAT_INSOVER (FN_STAT + 4) -#define FN_STAT_SELMODE (FN_STAT + 5) -#define FN_STAT_CONTEXT (FN_STAT + 7) -#define FN_STAT_BOOKMARK (FN_STAT + 8) /* Fuer Popup Bookmarks*/ +#define FN_STAT_PAGE (FN_STAT + 1) +#define FN_STAT_TEMPLATE (FN_STAT + 2) +#define FN_STAT_ZOOM (FN_STAT + 3) +#define FN_STAT_INSOVER (FN_STAT + 4) +#define FN_STAT_SELMODE (FN_STAT + 5) +#define FN_STAT_CONTEXT (FN_STAT + 7) +#define FN_STAT_BOOKMARK (FN_STAT + 8) /* Fuer Popup Bookmarks*/ /*-------------------------------------------------------------------- Bereich: Seitenvorschau --------------------------------------------------------------------*/ -#define FN_SHOW_TWO_PAGES (FN_PGPREVIEW + 1) +#define FN_SHOW_TWO_PAGES (FN_PGPREVIEW + 1) //already in svx/svxids.hrc #ifndef FN_SHOW_MULTIPLE_PAGES #define FN_SHOW_MULTIPLE_PAGES (FN_PGPREVIEW + 2) #endif -#define FN_PRINT_PAGEPREVIEW (FN_PGPREVIEW + 3) +#define FN_PRINT_PAGEPREVIEW (FN_PGPREVIEW + 3) #define FN_CLOSE_PAGEPREVIEW (FN_PGPREVIEW + 4) -#define FN_SHOW_BOOKVIEW (FN_PGPREVIEW + 5) +#define FN_SHOW_BOOKVIEW (FN_PGPREVIEW + 5) /*-------------------------------------------------------------------- Bereich: Rahmenattribute @@ -1248,7 +1248,7 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr #define FN_HORI_ORIENT (FN_FRAME + 5) #define FN_SET_FRM_NAME (FN_FRAME + 6) #define FN_KEEP_ASPECT_RATIO (FN_FRAME + 7) -#define FN_GRF_KEEP_ZOOM (FN_FRAME + 8) +#define FN_GRF_KEEP_ZOOM (FN_FRAME + 8) #define FN_IID_COL1 (FN_FRAME + 13) #define FN_IID_COL2 (FN_FRAME + 14) @@ -1264,41 +1264,41 @@ Achtung: Ab sofort sind in diesem File keine C++-Kommentare (//) mehr //Member-Ids fuer Fill/SetVariable an Items -#define MID_STYLE 0xe0 -#define MID_PWIDTH 0xe1 -#define MID_ADJUST 0xe2 -#define MID_TDIST 0xe3 -#define MID_BDIST 0xe4 -#define MID_LINES 0xe5 -#define MID_CHARS 0xe6 -#define MID_DIST 0xe7 - -#define MID_1 0xe8 -#define MID_2 0xe9 -#define MID_3 0xea -#define MID_4 0xeb -#define MID_5 0xec -#define MID_6 0xed -#define MID_7 0xee -#define MID_8 0xef -#define MID_9 0xf0 -#define MID_A 0xf1 -#define MID_B 0xf2 -#define MID_C 0xf3 -#define MID_D 0xf4 -#define MID_E 0xf5 -#define MID_F 0xf6 -#define MID_10 0xf7 -#define MID_11 0xf8 -#define MID_12 0xf9 -#define MID_13 0xfa +#define MID_STYLE 0xe0 +#define MID_PWIDTH 0xe1 +#define MID_ADJUST 0xe2 +#define MID_TDIST 0xe3 +#define MID_BDIST 0xe4 +#define MID_LINES 0xe5 +#define MID_CHARS 0xe6 +#define MID_DIST 0xe7 + +#define MID_1 0xe8 +#define MID_2 0xe9 +#define MID_3 0xea +#define MID_4 0xeb +#define MID_5 0xec +#define MID_6 0xed +#define MID_7 0xee +#define MID_8 0xef +#define MID_9 0xf0 +#define MID_A 0xf1 +#define MID_B 0xf2 +#define MID_C 0xf3 +#define MID_D 0xf4 +#define MID_E 0xf5 +#define MID_F 0xf6 +#define MID_10 0xf7 +#define MID_11 0xf8 +#define MID_12 0xf9 +#define MID_13 0xfa #ifndef SID_SW_DOCMAN_PATH #define SID_SW_DOCMAN_PATH (SID_OFASLOTS_START + 6) #endif // defines fuer Event-Zuweisung per Macro -#define MAC_EVENT_MOUSEOVER 0x01 // +#define MAC_EVENT_MOUSEOVER 0x01 // #define MAC_EVENT_MOUSECLICK 0x02 // Hyperlink ausloesen #define MAC_EVENT_MOUSEOUT 0x03 // #define MAC_EVENT_OBJECT_SELECT 0x04 // Obj. selektieren diff --git a/sw/inc/colwd.hxx b/sw/inc/colwd.hxx index 26b6f54d79e3..cd8c6d6e2c8b 100644 --- a/sw/inc/colwd.hxx +++ b/sw/inc/colwd.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,18 +40,18 @@ class SwTableFUNC; class SwTableWidthDlg : public SvxStandardDialog { - FixedText aColFT; - NumericField aColEdit; - FixedText aWidthFT; - MetricField aWidthEdit; + FixedText aColFT; + NumericField aColEdit; + FixedText aWidthFT; + MetricField aWidthEdit; FixedLine aWidthFL; - OKButton aOKBtn; - CancelButton aCancelBtn; - HelpButton aHelpBtn; - SwTableFUNC &rFnc; + OKButton aOKBtn; + CancelButton aCancelBtn; + HelpButton aHelpBtn; + SwTableFUNC &rFnc; protected: - virtual void Apply(); + virtual void Apply(); DECL_LINK( LoseFocusHdl, Edit* pEdt=0 ); public: diff --git a/sw/inc/comcore.hrc b/sw/inc/comcore.hrc index 981c89ef37db..31ff558c855d 100644 --- a/sw/inc/comcore.hrc +++ b/sw/inc/comcore.hrc @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -33,40 +33,40 @@ // die Strings // --------------- -#define STR_COMCORE_READERROR (RC_COMCORE_BEGIN + 0) -#define MSG_COMCORE_ASKSEARCH (RC_COMCORE_BEGIN + 1) -#define STR_TABLE_DEFNAME (RC_COMCORE_BEGIN + 2) -#define STR_GRAPHIC_DEFNAME (RC_COMCORE_BEGIN + 3) -#define STR_OBJECT_DEFNAME (RC_COMCORE_BEGIN + 4) -#define STR_FRAME_DEFNAME (RC_COMCORE_BEGIN + 5) -#define STR_REGION_DEFNAME (RC_COMCORE_BEGIN + 6) -#define STR_COMCORE_CANT_SHOW (RC_COMCORE_BEGIN + 7) -#define RID_GRAPHIC_REPLACEBMP (RC_COMCORE_BEGIN + 8) -#define RID_GRAPHIC_ERRORBMP (RC_COMCORE_BEGIN + 9) -#define STR_NUMRULE_DEFNAME (RC_COMCORE_BEGIN + 10) -#define STR_EMPTYPAGE (RC_COMCORE_BEGIN + 11) -#define RID_SHELLRES_AUTOFMTSTRS (RC_COMCORE_BEGIN + 12) -#define STR_MULT_INTERACT_HYPH_WARN (RC_COMCORE_BEGIN + 13) -#define STR_MULT_INTERACT_SPELL_WARN (RC_COMCORE_BEGIN + 14) -#define STR_SPELL_TITLE (RC_COMCORE_BEGIN + 15) -#define STR_HYPH_TITLE (RC_COMCORE_BEGIN + 16) -#define MSG_DISABLE_UNDO_QUESTION (RC_COMCORE_BEGIN + 17) -#define MSG_DISABLE_READLINE_QUESTION (RC_COMCORE_BEGIN + 18) +#define STR_COMCORE_READERROR (RC_COMCORE_BEGIN + 0) +#define MSG_COMCORE_ASKSEARCH (RC_COMCORE_BEGIN + 1) +#define STR_TABLE_DEFNAME (RC_COMCORE_BEGIN + 2) +#define STR_GRAPHIC_DEFNAME (RC_COMCORE_BEGIN + 3) +#define STR_OBJECT_DEFNAME (RC_COMCORE_BEGIN + 4) +#define STR_FRAME_DEFNAME (RC_COMCORE_BEGIN + 5) +#define STR_REGION_DEFNAME (RC_COMCORE_BEGIN + 6) +#define STR_COMCORE_CANT_SHOW (RC_COMCORE_BEGIN + 7) +#define RID_GRAPHIC_REPLACEBMP (RC_COMCORE_BEGIN + 8) +#define RID_GRAPHIC_ERRORBMP (RC_COMCORE_BEGIN + 9) +#define STR_NUMRULE_DEFNAME (RC_COMCORE_BEGIN + 10) +#define STR_EMPTYPAGE (RC_COMCORE_BEGIN + 11) +#define RID_SHELLRES_AUTOFMTSTRS (RC_COMCORE_BEGIN + 12) +#define STR_MULT_INTERACT_HYPH_WARN (RC_COMCORE_BEGIN + 13) +#define STR_MULT_INTERACT_SPELL_WARN (RC_COMCORE_BEGIN + 14) +#define STR_SPELL_TITLE (RC_COMCORE_BEGIN + 15) +#define STR_HYPH_TITLE (RC_COMCORE_BEGIN + 16) +#define MSG_DISABLE_UNDO_QUESTION (RC_COMCORE_BEGIN + 17) +#define MSG_DISABLE_READLINE_QUESTION (RC_COMCORE_BEGIN + 18) // -> #111827# -#define STR_REDLINE_INSERT (RC_COMCORE_BEGIN + 19) -#define STR_REDLINE_DELETE (RC_COMCORE_BEGIN + 20) -#define STR_REDLINE_FORMAT (RC_COMCORE_BEGIN + 21) -#define STR_REDLINE_TABLE (RC_COMCORE_BEGIN + 22) -#define STR_REDLINE_FMTCOLL (RC_COMCORE_BEGIN + 23) +#define STR_REDLINE_INSERT (RC_COMCORE_BEGIN + 19) +#define STR_REDLINE_DELETE (RC_COMCORE_BEGIN + 20) +#define STR_REDLINE_FORMAT (RC_COMCORE_BEGIN + 21) +#define STR_REDLINE_TABLE (RC_COMCORE_BEGIN + 22) +#define STR_REDLINE_FMTCOLL (RC_COMCORE_BEGIN + 23) #define STR_CLIPBOARD (RC_COMCORE_BEGIN + 24) -#define STR_START_QUOTE (RC_COMCORE_BEGIN + 25) -#define STR_END_QUOTE (RC_COMCORE_BEGIN + 26) -#define STR_LDOTS (RC_COMCORE_BEGIN + 27) -#define STR_YIELDS (RC_COMCORE_BEGIN + 28) +#define STR_START_QUOTE (RC_COMCORE_BEGIN + 25) +#define STR_END_QUOTE (RC_COMCORE_BEGIN + 26) +#define STR_LDOTS (RC_COMCORE_BEGIN + 27) +#define STR_YIELDS (RC_COMCORE_BEGIN + 28) #define STR_PARAGRAPHS (RC_COMCORE_BEGIN + 29) -#define STR_MULTISEL (RC_COMCORE_BEGIN + 30) -#define STR_REDLINE_MULTIPLE (RC_COMCORE_BEGIN + 31) -#define STR_N_REDLINES (RC_COMCORE_BEGIN + 32) +#define STR_MULTISEL (RC_COMCORE_BEGIN + 30) +#define STR_REDLINE_MULTIPLE (RC_COMCORE_BEGIN + 31) +#define STR_N_REDLINES (RC_COMCORE_BEGIN + 32) #define STR_FIELD (RC_COMCORE_BEGIN + 33) // <- #111827# // -> #115575# @@ -91,30 +91,30 @@ // <- #146850# // defines fuer die Autoformat Redline Kommentare -#define STR_AUTOFMTREDL_DEL_EMPTY_PARA 0 +#define STR_AUTOFMTREDL_DEL_EMPTY_PARA 0 #define STR_AUTOFMTREDL_USE_REPLACE 1 #define STR_AUTOFMTREDL_CPTL_STT_WORD 2 #define STR_AUTOFMTREDL_CPTL_STT_SENT 3 #define STR_AUTOFMTREDL_TYPO 4 #define STR_AUTOFMTREDL_USER_STYLE 5 #define STR_AUTOFMTREDL_BULLET 6 -#define STR_AUTOFMTREDL_UNDER 7 -#define STR_AUTOFMTREDL_BOLD 8 +#define STR_AUTOFMTREDL_UNDER 7 +#define STR_AUTOFMTREDL_BOLD 8 #define STR_AUTOFMTREDL_FRACTION 9 #define STR_AUTOFMTREDL_DETECT_URL 10 #define STR_AUTOFMTREDL_DASH 11 #define STR_AUTOFMTREDL_ORDINAL 12 #define STR_AUTOFMTREDL_RIGHT_MARGIN 13 -#define STR_AUTOFMTREDL_SET_TMPL_TEXT 14 -#define STR_AUTOFMTREDL_SET_TMPL_INDENT 15 -#define STR_AUTOFMTREDL_SET_TMPL_NEG_INDENT 16 -#define STR_AUTOFMTREDL_SET_TMPL_TEXT_INDENT 17 -#define STR_AUTOFMTREDL_SET_TMPL_HEADLINE 18 -#define STR_AUTOFMTREDL_SET_NUMBULET 19 -#define STR_AUTOFMTREDL_DEL_MORELINES 20 +#define STR_AUTOFMTREDL_SET_TMPL_TEXT 14 +#define STR_AUTOFMTREDL_SET_TMPL_INDENT 15 +#define STR_AUTOFMTREDL_SET_TMPL_NEG_INDENT 16 +#define STR_AUTOFMTREDL_SET_TMPL_TEXT_INDENT 17 +#define STR_AUTOFMTREDL_SET_TMPL_HEADLINE 18 +#define STR_AUTOFMTREDL_SET_NUMBULET 19 +#define STR_AUTOFMTREDL_DEL_MORELINES 20 #define STR_AUTOFMTREDL_NON_BREAK_SPACE 21 // !!!!!!!!!!!!!!!!!!!!!!!!!! das Ende immer richtig setzen !!!!!!!!!!!! -#define STR_AUTOFMTREDL_END 22 +#define STR_AUTOFMTREDL_END 22 #endif diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 767b32abacd4..1e06d5f850e9 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/crsskip.hxx b/sw/inc/crsskip.hxx index 0066b28e2aca..a4150ece1a1f 100644 --- a/sw/inc/crsskip.hxx +++ b/sw/inc/crsskip.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -36,8 +36,8 @@ // the same, but in complex text cell skip over legatures and char skip // into it. // These defines exist only to cut off the dependicies to I18N project. -const USHORT CRSR_SKIP_CHARS = 0; -const USHORT CRSR_SKIP_CELLS = 1; +const USHORT CRSR_SKIP_CHARS = 0; +const USHORT CRSR_SKIP_CELLS = 1; const USHORT CRSR_SKIP_HIDDEN = 2; #endif diff --git a/sw/inc/crstate.hxx b/sw/inc/crstate.hxx index e3710a39c7df..f7ae36388e1a 100644 --- a/sw/inc/crstate.hxx +++ b/sw/inc/crstate.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -36,21 +36,21 @@ enum SwFillMode { - FILL_TAB, // default, Auffuellen mit Tabulatoren - FILL_SPACE, // ... mit Tabulatoren und Spaces - FILL_MARGIN, // nur links, zentriert, rechts Ausrichten + FILL_TAB, // default, Auffuellen mit Tabulatoren + FILL_SPACE, // ... mit Tabulatoren und Spaces + FILL_MARGIN, // nur links, zentriert, rechts Ausrichten FILL_INDENT // durch linken Absatzeinzug }; struct SwFillCrsrPos { - SwRect aCrsr; // Position und Groesse des Shadowcursors - USHORT nParaCnt; // Anzahl der einzufuegenden Absaetze - USHORT nTabCnt; // Anzahl der Tabs bzw. Groesse des Einzugs - USHORT nSpaceCnt; // Anzahl der einzufuegenden Leerzeichen - USHORT nColumnCnt; // Anzahl der notwendigen Spaltenumbrueche + SwRect aCrsr; // Position und Groesse des Shadowcursors + USHORT nParaCnt; // Anzahl der einzufuegenden Absaetze + USHORT nTabCnt; // Anzahl der Tabs bzw. Groesse des Einzugs + USHORT nSpaceCnt; // Anzahl der einzufuegenden Leerzeichen + USHORT nColumnCnt; // Anzahl der notwendigen Spaltenumbrueche sal_Int16 eOrient; // Absatzausrichtung - SwFillMode eMode; // Gewuenschte Auffuellregel + SwFillMode eMode; // Gewuenschte Auffuellregel SwFillCrsrPos( SwFillMode eMd = FILL_TAB ) : nParaCnt( 0 ), nTabCnt( 0 ), nSpaceCnt( 0 ), nColumnCnt( 0 ), eOrient( com::sun::star::text::HoriOrientation::NONE ), eMode( eMd ) @@ -67,7 +67,7 @@ struct SwFillCrsrPos struct Sw2LinesPos { - SwRect aLine; // Position and size of the line + SwRect aLine; // Position and size of the line SwRect aPortion; // Position and size of the multi portion SwRect aPortion2; // needed for nested multi portions BYTE nMultiType; // Multiportion type @@ -123,35 +123,35 @@ struct SwSpecialPos // CrsrTravelling-Staties (fuer GetCrsrOfst) enum CrsrMoveState { - MV_NONE, // default - MV_UPDOWN, // Crsr Up/Down - MV_RIGHTMARGIN, // an rechten Rand - MV_LEFTMARGIN, // an linken Rand - MV_SETONLYTEXT, // mit dem Cursr nur im Text bleiben - MV_TBLSEL // nicht in wiederholte Headlines + MV_NONE, // default + MV_UPDOWN, // Crsr Up/Down + MV_RIGHTMARGIN, // an rechten Rand + MV_LEFTMARGIN, // an linken Rand + MV_SETONLYTEXT, // mit dem Cursr nur im Text bleiben + MV_TBLSEL // nicht in wiederholte Headlines }; // struct fuer spaetere Erweiterungen struct SwCrsrMoveState { - SwFillCrsrPos *pFill; // fuer das automatische Auffuellen mit Tabs etc. - Sw2LinesPos *p2Lines; // for selections inside/around 2line portions + SwFillCrsrPos *pFill; // fuer das automatische Auffuellen mit Tabs etc. + Sw2LinesPos *p2Lines; // for selections inside/around 2line portions SwSpecialPos* pSpecialPos; // for positions inside fields - Point aRealHeight; // enthaelt dann die Position/Hoehe des Cursors + Point aRealHeight; // enthaelt dann die Position/Hoehe des Cursors CrsrMoveState eState; BYTE nCursorBidiLevel; - BOOL bStop :1; - BOOL bRealHeight :1; // Soll die reale Hoehe berechnet werden? - BOOL bFieldInfo :1; // Sollen Felder erkannt werden? - BOOL bPosCorr :1; // Point musste korrigiert werden - BOOL bFtnNoInfo :1; // Fussnotennumerierung erkannt - BOOL bExactOnly :1; // GetCrsrOfst nur nach Exakten Treffern + BOOL bStop :1; + BOOL bRealHeight :1; // Soll die reale Hoehe berechnet werden? + BOOL bFieldInfo :1; // Sollen Felder erkannt werden? + BOOL bPosCorr :1; // Point musste korrigiert werden + BOOL bFtnNoInfo :1; // Fussnotennumerierung erkannt + BOOL bExactOnly :1; // GetCrsrOfst nur nach Exakten Treffern // suchen lassen, sprich niemals in das // GetCntntPos laufen. - BOOL bFillRet :1; // wird nur im FillModus temp. genutzt - BOOL bSetInReadOnly :1; // ReadOnlyBereiche duerfen betreten werden - BOOL bRealWidth :1; // Calculation of the width required - BOOL b2Lines :1; // Check 2line portions and fill p2Lines + BOOL bFillRet :1; // wird nur im FillModus temp. genutzt + BOOL bSetInReadOnly :1; // ReadOnlyBereiche duerfen betreten werden + BOOL bRealWidth :1; // Calculation of the width required + BOOL b2Lines :1; // Check 2line portions and fill p2Lines BOOL bNoScroll :1; // No scrolling of undersized textframes BOOL bPosMatchesBounds :1; // GetCrsrOfst should not return the next // position if screen position is inside second diff --git a/sw/inc/cshtyp.hxx b/sw/inc/cshtyp.hxx index 317390629aa7..bdadb2966fcf 100644 --- a/sw/inc/cshtyp.hxx +++ b/sw/inc/cshtyp.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -72,7 +72,7 @@ typedef SwCntntFrm * (*SwPosColumn)( const SwLayoutFrm * ); extern SwWhichColumn fnColumnPrev, fnColumnCurr, fnColumnNext; extern SwPosColumn fnColumnStart, fnColumnEnd; -// Richtungsparameter fuer MoveRegion (Bereiche!) +// Richtungsparameter fuer MoveRegion (Bereiche!) typedef SwMoveFnCollection* SwPosRegion; typedef BOOL (*SwWhichRegion)( SwPaM&, SwPosRegion, BOOL bInReadOnly ); extern SwWhichRegion fnRegionPrev, fnRegionCurr, fnRegionNext, fnRegionCurrAndSkip; @@ -82,20 +82,20 @@ extern SwPosRegion fnRegionStart, fnRegionEnd; /* * folgende Kombinationen sind erlaubt: - * - suche einen im Body: -> FND_IN_BODY - * - suche alle im Body: -> FND_IN_BODYONLY | FND_IN_SELALL + * - suche einen im Body: -> FND_IN_BODY + * - suche alle im Body: -> FND_IN_BODYONLY | FND_IN_SELALL * - suche in Selectionen: einen / alle -> FND_IN_SEL [ | FND_IN_SELALL ] * - suche im nicht Body: einen / alle -> FND_IN_OTHER [ | FND_IN_SELALL ] - * - suche ueberall alle: -> FND_IN_SELALL + * - suche ueberall alle: -> FND_IN_SELALL */ enum FindRanges { FND_IN_BODY = 0x00, // suche "eins" mur im Body-Text FND_IN_OTHER = 0x02, // suche "alles" in Footer/Header/Fly... FND_IN_SEL = 0x04, // suche in Selectionen - FND_IN_BODYONLY = 0x08, // suche nur im Body - nur in Verbindung mit + FND_IN_BODYONLY = 0x08, // suche nur im Body - nur in Verbindung mit // FND_IN_SELALL !!! - FND_IN_SELALL = 0x01 // - alle ( nur im nicht Body und Selectionen) + FND_IN_SELALL = 0x01 // - alle ( nur im nicht Body und Selectionen) }; @@ -117,6 +117,6 @@ SW_DLLPUBLIC SwWhichTable GetfnTableCurr(); SW_DLLPUBLIC SwPosTable GetfnTableStart(); SW_DLLPUBLIC SwPosTable GetfnTableEnd(); -#endif // _CSHTYP_HXX +#endif // _CSHTYP_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/dbfld.hxx b/sw/inc/dbfld.hxx index 7cc143514541..760952a2a4aa 100644 --- a/sw/inc/dbfld.hxx +++ b/sw/inc/dbfld.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -42,10 +42,10 @@ class SwFrm; class SW_DLLPUBLIC SwDBFieldType : public SwValueFieldType { - SwDBData aDBData; // - String sName; // only used in ::GetName() ! - String sColumn; - long nRefCnt; + SwDBData aDBData; // + String sName; // only used in ::GetName() ! + String sColumn; + long nRefCnt; public: @@ -55,11 +55,11 @@ public: virtual const String& GetName() const; virtual SwFieldType* Copy() const; - inline void AddRef() { nRefCnt++; } - void ReleaseRef(); + inline void AddRef() { nRefCnt++; } + void ReleaseRef(); - const String& GetColumnName() const {return sColumn;} - const SwDBData& GetDBData() const {return aDBData;} + const String& GetColumnName() const {return sColumn;} + const SwDBData& GetDBData() const {return aDBData;} virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); @@ -75,44 +75,44 @@ class SW_DLLPUBLIC SwDBField : public SwValueField { String aContent; String sFieldCode; // contains Word's field code - USHORT nSubType; - BOOL bIsInBodyTxt : 1; - BOOL bValidValue : 1; - BOOL bInitialized : 1; + USHORT nSubType; + BOOL bIsInBodyTxt : 1; + BOOL bValidValue : 1; + BOOL bInitialized : 1; public: SwDBField(SwDBFieldType*, ULONG nFmt = 0); virtual ~SwDBField(); - virtual SwFieldType* ChgTyp( SwFieldType* ); + virtual SwFieldType* ChgTyp( SwFieldType* ); // Der aktuelle Text - inline void SetExpansion(const String& rStr); - virtual String Expand() const; - virtual SwField* Copy() const; + inline void SetExpansion(const String& rStr); + virtual String Expand() const; + virtual SwField* Copy() const; - virtual USHORT GetSubType() const; - virtual void SetSubType(USHORT nType); + virtual USHORT GetSubType() const; + virtual void SetSubType(USHORT nType); // Name oder Inhalt - virtual String GetCntnt(BOOL bName = FALSE) const; + virtual String GetCntnt(BOOL bName = FALSE) const; // fuer Berechnungen in Ausdruecken - void ChgValue( double d, BOOL bVal ); + void ChgValue( double d, BOOL bVal ); // Evaluierung ueber den DBMgr String rauspulen - void Evaluate(); + void Evaluate(); // Evaluierung fuer Kopf und Fusszeilen - void ChangeExpansion( const SwFrm*, const SwTxtFld* ); - void InitContent(); - void InitContent(const String& rExpansion); + void ChangeExpansion( const SwFrm*, const SwTxtFld* ); + void InitContent(); + void InitContent(const String& rExpansion); - inline void ChgBodyTxtFlag( BOOL bIsInBody ); + inline void ChgBodyTxtFlag( BOOL bIsInBody ); - inline BOOL IsInitialized() const { return bInitialized; } - inline void ClearInitialized() { bInitialized = FALSE; } - inline void SetInitialized() { bInitialized = TRUE; } + inline BOOL IsInitialized() const { return bInitialized; } + inline void ClearInitialized() { bInitialized = FALSE; } + inline void SetInitialized() { bInitialized = TRUE; } // Name erfragen virtual const String& GetPar1() const; @@ -124,7 +124,7 @@ public: { sFieldCode = rStr; } // DBName - inline const SwDBData& GetDBData() const { return ((SwDBFieldType*)GetTyp())->GetDBData(); } + inline const SwDBData& GetDBData() const { return ((SwDBFieldType*)GetTyp())->GetDBData(); } virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); }; @@ -142,24 +142,24 @@ inline void SwDBField::ChgBodyTxtFlag( BOOL bIsInBody ) class SW_DLLPUBLIC SwDBNameInfField : public SwField { - SwDBData aDBData; + SwDBData aDBData; USHORT nSubType; protected: const SwDBData& GetDBData() const {return aDBData;} - SwDBData& GetDBData() {return aDBData;} + SwDBData& GetDBData() {return aDBData;} SwDBNameInfField(SwFieldType* pTyp, const SwDBData& rDBData, ULONG nFmt = 0); public: // DBName - inline const SwDBData& GetRealDBData() { return aDBData; } + inline const SwDBData& GetRealDBData() { return aDBData; } - SwDBData GetDBData(SwDoc* pDoc); - void SetDBData(const SwDBData& rDBData); // #111840# + SwDBData GetDBData(SwDoc* pDoc); + void SetDBData(const SwDBData& rDBData); // #111840# // Name oder Inhalt - virtual String GetCntnt(BOOL bName = FALSE) const; + virtual String GetCntnt(BOOL bName = FALSE) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); virtual USHORT GetSubType() const; @@ -176,7 +176,7 @@ class SW_DLLPUBLIC SwDBNextSetFieldType : public SwFieldType public: SwDBNextSetFieldType(); - virtual SwFieldType* Copy() const; + virtual SwFieldType* Copy() const; }; @@ -186,31 +186,31 @@ public: class SW_DLLPUBLIC SwDBNextSetField : public SwDBNameInfField { - String aCond; - BOOL bCondValid; + String aCond; + BOOL bCondValid; public: SwDBNextSetField( SwDBNextSetFieldType*, const String& rCond, const String& rDummy, const SwDBData& rDBData); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; - void Evaluate(SwDoc*); - inline void SetCondValid(BOOL bCond); - inline BOOL IsCondValid() const; + void Evaluate(SwDoc*); + inline void SetCondValid(BOOL bCond); + inline BOOL IsCondValid() const; // Condition - virtual const String& GetPar1() const; - virtual void SetPar1(const String& rStr); + virtual const String& GetPar1() const; + virtual void SetPar1(const String& rStr); virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); }; -inline BOOL SwDBNextSetField::IsCondValid() const +inline BOOL SwDBNextSetField::IsCondValid() const { return bCondValid; } -inline void SwDBNextSetField::SetCondValid(BOOL bCond) +inline void SwDBNextSetField::SetCondValid(BOOL bCond) { bCondValid = bCond; } /*-------------------------------------------------------------------- @@ -222,7 +222,7 @@ class SwDBNumSetFieldType : public SwFieldType public: SwDBNumSetFieldType(); - virtual SwFieldType* Copy() const; + virtual SwFieldType* Copy() const; }; @@ -234,37 +234,37 @@ public: class SwDBNumSetField : public SwDBNameInfField { - String aCond; - String aPar2; - BOOL bCondValid; + String aCond; + String aPar2; + BOOL bCondValid; public: SwDBNumSetField(SwDBNumSetFieldType*, const String& rCond, const String& rDBNum, const SwDBData& rDBData); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; - inline BOOL IsCondValid() const; - inline void SetCondValid(BOOL bCond); - void Evaluate(SwDoc*); + inline BOOL IsCondValid() const; + inline void SetCondValid(BOOL bCond); + void Evaluate(SwDoc*); // Condition - virtual const String& GetPar1() const; - virtual void SetPar1(const String& rStr); + virtual const String& GetPar1() const; + virtual void SetPar1(const String& rStr); // Datensatznummer - virtual String GetPar2() const; - virtual void SetPar2(const String& rStr); + virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); // Die Datensatznummer steht in nFormat !! virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); }; -inline BOOL SwDBNumSetField::IsCondValid() const +inline BOOL SwDBNumSetField::IsCondValid() const { return bCondValid; } -inline void SwDBNumSetField::SetCondValid(BOOL bCond) +inline void SwDBNumSetField::SetCondValid(BOOL bCond) { bCondValid = bCond; } /*-------------------------------------------------------------------- @@ -277,7 +277,7 @@ class SwDBNameFieldType : public SwFieldType public: SwDBNameFieldType(SwDoc*); - String Expand(ULONG) const; + String Expand(ULONG) const; virtual SwFieldType* Copy() const; }; @@ -290,7 +290,7 @@ class SW_DLLPUBLIC SwDBNameField : public SwDBNameInfField public: SwDBNameField(SwDBNameFieldType*, const SwDBData& rDBData, ULONG nFmt = 0); - virtual String Expand() const; + virtual String Expand() const; virtual SwField* Copy() const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); @@ -314,25 +314,25 @@ public: class SW_DLLPUBLIC SwDBSetNumberField : public SwDBNameInfField { - long nNumber; + long nNumber; public: SwDBSetNumberField(SwDBSetNumberFieldType*, const SwDBData& rDBData, ULONG nFmt = 0); - virtual String Expand() const; - virtual SwField* Copy() const; - void Evaluate(SwDoc*); + virtual String Expand() const; + virtual SwField* Copy() const; + void Evaluate(SwDoc*); - inline long GetSetNumber() const; - inline void SetSetNumber(long nNum); + inline long GetSetNumber() const; + inline void SetSetNumber(long nNum); virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); }; -inline long SwDBSetNumberField::GetSetNumber() const +inline long SwDBSetNumberField::GetSetNumber() const { return nNumber; } -inline void SwDBSetNumberField::SetSetNumber(long nNum) +inline void SwDBSetNumberField::SetSetNumber(long nNum) { nNumber = nNum; } diff --git a/sw/inc/dbgoutsw.hxx b/sw/inc/dbgoutsw.hxx index ce751a65f4d7..299b7c00e29a 100644 --- a/sw/inc/dbgoutsw.hxx +++ b/sw/inc/dbgoutsw.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx index 7ab16cb3ca53..bf4ca268c69d 100644 --- a/sw/inc/dbmgr.hxx +++ b/sw/inc/dbmgr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -87,10 +87,10 @@ class SwMailMergeConfigItem; enum DBMgrOptions { - DBMGR_MERGE, // Datensaetze in Felder - DBMGR_INSERT, // Datensaetze in Text - DBMGR_MERGE_MAILMERGE, // Serienbriefe drucken - DBMGR_MERGE_MAILING, // Serienbriefe als email versenden + DBMGR_MERGE, // Datensaetze in Felder + DBMGR_INSERT, // Datensaetze in Text + DBMGR_MERGE_MAILMERGE, // Serienbriefe drucken + DBMGR_MERGE_MAILING, // Serienbriefe als email versenden DBMGR_MERGE_MAILFILES, // Serienbriefe als Datei(en) speichern DBMGR_MERGE_DOCUMENTS, // Print merged documents DBMGR_MERGE_SINGLE_FILE // save merge as single file @@ -101,19 +101,19 @@ enum DBMgrOptions /*-------------------------------------------------------------------- Beschreibung: (neue) Logische Datenbanken verwalten --------------------------------------------------------------------*/ -#define SW_DB_SELECT_UNKNOWN 0 -#define SW_DB_SELECT_TABLE 1 +#define SW_DB_SELECT_UNKNOWN 0 +#define SW_DB_SELECT_TABLE 1 #define SW_DB_SELECT_QUERY 2 struct SwDSParam : public SwDBData { - com::sun::star::util::Date aNullDate; + com::sun::star::util::Date aNullDate; - ::com::sun::star::uno::Reference<com::sun::star::util::XNumberFormatter> xFormatter; - ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection> xConnection; - ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XStatement> xStatement; - ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet> xResultSet; - ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > aSelection; + ::com::sun::star::uno::Reference<com::sun::star::util::XNumberFormatter> xFormatter; + ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection> xConnection; + ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XStatement> xStatement; + ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet> xResultSet; + ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > aSelection; BOOL bScrollable; BOOL bEndOfDB; BOOL bAfterSelection; @@ -128,8 +128,8 @@ struct SwDSParam : public SwDBData {} SwDSParam(const SwDBData& rData, - const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet>& xResSet, - const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& rSelection) : + const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet>& xResSet, + const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& rSelection) : SwDBData(rData), xResultSet(xResSet), aSelection(rSelection), @@ -200,18 +200,18 @@ friend class SwConnectionDisposedListener_Impl; static SwDbtoolsClient* pDbtoolsClient; String sEMailAddrFld; // Mailing: Spaltenname der E-Mail Adresse - String sSubject; // Mailing: Subject - String sAttached; // Mailing: Attachte Files - USHORT nMergeType; - BOOL bInitDBFields : 1; // TRUE: Datenbank an Feldern beim Mergen + String sSubject; // Mailing: Subject + String sAttached; // Mailing: Attachte Files + USHORT nMergeType; + BOOL bInitDBFields : 1; // TRUE: Datenbank an Feldern beim Mergen BOOL bSingleJobs : 1; // Einzelne Druckjobs bei Aufruf aus Basic - BOOL bCancel : 1; // Serienbrief-Save abgebrochen + BOOL bCancel : 1; // Serienbrief-Save abgebrochen - BOOL bInMerge : 1; //merge process active + BOOL bInMerge : 1; //merge process active BOOL bMergeSilent : 1; // suppress display of dialogs/boxes (used when called over API) BOOL bMergeLock : 1; // prevent update of database fields while document is // actually printed at the ViewShell - SwDSParamArr aDataSourceParams; + SwDSParamArr aDataSourceParams; SwNewDBMgr_Impl* pImpl; const SwXMailMerge* pMergeEvtSrc; // != 0 if mail merge events are to be send @@ -237,8 +237,8 @@ public: ~SwNewDBMgr(); // Art des aktellen Mergens. Siehe DBMgrOptions-enum - inline USHORT GetMergeType() const { return nMergeType; } - inline void SetMergeType( USHORT nTyp ) { nMergeType = nTyp; } + inline USHORT GetMergeType() const { return nMergeType; } + inline void SetMergeType( USHORT nTyp ) { nMergeType = nTyp; } // MailMergeEvent source const SwXMailMerge * GetMailMergeEvtSrc() const { return pMergeEvtSrc; } @@ -252,8 +252,8 @@ public: BOOL Merge(SwWrtShell* pSh); // Datenbankfelder mit fehlendem Datenbankname initialisieren - inline BOOL IsInitDBFields() const { return bInitDBFields; } - inline void SetInitDBFields(BOOL b) { bInitDBFields = b; } + inline BOOL IsInitDBFields() const { return bInitDBFields; } + inline void SetInitDBFields(BOOL b) { bInitDBFields = b; } // Serienbriefe einzelnd oder alle zusammen drucken/speichern inline BOOL IsSingleJobs() const { return bSingleJobs; } @@ -261,16 +261,16 @@ public: // Mailing // email-Daten setzen - inline void SetEMailColumn(const String& sColName) { sEMailAddrFld = sColName; } - inline void SetSubject(const String& sSbj) { sSubject = sSbj; } - inline void SetAttachment(const String& sAtt) { sAttached = sAtt; } + inline void SetEMailColumn(const String& sColName) { sEMailAddrFld = sColName; } + inline void SetSubject(const String& sSbj) { sSubject = sSbj; } + inline void SetAttachment(const String& sAtt) { sAttached = sAtt; } // Listbox mit allen Tabellennamen einer Datenbank fuellen - BOOL GetTableNames(ListBox* pListBox, const String& rDBName ); + BOOL GetTableNames(ListBox* pListBox, const String& rDBName ); // Listbox mit allen Spaltennamen einer Datenbanktabelle fuellen - BOOL GetColumnNames(ListBox* pListBox, + BOOL GetColumnNames(ListBox* pListBox, const String& rDBName, const String& rTableName, BOOL bAppend = FALSE); BOOL GetColumnNames(ListBox* pListBox, ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection> xConnection, @@ -291,14 +291,14 @@ public: const String& rTableName, const String& rColNm ); - inline BOOL IsInMerge() const { return bInMerge; } - void EndMerge(); + inline BOOL IsInMerge() const { return bInMerge; } + void EndMerge(); - void ExecuteFormLetter(SwWrtShell& rSh, + void ExecuteFormLetter(SwWrtShell& rSh, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& rProperties, BOOL bWithDataSourceBrowser = FALSE); - void InsertText(SwWrtShell& rSh, + void InsertText(SwWrtShell& rSh, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& rProperties); // check if a data source is open @@ -309,7 +309,7 @@ public: BOOL OpenDataSource(const String& rDataSource, const String& rTableOrQuery, sal_Int32 nCommandType = -1, bool bCreate = false); sal_uInt32 GetSelectedRecordId(const String& rDataSource, const String& rTableOrQuery, sal_Int32 nCommandType = -1); - BOOL GetColumnCnt(const String& rSourceName, const String& rTableName, + BOOL GetColumnCnt(const String& rSourceName, const String& rTableName, const String& rColumnName, sal_uInt32 nAbsRecordId, long nLanguage, String& rResult, double* pNumber); //create and store or find an already stored connection to a data source for use @@ -323,18 +323,18 @@ public: //close all data sources - after fields were updated - void CloseAll(BOOL bIncludingMerge = TRUE); + void CloseAll(BOOL bIncludingMerge = TRUE); - BOOL GetMergeColumnCnt(const String& rColumnName, USHORT nLanguage, + BOOL GetMergeColumnCnt(const String& rColumnName, USHORT nLanguage, String &rResult, double *pNumber, sal_uInt32 *pFormat); - BOOL ToNextMergeRecord(); + BOOL ToNextMergeRecord(); BOOL ToNextRecord(const String& rDataSource, const String& rTableOrQuery, sal_Int32 nCommandType = -1); - BOOL ExistsNextRecord()const; - sal_uInt32 GetSelectedRecordId(); - sal_Bool ToRecordId(sal_Int32 nSet); + BOOL ExistsNextRecord()const; + sal_uInt32 GetSelectedRecordId(); + sal_Bool ToRecordId(sal_Int32 nSet); - const SwDBData& GetAddressDBName(); + const SwDBData& GetAddressDBName(); static String GetDBField( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > xColumnProp, @@ -348,7 +348,7 @@ public: static ::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XColumnsSupplier> GetColumnSupplier(::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>, const String& rTableOrQuery, - BYTE eTableOrQuery = SW_DB_SELECT_UNKNOWN); + BYTE eTableOrQuery = SW_DB_SELECT_UNKNOWN); static ::com::sun::star::uno::Sequence<rtl::OUString> GetExistingDatabaseNames(); @@ -374,20 +374,20 @@ public: getDataSourceAsParent(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection,const ::rtl::OUString& _sDataSourceName); /** creates a RowSet, which must be disposed after use. - @param _sDataSourceName + @param _sDataSourceName The data source name - @param _sCommand + @param _sCommand The command. - @param _nCommandType + @param _nCommandType The type of the command. - @param _xConnection + @param _xConnection The active connection which may be <NULL/>. @return The new created RowSet. */ static ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet> - createCursor( const ::rtl::OUString& _sDataSourceName, + createCursor( const ::rtl::OUString& _sDataSourceName, const ::rtl::OUString& _sCommand, sal_Int32 _nCommandType, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection diff --git a/sw/inc/dbui.hrc b/sw/inc/dbui.hrc index e7feeb92e69a..3e086c1fc65a 100644 --- a/sw/inc/dbui.hrc +++ b/sw/inc/dbui.hrc @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -32,9 +32,9 @@ // Dialoge -------------------------------------------------------------------- -#define DLG_DBSELECTION (RC_DBUI_BEGIN) -#define DLG_PRINTMONITOR (RC_DBUI_BEGIN + 1) -#define DLG_AP_INSERT_DB_SEL (RC_DBUI_BEGIN + 2) +#define DLG_DBSELECTION (RC_DBUI_BEGIN) +#define DLG_PRINTMONITOR (RC_DBUI_BEGIN + 1) +#define DLG_AP_INSERT_DB_SEL (RC_DBUI_BEGIN + 2) #define DLG_MAILMERGEWIZARD (RC_DBUI_BEGIN + 3) #define DLG_MM_DOCSELECT_PAGE (RC_DBUI_BEGIN + 4) @@ -66,7 +66,7 @@ #define DLG_MM_CREATIONMONITOR (RC_DBUI_BEGIN + 30) // Strings ------------------------------------------------------------------ -#define STR_DB_EMAIL (RC_DBUI_BEGIN) +#define STR_DB_EMAIL (RC_DBUI_BEGIN) #define SA_ADDRESS_HEADER (RC_DBUI_BEGIN + 1) #define STR_NOTASSIGNED (RC_DBUI_BEGIN + 2) #define STR_FILTER_ALL (RC_DBUI_BEGIN + 3) @@ -85,22 +85,22 @@ // Elemente ----------------------------------------------------------------- -#define TLB_DBLIST 1 -#define BTN_OK 2 -#define BTN_CANCEL 3 -#define BTN_HELP 4 - -#define FT_DOCNAME 5 -#define FT_PRINTING 6 -#define FT_PRINTER 7 -#define FT_PRINTINFO 8 -#define PB_CANCELPRNMON 9 -#define FT_SENDING 10 -#define STR_EMAILMON 11 -#define FT_STATUS 12 +#define TLB_DBLIST 1 +#define BTN_OK 2 +#define BTN_CANCEL 3 +#define BTN_HELP 4 + +#define FT_DOCNAME 5 +#define FT_PRINTING 6 +#define FT_PRINTER 7 +#define FT_PRINTINFO 8 +#define PB_CANCELPRNMON 9 +#define FT_SENDING 10 +#define STR_EMAILMON 11 +#define FT_STATUS 12 #define FT_CREATEDOCUMENTS 13 -#define FT_PROGRESS 14 -#define FT_COUNTING 15 +#define FT_PROGRESS 14 +#define FT_COUNTING 15 #define STR_SAVEMON 16 #define FT_SAVING 17 diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx index 05e2c17bde70..2547b1631bf2 100644 --- a/sw/inc/dcontact.hxx +++ b/sw/inc/dcontact.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -26,7 +26,7 @@ * ************************************************************************/ #ifndef _DCONTACT_HXX -#define _DCONTACT_HXX +#define _DCONTACT_HXX #include <svx/svdobj.hxx> // OD 14.05.2003 #108784# @@ -67,7 +67,7 @@ class SwIndex; //Implementierung in dcontact.cxx SW_DLLPUBLIC SwFrmFmt *FindFrmFmt( SdrObject *pObj ); inline const SwFrmFmt *FindFrmFmt( const SdrObject *pObj ) -{ return ::FindFrmFmt( (SdrObject*)pObj ); } +{ return ::FindFrmFmt( (SdrObject*)pObj ); } sal_Bool HasWrap( const SdrObject* pObj ); void setContextWritingMode( SdrObject* pObj, SwFrm* pAnchor ); @@ -144,8 +144,8 @@ public: virtual SdrObject *GetMaster() = 0; virtual void SetMaster( SdrObject* _pNewMaster ) = 0; - SwFrmFmt *GetFmt(){ return (SwFrmFmt*)GetRegisteredIn(); } - const SwFrmFmt *GetFmt() const + SwFrmFmt *GetFmt(){ return (SwFrmFmt*)GetRegisteredIn(); } + const SwFrmFmt *GetFmt() const { return (const SwFrmFmt*)GetRegisteredIn(); } // OD 05.09.2003 #112039# - accessor for member <mbInDTOR> @@ -302,7 +302,7 @@ class SwDrawVirtObj : public SdrVirtObj SwDrawContact& mrDrawContact; using SdrVirtObj::GetPlusHdl; - + protected: // AW: Need own sdr::contact::ViewContact since AnchorPos from parent is // not used but something own (top left of new SnapRect minus top left diff --git a/sw/inc/ddefld.hxx b/sw/inc/ddefld.hxx index 631791749a85..d1e68cc7d0e9 100644 --- a/sw/inc/ddefld.hxx +++ b/sw/inc/ddefld.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -57,8 +57,8 @@ public: USHORT = sfx2::LINKUPDATE_ONCALL ); ~SwDDEFieldType(); - const String& GetExpansion() const { return aExpansion; } - void SetExpansion( const String& rStr ) { aExpansion = rStr, + const String& GetExpansion() const { return aExpansion; } + void SetExpansion( const String& rStr ) { aExpansion = rStr, bCRLFFlag = FALSE; } virtual SwFieldType* Copy() const; @@ -70,26 +70,26 @@ public: String GetCmd() const; void SetCmd( const String& rStr ); - USHORT GetType() const { return refLink->GetUpdateMode(); } - void SetType( USHORT nType ) { refLink->SetUpdateMode( nType ); } + USHORT GetType() const { return refLink->GetUpdateMode(); } + void SetType( USHORT nType ) { refLink->SetUpdateMode( nType ); } - BOOL IsDeleted() const { return bDeleted; } - void SetDeleted( BOOL b ) { bDeleted = b; } + BOOL IsDeleted() const { return bDeleted; } + void SetDeleted( BOOL b ) { bDeleted = b; } void UpdateNow() { refLink->Update(); } - void Disconnect() { refLink->Disconnect(); } + void Disconnect() { refLink->Disconnect(); } const ::sfx2::SvBaseLink& GetBaseLink() const { return *refLink; } ::sfx2::SvBaseLink& GetBaseLink() { return *refLink; } - const SwDoc* GetDoc() const { return pDoc; } - SwDoc* GetDoc() { return pDoc; } + const SwDoc* GetDoc() const { return pDoc; } + SwDoc* GetDoc() { return pDoc; } void SetDoc( SwDoc* pDoc ); - void IncRefCnt() { if( !nRefCnt++ && pDoc ) _RefCntChgd(); } - void DecRefCnt() { if( !--nRefCnt && pDoc ) _RefCntChgd(); } + void IncRefCnt() { if( !nRefCnt++ && pDoc ) _RefCntChgd(); } + void DecRefCnt() { if( !--nRefCnt && pDoc ) _RefCntChgd(); } - void SetCRLFDelFlag( BOOL bFlag = TRUE ) { bCRLFFlag = bFlag; } + void SetCRLFDelFlag( BOOL bFlag = TRUE ) { bCRLFFlag = bFlag; } }; /*-------------------------------------------------------------------- @@ -102,7 +102,7 @@ public: SwDDEField(SwDDEFieldType*); ~SwDDEField(); - virtual String Expand() const; + virtual String Expand() const; virtual SwField* Copy() const; // ueber Typen Parameter ermitteln @@ -110,8 +110,8 @@ public: virtual const String& GetPar1() const; // Commando - virtual String GetPar2() const; - virtual void SetPar2(const String& rStr); + virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); }; diff --git a/sw/inc/dialog.hrc b/sw/inc/dialog.hrc index f630cf9d7c41..8d3c82776c16 100644 --- a/sw/inc/dialog.hrc +++ b/sw/inc/dialog.hrc @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,7 +39,7 @@ #define DLG_LINKS (RC_DIALOG_BEGIN + 6) #define DLG_LINKEDIT (RC_DIALOG_BEGIN + 7) #define DLG_INSERT_ABSTRACT (RC_DIALOG_BEGIN + 8) -#define DLG_ASCII_FILTER (RC_DIALOG_BEGIN + 9) +#define DLG_ASCII_FILTER (RC_DIALOG_BEGIN + 9) #define DLG_WORDCOUNT (RC_DIALOG_BEGIN + 10) #define RID_QB_SPELL_CONTINUE (RC_DIALOG_BEGIN + 11) #define STR_SPELLING_COMPLETED (RC_DIALOG_BEGIN + 12) @@ -63,18 +63,18 @@ // Bereiche ***************************************************************** -#define RC_REGIONSW_BEGIN (RC_DIALOG_BEGIN + 60) -#define RC_REGIONSW_END (RC_DIALOG_BEGIN + 79) +#define RC_REGIONSW_BEGIN (RC_DIALOG_BEGIN + 60) +#define RC_REGIONSW_END (RC_DIALOG_BEGIN + 79) -#define RC_MACASSGN_BEGIN (RC_DIALOG_BEGIN + 80) -#define RC_MACASSGN_END (RC_DIALOG_BEGIN + 89) +#define RC_MACASSGN_BEGIN (RC_DIALOG_BEGIN + 80) +#define RC_MACASSGN_END (RC_DIALOG_BEGIN + 89) -#define RC_DLG_ADDR (RC_DIALOG_BEGIN + 90) -#define RC_SWDLG_BACKGROUND (RC_DIALOG_BEGIN + 91) -#define RC_DLG_SWNUMFMTDLG (RC_DIALOG_BEGIN + 92) -#define RC_DLG_SWBORDERDLG (RC_DIALOG_BEGIN + 93) -#define RC_DLG_SWWRAPDLG (RC_DIALOG_BEGIN + 94) -#define RC_DLG_SWFLDEDITDLG (RC_DIALOG_BEGIN + 95) +#define RC_DLG_ADDR (RC_DIALOG_BEGIN + 90) +#define RC_SWDLG_BACKGROUND (RC_DIALOG_BEGIN + 91) +#define RC_DLG_SWNUMFMTDLG (RC_DIALOG_BEGIN + 92) +#define RC_DLG_SWBORDERDLG (RC_DIALOG_BEGIN + 93) +#define RC_DLG_SWWRAPDLG (RC_DIALOG_BEGIN + 94) +#define RC_DLG_SWFLDEDITDLG (RC_DIALOG_BEGIN + 95) // Ueberlaufpruefung ******************************************************** #define DIALOG_ACT_END RC_MACASSGN_END diff --git a/sw/inc/dlelstnr.hxx b/sw/inc/dlelstnr.hxx index c60f6e7040bf..6e597d04c85e 100644 --- a/sw/inc/dlelstnr.hxx +++ b/sw/inc/dlelstnr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -34,7 +34,7 @@ #include <com/sun/star/linguistic2/XLinguServiceEventListener.hpp> #include <com/sun/star/frame/XTerminateListener.hpp> #include <com/sun/star/frame/XDesktop.hpp> -#include <cppuhelper/implbase2.hxx> // helper for implementations +#include <cppuhelper/implbase2.hxx> // helper for implementations namespace com { namespace sun { namespace star { @@ -55,7 +55,7 @@ namespace com { namespace sun { namespace star { // dictionaries of the dictionary list, or properties) were made. // -class SwLinguServiceEventListener : +class SwLinguServiceEventListener : public cppu::WeakImplHelper2 < com::sun::star::linguistic2::XLinguServiceEventListener, @@ -64,10 +64,10 @@ class SwLinguServiceEventListener : { com::sun::star::uno::Reference< com::sun::star::frame::XDesktop > xDesktop; - com::sun::star::uno::Reference< + com::sun::star::uno::Reference< com::sun::star::linguistic2::XLinguServiceManager > xLngSvcMgr; - com::sun::star::uno::Reference< - com::sun::star::linguistic2::XProofreadingIterator > xGCIterator; + com::sun::star::uno::Reference< + com::sun::star::linguistic2::XProofreadingIterator > xGCIterator; // disallow use of copy-constructor and assignment operator SwLinguServiceEventListener(const SwLinguServiceEventListener &); diff --git a/sw/inc/dobjfac.hxx b/sw/inc/dobjfac.hxx index 02078a05b624..421d8eba30c8 100644 --- a/sw/inc/dobjfac.hxx +++ b/sw/inc/dobjfac.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 750673d532ce..bc0f6e5fae73 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -67,7 +67,7 @@ class SwList; #include <swtypes.hxx> #include <ndarr.hxx> #include <swatrset.hxx> -#include <toxe.hxx> // enums +#include <toxe.hxx> // enums #include <flyenum.hxx> #include <itabenum.hxx> #include <swdbdata.hxx> @@ -291,20 +291,20 @@ class SW_DLLPUBLIC SwDoc : // ------------------------------------------------------------------- // die Objecte - SwNodes aNodes; // Inhalt des Dokumentes - SwNodes aUndoNodes; // Inhalt fuer das Undo - SwAttrPool* mpAttrPool; // der Attribut Pool - SwPageDescs aPageDescs; // PageDescriptoren - Link aOle2Link; // OLE 2.0-Benachrichtigung + SwNodes aNodes; // Inhalt des Dokumentes + SwNodes aUndoNodes; // Inhalt fuer das Undo + SwAttrPool* mpAttrPool; // der Attribut Pool + SwPageDescs aPageDescs; // PageDescriptoren + Link aOle2Link; // OLE 2.0-Benachrichtigung /* @@@MAINTAINABILITY-HORROR@@@ Timer should not be members of the model */ Timer aIdleTimer; // der eigene IdleTimer - Timer aOLEModifiedTimer; // Timer for update modified OLE-Objecs - SwDBData aDBData; // database descriptor + Timer aOLEModifiedTimer; // Timer for update modified OLE-Objecs + SwDBData aDBData; // database descriptor ::com::sun::star::uno::Sequence <sal_Int8 > aRedlinePasswd; - String sTOIAutoMarkURL; // ::com::sun::star::util::URL of table of index AutoMark file - SvStringsDtor aPatternNms; // Array fuer die Namen der Dokument-Vorlagen + String sTOIAutoMarkURL; // ::com::sun::star::util::URL of table of index AutoMark file + SvStringsDtor aPatternNms; // Array fuer die Namen der Dokument-Vorlagen com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> xXForms; // container with XForms models mutable com::sun::star::uno::Reference< com::sun::star::linguistic2::XProofreadingIterator > m_xGCIterator; @@ -315,60 +315,60 @@ class SW_DLLPUBLIC SwDoc : // ------------------------------------------------------------------- // die Pointer //Defaultformate - SwFrmFmt *pDfltFrmFmt; - SwFrmFmt *pEmptyPageFmt; // Format fuer die Default-Leerseite. - SwFrmFmt *pColumnContFmt; // Format fuer Spaltencontainer - SwCharFmt *pDfltCharFmt; - SwTxtFmtColl *pDfltTxtFmtColl; // Defaultformatcollections - SwGrfFmtColl *pDfltGrfFmtColl; - - SwFrmFmts *pFrmFmtTbl; // Formattabellen - SwCharFmts *pCharFmtTbl; - SwSpzFrmFmts *pSpzFrmFmtTbl; - SwSectionFmts *pSectionFmtTbl; - SwFrmFmts *pTblFrmFmtTbl; // spz. fuer Tabellen - SwTxtFmtColls *pTxtFmtCollTbl; // FormatCollections - SwGrfFmtColls *pGrfFmtCollTbl; - - SwTOXTypes *pTOXTypes; // Verzeichnisse - SwDefTOXBase_Impl * pDefTOXBases; // defaults of SwTOXBase's - - SwRootFrm *pLayout; // Rootframe des spezifischen Layouts. - SdrModel *pDrawModel; // StarView Drawing - - SwUndos *pUndos; // Undo/Redo History - - SwDocUpdtFld *pUpdtFlds; // Struktur zum Field-Update - SwFldTypes *pFldTypes; // Feldtypen - SwNewDBMgr *pNewDBMgr; // Pointer auf den neuen DBMgr fuer + SwFrmFmt *pDfltFrmFmt; + SwFrmFmt *pEmptyPageFmt; // Format fuer die Default-Leerseite. + SwFrmFmt *pColumnContFmt; // Format fuer Spaltencontainer + SwCharFmt *pDfltCharFmt; + SwTxtFmtColl *pDfltTxtFmtColl; // Defaultformatcollections + SwGrfFmtColl *pDfltGrfFmtColl; + + SwFrmFmts *pFrmFmtTbl; // Formattabellen + SwCharFmts *pCharFmtTbl; + SwSpzFrmFmts *pSpzFrmFmtTbl; + SwSectionFmts *pSectionFmtTbl; + SwFrmFmts *pTblFrmFmtTbl; // spz. fuer Tabellen + SwTxtFmtColls *pTxtFmtCollTbl; // FormatCollections + SwGrfFmtColls *pGrfFmtCollTbl; + + SwTOXTypes *pTOXTypes; // Verzeichnisse + SwDefTOXBase_Impl * pDefTOXBases; // defaults of SwTOXBase's + + SwRootFrm *pLayout; // Rootframe des spezifischen Layouts. + SdrModel *pDrawModel; // StarView Drawing + + SwUndos *pUndos; // Undo/Redo History + + SwDocUpdtFld *pUpdtFlds; // Struktur zum Field-Update + SwFldTypes *pFldTypes; // Feldtypen + SwNewDBMgr *pNewDBMgr; // Pointer auf den neuen DBMgr fuer // Evaluierung der DB-Fields VirtualDevice *pVirDev; // can be used for formatting SfxPrinter *pPrt; // can be used for formatting SwPrintData *pPrtData; // Print configuration - SwDoc *pGlossaryDoc; // Pointer auf das Glossary-Dokument. Dieses + SwDoc *pGlossaryDoc; // Pointer auf das Glossary-Dokument. Dieses - SwNumRule *pOutlineRule; - SwFtnInfo *pFtnInfo; - SwEndNoteInfo *pEndNoteInfo; + SwNumRule *pOutlineRule; + SwFtnInfo *pFtnInfo; + SwEndNoteInfo *pEndNoteInfo; SwLineNumberInfo*pLineNumberInfo; - SwFtnIdxs *pFtnIdxs; - SwDocStat *pDocStat; // Statistic Informationen - SvxMacroTableDtor *pMacroTable; // Tabelle der dokumentglobalen Macros + SwFtnIdxs *pFtnIdxs; + SwDocStat *pDocStat; // Statistic Informationen + SvxMacroTableDtor *pMacroTable; // Tabelle der dokumentglobalen Macros - SwDocShell *pDocShell; // Ptr auf die SfxDocShell vom Doc + SwDocShell *pDocShell; // Ptr auf die SfxDocShell vom Doc SfxObjectShellRef* pDocShRef; // fuers Kopieren von OLE-Nodes (wenn keine // DocShell gesetzt ist, muss dieser // Ref-Pointer gesetzt sein!!!!) - sfx2::LinkManager *pLinkMgr; // Liste von Verknuepften (Grafiken/DDE/OLE) + sfx2::LinkManager *pLinkMgr; // Liste von Verknuepften (Grafiken/DDE/OLE) - SwAutoCorrExceptWord *pACEWord; // fuer die automatische Uebernahme von + SwAutoCorrExceptWord *pACEWord; // fuer die automatische Uebernahme von // autokorrigierten Woertern, die "zurueck" // verbessert werden - SwURLStateChanged *pURLStateChgd; // SfxClient fuer Aenderungen in der + SwURLStateChanged *pURLStateChgd; // SfxClient fuer Aenderungen in der // INetHistory - SvNumberFormatter *pNumberFormatter; // NumFormatter fuer die Tabellen/Felder + SvNumberFormatter *pNumberFormatter; // NumFormatter fuer die Tabellen/Felder mutable SwNumRuleTbl *pNumRuleTbl; // Liste aller benannten NumRules @@ -383,16 +383,16 @@ class SW_DLLPUBLIC SwDoc : tHashMapForLists maListStyleLists; // <-- - SwRedlineTbl *pRedlineTbl; // Liste aller Redlines - String *pAutoFmtRedlnComment; // Kommentar fuer Redlines, die + SwRedlineTbl *pRedlineTbl; // Liste aller Redlines + String *pAutoFmtRedlnComment; // Kommentar fuer Redlines, die // uebers Autoformat eingefuegt werden - SwUnoCrsrTbl *pUnoCrsrTbl; + SwUnoCrsrTbl *pUnoCrsrTbl; - SwPagePreViewPrtData *pPgPViewPrtData; // Einzuege/Abstaende fuers + SwPagePreViewPrtData *pPgPViewPrtData; // Einzuege/Abstaende fuers // Drucken der Seitenansicht - SwPaM *pExtInputRing; + SwPaM *pExtInputRing; - SwLayouter *pLayouter; // ::com::sun::star::frame::Controller for complex layout formatting + SwLayouter *pLayouter; // ::com::sun::star::frame::Controller for complex layout formatting // like footnote/endnote in sections IStyleAccess *pStyleAccess; // handling of automatic styles SwLayoutCache *pLayoutCache; // Layout cache to read and save with the @@ -407,7 +407,7 @@ class SW_DLLPUBLIC SwDoc : SwChartLockController_Helper *pChartControllerHelper; // table of forbidden characters of this document - rtl::Reference<SvxForbiddenCharactersTable> xForbiddenCharsTable; + rtl::Reference<SvxForbiddenCharactersTable> xForbiddenCharsTable; com::sun::star::uno::Reference< com::sun::star::script::vba::XVBAEventProcessor > mxVbaEvents; com::sun::star::uno::Reference<com::sun::star::container::XNameContainer> m_xTemplateToProjectCache; // --> OD 2007-10-26 #i83479# @@ -427,23 +427,23 @@ private: // ------------------------------------------------------------------- // sonstige - sal_uInt16 nUndoPos; // akt. Undo-InsertPosition (fuers Redo!) - sal_uInt16 nUndoSavePos; // Position im Undo-Array, ab der das Doc + sal_uInt16 nUndoPos; // akt. Undo-InsertPosition (fuers Redo!) + sal_uInt16 nUndoSavePos; // Position im Undo-Array, ab der das Doc // nicht als modifiziert gilt - sal_uInt16 nUndoCnt; // Anzahl von Undo Aktionen - sal_uInt16 nUndoSttEnd; // != 0 -> innerhalb einer Klammerung + sal_uInt16 nUndoCnt; // Anzahl von Undo Aktionen + sal_uInt16 nUndoSttEnd; // != 0 -> innerhalb einer Klammerung - sal_uInt16 nAutoFmtRedlnCommentNo; // SeqNo fuers UI-seitige zusammenfassen + sal_uInt16 nAutoFmtRedlnCommentNo; // SeqNo fuers UI-seitige zusammenfassen // von AutoFmt-Redlines. Wird vom SwAutoFmt // verwaltet! - sal_uInt16 nLinkUpdMode; // UpdateMode fuer Links + sal_uInt16 nLinkUpdMode; // UpdateMode fuer Links SwFldUpdateFlags eFldUpdMode; // Mode fuer Felder/Charts automatisch aktualisieren - RedlineMode_t eRedlineMode; // aktueller Redline Modus - SwCharCompressType eChrCmprType; // for ASIAN: compress punctuation/kana + RedlineMode_t eRedlineMode; // aktueller Redline Modus + SwCharCompressType eChrCmprType; // for ASIAN: compress punctuation/kana sal_Int32 mReferenceCount; sal_Int32 mIdleBlockCount; - sal_Int8 nLockExpFld; // Wenn != 0 hat UpdateExpFlds() keine Wirkung + sal_Int8 nLockExpFld; // Wenn != 0 hat UpdateExpFlds() keine Wirkung /* Draw Model Layer IDs * LayerIds, Heaven == ueber dem Dokument @@ -615,8 +615,8 @@ private: sal_Bool mbStartIdleTimer ; // idle timer mode start/stop - static SwAutoCompleteWord *pACmpltWords; // Liste aller Worte fuers AutoComplete - static sal_uInt16 nUndoActions; // anzahl von Undo ::com::sun::star::chaos::Action + static SwAutoCompleteWord *pACmpltWords; // Liste aller Worte fuers AutoComplete + static sal_uInt16 nUndoActions; // anzahl von Undo ::com::sun::star::chaos::Action //---------------- private Methoden ------------------------------ void checkRedlining(RedlineMode_t& _rReadlineMode); @@ -625,7 +625,7 @@ private: // bis zum angegebenen Ende DECL_LINK( AddDrawUndo, SdrUndoAction * ); // DrawModel - void DrawNotifyUndoHdl(); // wegen CLOOKs + void DrawNotifyUndoHdl(); // wegen CLOOKs // nur fuer den internen Gebrauch deshalb privat. // Kopieren eines Bereiches im oder in ein anderes Dokument ! @@ -663,7 +663,7 @@ private: VirtualDevice& CreateVirtualDevice_() const; SfxPrinter& CreatePrinter_() const; - void PrtDataChanged(); //Printer oder JobSetup geandert, es muss + void PrtDataChanged(); //Printer oder JobSetup geandert, es muss //fuer entsprechende Invalidierungen und //Benachrichtigungen gesorgt werden. @@ -671,7 +671,7 @@ private: SwDoc( const SwDoc &); // fuer Felder: - void _InitFieldTypes(); // wird vom CTOR gerufen!! + void _InitFieldTypes(); // wird vom CTOR gerufen!! void _MakeFldList( int eMode ); // Datenbankfelder: @@ -737,8 +737,8 @@ public: /* @@@MAINTAINABILITY-HORROR@@@ Implementation details made public. */ - SwNodes& GetNodes() { return aNodes; } - const SwNodes& GetNodes() const { return aNodes; } + SwNodes& GetNodes() { return aNodes; } + const SwNodes& GetNodes() const { return aNodes; } /** IInterface */ @@ -919,7 +919,7 @@ public: const enum InsertFlags nInsertMode = INS_EMPTYEXPAND ); virtual SwFlyFrmFmt* Insert(const SwPaM &rRg, const String& rGrfName, const String& rFltName, const Graphic* pGraphic, const SfxItemSet* pFlyAttrSet, const SfxItemSet* pGrfAttrSet, SwFrmFmt*); - virtual SwFlyFrmFmt* Insert(const SwPaM& rRg, const GraphicObject& rGrfObj, const SfxItemSet* pFlyAttrSet, + virtual SwFlyFrmFmt* Insert(const SwPaM& rRg, const GraphicObject& rGrfObj, const SfxItemSet* pFlyAttrSet, const SfxItemSet* pGrfAttrSet, SwFrmFmt*); virtual SwDrawFrmFmt* Insert(const SwPaM &rRg, SdrObject& rDrawObj, const SfxItemSet* pFlyAttrSet, SwFrmFmt*); virtual SwFlyFrmFmt* Insert(const SwPaM &rRg, const svt::EmbeddedObjectRef& xObj, const SfxItemSet* pFlyAttrSet, @@ -959,7 +959,7 @@ public: /** IDocumentStatistics */ virtual void DocInfoChgd(); - virtual const SwDocStat &GetDocStat() const; + virtual const SwDocStat &GetDocStat() const; virtual void SetDocStat(const SwDocStat& rStat); virtual void UpdateDocStat(SwDocStat& rStat); @@ -1060,7 +1060,7 @@ public: // <-- /** IDocumentExternalData */ - virtual void setExternalData(::sw::tExternalDataType eType, + virtual void setExternalData(::sw::tExternalDataType eType, ::sw::tExternalDataPointer pPayload); virtual ::sw::tExternalDataPointer getExternalData(::sw::tExternalDataType eType); @@ -1075,7 +1075,7 @@ public: */ bool IsOLEPrtNotifyPending() const { return mbOLEPrtNotifyPending; } inline void SetOLEPrtNotifyPending( bool bSet = true ); - void PrtOLENotify( sal_Bool bAll ); //Alle oder nur Markierte + void PrtOLENotify( sal_Bool bAll ); //Alle oder nur Markierte #if OSL_DEBUG_LEVEL > 1 bool InXMLExport() const { return mbXMLExport; } @@ -1095,9 +1095,9 @@ public: SwDrawFrmFmt *MakeDrawFrmFmt(const String &rFmtName, SwFrmFmt *pDerivedFrom); // JP 08.05.98: fuer Flys muss jetzt diese Schnittstelle benutzt - // werden. pAnchorPos muss gesetzt sein, wenn keine - // Seitenbindung vorliegt UND der ::com::sun::star::chaos::Anchor nicht schon - // im FlySet/FrmFmt mit gueltiger CntntPos gesetzt ist + // werden. pAnchorPos muss gesetzt sein, wenn keine + // Seitenbindung vorliegt UND der ::com::sun::star::chaos::Anchor nicht schon + // im FlySet/FrmFmt mit gueltiger CntntPos gesetzt ist /* #109161# new parameter bCalledFromShell TRUE: An existing adjust item at pAnchorPos is propagated to @@ -1137,11 +1137,11 @@ public: /** Footnotes */ // Fussnoten Informationen - const SwFtnInfo& GetFtnInfo() const { return *pFtnInfo; } + const SwFtnInfo& GetFtnInfo() const { return *pFtnInfo; } void SetFtnInfo(const SwFtnInfo& rInfo); const SwEndNoteInfo& GetEndNoteInfo() const { return *pEndNoteInfo; } void SetEndNoteInfo(const SwEndNoteInfo& rInfo); - SwFtnIdxs& GetFtnIdxs() { return *pFtnIdxs; } + SwFtnIdxs& GetFtnIdxs() { return *pFtnIdxs; } const SwFtnIdxs& GetFtnIdxs() const { return *pFtnIdxs; } // change footnotes in area bool SetCurFtn( const SwPaM& rPam, const String& rNumStr, @@ -1185,9 +1185,9 @@ public: /** Database ??? */ - /* Datenbank && DB-Manager */ - void SetNewDBMgr( SwNewDBMgr* pNewMgr ) { pNewDBMgr = pNewMgr; } - SwNewDBMgr* GetNewDBMgr() const { return pNewDBMgr; } + /* Datenbank && DB-Manager */ + void SetNewDBMgr( SwNewDBMgr* pNewMgr ) { pNewDBMgr = pNewMgr; } + SwNewDBMgr* GetNewDBMgr() const { return pNewDBMgr; } void ChangeDBFields( const SvStringsDtor& rOldNames, const String& rNewName ); void SetInitDBFields(sal_Bool b); @@ -1250,22 +1250,22 @@ public: sal_Bool DontExpandFmt( const SwPosition& rPos, sal_Bool bFlag = sal_True ); /* Formate */ - const SwFrmFmts* GetFrmFmts() const { return pFrmFmtTbl; } - SwFrmFmts* GetFrmFmts() { return pFrmFmtTbl; } - const SwCharFmts* GetCharFmts() const { return pCharFmtTbl;} + const SwFrmFmts* GetFrmFmts() const { return pFrmFmtTbl; } + SwFrmFmts* GetFrmFmts() { return pFrmFmtTbl; } + const SwCharFmts* GetCharFmts() const { return pCharFmtTbl;} /* LayoutFormate (Rahmen, DrawObjecte), mal const mal nicht */ - const SwSpzFrmFmts* GetSpzFrmFmts() const { return pSpzFrmFmtTbl; } - SwSpzFrmFmts* GetSpzFrmFmts() { return pSpzFrmFmtTbl; } + const SwSpzFrmFmts* GetSpzFrmFmts() const { return pSpzFrmFmtTbl; } + SwSpzFrmFmts* GetSpzFrmFmts() { return pSpzFrmFmtTbl; } - const SwFrmFmt *GetDfltFrmFmt() const { return pDfltFrmFmt; } - SwFrmFmt *GetDfltFrmFmt() { return pDfltFrmFmt; } + const SwFrmFmt *GetDfltFrmFmt() const { return pDfltFrmFmt; } + SwFrmFmt *GetDfltFrmFmt() { return pDfltFrmFmt; } const SwFrmFmt *GetEmptyPageFmt() const { return pEmptyPageFmt; } - SwFrmFmt *GetEmptyPageFmt() { return pEmptyPageFmt; } + SwFrmFmt *GetEmptyPageFmt() { return pEmptyPageFmt; } const SwFrmFmt *GetColumnContFmt() const{ return pColumnContFmt; } - SwFrmFmt *GetColumnContFmt() { return pColumnContFmt; } + SwFrmFmt *GetColumnContFmt() { return pColumnContFmt; } const SwCharFmt *GetDfltCharFmt() const { return pDfltCharFmt;} - SwCharFmt *GetDfltCharFmt() { return pDfltCharFmt;} + SwCharFmt *GetDfltCharFmt() { return pDfltCharFmt;} // Returns the interface of the management of (auto)styles IStyleAccess& GetIStyleAccess() { return *pStyleAccess; } @@ -1275,19 +1275,19 @@ public: SwFrmFmt *MakeFrmFmt(const String &rFmtName, SwFrmFmt *pDerivedFrom, BOOL bBroadcast = FALSE, BOOL bAuto = TRUE); - void DelFrmFmt( SwFrmFmt *pFmt, BOOL bBroadcast = FALSE ); + void DelFrmFmt( SwFrmFmt *pFmt, BOOL bBroadcast = FALSE ); SwFrmFmt* FindFrmFmtByName( const String& rName ) const - { return (SwFrmFmt*)FindFmtByName( (SvPtrarr&)*pFrmFmtTbl, rName ); } + { return (SwFrmFmt*)FindFmtByName( (SvPtrarr&)*pFrmFmtTbl, rName ); } // --> OD 2005-01-13 #i40550# SwCharFmt *MakeCharFmt(const String &rFmtName, SwCharFmt *pDerivedFrom, BOOL bBroadcast = FALSE, BOOL bAuto = TRUE ); // <-- - void DelCharFmt(sal_uInt16 nFmt, BOOL bBroadcast = FALSE); - void DelCharFmt(SwCharFmt* pFmt, BOOL bBroadcast = FALSE); + void DelCharFmt(sal_uInt16 nFmt, BOOL bBroadcast = FALSE); + void DelCharFmt(SwCharFmt* pFmt, BOOL bBroadcast = FALSE); SwCharFmt* FindCharFmtByName( const String& rName ) const - { return (SwCharFmt*)FindFmtByName( (SvPtrarr&)*pCharFmtTbl, rName ); } + { return (SwCharFmt*)FindFmtByName( (SvPtrarr&)*pCharFmtTbl, rName ); } /* Formatcollections (Vorlagen) */ // TXT @@ -1317,25 +1317,25 @@ public: bool bResetListAttrs = false ); // <-- SwTxtFmtColl* FindTxtFmtCollByName( const String& rName ) const - { return (SwTxtFmtColl*)FindFmtByName( (SvPtrarr&)*pTxtFmtCollTbl, rName ); } + { return (SwTxtFmtColl*)FindFmtByName( (SvPtrarr&)*pTxtFmtCollTbl, rName ); } void ChkCondColls(); // GRF - const SwGrfFmtColl* GetDfltGrfFmtColl() const { return pDfltGrfFmtColl; } - const SwGrfFmtColls *GetGrfFmtColls() const { return pGrfFmtCollTbl; } + const SwGrfFmtColl* GetDfltGrfFmtColl() const { return pDfltGrfFmtColl; } + const SwGrfFmtColls *GetGrfFmtColls() const { return pGrfFmtCollTbl; } SwGrfFmtColl *MakeGrfFmtColl(const String &rFmtName, SwGrfFmtColl *pDerivedFrom); SwGrfFmtColl* FindGrfFmtCollByName( const String& rName ) const - { return (SwGrfFmtColl*)FindFmtByName( (SvPtrarr&)*pGrfFmtCollTbl, rName ); } + { return (SwGrfFmtColl*)FindFmtByName( (SvPtrarr&)*pGrfFmtCollTbl, rName ); } // Tabellen-Formate - const SwFrmFmts* GetTblFrmFmts() const { return pTblFrmFmtTbl; } - SwFrmFmts* GetTblFrmFmts() { return pTblFrmFmtTbl; } + const SwFrmFmts* GetTblFrmFmts() const { return pTblFrmFmtTbl; } + SwFrmFmts* GetTblFrmFmts() { return pTblFrmFmtTbl; } sal_uInt16 GetTblFrmFmtCount( sal_Bool bUsed ) const; SwFrmFmt& GetTblFrmFmt(sal_uInt16 nFmt, sal_Bool bUsed ) const; SwTableFmt* MakeTblFrmFmt(const String &rFmtName, SwFrmFmt *pDerivedFrom); - void DelTblFrmFmt( SwTableFmt* pFmt ); + void DelTblFrmFmt( SwTableFmt* pFmt ); SwTableFmt* FindTblFmtByName( const String& rName, sal_Bool bAll = sal_False ) const; //Rahmenzugriff @@ -1363,7 +1363,7 @@ public: String* GetDocPattern( sal_uInt16 nPos ) const { return aPatternNms[nPos]; } // Loesche alle nicht referenzierten FeldTypen - void GCFieldTypes(); // impl. in docfld.cxx + void GCFieldTypes(); // impl. in docfld.cxx // akt. Dokument mit Textbausteindokument verbinden/erfragen void SetGlossaryDoc( SwDoc* pDoc ) { pGlossaryDoc = pDoc; } @@ -1374,11 +1374,11 @@ public: // get the set of printable pages for the XRenderable API by // evaluating the respective settings (see implementation) - void CalculatePagesForPrinting( SwRenderData &rData, const SwPrintUIOptions &rOptions, bool bIsPDFExport, + void CalculatePagesForPrinting( SwRenderData &rData, const SwPrintUIOptions &rOptions, bool bIsPDFExport, sal_Int32 nDocPageCount ); - void UpdatePagesForPrintingWithPostItData( SwRenderData &rData, const SwPrintUIOptions &rOptions, bool bIsPDFExport, + void UpdatePagesForPrintingWithPostItData( SwRenderData &rData, const SwPrintUIOptions &rOptions, bool bIsPDFExport, sal_Int32 nDocPageCount ); - void CalculatePagePairsForProspectPrinting( SwRenderData &rData, const SwPrintUIOptions &rOptions, + void CalculatePagePairsForProspectPrinting( SwRenderData &rData, const SwPrintUIOptions &rOptions, sal_Int32 nDocPageCount ); sal_uInt16 GetPageCount() const; @@ -1445,7 +1445,7 @@ public: sal_Bool bExpand = sal_False ); const SwTOXBaseSection* InsertTableOf( ULONG nSttNd, ULONG nEndNd, const SwTOXBase& rTOX, - const SfxItemSet* pSet = 0 ); + const SfxItemSet* pSet = 0 ); const SwTOXBase* GetCurTOX( const SwPosition& rPos ) const; const SwAttrSet& GetTOXBaseAttrSet(const SwTOXBase& rTOX) const; @@ -1460,9 +1460,9 @@ public: void SetUpdateTOX( bool bFlag = true ) { mbUpdateTOX = bFlag; } bool IsUpdateTOX() const { return mbUpdateTOX; } - const String& GetTOIAutoMarkURL() const {return sTOIAutoMarkURL;} - void SetTOIAutoMarkURL(const String& rSet) {sTOIAutoMarkURL = rSet;} - void ApplyAutoMark(); + const String& GetTOIAutoMarkURL() const {return sTOIAutoMarkURL;} + void SetTOIAutoMarkURL(const String& rSet) {sTOIAutoMarkURL = rSet;} + void ApplyAutoMark(); bool IsInReading() const { return mbInReading; } void SetInReading( bool bNew ) { mbInReading = bNew; } @@ -1484,8 +1484,8 @@ public: const SwTOXType* InsertTOXType( const SwTOXType& rTyp ); const SwTOXTypes& GetTOXTypes() const { return *pTOXTypes; } - const SwTOXBase* GetDefaultTOXBase( TOXTypes eTyp, sal_Bool bCreate = sal_False ); - void SetDefaultTOXBase(const SwTOXBase& rBase); + const SwTOXBase* GetDefaultTOXBase( TOXTypes eTyp, sal_Bool bCreate = sal_False ); + void SetDefaultTOXBase(const SwTOXBase& rBase); // - Schluessel fuer die Indexverwaltung sal_uInt16 GetTOIKeys( SwTOIKeyType eTyp, SvStringsSort& rArr ) const; @@ -1596,7 +1596,7 @@ public: sal_Bool DelNumRule( const String& rName, BOOL bBroadCast = FALSE ); String GetUniqueNumRuleName( const String* pChkStr = 0, sal_Bool bAutoNum = sal_True ) const; - void UpdateNumRule(); // alle invaliden Updaten + void UpdateNumRule(); // alle invaliden Updaten // #106897# void ChgNumRuleFmts( const SwNumRule& rRule, const String * pOldName = 0 ); sal_Bool ReplaceNumRule( const SwPosition& rPos, const String& rOldRule, @@ -1617,7 +1617,7 @@ public: \param rPos position to start search \param bForward - TRUE: search forward - FALSE: search backward - \param bNum - TRUE: search for enumeration + \param bNum - TRUE: search for enumeration - FALSE: search for itemize \param bOutline - TRUE: search for outline numbering rule - FALSE: search for non-outline numbering rule @@ -1661,9 +1661,9 @@ public: // fuege eine neue Tabelle auf der Position rPos ein. (es // wird vor dem Node eingefuegt !!) //JP 28.10.96: - // fuer AutoFormat bei der Eingabe: dann muessen die Spalten - // auf die vordefinierten Breite gesetzt werden. Im Array stehen die - // Positionen der Spalten!! (nicht deren Breite!) + // fuer AutoFormat bei der Eingabe: dann muessen die Spalten + // auf die vordefinierten Breite gesetzt werden. Im Array stehen die + // Positionen der Spalten!! (nicht deren Breite!) /* #109161# new parameter bCalledFromShell: TRUE: called from shell -> propagate existing adjust item at @@ -1785,8 +1785,8 @@ public: // returne die RefMark per Index - fuer Uno const SwFmtRefMark* GetRefMark( sal_uInt16 nIndex ) const; // returne die Namen aller im Doc gesetzten Referenzen. - // Ist der ArrayPointer 0 dann returne nur, ob im Doc. eine RefMark - // gesetzt ist + // Ist der ArrayPointer 0 dann returne nur, ob im Doc. eine RefMark + // gesetzt ist sal_uInt16 GetRefMarks( SvStringsDtor* = 0 ) const; //Einfuegen einer Beschriftung - falls ein FlyFormat erzeugt wird, so @@ -1801,14 +1801,14 @@ public: const sal_uInt16 nId, const String& rCharacterStyle, SdrObject& rObj ); // erfrage den Attribut Pool - const SwAttrPool& GetAttrPool() const { return *mpAttrPool; } - SwAttrPool& GetAttrPool() { return *mpAttrPool; } + const SwAttrPool& GetAttrPool() const { return *mpAttrPool; } + SwAttrPool& GetAttrPool() { return *mpAttrPool; } // suche ueber das Layout eine EditShell und ggfs. eine ViewShell SwEditShell* GetEditShell( ViewShell** ppSh = 0 ) const; // OLE 2.0-Benachrichtung - inline void SetOle2Link(const Link& rLink) {aOle2Link = rLink;} + inline void SetOle2Link(const Link& rLink) {aOle2Link = rLink;} inline const Link& GetOle2Link() const {return aOle2Link;} // insert section (the ODF kind of section, not the nodesarray kind) @@ -1831,8 +1831,8 @@ public: Unnecessary compile/link time dependency. */ // Pointer auf die SfxDocShell vom Doc, kann 0 sein !!! - SwDocShell* GetDocShell() { return pDocShell; } - const SwDocShell* GetDocShell() const { return pDocShell; } + SwDocShell* GetDocShell() { return pDocShell; } + const SwDocShell* GetDocShell() const { return pDocShell; } void SetDocShell( SwDocShell* pDSh ); // falls beim Kopieren von OLE-Nodes eine DocShell angelegt werden muss, @@ -1880,7 +1880,7 @@ public: // speicher die akt. Werte fuer die automatische Aufnahme von Ausnahmen // in die Autokorrektur void SetAutoCorrExceptWord( SwAutoCorrExceptWord* pNew ); - SwAutoCorrExceptWord* GetAutoCorrExceptWord() { return pACEWord; } + SwAutoCorrExceptWord* GetAutoCorrExceptWord() { return pACEWord; } const SwFmtINetFmt* FindINetAttr( const String& rName ) const; @@ -1898,7 +1898,7 @@ public: sal_Bool bModulus = sal_True ); // Numberformatter erfragen - inline SvNumberFormatter* GetNumberFormatter( sal_Bool bCreate = sal_True ); + inline SvNumberFormatter* GetNumberFormatter( sal_Bool bCreate = sal_True ); inline const SvNumberFormatter* GetNumberFormatter( sal_Bool bCreate = sal_True ) const; // loesche den nicht sichtbaren ::com::sun::star::ucb::Content aus dem Document, wie z.B.: @@ -1913,10 +1913,10 @@ public: // falls keine angegeben ist, nehme die Kapitelvorlage der 1. Ebene sal_Bool GenerateGlobalDoc( const String& rPath, const SwTxtFmtColl* pSplitColl = 0 ); - sal_Bool GenerateGlobalDoc( const String& rPath, int nOutlineLevel = 0 ); //#outline level,add by zhaojianwei + sal_Bool GenerateGlobalDoc( const String& rPath, int nOutlineLevel = 0 ); //#outline level,add by zhaojianwei sal_Bool GenerateHTMLDoc( const String& rPath, const SwTxtFmtColl* pSplitColl = 0 ); - sal_Bool GenerateHTMLDoc( const String& rPath, int nOutlineLevel = 0 ); //#outline level,add by zhaojianwei + sal_Bool GenerateHTMLDoc( const String& rPath, int nOutlineLevel = 0 ); //#outline level,add by zhaojianwei // vergleiche zwei Dokument miteinander long CompareDoc( const SwDoc& rDoc ); @@ -1937,7 +1937,7 @@ public: void SetFmtItemByAutoFmt( const SwPaM& rPam, const SfxItemSet& ); // !!!NUR fuer die SW-Textblocks!! beachtet kein LAYOUT!!! - void ClearDoc(); // loescht den gesamten Inhalt. + void ClearDoc(); // loescht den gesamten Inhalt. // erfrage / setze die Daten fuer die PagePreView const SwPagePreViewPrtData* GetPreViewPrtData() const { return pPgPViewPrtData; } @@ -1947,12 +1947,12 @@ public: void SetPreViewPrtData( const SwPagePreViewPrtData* pData ); // update all modified OLE-Objects. The modification is called over the - // StarOne - Interface --> Bug 67026 + // StarOne - Interface --> Bug 67026 void SetOLEObjModified() - { if( GetRootFrm() ) aOLEModifiedTimer.Start(); } + { if( GetRootFrm() ) aOLEModifiedTimer.Start(); } // -------------------- Uno - Schnittstellen --------------------------- - const SwUnoCrsrTbl& GetUnoCrsrTbl() const { return *pUnoCrsrTbl; } + const SwUnoCrsrTbl& GetUnoCrsrTbl() const { return *pUnoCrsrTbl; } SwUnoCrsr* CreateUnoCrsr( const SwPosition& rPos, sal_Bool bTblCrsr = sal_False ); // -------------------- Uno - Schnittstellen --------------------------- @@ -2024,7 +2024,7 @@ public: bool ContainsHiddenChars() const; // call back for API wrapper - SwModify* GetUnoCallBack() const; + SwModify* GetUnoCallBack() const; IGrammarContact* getGrammarContact() const { return mpGrammarContact; } @@ -2222,6 +2222,6 @@ namespace docfunc bool HasOutlineStyleToBeWrittenAsNormalListStyle( SwDoc& rDoc ); } // <-- -#endif //_DOC_HXX +#endif //_DOC_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/docary.hxx b/sw/inc/docary.hxx index 98679a595667..ff50ef01f891 100644 --- a/sw/inc/docary.hxx +++ b/sw/inc/docary.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -50,7 +50,7 @@ namespace com { namespace sun { namespace star { namespace i18n { #include <svl/svarray.hxx> typedef SwFieldType* SwFldTypePtr; -#define GROW_FLDTYPES 16 +#define GROW_FLDTYPES 16 //PageDescriptor-Schnittstelle //typedef SwPageDesc * SwPageDescPtr; @@ -127,6 +127,6 @@ typedef SwOLENode* SwOLENodePtr; SV_DECL_PTRARR(SwOLENodes,SwOLENodePtr,16,16) -#endif //_DOCARY_HXX +#endif //_DOCARY_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/docfac.hxx b/sw/inc/docfac.hxx index b772dc699c41..b472217ca9bd 100644 --- a/sw/inc/docfac.hxx +++ b/sw/inc/docfac.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -42,7 +42,7 @@ public: ~SwDocFac(); // Das Dokument ist nach dem Aufruf von Read(..) angelegt - SwDoc* GetDoc(); + SwDoc* GetDoc(); }; #endif diff --git a/sw/inc/dochdl.hrc b/sw/inc/dochdl.hrc index 47b0b8014240..8e5980e244e5 100644 --- a/sw/inc/dochdl.hrc +++ b/sw/inc/dochdl.hrc @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -38,9 +38,9 @@ #define DLG_SEL_GLOS (RC_DOCHDL_BEGIN + 6) #define STR_NO_TABLE (RC_DOCHDL_BEGIN + 7) -#define STR_PRIVATETEXT (RC_DOCHDL_BEGIN + 8) -#define STR_PRIVATEGRAPHIC (RC_DOCHDL_BEGIN + 9) -#define STR_PRIVATEOLE (RC_DOCHDL_BEGIN + 10) +#define STR_PRIVATETEXT (RC_DOCHDL_BEGIN + 8) +#define STR_PRIVATEGRAPHIC (RC_DOCHDL_BEGIN + 9) +#define STR_PRIVATEOLE (RC_DOCHDL_BEGIN + 10) #define STR_DDEFORMAT (RC_DOCHDL_BEGIN + 11) diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index 2c5e509dc74e..b3950f39ceca 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -64,19 +64,19 @@ class IDocumentChartDataProviderAccess; class SW_DLLPUBLIC SwDocShell: public SfxObjectShell, public SfxListener { - SwDoc* pDoc; // Document - rtl::Reference< SfxStyleSheetBasePool > mxBasePool; // Durchreiche fuer Formate - FontList* pFontList; // aktuelle FontListe + SwDoc* pDoc; // Document + rtl::Reference< SfxStyleSheetBasePool > mxBasePool; // Durchreiche fuer Formate + FontList* pFontList; // aktuelle FontListe // Nix geht ohne die WrtShell (historische Gruende) // RuekwaertsPointer auf die View (historische Gruende) // Dieser gilt solange bis im Activate ein neuer gesetzt wird // oder dieser im Dtor der View geloescht wird // - SwView* pView; - SwWrtShell* pWrtShell; + SwView* pView; + SwWrtShell* pWrtShell; - Timer aFinishedTimer; // Timer fuers ueberpriefen der + Timer aFinishedTimer; // Timer fuers ueberpriefen der // Grafik-Links. Sind alle da, // dann ist Doc voll. geladen @@ -86,11 +86,11 @@ class SW_DLLPUBLIC SwDocShell: public SfxObjectShell, public SfxListener bool bInUpdateFontList; //prevent nested calls of UpdateFontList bool bIsATemplate; //prevent nested calls of UpdateFontList // Methoden fuer den Zugriff aufs Doc - SW_DLLPRIVATE void AddLink(); - SW_DLLPRIVATE void RemoveLink(); + SW_DLLPRIVATE void AddLink(); + SW_DLLPRIVATE void RemoveLink(); // Hint abfangen fuer DocInfo - SW_DLLPRIVATE virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); + SW_DLLPRIVATE virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); // FileIO SW_DLLPRIVATE virtual sal_Bool InitNew( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage ); @@ -101,34 +101,34 @@ class SW_DLLPUBLIC SwDocShell: public SfxObjectShell, public SfxListener SW_DLLPRIVATE virtual sal_Bool SaveAs( SfxMedium& rMedium ); SW_DLLPRIVATE virtual sal_Bool SaveCompleted( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage ); - SW_DLLPRIVATE virtual USHORT PrepareClose( BOOL bUI = TRUE, BOOL bForBrowsing = FALSE ); + SW_DLLPRIVATE virtual USHORT PrepareClose( BOOL bUI = TRUE, BOOL bForBrowsing = FALSE ); // DocInfo dem Doc melden // SW_DLLPRIVATE virtual SfxDocumentInfoDialog* CreateDocumentInfoDialog( Window *pParent, const SfxItemSet &); // OLE-Geraffel - SW_DLLPRIVATE virtual void Draw( OutputDevice*, const JobSetup&, USHORT); + SW_DLLPRIVATE virtual void Draw( OutputDevice*, const JobSetup&, USHORT); // Methoden fuer StyleSheets - SW_DLLPRIVATE USHORT Edit( const String &rName, const String& rParent, USHORT nFamily, + SW_DLLPRIVATE USHORT Edit( const String &rName, const String& rParent, USHORT nFamily, USHORT nMask, BOOL bNew, BOOL bColumn = FALSE, SwWrtShell* pActShell = 0, BOOL bBasic = FALSE ); - SW_DLLPRIVATE USHORT Delete(const String &rName, USHORT nFamily); - SW_DLLPRIVATE USHORT ApplyStyles(const String &rName, USHORT nFamily, SwWrtShell* pShell = 0, + SW_DLLPRIVATE USHORT Delete(const String &rName, USHORT nFamily); + SW_DLLPRIVATE USHORT ApplyStyles(const String &rName, USHORT nFamily, SwWrtShell* pShell = 0, USHORT nMode = 0 ); - SW_DLLPRIVATE USHORT DoWaterCan( const String &rName, USHORT nFamily); - SW_DLLPRIVATE USHORT UpdateStyle(const String &rName, USHORT nFamily, SwWrtShell* pShell = 0); - SW_DLLPRIVATE USHORT MakeByExample(const String &rName, + SW_DLLPRIVATE USHORT DoWaterCan( const String &rName, USHORT nFamily); + SW_DLLPRIVATE USHORT UpdateStyle(const String &rName, USHORT nFamily, SwWrtShell* pShell = 0); + SW_DLLPRIVATE USHORT MakeByExample(const String &rName, USHORT nFamily, USHORT nMask, SwWrtShell* pShell = 0); - SW_DLLPRIVATE void InitDraw(); - SW_DLLPRIVATE void SubInitNew(); // fuer InitNew und HtmlSourceModus + SW_DLLPRIVATE void InitDraw(); + SW_DLLPRIVATE void SubInitNew(); // fuer InitNew und HtmlSourceModus - SW_DLLPRIVATE void RemoveOLEObjects(); - SW_DLLPRIVATE void CalcLayoutForOLEObjects(); + SW_DLLPRIVATE void RemoveOLEObjects(); + SW_DLLPRIVATE void CalcLayoutForOLEObjects(); SW_DLLPRIVATE void Init_Impl(); SW_DLLPRIVATE DECL_STATIC_LINK( SwDocShell, IsLoadFinished, void* ); @@ -163,24 +163,24 @@ public: DECL_LINK( Ole2ModifiedHdl, void * ); // OLE-Geraffel - virtual void SetVisArea( const Rectangle &rRect ); + virtual void SetVisArea( const Rectangle &rRect ); virtual Rectangle GetVisArea( USHORT nAspect ) const; virtual Printer *GetDocumentPrinter(); virtual OutputDevice* GetDocumentRefDev(); - virtual void OnDocumentPrinterChanged( Printer * pNewPrinter ); - virtual ULONG GetMiscStatus() const; + virtual void OnDocumentPrinterChanged( Printer * pNewPrinter ); + virtual ULONG GetMiscStatus() const; - virtual void PrepareReload(); - virtual void SetModified( BOOL = TRUE ); + virtual void PrepareReload(); + virtual void SetModified( BOOL = TRUE ); // Dispatcher - void Execute(SfxRequest &); - void ExecStyleSheet(SfxRequest&); - void ExecDB(SfxRequest&); + void Execute(SfxRequest &); + void ExecStyleSheet(SfxRequest&); + void ExecDB(SfxRequest&); - void GetState(SfxItemSet &); - void StateAlways(SfxItemSet &); - void StateStyleSheet(SfxItemSet&, SwWrtShell* pSh = 0 ); + void GetState(SfxItemSet &); + void StateAlways(SfxItemSet &); + void StateStyleSheet(SfxItemSet&, SwWrtShell* pSh = 0 ); // Doc rausreichen aber VORSICHT inline SwDoc* GetDoc() { return pDoc; } @@ -191,19 +191,19 @@ public: void UpdateFontList(); - void UpdateChildWindows(); + void UpdateChildWindows(); // globaler IO - virtual BOOL Save(); + virtual BOOL Save(); // fuer VorlagenPI - virtual SfxStyleSheetBasePool* GetStyleSheetPool(); + virtual SfxStyleSheetBasePool* GetStyleSheetPool(); // Fuer Organizer virtual BOOL Insert(SfxObjectShell &rSource, - USHORT nSourceIdx1, - USHORT nSourceIdx2, - USHORT nSourceIdx3, + USHORT nSourceIdx1, + USHORT nSourceIdx2, + USHORT nSourceIdx3, USHORT& nIdx1, USHORT& nIdx2, USHORT& nIdx3, @@ -213,15 +213,15 @@ public: USHORT nIdx2 = INDEX_IGNORE, USHORT nIdx3 = INDEX_IGNORE); - virtual Bitmap GetStyleFamilyBitmap( SfxStyleFamily eFamily, BmpColorMode eColorMode ); + virtual Bitmap GetStyleFamilyBitmap( SfxStyleFamily eFamily, BmpColorMode eColorMode ); // View setzen fuer Aktionen ueber Shell - void SetView(SwView* pVw); + void SetView(SwView* pVw); const SwView *GetView() const { return pView; } SwView *GetView() { return pView; } // Zugriff auf die zur SwView gehoerige SwWrtShell - SwWrtShell *GetWrtShell() { return pWrtShell; } + SwWrtShell *GetWrtShell() { return pWrtShell; } const SwWrtShell *GetWrtShell() const { return pWrtShell; } // fuer die Core - die kennt die DocShell aber keine WrtShell! @@ -256,7 +256,7 @@ public: // Seitenvorlagedialog anzeigen, ggf. auf Spaltenpage void FormatPage( const String& rPage, BOOL bColumn = FALSE, - SwWrtShell* pActShell = 0 ); + SwWrtShell* pActShell = 0 ); // --> OD 2006-11-07 #i59688# // linked graphics are now loaded on demand. @@ -272,7 +272,7 @@ public: virtual void CancelTransfers(); // Doc aus Html-Source neu laden - void ReloadFromHtml( const String& rStreamName, SwSrcView* pSrcView ); + void ReloadFromHtml( const String& rStreamName, SwSrcView* pSrcView ); sal_Int16 GetUpdateDocMode() const {return nUpdateDocMode;} @@ -289,7 +289,7 @@ public: void InvalidateModel(); void ReactivateModel(); - virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > GetEventNames(); + virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > GetEventNames(); // --> FME 2004-08-05 #i20883# Digital Signatures and Encryption virtual sal_uInt16 GetHiddenInformationState( sal_uInt16 nStates ); diff --git a/sw/inc/docstat.hxx b/sw/inc/docstat.hxx index 9c36ed834779..8b156bff737a 100644 --- a/sw/inc/docstat.hxx +++ b/sw/inc/docstat.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -34,18 +34,18 @@ struct SW_DLLPUBLIC SwDocStat { - USHORT nTbl; - USHORT nGrf; - USHORT nOLE; - ULONG nPage; + USHORT nTbl; + USHORT nGrf; + USHORT nOLE; + ULONG nPage; /// paragraphs for document statistic: non-empty and non-hidden ones - ULONG nPara; + ULONG nPara; /// all paragraphs, including empty/hidden ones ULONG nAllPara; - ULONG nWord; - ULONG nChar; - ULONG nCharExcludingSpaces; - BOOL bModified; + ULONG nWord; + ULONG nChar; + ULONG nCharExcludingSpaces; + BOOL bModified; SwDocStat(); void Reset(); diff --git a/sw/inc/docstyle.hxx b/sw/inc/docstyle.hxx index c7b0d4fde10f..6bafce8c5f17 100644 --- a/sw/inc/docstyle.hxx +++ b/sw/inc/docstyle.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -47,7 +47,7 @@ class SwFrmFmt; class SwNumRule; /*-------------------------------------------------------------------- - Beschreibung: Lokale Hilfsklasse + Beschreibung: Lokale Hilfsklasse --------------------------------------------------------------------*/ class SwPoolFmtList : public SvStringsDtor { @@ -59,27 +59,27 @@ public: /*-------------------------------------------------------------------- - Beschreibung: temp. StyleSheet + Beschreibung: temp. StyleSheet --------------------------------------------------------------------*/ class SW_DLLPUBLIC SwDocStyleSheet : public SfxStyleSheetBase { friend class SwDocStyleSheetPool; friend class SwStyleSheetIterator; - SwCharFmt* pCharFmt; - SwTxtFmtColl* pColl; - SwFrmFmt* pFrmFmt; - const SwPageDesc* pDesc; - const SwNumRule* pNumRule; + SwCharFmt* pCharFmt; + SwTxtFmtColl* pColl; + SwFrmFmt* pFrmFmt; + const SwPageDesc* pDesc; + const SwNumRule* pNumRule; - SwDoc& rDoc; - SfxItemSet aCoreSet; + SwDoc& rDoc; + SfxItemSet aCoreSet; - BOOL bPhysical; + BOOL bPhysical; // leere Huelse zum richtigen StyleSheet (Core) machen - SW_DLLPRIVATE void Create(); + SW_DLLPRIVATE void Create(); // den StyleSheet mit Daten fuellen enum FillStyleType { @@ -94,21 +94,21 @@ protected: virtual ~SwDocStyleSheet(); public: - SwDocStyleSheet( SwDoc& rDoc, - const String& rName, - SwDocStyleSheetPool& rPool, - SfxStyleFamily eFam, - USHORT nMask); + SwDocStyleSheet( SwDoc& rDoc, + const String& rName, + SwDocStyleSheetPool& rPool, + SfxStyleFamily eFam, + USHORT nMask); SwDocStyleSheet( const SwDocStyleSheet& ); - void Reset(); + void Reset(); - void SetMask(USHORT nMsk) { nMask = nMsk; } - void SetFamily(SfxStyleFamily eFam) { nFamily = eFam; } + void SetMask(USHORT nMsk) { nMask = nMsk; } + void SetFamily(SfxStyleFamily eFam) { nFamily = eFam; } - BOOL IsPhysical() const { return bPhysical; } - void SetPhysical(BOOL bPhys); + BOOL IsPhysical() const { return bPhysical; } + void SetPhysical(BOOL bPhys); // --> OD 2008-02-11 #newlistlevelattrs# // add optional parameter <bResetIndentAttrsAtParagraphStyle>, default value FALSE, @@ -119,14 +119,14 @@ public: const bool bResetIndentAttrsAtParagraphStyle = false ); // <-- - virtual SfxItemSet& GetItemSet(); + virtual SfxItemSet& GetItemSet(); // --> OD 2008-02-12 #newlistlevelattrs# // new method for paragraph styles to merge indent attributes of applied list // style into the given item set, if the list style indent attributes are applicable. void MergeIndentAttrsOfListStyle( SfxItemSet& rSet ); // <-- - virtual const String& GetParent() const; - virtual const String& GetFollow() const; + virtual const String& GetParent() const; + virtual const String& GetFollow() const; virtual ULONG GetHelpId( String& rFile ); virtual void SetHelpId( const String& r, ULONG nId ); @@ -134,47 +134,47 @@ public: // Vorbelegen der member ohne physikalischen Zugriff // wird vom StyleSheetPool benutzt // - void PresetName(const String& rName) { aName = rName; } - void PresetNameAndFamily(const String& rName); - void PresetParent(const String& rName){ aParent = rName; } - void PresetFollow(const String& rName){ aFollow = rName; } - - virtual BOOL SetName( const String& rStr); - virtual BOOL SetParent( const String& rStr); - virtual BOOL SetFollow( const String& rStr); - - virtual BOOL HasFollowSupport() const; - virtual BOOL HasParentSupport() const; - virtual BOOL HasClearParentSupport() const; - virtual String GetDescription(); - virtual String GetDescription(SfxMapUnit eUnit); - - SwCharFmt* GetCharFmt(); - SwTxtFmtColl* GetCollection(); - SwFrmFmt* GetFrmFmt(); - const SwPageDesc* GetPageDesc(); - const SwNumRule* GetNumRule(); - void SetNumRule(const SwNumRule& rRule); - - virtual BOOL IsUsed() const; + void PresetName(const String& rName) { aName = rName; } + void PresetNameAndFamily(const String& rName); + void PresetParent(const String& rName){ aParent = rName; } + void PresetFollow(const String& rName){ aFollow = rName; } + + virtual BOOL SetName( const String& rStr); + virtual BOOL SetParent( const String& rStr); + virtual BOOL SetFollow( const String& rStr); + + virtual BOOL HasFollowSupport() const; + virtual BOOL HasParentSupport() const; + virtual BOOL HasClearParentSupport() const; + virtual String GetDescription(); + virtual String GetDescription(SfxMapUnit eUnit); + + SwCharFmt* GetCharFmt(); + SwTxtFmtColl* GetCollection(); + SwFrmFmt* GetFrmFmt(); + const SwPageDesc* GetPageDesc(); + const SwNumRule* GetNumRule(); + void SetNumRule(const SwNumRule& rRule); + + virtual BOOL IsUsed() const; }; /*-------------------------------------------------------------------- - Beschreibung: Iterator fuer den Pool + Beschreibung: Iterator fuer den Pool --------------------------------------------------------------------*/ class SwStyleSheetIterator : public SfxStyleSheetIterator, public SfxListener { rtl::Reference< SwDocStyleSheet > mxIterSheet; rtl::Reference< SwDocStyleSheet > mxStyleSheet; - SwPoolFmtList aLst; - USHORT nLastPos; - BOOL bFirstCalled; + SwPoolFmtList aLst; + USHORT nLastPos; + BOOL bFirstCalled; - void AppendStyleList(const SvStringsDtor& rLst, - BOOL bUsed, - USHORT nSection, - char cType); + void AppendStyleList(const SvStringsDtor& rLst, + BOOL bUsed, + USHORT nSection, + char cType); public: SwStyleSheetIterator( SwDocStyleSheetPool* pBase, @@ -191,14 +191,14 @@ public: }; /*-------------------------------------------------------------------- - Beschreibung: Pool fuer + Beschreibung: Pool fuer --------------------------------------------------------------------*/ class SwDocStyleSheetPool : public SfxStyleSheetBasePool { rtl::Reference< SwDocStyleSheet > mxStyleSheet; - SwDoc& rDoc; - BOOL bOrganizer : 1; // TRUE: fuer den Organizer + SwDoc& rDoc; + BOOL bOrganizer : 1; // TRUE: fuer den Organizer virtual SfxStyleSheetBase* Create( const String&, SfxStyleFamily, USHORT nMask); @@ -221,8 +221,8 @@ public: virtual void Remove( SfxStyleSheetBase* pStyle); - void SetOrganizerMode( BOOL bMode ) { bOrganizer = bMode; } - BOOL IsOrganizerMode() const { return bOrganizer; } + void SetOrganizerMode( BOOL bMode ) { bOrganizer = bMode; } + BOOL IsOrganizerMode() const { return bOrganizer; } virtual SfxStyleSheetIterator* CreateIterator( SfxStyleFamily, USHORT nMask ); diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index ca3707496435..171902346ee8 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -70,36 +70,36 @@ enum SwDocStatSubType DS_END }; -typedef sal_uInt16 SwDocInfoSubType; +typedef sal_uInt16 SwDocInfoSubType; namespace nsSwDocInfoSubType { // NB: these must denote consecutive integers! // NB2: these are extended by 4 DI_INFO values for backward compatibility // in filter/html/htmlfld.cxx, so make sure that DI_SUBTYPE_END // really is the end, and is at least 4 less than DI_SUB_*! - const SwDocInfoSubType DI_SUBTYPE_BEGIN = 0; - const SwDocInfoSubType DI_TITEL = DI_SUBTYPE_BEGIN; - const SwDocInfoSubType DI_THEMA = 1; - const SwDocInfoSubType DI_KEYS = 2; - const SwDocInfoSubType DI_COMMENT = 3; - const SwDocInfoSubType DI_CREATE = 4; - const SwDocInfoSubType DI_CHANGE = 5; - const SwDocInfoSubType DI_PRINT = 6; - const SwDocInfoSubType DI_DOCNO = 7; - const SwDocInfoSubType DI_EDIT = 8; - const SwDocInfoSubType DI_CUSTOM = 9; - const SwDocInfoSubType DI_SUBTYPE_END = 10; - - - const SwDocInfoSubType DI_SUB_AUTHOR = 0x0100; - const SwDocInfoSubType DI_SUB_TIME = 0x0200; - const SwDocInfoSubType DI_SUB_DATE = 0x0300; - const SwDocInfoSubType DI_SUB_FIXED = 0x1000; + const SwDocInfoSubType DI_SUBTYPE_BEGIN = 0; + const SwDocInfoSubType DI_TITEL = DI_SUBTYPE_BEGIN; + const SwDocInfoSubType DI_THEMA = 1; + const SwDocInfoSubType DI_KEYS = 2; + const SwDocInfoSubType DI_COMMENT = 3; + const SwDocInfoSubType DI_CREATE = 4; + const SwDocInfoSubType DI_CHANGE = 5; + const SwDocInfoSubType DI_PRINT = 6; + const SwDocInfoSubType DI_DOCNO = 7; + const SwDocInfoSubType DI_EDIT = 8; + const SwDocInfoSubType DI_CUSTOM = 9; + const SwDocInfoSubType DI_SUBTYPE_END = 10; + + + const SwDocInfoSubType DI_SUB_AUTHOR = 0x0100; + const SwDocInfoSubType DI_SUB_TIME = 0x0200; + const SwDocInfoSubType DI_SUB_DATE = 0x0300; + const SwDocInfoSubType DI_SUB_FIXED = 0x1000; const SwDocInfoSubType DI_SUB_MASK = 0xff00; } -enum RegInfoFormat // Nur noch zum laden alter Dokumente!!! +enum RegInfoFormat // Nur noch zum laden alter Dokumente!!! { RF_AUTHOR, RF_TIME, @@ -116,16 +116,16 @@ enum SwPageNumSubType enum SwExtUserSubType { - EU_COMPANY /*EU_FIRMA*/, - EU_FIRSTNAME /*EU_VORNAME*/, - EU_NAME /*EU_NAME*/, - EU_SHORTCUT /*EU_ABK*/, - EU_STREET /*EU_STRASSE*/, - EU_COUNTRY /*EU_LAND*/, - EU_ZIP /*EU_PLZ*/, - EU_CITY /*EU_ORT*/, - EU_TITLE /*EU_TITEL*/, - EU_POSITION /*EU_POS*/, + EU_COMPANY /*EU_FIRMA*/, + EU_FIRSTNAME /*EU_VORNAME*/, + EU_NAME /*EU_NAME*/, + EU_SHORTCUT /*EU_ABK*/, + EU_STREET /*EU_STRASSE*/, + EU_COUNTRY /*EU_LAND*/, + EU_ZIP /*EU_PLZ*/, + EU_CITY /*EU_ORT*/, + EU_TITLE /*EU_TITEL*/, + EU_POSITION /*EU_POS*/, EU_PHONE_PRIVATE /*EU_TELPRIV*/, EU_PHONE_COMPANY /*EU_TELFIRMA*/, EU_FAX, @@ -150,9 +150,9 @@ enum SwJumpEditFormat class SwPageNumberFieldType : public SwFieldType { - sal_Int16 nNumberingType; - USHORT nNum, nMax; - BOOL bVirtuell; + sal_Int16 nNumberingType; + USHORT nNum, nMax; + BOOL bVirtuell; public: SwPageNumberFieldType(); @@ -169,27 +169,27 @@ public: class SW_DLLPUBLIC SwPageNumberField : public SwField { - String sUserStr; + String sUserStr; USHORT nSubType; - short nOffset; + short nOffset; public: SwPageNumberField(SwPageNumberFieldType*, USHORT nSub = PG_RANDOM, sal_uInt32 nFmt = 0, short nOff = 0); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; - virtual String GetPar2() const; - virtual void SetPar2(const String& rStr); + virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); - virtual USHORT GetSubType() const; + virtual USHORT GetSubType() const; // virtual void SetSubType(USHORT nSub); // OM: entfernt, da unbenoetigt und gefaehrlich virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); - const String& GetUserString() const { return sUserStr; } - void SetUserString( const String& rS ) { sUserStr = rS; } + const String& GetUserString() const { return sUserStr; } + void SetUserString( const String& rS ) { sUserStr = rS; } }; /*-------------------------------------------------------------------- @@ -201,7 +201,7 @@ class SwAuthorFieldType : public SwFieldType public: SwAuthorFieldType(); - String Expand(ULONG) const; + String Expand(ULONG) const; virtual SwFieldType* Copy() const; }; @@ -211,15 +211,15 @@ public: class SwAuthorField : public SwField { - String aContent; + String aContent; public: SwAuthorField(SwAuthorFieldType*, sal_uInt32 nFmt = 0); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; - inline void SetExpansion(const String& rStr) { aContent = rStr; } + inline void SetExpansion(const String& rStr) { aContent = rStr; } inline const String& GetContent() const { return aContent; } virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; @@ -236,7 +236,7 @@ class SwFileNameFieldType : public SwFieldType public: SwFileNameFieldType(SwDoc*); - String Expand(ULONG) const; + String Expand(ULONG) const; virtual SwFieldType* Copy() const; }; @@ -251,10 +251,10 @@ class SW_DLLPUBLIC SwFileNameField : public SwField public: SwFileNameField(SwFileNameFieldType*, sal_uInt32 nFmt = 0); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; - inline void SetExpansion(const String& rStr) { aContent = rStr; } + inline void SetExpansion(const String& rStr) { aContent = rStr; } inline const String& GetContent() const { return aContent; } virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; @@ -271,7 +271,7 @@ class SwTemplNameFieldType : public SwFieldType public: SwTemplNameFieldType(SwDoc*); - String Expand(ULONG) const; + String Expand(ULONG) const; virtual SwFieldType* Copy() const; }; @@ -284,8 +284,8 @@ class SW_DLLPUBLIC SwTemplNameField : public SwField public: SwTemplNameField(SwTemplNameFieldType*, sal_uInt32 nFmt = 0); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); }; @@ -297,12 +297,12 @@ public: class SwDocStatFieldType : public SwFieldType { - SwDoc* pDoc; - sal_Int16 nNumberingType;//com::sun::star::style::NumberingType + SwDoc* pDoc; + sal_Int16 nNumberingType;//com::sun::star::style::NumberingType public: SwDocStatFieldType(SwDoc*); - String Expand(USHORT nSubType, sal_uInt32 nFmt) const; + String Expand(USHORT nSubType, sal_uInt32 nFmt) const; virtual SwFieldType* Copy() const; inline void SetNumFormat( sal_Int16 eFmt ) { nNumberingType = eFmt; } @@ -322,11 +322,11 @@ public: void ChangeExpansion( const SwFrm* pFrm ); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; - virtual USHORT GetSubType() const; - virtual void SetSubType(USHORT nSub); + virtual USHORT GetSubType() const; + virtual void SetSubType(USHORT nSub); virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); }; @@ -343,8 +343,8 @@ public: virtual SwFieldType* Copy() const; - void SetHiddenFlag( BOOL bSetHidden = TRUE ); - inline BOOL GetHiddenFlag() const { return bHidden; } + void SetHiddenFlag( BOOL bSetHidden = TRUE ); + inline BOOL GetHiddenFlag() const { return bHidden; } }; /*-------------------------------------------------------------------- @@ -353,23 +353,23 @@ public: class SwHiddenTxtField : public SwField { - String aTRUETxt; // Text wenn Bedingung TRUE - String aFALSETxt; // Wenn Bedingung falsch - String aContent; // Ausgewerteter DB-Text + String aTRUETxt; // Text wenn Bedingung TRUE + String aFALSETxt; // Wenn Bedingung falsch + String aContent; // Ausgewerteter DB-Text - String aCond; // Bedingung + String aCond; // Bedingung USHORT nSubType; - BOOL bCanToggle : 1; // kann das Feld einzeln getoggelt werden? - BOOL bIsHidden : 1; // ist es nicht sichtbar? - BOOL bValid : 1; // DB-Feld evaluiert? + BOOL bCanToggle : 1; // kann das Feld einzeln getoggelt werden? + BOOL bIsHidden : 1; // ist es nicht sichtbar? + BOOL bValid : 1; // DB-Feld evaluiert? public: SwHiddenTxtField( SwHiddenTxtFieldType*, - BOOL bConditional, - const String& rCond, - const String& rTxt, - BOOL bHidden = FALSE, + BOOL bConditional, + const String& rCond, + const String& rTxt, + BOOL bHidden = FALSE, USHORT nSubType = TYP_HIDDENTXTFLD); SwHiddenTxtField( SwHiddenTxtFieldType*, @@ -378,26 +378,26 @@ public: const String& rFalse, USHORT nSubType = TYP_HIDDENTXTFLD); - virtual String GetCntnt(BOOL bName = FALSE) const; - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String GetCntnt(BOOL bName = FALSE) const; + virtual String Expand() const; + virtual SwField* Copy() const; - void Evaluate(SwDoc*); + void Evaluate(SwDoc*); - inline void SetValue(BOOL bHidden) { bIsHidden = bHidden; } + inline void SetValue(BOOL bHidden) { bIsHidden = bHidden; } String GetColumnName(const String& rName); - String GetDBName(const String& rName, SwDoc *pDoc); + String GetDBName(const String& rName, SwDoc *pDoc); // Condition - virtual void SetPar1(const String& rStr); + virtual void SetPar1(const String& rStr); virtual const String& GetPar1() const; // True/False - String - virtual void SetPar2(const String& rStr); - virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); + virtual String GetPar2() const; - virtual USHORT GetSubType() const; + virtual USHORT GetSubType() const; // virtual void SetSubType(USHORT nSub); // OM: entfernt, da unbenoetigt und gefaehrlich virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); @@ -421,21 +421,21 @@ public: class SwHiddenParaField : public SwField { - String aCond; - BOOL bIsHidden:1; + String aCond; + BOOL bIsHidden:1; public: // Direkte Eingabe alten Wert loeschen SwHiddenParaField(SwHiddenParaFieldType*, const String& rCond); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; - void SetHidden(BOOL bHidden) { bIsHidden = bHidden; } - BOOL IsHidden() const { return bIsHidden; } + void SetHidden(BOOL bHidden) { bIsHidden = bHidden; } + BOOL IsHidden() const { return bIsHidden; } // Bedingung erfragen/setzen virtual const String& GetPar1() const; - virtual void SetPar1(const String& rStr); + virtual void SetPar1(const String& rStr); virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); }; @@ -462,7 +462,7 @@ class SW_DLLPUBLIC SwMacroField : public SwField { String aMacro; String aText; - BOOL bIsScriptURL; + BOOL bIsScriptURL; public: // Direkte Eingabe alten Wert loeschen @@ -470,21 +470,21 @@ public: const String& rTxt); inline const String& GetMacro() const { return aMacro; } - String GetLibName() const; - String GetMacroName() const; - SvxMacro GetSvxMacro() const; + String GetLibName() const; + String GetMacroName() const; + SvxMacro GetSvxMacro() const; - virtual String GetCntnt(BOOL bName = FALSE) const; - virtual String Expand() const; + virtual String GetCntnt(BOOL bName = FALSE) const; + virtual String Expand() const; virtual SwField* Copy() const; // Library und FileName virtual const String& GetPar1() const; - virtual void SetPar1(const String& rStr); + virtual void SetPar1(const String& rStr); // Macrotext - virtual String GetPar2() const; - virtual void SetPar2(const String& rStr); + virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); @@ -503,12 +503,12 @@ public: class SwPostItFieldType : public SwFieldType { private: - SwDoc* mpDoc; + SwDoc* mpDoc; public: SwPostItFieldType(SwDoc* pDoc); virtual SwFieldType* Copy() const; - SwDoc* GetDoc() {return mpDoc;}; + SwDoc* GetDoc() {return mpDoc;}; }; /*-------------------------------------------------------------------- @@ -517,10 +517,10 @@ public: class SW_DLLPUBLIC SwPostItField : public SwField { - String sTxt; // die Anmerkung - String sAuthor; // der Author - DateTime aDateTime; // Datum und Zeit der Anmerkung - OutlinerParaObject* mpText; + String sTxt; // die Anmerkung + String sAuthor; // der Author + DateTime aDateTime; // Datum und Zeit der Anmerkung + OutlinerParaObject* mpText; SwTextAPIObject* m_pTextObject; public: @@ -528,22 +528,22 @@ public: const String& rAuthor, const String& rTxt, const DateTime& rDate); ~SwPostItField(); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; - inline const Date GetDate() const { return aDateTime.GetDate(); } - inline const Time GetTime() const { return aDateTime.GetTime(); } + inline const Date GetDate() const { return aDateTime.GetDate(); } + inline const Time GetTime() const { return aDateTime.GetTime(); } // Author - virtual const String& GetPar1() const; - virtual void SetPar1(const String& rStr); + virtual const String& GetPar1() const; + virtual void SetPar1(const String& rStr); // Text - virtual String GetPar2() const; - virtual void SetPar2(const String& rStr); - const String& GetTxt() const { return sTxt; } + virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); + const String& GetTxt() const { return sTxt; } - const OutlinerParaObject* GetTextObject() const; + const OutlinerParaObject* GetTextObject() const; void SetTextObject( OutlinerParaObject* pText ); sal_uInt32 GetNumberOfParagraphs() const; @@ -562,13 +562,13 @@ class SwDocInfoFieldType : public SwValueFieldType public: SwDocInfoFieldType(SwDoc* pDc); - String Expand(USHORT nSubType, sal_uInt32 nFormat, USHORT nLang, const String& rName) const; + String Expand(USHORT nSubType, sal_uInt32 nFormat, USHORT nLang, const String& rName) const; virtual SwFieldType* Copy() const; }; class SW_DLLPUBLIC SwDocInfoField : public SwValueField { - USHORT nSubType; + USHORT nSubType; String aContent; String aName; @@ -576,15 +576,15 @@ public: SwDocInfoField(SwDocInfoFieldType*, USHORT nSub, const String& rName, sal_uInt32 nFmt=0); SwDocInfoField(SwDocInfoFieldType*, USHORT nSub, const String& rName, const String& rValue, sal_uInt32 nFmt=0); - virtual void SetSubType(USHORT); - virtual USHORT GetSubType() const; - virtual void SetLanguage(USHORT nLng); - virtual String Expand() const; - virtual String GetCntnt(BOOL bName = FALSE) const; - virtual SwField* Copy() const; - String GetName() const { return aName; } + virtual void SetSubType(USHORT); + virtual USHORT GetSubType() const; + virtual void SetLanguage(USHORT nLng); + virtual String Expand() const; + virtual String GetCntnt(BOOL bName = FALSE) const; + virtual SwField* Copy() const; + String GetName() const { return aName; } void SetName( const String& rName ) { aName = rName; } - inline void SetExpansion(const String& rStr) { aContent = rStr; } + inline void SetExpansion(const String& rStr) { aContent = rStr; } virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); }; @@ -602,25 +602,25 @@ public: inline void SetData(const String& rStr) { aData = rStr; } - String Expand(USHORT nSubType, sal_uInt32 nFormat) const; + String Expand(USHORT nSubType, sal_uInt32 nFormat) const; virtual SwFieldType* Copy() const; }; class SwExtUserField : public SwField { - String aContent; - USHORT nType; + String aContent; + USHORT nType; public: SwExtUserField(SwExtUserFieldType*, USHORT nSub, sal_uInt32 nFmt=0); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; - virtual USHORT GetSubType() const; - virtual void SetSubType(USHORT nSub); + virtual USHORT GetSubType() const; + virtual void SetSubType(USHORT nSub); - inline void SetExpansion(const String& rStr) { aContent = rStr; } + inline void SetExpansion(const String& rStr) { aContent = rStr; } virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); @@ -636,9 +636,9 @@ class SwRefPageSetFieldType : public SwFieldType public: SwRefPageSetFieldType(); - virtual SwFieldType* Copy() const; + virtual SwFieldType* Copy() const; // ueberlagert, weil es nichts zum Updaten gibt! - virtual void Modify( SfxPoolItem *, SfxPoolItem * ); + virtual void Modify( SfxPoolItem *, SfxPoolItem * ); }; /*-------------------------------------------------------------------- @@ -647,23 +647,23 @@ public: class SwRefPageSetField : public SwField { - short nOffset; - BOOL bOn; + short nOffset; + BOOL bOn; public: SwRefPageSetField( SwRefPageSetFieldType*, short nOff = 0, BOOL bOn = TRUE ); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; - virtual String GetPar2() const; - virtual void SetPar2(const String& rStr); + virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); - BOOL IsOn() const { return bOn; } + BOOL IsOn() const { return bOn; } - short GetOffset() const { return nOffset; } - void SetOffset( short nOff ) { nOffset = nOff; } + short GetOffset() const { return nOffset; } + void SetOffset( short nOff ) { nOffset = nOff; } virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); }; @@ -674,8 +674,8 @@ public: class SwRefPageGetFieldType : public SwFieldType { - SwDoc* pDoc; - sal_Int16 nNumberingType; + SwDoc* pDoc; + sal_Int16 nNumberingType; void UpdateField( SwTxtFld* pTxtFld, _SetGetExpFlds& rSetList ); @@ -700,10 +700,10 @@ class SwRefPageGetField : public SwField public: SwRefPageGetField( SwRefPageGetFieldType*, sal_uInt32 nFmt ); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; - void SetText( const String& rTxt ) { sTxt = rTxt; } + void SetText( const String& rTxt ) { sTxt = rTxt; } void ChangeExpansion( const SwFrm* pFrm, const SwTxtFld* pFld ); virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; @@ -733,16 +733,16 @@ public: SwJumpEditField( SwJumpEditFieldType*, sal_uInt32 nFormat, const String& sText, const String& sHelp ); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; // Platzhalter-Text virtual const String& GetPar1() const; - virtual void SetPar1(const String& rStr); + virtual void SetPar1(const String& rStr); // HinweisText - virtual String GetPar2() const; - virtual void SetPar2(const String& rStr); + virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); SwCharFmt* GetCharFmt() const { return ((SwJumpEditFieldType*)GetTyp())->GetCharFmt(); } @@ -769,11 +769,11 @@ public: class SwScriptField : public SwField { - String sType; // Type von Code (Java/VBScript/...) - String sCode; // der Code als Text + String sType; // Type von Code (Java/VBScript/...) + String sCode; // der Code als Text // der Code als JavaCode ? - BOOL bCodeURL; // Code enthaelt URL eines Scripts + BOOL bCodeURL; // Code enthaelt URL eines Scripts public: SwScriptField( SwScriptFieldType*, const String& rType, @@ -781,18 +781,18 @@ public: virtual String GetDescription() const; - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; // Type - virtual const String& GetPar1() const; - virtual void SetPar1(const String& rStr); + virtual const String& GetPar1() const; + virtual void SetPar1(const String& rStr); // Text - virtual String GetPar2() const; - virtual void SetPar2(const String& rStr); + virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); - BOOL IsCodeURL() const { return bCodeURL; } - void SetCodeURL( BOOL bURL ) { bCodeURL = bURL; } + BOOL IsCodeURL() const { return bCodeURL; } + void SetCodeURL( BOOL bURL ) { bCodeURL = bURL; } virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); }; @@ -813,21 +813,21 @@ public: Beschreibung: Script Field --------------------------------------------------------------------*/ -#define MAX_COMBINED_CHARACTERS 6 +#define MAX_COMBINED_CHARACTERS 6 class SW_DLLPUBLIC SwCombinedCharField : public SwField { - String sCharacters; // combine these characters + String sCharacters; // combine these characters public: SwCombinedCharField( SwCombinedCharFieldType*, const String& rChars ); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; // Characters - virtual const String& GetPar1() const; - virtual void SetPar1(const String& rStr); + virtual const String& GetPar1() const; + virtual void SetPar1(const String& rStr); virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); diff --git a/sw/inc/dpage.hxx b/sw/inc/dpage.hxx index a5f1e451a434..c37f3d252137 100644 --- a/sw/inc/dpage.hxx +++ b/sw/inc/dpage.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -37,8 +37,8 @@ class SwDoc; class SwDPage : public FmFormPage, public SdrObjUserCall { - SdrPageGridFrameList* pGridLst; - SwDoc& rDoc; + SdrPageGridFrameList* pGridLst; + SwDoc& rDoc; public: SwDPage(SwDrawDocument& rNewModel, BOOL bMasterPage=FALSE); @@ -57,7 +57,7 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createUnoPage(); }; -#endif // _DPAGE_HXX +#endif // _DPAGE_HXX diff --git a/sw/inc/drawdoc.hxx b/sw/inc/drawdoc.hxx index f08dbcfdac6c..3aa8220ffb6c 100644 --- a/sw/inc/drawdoc.hxx +++ b/sw/inc/drawdoc.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -42,8 +42,8 @@ public: SwDrawDocument( SwDoc* pDoc ); ~SwDrawDocument(); - const SwDoc& GetDoc() const { return *pDoc; } - SwDoc& GetDoc() { return *pDoc; } + const SwDoc& GetDoc() const { return *pDoc; } + SwDoc& GetDoc() { return *pDoc; } virtual SdrPage* AllocPage(bool bMasterPage); diff --git a/sw/inc/edglbldc.hxx b/sw/inc/edglbldc.hxx index 9e6eced6fc44..a163c3457b11 100644 --- a/sw/inc/edglbldc.hxx +++ b/sw/inc/edglbldc.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -64,9 +64,9 @@ public: // fuers Sortieren inline int operator==( const SwGlblDocContent& rCmp ) const - { return GetDocPos() == rCmp.GetDocPos(); } + { return GetDocPos() == rCmp.GetDocPos(); } inline int operator<( const SwGlblDocContent& rCmp ) const - { return GetDocPos() < rCmp.GetDocPos(); } + { return GetDocPos() < rCmp.GetDocPos(); } }; diff --git a/sw/inc/edimp.hxx b/sw/inc/edimp.hxx index b06c8afe8b73..99477d80e448 100644 --- a/sw/inc/edimp.hxx +++ b/sw/inc/edimp.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -55,8 +55,8 @@ struct SwPamRange { ULONG nStart, nEnd; - SwPamRange() : nStart( 0 ), nEnd( 0 ) {} - SwPamRange( ULONG nS, ULONG nE ) : nStart( nS ), nEnd( nE ) {} + SwPamRange() : nStart( 0 ), nEnd( 0 ) {} + SwPamRange( ULONG nS, ULONG nE ) : nStart( nS ), nEnd( nE ) {} BOOL operator==( const SwPamRange& rRg ) { return nStart == rRg.nStart ? TRUE : FALSE; } @@ -75,7 +75,7 @@ public: SwPaM& SetPam( USHORT nArrPos, SwPaM& rPam ); USHORT Count() const - { return _SwPamRanges::Count(); } + { return _SwPamRanges::Count(); } SwPamRange operator[]( USHORT nPos ) const { return _SwPamRanges::operator[](nPos); } }; diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index c84d3b24e542..e7c353b7d0b7 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -35,7 +35,7 @@ #include <vcl/font.hxx> #include <editeng/swafopt.hxx> #include "swdllapi.h" -#include <crsrsh.hxx> // fuer Basisklasse +#include <crsrsh.hxx> // fuer Basisklasse #include <itabenum.hxx> #include <swdbdata.hxx> #include <com/sun/star/linguistic2/XSpellAlternatives.hpp> @@ -59,7 +59,7 @@ class SfxPoolItem; class SfxItemSet; class SvxAutoCorrect; -class SwField; // fuer Felder +class SwField; // fuer Felder class SwFieldType; class SwDDEFieldType; class SwNewDBMgr; @@ -72,22 +72,22 @@ class SwAutoCompleteWord; class SwFmtRefMark; class SwNumRule; // Numerierung -//class SwNodeNum; // Numerierung +//class SwNodeNum; // Numerierung -class SwUndoIds; // fuer Undo +class SwUndoIds; // fuer Undo class SwTxtFmtColl; class SwGrfNode; class SwFlyFrmFmt; -class SwFrmFmt; // fuer GetTxtNodeFmts() +class SwFrmFmt; // fuer GetTxtNodeFmts() class SwCharFmt; class SwExtTextInput; class SwRootFrm; // fuer CTOR -class Graphic; // fuer GetGraphic -class GraphicObject; // fuer GetGraphicObj -class SwFmtINetFmt; // InsertURL +class Graphic; // fuer GetGraphic +class GraphicObject; // fuer GetGraphicObj +class SwFmtINetFmt; // InsertURL class SwTable; -class SwTextBlocks; // fuer GlossaryRW +class SwTextBlocks; // fuer GlossaryRW class SwFmtFtn; class SwSection; class SwSectionData; @@ -125,11 +125,11 @@ class LinkManager; } #define GETSELTXT_PARABRK_TO_BLANK 0 -#define GETSELTXT_PARABRK_KEEP 1 -#define GETSELTXT_PARABRK_TO_ONLYCR 2 +#define GETSELTXT_PARABRK_KEEP 1 +#define GETSELTXT_PARABRK_TO_ONLYCR 2 /**************************************************************** - * zum Abfragen der INet-Attribute fuer den Navigator + * zum Abfragen der INet-Attribute fuer den Navigator ****************************************************************/ struct SwGetINetAttr { @@ -143,15 +143,15 @@ struct SwGetINetAttr SV_DECL_PTRARR_DEL( SwGetINetAttrs, SwGetINetAttr*, 0, 5 ) /**************************************************************** - * Typen der Inhaltsformen + * Typen der Inhaltsformen ****************************************************************/ -#define CNT_TXT 0x0001 -#define CNT_GRF 0x0002 -#define CNT_OLE 0x0010 +#define CNT_TXT 0x0001 +#define CNT_GRF 0x0002 +#define CNT_OLE 0x0010 /* Teste einen USHORT auf eine bestimmte Inhaltsform */ -#define CNT_HasTxt(USH) ((USH)&CNT_TXT) -#define CNT_HasGrf(USH) ((USH)&CNT_GRF) -#define CNT_HasOLE(USH) ((USH)&CNT_OLE) +#define CNT_HasTxt(USH) ((USH)&CNT_TXT) +#define CNT_HasGrf(USH) ((USH)&CNT_GRF) +#define CNT_HasOLE(USH) ((USH)&CNT_OLE) class SW_DLLPUBLIC SwEditShell: public SwCrsrShell { @@ -188,9 +188,9 @@ public: // Ersetz einen selektierten Bereich in einem TextNode mit dem // String. Ist fuers Suchen&Ersetzen gedacht. // bRegExpRplc - ersetze Tabs (\\t) und setze den gefundenen String - // ein ( nicht \& ) - // z.B.: Fnd: "zzz", Repl: "xx\t\\t..&..\&" - // --> "xx\t<Tab>..zzz..&" + // ein ( nicht \& ) + // z.B.: Fnd: "zzz", Repl: "xx\t\\t..&..\&" + // --> "xx\t<Tab>..zzz..&" BOOL Replace( const String& rNewStr, BOOL bRegExpRplc = FALSE ); // loescht den Inhalt aller Bereiche; @@ -224,9 +224,9 @@ public: long Copy( SwEditShell* pDestShell = 0 ); // fuers Kopieren uebers ClipBoard: - // wird Tabelle in Tabelle kopiert, verschiebe aus dieser dann - // alle Cursor. Copy und Paste muss aufgrund der FlyFrames in - // der FEShell stehen! + // wird Tabelle in Tabelle kopiert, verschiebe aus dieser dann + // alle Cursor. Copy und Paste muss aufgrund der FlyFrames in + // der FEShell stehen! // kopiere alle Selectionen und das Doc //JP 21.10.96: und fuer die SVX-Autokorrektur BOOL _CopySelToDoc( SwDoc* pInsDoc, SwNodeIndex* pNdInsPos = 0 ); @@ -292,12 +292,12 @@ public: /* Formatcollections, neu */ /* GetXXXCount() liefert die Anzahl der im Dokument vorhandenen XXX - * GetXXX(i) liefert das i-te XXX (ERR_RAISE bei Ueberindizierung!) - * DelXXX(i) loescht das i-te XXX (ERR_RAISE bei Ueberindizierung!) - * GetCurXXX() liefert das am Cursor oder in den Bereichen - * geltende XXX (0, wenn nicht eindeutig!) - * SetXXX() setzt am Cursor oder in den Bereichen das XXX - * MakeXXX() macht ein XXX, abgeleitet vom pDerivedFrom + * GetXXX(i) liefert das i-te XXX (ERR_RAISE bei Ueberindizierung!) + * DelXXX(i) loescht das i-te XXX (ERR_RAISE bei Ueberindizierung!) + * GetCurXXX() liefert das am Cursor oder in den Bereichen + * geltende XXX (0, wenn nicht eindeutig!) + * SetXXX() setzt am Cursor oder in den Bereichen das XXX + * MakeXXX() macht ein XXX, abgeleitet vom pDerivedFrom */ // TXT @@ -336,7 +336,7 @@ public: void Insert2(SwField&, const bool bForceExpandHints = false); SwField* GetCurFld() const; - void UpdateFlds( SwField & ); // ein einzelnes Feld + void UpdateFlds( SwField & ); // ein einzelnes Feld USHORT GetFldTypeCount(USHORT nResId = USHRT_MAX, BOOL bUsed = FALSE) const; SwFieldType* GetFldType(USHORT nId, USHORT nResId = USHRT_MAX, BOOL bUsed = FALSE) const; @@ -385,41 +385,41 @@ public: void UpdateDocStat( SwDocStat& rStat ); // Verzeichnismarke einfuegen loeschen - void Insert(const SwTOXMark& rMark); - void DeleteTOXMark(SwTOXMark* pMark); + void Insert(const SwTOXMark& rMark); + void DeleteTOXMark(SwTOXMark* pMark); // Alle Markierungen am aktuellen SPoint ermitteln - USHORT GetCurTOXMarks(SwTOXMarks& rMarks) const ; + USHORT GetCurTOXMarks(SwTOXMarks& rMarks) const ; // Verzeichnis einfuegen, und bei Bedarf erneuern - void InsertTableOf(const SwTOXBase& rTOX, + void InsertTableOf(const SwTOXBase& rTOX, const SfxItemSet* pSet = 0); - BOOL UpdateTableOf(const SwTOXBase& rTOX, + BOOL UpdateTableOf(const SwTOXBase& rTOX, const SfxItemSet* pSet = 0); - const SwTOXBase* GetCurTOX() const; - const SwTOXBase* GetDefaultTOXBase( TOXTypes eTyp, BOOL bCreate = FALSE ); - void SetDefaultTOXBase(const SwTOXBase& rBase); + const SwTOXBase* GetCurTOX() const; + const SwTOXBase* GetDefaultTOXBase( TOXTypes eTyp, BOOL bCreate = FALSE ); + void SetDefaultTOXBase(const SwTOXBase& rBase); - BOOL IsTOXBaseReadonly(const SwTOXBase& rTOXBase) const; - void SetTOXBaseReadonly(const SwTOXBase& rTOXBase, BOOL bReadonly); + BOOL IsTOXBaseReadonly(const SwTOXBase& rTOXBase) const; + void SetTOXBaseReadonly(const SwTOXBase& rTOXBase, BOOL bReadonly); - USHORT GetTOXCount() const; - const SwTOXBase* GetTOX( USHORT nPos ) const; - BOOL DeleteTOX( const SwTOXBase& rTOXBase, BOOL bDelNodes = FALSE ); + USHORT GetTOXCount() const; + const SwTOXBase* GetTOX( USHORT nPos ) const; + BOOL DeleteTOX( const SwTOXBase& rTOXBase, BOOL bDelNodes = FALSE ); // nach einlesen einer Datei alle Verzeichnisse updaten void SetUpdateTOX( BOOL bFlag = TRUE ); BOOL IsUpdateTOX() const; // Verzeichnis-Typen verwalten - USHORT GetTOXTypeCount(TOXTypes eTyp) const; - const SwTOXType* GetTOXType(TOXTypes eTyp, USHORT nId) const; - void InsertTOXType(const SwTOXType& rTyp); + USHORT GetTOXTypeCount(TOXTypes eTyp) const; + const SwTOXType* GetTOXType(TOXTypes eTyp, USHORT nId) const; + void InsertTOXType(const SwTOXType& rTyp); //AutoMark file - const String& GetTOIAutoMarkURL() const; - void SetTOIAutoMarkURL(const String& rSet); - void ApplyAutoMark(); + const String& GetTOIAutoMarkURL() const; + void SetTOIAutoMarkURL(const String& rSet); + void ApplyAutoMark(); // Schluessel fuer die Indexverwaltung USHORT GetTOIKeys( SwTOIKeyType eTyp, SvStringsSort& rArr ) const; @@ -650,7 +650,7 @@ public: //Updaten der Inhalte aller Charts zu der Tabelle mit dem angegeben Namen void UpdateCharts( const String &rName ); - // aktuelles Wort erfragen + // aktuelles Wort erfragen String GetCurWord(); // Textbaustein aus dem Textbausteindokument in @@ -772,8 +772,8 @@ public: // returne zum Namen die im Doc gesetzte Referenz const SwFmtRefMark* GetRefMark( const String& rName ) const; // returne die Namen aller im Doc gesetzten Referenzen - // Ist der ArrayPointer 0 dann returne nur, ob im Doc. eine RefMark - // gesetzt ist + // Ist der ArrayPointer 0 dann returne nur, ob im Doc. eine RefMark + // gesetzt ist USHORT GetRefMarks( SvStringsDtor* = 0 ) const; // rufe die Autokorrektur auf @@ -809,7 +809,7 @@ public: BOOL GetCurFtn( SwFmtFtn* pToFillFtn = 0 ); bool SetCurFtn( const SwFmtFtn& rFillFtn ); bool HasFtns( bool bEndNotes = false ) const; -//z.Zt nicht benoetigt USHORT GetFtnCnt( BOOL bEndNotes = FALSE ) const; +//z.Zt nicht benoetigt USHORT GetFtnCnt( BOOL bEndNotes = FALSE ) const; // gebe Liste aller Fussnoten und deren Anfangstexte USHORT GetSeqFtnList( SwSeqFldList& rList, bool bEndNotes = false ); @@ -867,7 +867,7 @@ public: // Numberformatter vom Doc erfragen SvNumberFormatter* GetNumberFormatter(); const SvNumberFormatter* GetNumberFormatter() const - { return ((SwEditShell*)this)->GetNumberFormatter(); } + { return ((SwEditShell*)this)->GetNumberFormatter(); } // Schnitstellen fuers GlobalDokument BOOL IsGlobalDoc() const; @@ -928,7 +928,7 @@ public: // von japanischen/chinesischen Zeichen) SwExtTextInput* CreateExtTextInput(LanguageType eInputLanguage); String DeleteExtTextInput( SwExtTextInput* pDel = 0, BOOL bInsText = TRUE); -// SwExtTextInput* GetExtTextInput() const; +// SwExtTextInput* GetExtTextInput() const; void SetExtTextInputData( const CommandExtTextInputData& ); // Schnistelle fuer den Zugriff auf die AutoComplete-Liste @@ -959,7 +959,7 @@ inline void SwEditShell::ApplyViewOptions( const SwViewOption &rOpt ) } inline const sfx2::LinkManager& SwEditShell::GetLinkManager() const -{ return ((SwEditShell*)this)->GetLinkManager(); } +{ return ((SwEditShell*)this)->GetLinkManager(); } /* * Klasse fuer den automatisierten Aufruf von Start- und @@ -972,7 +972,7 @@ public: ~SwActKontext(); }; -#define ACT_KONTEXT(x) SwActKontext _aActKontext_(x) +#define ACT_KONTEXT(x) SwActKontext _aActKontext_(x) /* * Klasse fuer den automatisierten Aufruf von Start- und @@ -985,7 +985,7 @@ public: ~SwMvKontext(); }; -#define MV_KONTEXT(x) SwMvKontext _aMvKontext_(x) +#define MV_KONTEXT(x) SwMvKontext _aMvKontext_(x) diff --git a/sw/inc/envelp.hrc b/sw/inc/envelp.hrc index bc54ac9a626c..29a42485f1d8 100644 --- a/sw/inc/envelp.hrc +++ b/sw/inc/envelp.hrc @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -79,8 +79,8 @@ #define STR_BTN_NEWDOC (RC_ENVLOP_BEGIN + 65) #define STR_SENDER_TOKENS (RC_ENVLOP_BEGIN + 66) -#define RC_ENVPRT_HC_BEGIN (RC_ENVLOP_BEGIN + 70) -#define RC_ENVPRT_HC_END (RC_ENVLOP_BEGIN + 82) +#define RC_ENVPRT_HC_BEGIN (RC_ENVLOP_BEGIN + 70) +#define RC_ENVPRT_HC_END (RC_ENVLOP_BEGIN + 82) // Ueberlaufpruefung ---------------------------------------------------------- diff --git a/sw/inc/errhdl.hxx b/sw/inc/errhdl.hxx index 20e734966523..1b89d0aa846b 100644 --- a/sw/inc/errhdl.hxx +++ b/sw/inc/errhdl.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -34,7 +34,7 @@ #include <sal/types.h> #include "swdllapi.h" -extern BOOL bAssert; // TRUE, wenn eine ASSERT Box hochkam +extern BOOL bAssert; // TRUE, wenn eine ASSERT Box hochkam // ----------------------------------------------------------------------- @@ -50,7 +50,7 @@ SW_DLLPUBLIC void AssertFail( USHORT, const sal_Char* ); // ----------------------------------------------------------------------- #define ASSERT_ID( cond, id ) \ if( !(cond) ) { \ - const char *_pFileName = __FILE__; \ + const char *_pFileName = __FILE__; \ ::AssertFail( (USHORT)id, _pFileName ); \ } @@ -60,7 +60,7 @@ SW_DLLPUBLIC void AssertFail( USHORT, const sal_Char* ); // ignoriert // ----------------------------------------------------------------------- #else -#define ASSERT_ID( cond, id ) ; +#define ASSERT_ID( cond, id ) ; #endif // PRODUCT diff --git a/sw/inc/error.h b/sw/inc/error.h index 004d40cb885a..7ca8f71674bf 100644 --- a/sw/inc/error.h +++ b/sw/inc/error.h @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -32,19 +32,19 @@ #define ERR_SWGBASE 25000 /*** Error Codes **********************************************************/ -#define ERR_VAR_IDX (ERR_SWGBASE+ 0) -#define ERR_OUTOFSCOPE (ERR_SWGBASE+ 1) +#define ERR_VAR_IDX (ERR_SWGBASE+ 0) +#define ERR_OUTOFSCOPE (ERR_SWGBASE+ 1) /* Error Codes fuer Numerierungsregeln */ -#define ERR_NUMLEVEL (ERR_SWGBASE+ 2) +#define ERR_NUMLEVEL (ERR_SWGBASE+ 2) /* Error Codes fuer TxtNode */ -#define ERR_NOHINTS (ERR_SWGBASE+ 3) +#define ERR_NOHINTS (ERR_SWGBASE+ 3) // von _START bis _END sind in der COREDL.DLL entsprechende Strings // abgelegt, die erfragt werden koennen. -#define ERR_SWGMSG_START (ERR_VAR_IDX) -#define ERR_SWGMSG_END (ERR_NOHINTS) +#define ERR_SWGMSG_START (ERR_VAR_IDX) +#define ERR_SWGMSG_END (ERR_NOHINTS) diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx index 8ad32b06ab70..cbcea3de98d5 100644 --- a/sw/inc/expfld.hxx +++ b/sw/inc/expfld.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -44,7 +44,7 @@ class _SetGetExpFlds; class SwEditShell; // Vorwaertsdeklaration: besorge den "Body-TextNode", fuer Exp.Fld in Fly's -// Header/Footers/Footnodes +// Header/Footers/Footnodes const SwTxtNode* GetBodyTxtNode( const SwDoc& pDoc, SwPosition& rPos, const SwFrm& rFrm ); // Wandlung Address -> Adressen @@ -64,7 +64,7 @@ SV_DECL_PTRARR_DEL( _SwSeqFldList, _SeqFldLstElem*, 10, 10 ) class SW_DLLPUBLIC SwSeqFldList : public _SwSeqFldList { public: - SwSeqFldList() : _SwSeqFldList( 10, 10 ) {} + SwSeqFldList() : _SwSeqFldList( 10, 10 ) {} BOOL InsertSort( _SeqFldLstElem* ); BOOL SeekEntry( const _SeqFldLstElem& , USHORT* pPos = 0 ); @@ -93,54 +93,54 @@ public: class SW_DLLPUBLIC SwGetExpField : public SwFormulaField { - String sExpand; - BOOL bIsInBodyTxt; - USHORT nSubType; + String sExpand; + BOOL bIsInBodyTxt; + USHORT nSubType; - bool bLateInitialization; // #i82544# + bool bLateInitialization; // #i82544# public: SwGetExpField( SwGetExpFieldType*, const String& rFormel, USHORT nSubType = nsSwGetSetExpType::GSE_EXPR, ULONG nFmt = 0); - virtual void SetValue( const double& rVal ); - virtual void SetLanguage(USHORT nLng); + virtual void SetValue( const double& rVal ); + virtual void SetLanguage(USHORT nLng); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; - inline const String& GetExpStr() const; - inline void ChgExpStr(const String& rExpand); + inline const String& GetExpStr() const; + inline void ChgExpStr(const String& rExpand); // wird von der Formatierung abgefragt - inline BOOL IsInBodyTxt() const; + inline BOOL IsInBodyTxt() const; // wird von UpdateExpFlds gesetzt (dort ist die Node-Position bekannt) - inline void ChgBodyTxtFlag( BOOL bIsInBody ); + inline void ChgBodyTxtFlag( BOOL bIsInBody ); // fuer Felder in Header/Footer/Footnotes/Flys: // (wird nur von der Formatierung aufgerufen!!) - void ChangeExpansion( const SwFrm&, const SwTxtFld& ); + void ChangeExpansion( const SwFrm&, const SwTxtFld& ); - virtual String GetCntnt(BOOL bName = FALSE) const; + virtual String GetCntnt(BOOL bName = FALSE) const; // Die Formel aendern - virtual String GetPar2() const; - virtual void SetPar2(const String& rStr); + virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); - virtual USHORT GetSubType() const; - virtual void SetSubType(USHORT nType); + virtual USHORT GetSubType() const; + virtual void SetSubType(USHORT nType); virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); - static USHORT GetReferenceTextPos( const SwFmtFld& rFmt, SwDoc& rDoc); - // #i82544# - void SetLateInitialization() { bLateInitialization = true;} + static USHORT GetReferenceTextPos( const SwFmtFld& rFmt, SwDoc& rDoc); + // #i82544# + void SetLateInitialization() { bLateInitialization = true;} }; inline void SwGetExpField::ChgExpStr(const String& rExpand) { sExpand = rExpand;} inline const String& SwGetExpField::GetExpStr() const - { return sExpand; } + { return sExpand; } // wird von der Formatierung abgefragt inline BOOL SwGetExpField::IsInBodyTxt() const @@ -159,33 +159,33 @@ class SwSetExpField; class SW_DLLPUBLIC SwSetExpFieldType : public SwValueFieldType { - String sName; + String sName; const SwNode* pOutlChgNd; -// sal_Unicode cDelim; - String sDelim; - USHORT nType; - BYTE nLevel; - BOOL bDeleted; +// sal_Unicode cDelim; + String sDelim; + USHORT nType; + BYTE nLevel; + BOOL bDeleted; public: SwSetExpFieldType( SwDoc* pDoc, const String& rName, USHORT nType = nsSwGetSetExpType::GSE_EXPR ); virtual SwFieldType* Copy() const; - virtual const String& GetName() const; + virtual const String& GetName() const; - inline void SetType(USHORT nTyp); - inline USHORT GetType() const; + inline void SetType(USHORT nTyp); + inline USHORT GetType() const; - void SetSeqFormat(ULONG nFormat); - ULONG GetSeqFormat(); + void SetSeqFormat(ULONG nFormat); + ULONG GetSeqFormat(); - BOOL IsDeleted() const { return bDeleted; } - void SetDeleted( BOOL b ) { bDeleted = b; } + BOOL IsDeleted() const { return bDeleted; } + void SetDeleted( BOOL b ) { bDeleted = b; } // ueberlagert, weil das Set-Field selbst dafuer sorgt, das // es aktualisiert wird. - virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew ); - inline const String& GetSetRefName() const; + virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew ); + inline const String& GetSetRefName() const; USHORT SetSeqRefNo( SwSetExpField& rFld ); @@ -193,17 +193,17 @@ public: String MakeSeqName( USHORT nSeqNo ); // Seqencefelder ggfs. Kapitelweise numerieren -// sal_Unicode GetDelimiter() const { return cDelim; } -// void SetDelimiter( sal_Unicode c ) { cDelim = c; } - const String& GetDelimiter() const { return sDelim; } - void SetDelimiter( const String& s ) { sDelim = s; } - BYTE GetOutlineLvl() const { return nLevel; } - void SetOutlineLvl( BYTE n ) { nLevel = n; } +// sal_Unicode GetDelimiter() const { return cDelim; } +// void SetDelimiter( sal_Unicode c ) { cDelim = c; } + const String& GetDelimiter() const { return sDelim; } + void SetDelimiter( const String& s ) { sDelim = s; } + BYTE GetOutlineLvl() const { return nLevel; } + void SetOutlineLvl( BYTE n ) { nLevel = n; } void SetChapter( SwSetExpField& rFld, const SwNode& rNd ); // Member nur fuers SwDoc::UpdateExpFld - wird nur waehrend der Laufzeit // von SequencefeldTypen benoetigt!!! - const SwNode* GetOutlineChgNd() const { return pOutlChgNd; } - void SetOutlineChgNd( const SwNode* p ) { pOutlChgNd = p; } + const SwNode* GetOutlineChgNd() const { return pOutlChgNd; } + void SetOutlineChgNd( const SwNode* p ) { pOutlChgNd = p; } virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); @@ -216,7 +216,7 @@ inline void SwSetExpFieldType::SetType( USHORT nTyp ) } inline USHORT SwSetExpFieldType::GetType() const - { return nType; } + { return nType; } inline const String& SwSetExpFieldType::GetSetRefName() const { return sName; } @@ -228,67 +228,67 @@ inline const String& SwSetExpFieldType::GetSetRefName() const class SW_DLLPUBLIC SwSetExpField : public SwFormulaField { - String sExpand; - String aPText; - String aSeqText; - BOOL bInput; - USHORT nSeqNo; - USHORT nSubType; + String sExpand; + String aPText; + String aSeqText; + BOOL bInput; + USHORT nSeqNo; + USHORT nSubType; public: SwSetExpField(SwSetExpFieldType*, const String& rFormel, ULONG nFmt = 0); - virtual void SetValue( const double& rVal ); + virtual void SetValue( const double& rVal ); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; - inline const String& GetExpStr() const; + inline const String& GetExpStr() const; - inline void ChgExpStr( const String& rExpand ); + inline void ChgExpStr( const String& rExpand ); - inline void SetPromptText(const String& rStr); - inline const String& GetPromptText() const; + inline void SetPromptText(const String& rStr); + inline const String& GetPromptText() const; - inline void SetInputFlag(BOOL bInp); - inline BOOL GetInputFlag() const; + inline void SetInputFlag(BOOL bInp); + inline BOOL GetInputFlag() const; virtual String GetCntnt(BOOL bName = FALSE) const; - virtual USHORT GetSubType() const; - virtual void SetSubType(USHORT nType); + virtual USHORT GetSubType() const; + virtual void SetSubType(USHORT nType); - inline BOOL IsSequenceFld() const; + inline BOOL IsSequenceFld() const; // fuer SequenceFelder - logische Nummer - inline void SetSeqNumber( USHORT n ) { nSeqNo = n; } - inline USHORT GetSeqNumber() const { return nSeqNo; } + inline void SetSeqNumber( USHORT n ) { nSeqNo = n; } + inline USHORT GetSeqNumber() const { return nSeqNo; } // Der Name nur erfragen - virtual const String& GetPar1() const; + virtual const String& GetPar1() const; // Die Formel - virtual String GetPar2() const; - virtual void SetPar2(const String& rStr); + virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); }; inline const String& SwSetExpField::GetExpStr() const - { return sExpand; } + { return sExpand; } inline void SwSetExpField::ChgExpStr( const String& rExpand ) - { sExpand = rExpand; } + { sExpand = rExpand; } inline void SwSetExpField::SetPromptText(const String& rStr) - { aPText = rStr; } + { aPText = rStr; } inline const String& SwSetExpField::GetPromptText() const - { return aPText; } + { return aPText; } inline void SwSetExpField::SetInputFlag(BOOL bInp) { bInput = bInp; } -inline BOOL SwSetExpField::GetInputFlag() const +inline BOOL SwSetExpField::GetInputFlag() const { return bInput; } inline BOOL SwSetExpField::IsSequenceFld() const @@ -316,7 +316,7 @@ public: class SW_DLLPUBLIC SwInputField : public SwField { String aContent; - String aPText; + String aPText; String aHelp; String aToolTip; USHORT nSubType; @@ -326,17 +326,17 @@ public: const String& rPrompt, USHORT nSubType = 0, ULONG nFmt = 0); - virtual String GetCntnt(BOOL bName = FALSE) const; - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String GetCntnt(BOOL bName = FALSE) const; + virtual String Expand() const; + virtual SwField* Copy() const; // Content - virtual const String& GetPar1() const; - virtual void SetPar1(const String& rStr); + virtual const String& GetPar1() const; + virtual void SetPar1(const String& rStr); // aPromptText - virtual String GetPar2() const; - virtual void SetPar2(const String& rStr); + virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); virtual String GetHelp() const; virtual void SetHelp(const String & rStr); @@ -346,8 +346,8 @@ public: virtual BOOL isFormField() const; - virtual USHORT GetSubType() const; - virtual void SetSubType(USHORT nSub); + virtual USHORT GetSubType() const; + virtual void SetSubType(USHORT nSub); virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); }; @@ -362,25 +362,25 @@ public: SwInputFieldList( SwEditShell* pShell, BOOL bBuildTmpLst = FALSE ); ~SwInputFieldList(); - USHORT Count() const; + USHORT Count() const; SwField* GetField(USHORT nId); - void GotoFieldPos(USHORT nId); - void PushCrsr(); - void PopCrsr(); + void GotoFieldPos(USHORT nId); + void PushCrsr(); + void PopCrsr(); // vergleiche TmpLst mit akt Feldern. Alle neue kommen in die SortLst // damit sie geupdatet werden koennen. Returnt die Anzahl. // (Fuer Textbausteine: nur seine Input-Felder aktualisieren) - USHORT BuildSortLst(); + USHORT BuildSortLst(); // Alle unselektierten Felder aus Liste entfernen - void RemoveUnselectedFlds(); + void RemoveUnselectedFlds(); private: - SwEditShell* pSh; - _SetGetExpFlds* pSrtLst; - SvPtrarr aTmpLst; + SwEditShell* pSh; + _SetGetExpFlds* pSrtLst; + SvPtrarr aTmpLst; }; /*-------------------------------------------------------------------- @@ -398,13 +398,13 @@ public: // MSC will den hier nicht //typedef void (SwField:: *FnScanFormel)( const SwTable&, String&, -// String&, String* = 0, void* = 0 ); +// String&, String* = 0, void* = 0 ); class SwTblField : public SwValueField, public SwTableFormula { - String sExpand; - USHORT nSubType; + String sExpand; + USHORT nSubType; // suche den TextNode, in dem das Feld steht virtual const SwNode* GetNodeOfFormula() const; @@ -413,22 +413,22 @@ public: SwTblField( SwTblFieldType*, const String& rFormel, USHORT nSubType = 0, ULONG nFmt = 0); - virtual void SetValue( const double& rVal ); - virtual USHORT GetSubType() const; - virtual void SetSubType(USHORT nType); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual void SetValue( const double& rVal ); + virtual USHORT GetSubType() const; + virtual void SetSubType(USHORT nType); + virtual String Expand() const; + virtual SwField* Copy() const; - const String& GetExpStr() const { return sExpand; } - void ChgExpStr(const String& rStr) { sExpand = rStr; } + const String& GetExpStr() const { return sExpand; } + void ChgExpStr(const String& rStr) { sExpand = rStr; } // berechne sich selbst - void CalcField( SwTblCalcPara& rCalcPara ); + void CalcField( SwTblCalcPara& rCalcPara ); - virtual String GetCntnt(BOOL bName = FALSE) const; + virtual String GetCntnt(BOOL bName = FALSE) const; // Die Formel - virtual String GetPar2() const; - virtual void SetPar2(const String& rStr); + virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); }; diff --git a/sw/inc/extinput.hxx b/sw/inc/extinput.hxx index d3fe1ffe32cd..4ad5af8d2f5a 100644 --- a/sw/inc/extinput.hxx +++ b/sw/inc/extinput.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -49,13 +49,13 @@ public: virtual ~SwExtTextInput(); void SetInputData( const CommandExtTextInputData& rData ); - const SvUShorts& GetAttrs() const { return aAttrs; } + const SvUShorts& GetAttrs() const { return aAttrs; } void SetInsText( BOOL bFlag ) { bInsText = bFlag; } - BOOL IsOverwriteCursor() const { return bIsOverwriteCursor; } + BOOL IsOverwriteCursor() const { return bIsOverwriteCursor; } void SetOverwriteCursor( BOOL bFlag ); void SetLanguage(LanguageType eSet) { eInputLanguage = eSet;} }; -#endif //_EXTINPUT_HXX +#endif //_EXTINPUT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/fchrfmt.hxx b/sw/inc/fchrfmt.hxx index 3f1bc140dae0..ea647115fd84 100644 --- a/sw/inc/fchrfmt.hxx +++ b/sw/inc/fchrfmt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -43,7 +43,7 @@ class IntlWrapper; class SW_DLLPUBLIC SwFmtCharFmt: public SfxPoolItem, public SwClient { friend class SwTxtCharFmt; - SwTxtCharFmt* pTxtAttr; // mein TextAttribut + SwTxtCharFmt* pTxtAttr; // mein TextAttribut public: SwFmtCharFmt() : pTxtAttr(0) {} @@ -63,19 +63,19 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); // an das SwTxtCharFmt weiterleiten (vom SwClient) virtual void Modify( SfxPoolItem*, SfxPoolItem* ); - virtual BOOL GetInfo( SfxPoolItem& rInfo ) const; + virtual BOOL GetInfo( SfxPoolItem& rInfo ) const; void SetCharFmt( SwFmt* pFmt ) { pFmt->Add(this); } SwCharFmt* GetCharFmt() const { return (SwCharFmt*)GetRegisteredIn(); } diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx index 80e4deed29ad..aed33cdec1e2 100644 --- a/sw/inc/fesh.hxx +++ b/sw/inc/fesh.hxx @@ -72,46 +72,46 @@ namespace svx // return values for GetFrmType() und GetSelFrmType(). //! values can be combined via logival or -#define FRMTYPE_NONE (USHORT) 0 -#define FRMTYPE_PAGE (USHORT) 1 -#define FRMTYPE_HEADER (USHORT) 2 -#define FRMTYPE_FOOTER (USHORT) 4 -#define FRMTYPE_BODY (USHORT) 8 -#define FRMTYPE_COLUMN (USHORT) 16 -#define FRMTYPE_TABLE (USHORT) 32 -#define FRMTYPE_FLY_FREE (USHORT) 64 -#define FRMTYPE_FLY_ATCNT (USHORT) 128 -#define FRMTYPE_FLY_INCNT (USHORT) 256 -#define FRMTYPE_FOOTNOTE (USHORT) 512 -#define FRMTYPE_FTNPAGE (USHORT) 1024 -#define FRMTYPE_FLY_ANY (USHORT) 2048 -#define FRMTYPE_DRAWOBJ (USHORT) 4096 -#define FRMTYPE_COLSECT (USHORT) 8192 -#define FRMTYPE_COLSECTOUTTAB (USHORT) 16384 +#define FRMTYPE_NONE (USHORT) 0 +#define FRMTYPE_PAGE (USHORT) 1 +#define FRMTYPE_HEADER (USHORT) 2 +#define FRMTYPE_FOOTER (USHORT) 4 +#define FRMTYPE_BODY (USHORT) 8 +#define FRMTYPE_COLUMN (USHORT) 16 +#define FRMTYPE_TABLE (USHORT) 32 +#define FRMTYPE_FLY_FREE (USHORT) 64 +#define FRMTYPE_FLY_ATCNT (USHORT) 128 +#define FRMTYPE_FLY_INCNT (USHORT) 256 +#define FRMTYPE_FOOTNOTE (USHORT) 512 +#define FRMTYPE_FTNPAGE (USHORT) 1024 +#define FRMTYPE_FLY_ANY (USHORT) 2048 +#define FRMTYPE_DRAWOBJ (USHORT) 4096 +#define FRMTYPE_COLSECT (USHORT) 8192 +#define FRMTYPE_COLSECTOUTTAB (USHORT) 16384 #define FRMTYPE_ANYCOLSECT ( FRMTYPE_COLSECT | FRMTYPE_COLSECTOUTTAB ) //! values can be combined via logival or -#define GOTOOBJ_DRAW_CONTROL (USHORT) 1 -#define GOTOOBJ_DRAW_SIMPLE (USHORT) 2 -#define GOTOOBJ_DRAW_ANY (USHORT) 3 -#define GOTOOBJ_FLY_FRM (USHORT) 4 -#define GOTOOBJ_FLY_GRF (USHORT) 8 -#define GOTOOBJ_FLY_OLE (USHORT) 16 -#define GOTOOBJ_FLY_ANY (USHORT) 28 -#define GOTOOBJ_GOTO_ANY (USHORT) 31 +#define GOTOOBJ_DRAW_CONTROL (USHORT) 1 +#define GOTOOBJ_DRAW_SIMPLE (USHORT) 2 +#define GOTOOBJ_DRAW_ANY (USHORT) 3 +#define GOTOOBJ_FLY_FRM (USHORT) 4 +#define GOTOOBJ_FLY_GRF (USHORT) 8 +#define GOTOOBJ_FLY_OLE (USHORT) 16 +#define GOTOOBJ_FLY_ANY (USHORT) 28 +#define GOTOOBJ_GOTO_ANY (USHORT) 31 //! values can be combined via logival or -#define FLYPROTECT_CONTENT (USHORT) 1 // kann verodert werden! -#define FLYPROTECT_SIZE (USHORT) 2 -#define FLYPROTECT_POS (USHORT) 4 -#define FLYPROTECT_PARENT (USHORT) 8 // nur Parents untersuchen -#define FLYPROTECT_FIXED (USHORT) 16 // nur nicht aufhebbarer Schutz +#define FLYPROTECT_CONTENT (USHORT) 1 // kann verodert werden! +#define FLYPROTECT_SIZE (USHORT) 2 +#define FLYPROTECT_POS (USHORT) 4 +#define FLYPROTECT_PARENT (USHORT) 8 // nur Parents untersuchen +#define FLYPROTECT_FIXED (USHORT) 16 // nur nicht aufhebbarer Schutz // z.B. durch OLE-Server, gilt auch // fuer Dialog -enum ObjCntType //Fuer das Ermitteln des Cntnts per Positon (D&D) +enum ObjCntType //Fuer das Ermitteln des Cntnts per Positon (D&D) { OBJCNT_NONE, OBJCNT_FLY, @@ -122,25 +122,25 @@ enum ObjCntType //Fuer das Ermitteln des Cntnts per Positon (D&D) OBJCNT_URLBUTTON, OBJCNT_GROUPOBJ, - OBJCNT_DONTCARE // nicht bestimmbar - unterschiedliche Objecte selektiert + OBJCNT_DONTCARE // nicht bestimmbar - unterschiedliche Objecte selektiert }; //fuer GetAnyCurRect enum CurRectType { - RECT_PAGE, //Rect der aktuellen Seite. - RECT_PAGE_CALC, //... Seite wird ggf. Formatiert + RECT_PAGE, //Rect der aktuellen Seite. + RECT_PAGE_CALC, //... Seite wird ggf. Formatiert RECT_PAGE_PRT, //Rect der aktuellen PrtArea der Seite RECT_FRM, //Rect des aktuellen Rahmen RECT_FLY_EMBEDDED, //Rect des aktuellen FlyFrm RECT_FLY_PRT_EMBEDDED, //Rect der PrtArea des FlyFrm - RECT_SECTION, //Rect des aktuellen Bereichs - RECT_OUTTABSECTION, //Rect des aktuellen Bereichs, + RECT_SECTION, //Rect des aktuellen Bereichs + RECT_OUTTABSECTION, //Rect des aktuellen Bereichs, // aber ausserhalb der Tabelle - RECT_SECTION_PRT, //Rect der aktuellen PrtArea des Bereichs - RECT_OUTTABSECTION_PRT, //Rect der aktuellen PrtArea des Bereichs, + RECT_SECTION_PRT, //Rect der aktuellen PrtArea des Bereichs + RECT_OUTTABSECTION_PRT, //Rect der aktuellen PrtArea des Bereichs, // aber ausserhalb der Tabelle - RECT_HEADERFOOTER, //Rect des aktuellen Headers/Footer + RECT_HEADERFOOTER, //Rect des aktuellen Headers/Footer RECT_HEADERFOOTER_PRT, //Rect der PrtArea des aktuellen Headers/Footers RECT_PAGES_AREA //Rect covering the pages area @@ -153,9 +153,9 @@ struct SwGetCurColNumPara SwGetCurColNumPara() : pFrmFmt( 0 ), pPrtRect( 0 ), pFrmRect( 0 ) {} }; -#define SW_PASTESDR_INSERT 1 -#define SW_PASTESDR_REPLACE 2 -#define SW_PASTESDR_SETATTR 3 +#define SW_PASTESDR_INSERT 1 +#define SW_PASTESDR_REPLACE 2 +#define SW_PASTESDR_SETATTR 3 #define SW_ADD_SELECT 1 #define SW_ENTER_GROUP 2 @@ -259,14 +259,14 @@ public: void DelSelectedObj(); //Selektion nach oben unten bewegen (Z-Order). - //TRUE == ganz nach oben/unten + //TRUE == ganz nach oben/unten //FALSE == einen ueberholen void SelectionToTop ( BOOL bTop = TRUE ); void SelectionToBottom( BOOL bBottom = TRUE ); - short GetLayerId() const; //1 Heaven, 0 Hell, -1 Uneindeutig - void SelectionToHeaven(); //Ueber dem Dokument - void SelectionToHell(); //Unter dem Dokument + short GetLayerId() const; //1 Heaven, 0 Hell, -1 Uneindeutig + void SelectionToHeaven(); //Ueber dem Dokument + void SelectionToHell(); //Unter dem Dokument // folgende zwei Methoden returnen den enum SdrHdlKind, um sich ein // includen von SVDRAW.HXX zu ersparen als int deklariert. @@ -291,7 +291,7 @@ public: // Obgleich (0,TRUE) eine Art Standard ist, sind die Parameter nicht defaultet, damit // bei jeder Benutzung insbesondere das bStopAtFly bewusst genutzt wird. USHORT GetFrmType( const Point *pPt, BOOL bStopAtFly ) const; - USHORT GetSelFrmType() const; //Selektion (Drawing) + USHORT GetSelFrmType() const; //Selektion (Drawing) /** #108784# check whether selected frame contains a control; * companion method to GetSelFrmType, used for preventing @@ -324,14 +324,14 @@ public: void SetObjRect( const SwRect& rRect ); long BeginDrag( const Point *pPt, BOOL bProp ); - long Drag ( const Point *pPt, BOOL bProp ); + long Drag ( const Point *pPt, BOOL bProp ); long EndDrag ( const Point *pPt, BOOL bProp ); void BreakDrag(); //Methoden fuer die Statuszeile. - Point GetAnchorObjDiff() const; //Abstand zum Anker - Point GetObjAbsPos() const; //Absolute Position - Size GetObjSize() const; //Groesse, ggf. die umschliessende + Point GetAnchorObjDiff() const; //Abstand zum Anker + Point GetObjAbsPos() const; //Absolute Position + Size GetObjSize() const; //Groesse, ggf. die umschliessende //SS fuer die BriefUmschlaege: hole alle Seitengebundenen Objekte //und setze diese auf eine neue Seite. @@ -376,8 +376,8 @@ public: // determines whether a frame or its environment is vertically formatted and right-to-left BOOL IsFrmVertical(BOOL bEnvironment, BOOL& bRightToLeft) const; - SwFrmFmt* GetCurFrmFmt() const; //Wenn Rahmen, dann Rahmenvorlage, sonst 0 - void SetFrmFmt( SwFrmFmt *pFmt, BOOL bKeepOrient = FALSE, Point* pDocPos = 0 ); //Wenn Rahmen, dann Rahmenvorlage setzen + SwFrmFmt* GetCurFrmFmt() const; //Wenn Rahmen, dann Rahmenvorlage, sonst 0 + void SetFrmFmt( SwFrmFmt *pFmt, BOOL bKeepOrient = FALSE, Point* pDocPos = 0 ); //Wenn Rahmen, dann Rahmenvorlage setzen const SwFlyFrm *GetCurrFlyFrm() const { return FindFlyFrm(); } // finde/loeschen den Fly, in dem der Cursor steht @@ -429,8 +429,8 @@ public: void MakeObjVisible( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >& ) const; // check resize of OLE-Object - BOOL IsCheckForOLEInCaption() const { return bCheckForOLEInCaption; } - void SetCheckForOLEInCaption( BOOL bFlag ) { bCheckForOLEInCaption = bFlag; } + BOOL IsCheckForOLEInCaption() const { return bCheckForOLEInCaption; } + void SetCheckForOLEInCaption( BOOL bFlag ) { bCheckForOLEInCaption = bFlag; } // setze am selektierten FlyFrame einen Namen void SetFlyName( const String& rName ); @@ -476,11 +476,11 @@ public: //Setzen vom DragMode (z.B. Rotate), tut nix bei Rahmenselektion. void SetDragMode( UINT16 eSdrDragMode ); - USHORT IsObjSelected() const; //Liefert gleich die Anzahl der Objekte, + USHORT IsObjSelected() const; //Liefert gleich die Anzahl der Objekte, //zaehlt aber nicht die Objekte in Gruppen. sal_Bool IsObjSelected( const SdrObject& rObj ) const; - void EndTextEdit(); //Loescht ggf. das Objekt. + void EndTextEdit(); //Loescht ggf. das Objekt. //Ankertyp des selektierten Objektes, -1 bei Uneindeutigkeit oder //Rahmenselektion; FLY_AT_PAGE bzw. FLY_AT_PARA aus frmatr.hxx sonst. @@ -496,7 +496,7 @@ public: BOOL BeginCreate( UINT16 /*SdrObjKind ?*/ eSdrObjectKind, const Point &rPos ); BOOL BeginCreate( UINT16 /*SdrObjKind ?*/ eSdrObjectKind, UINT32 eObjInventor, const Point &); void MoveCreate ( const Point &rPos ); - BOOL EndCreate ( UINT16 eSdrCreateCmd ); + BOOL EndCreate ( UINT16 eSdrCreateCmd ); void BreakCreate(); BOOL IsDrawCreate() const; void CreateDefaultShape( UINT16 /*SdrObjKind ?*/ eSdrObjectKind, const Rectangle& rRect, USHORT nSlotId); @@ -508,15 +508,15 @@ public: void BreakMark(); //Gruppe erzeugen, aufloesen, nix bei Rahmenselektion. - BOOL IsGroupSelected(); //Kann auch eine Mischselektion sein! - void GroupSelection(); //Hinterher ist die Gruppe selektiert. - void UnGroupSelection(); //Die Einzelobjekte sind Selektiert + BOOL IsGroupSelected(); //Kann auch eine Mischselektion sein! + void GroupSelection(); //Hinterher ist die Gruppe selektiert. + void UnGroupSelection(); //Die Einzelobjekte sind Selektiert //Es koennen noch immer Gruppen dabei sein. // OD 27.06.2003 #108784# - change return type. bool IsGroupAllowed() const; - void MirrorSelection( BOOL bHorizontal ); //Bei FALSE Vertikal + void MirrorSelection( BOOL bHorizontal ); //Bei FALSE Vertikal //frmatr.hxx. Hier kein enum wg. Abhaengigkeiten //Der BOOL ist nur fuer internen Gebrauch! Anker wird nur - anhand der @@ -592,7 +592,7 @@ public: const SfxItemSet* pFlyAttrSet = 0, const SfxItemSet* pGrfAttrSet = 0, SwFrmFmt* = 0 ); - BOOL FinishOLEObj(); // Server wird beendet + BOOL FinishOLEObj(); // Server wird beendet //Attribute der Tabelle besorgen/setzen. void GetTblAttr( SfxItemSet & ) const; @@ -609,13 +609,13 @@ public: BOOL DeleteCol(); BOOL DeleteRow(); - BOOL DeleteTblSel(); //Aktuelle Selektion, ggf. die ganze Tabelle. + BOOL DeleteTblSel(); //Aktuelle Selektion, ggf. die ganze Tabelle. - USHORT MergeTab(); //Merged selektierte Tabellenteile zusammen + USHORT MergeTab(); //Merged selektierte Tabellenteile zusammen //Fehler ueber enum zurueck // Zelle Vertikal oder Horizontal splitten. BOOL SplitTab( BOOL nVert = TRUE, USHORT nCnt = 1, BOOL bSameHeight = FALSE ); - BOOL Sort(const SwSortOptions&); //Sortieren. + BOOL Sort(const SwSortOptions&); //Sortieren. void SetRowHeight( const SwFmtFrmSize &rSz ); //Der Pointer muss vom Aufrufer zerstoert werden wenn != 0 @@ -625,14 +625,14 @@ public: void GetRowSplit( SwFmtRowSplit *&rpSz ) const; void SetBoxAlign( USHORT nOrient ); - USHORT GetBoxAlign() const; //USHRT_MAX fuer uneindeutig! + USHORT GetBoxAlign() const; //USHRT_MAX fuer uneindeutig! //Ausgleichen der Zeilenhoehen. Mit bTstOnly festellen ob mehr als eine //Zeile markiert ist. BOOL BalanceRowHeight( BOOL bTstOnly ); void SetTabBorders( const SfxItemSet& rSet ); - void GetTabBorders( SfxItemSet& rSet) const; + void GetTabBorders( SfxItemSet& rSet) const; void SetTabLineStyle(const Color* pColor, BOOL bSetLine = FALSE, const SvxBorderLine* pBorderLine = NULL); void SetTabBackground( const SvxBrushItem &rNew ); @@ -667,8 +667,8 @@ public: void ProtectCells(); //Falls eine Tabselektion besteht, wird sie ver- // nichtet, wenn der Cursor nicht in Readonly darf - void UnProtectCells(); // auf die Tabellenselektin - void UnProtectTbls(); //bei allen Tabellen in der Selektion den Schutz aufheben + void UnProtectCells(); // auf die Tabellenselektin + void UnProtectTbls(); //bei allen Tabellen in der Selektion den Schutz aufheben BOOL HasTblAnyProtection( const String* pTblName = 0, BOOL* pFullTblProtection = 0 ); BOOL CanUnProtectCells() const; @@ -703,14 +703,14 @@ public: // Autosumme BOOL GetAutoSum( String& rFml ) const; - //Phy: Tatsaechliche Seitenanzahl. + //Phy: Tatsaechliche Seitenanzahl. //Virt: Vom User evtl. gesetzten Offset mit einbeziehen. - USHORT GetPhyPageNum(); + USHORT GetPhyPageNum(); // Setzt an der aktuellen Postion einen neuen Page Offset void SetNewPageOffset( USHORT nOffset ); - void SetPageOffset( USHORT nOffset ); //Aendert den letzten Page Offset - USHORT GetPageOffset() const; //Liefert den letzten Page Offset + void SetPageOffset( USHORT nOffset ); //Aendert den letzten Page Offset + USHORT GetPageOffset() const; //Liefert den letzten Page Offset //SS fuer Beschriftungen void InsertLabel( const SwLabelType eType, const String &rTxt, const String& rSeparator, @@ -720,12 +720,12 @@ public: const BOOL bCpyBrd = TRUE ); //Das Lineal will auch noch etwas von uns wissen. - USHORT GetCurColNum( SwGetCurColNumPara* pPara = 0 ) const; //0 == in keiner Spalte + USHORT GetCurColNum( SwGetCurColNumPara* pPara = 0 ) const; //0 == in keiner Spalte USHORT GetCurMouseColNum( const Point &rPt, SwGetCurColNumPara* pPara = 0 ) const; - USHORT GetCurTabColNum() const; //0 == in keiner Tabelle + USHORT GetCurTabColNum() const; //0 == in keiner Tabelle USHORT GetCurMouseTabColNum( const Point &rPt ) const; - USHORT GetCurOutColNum( SwGetCurColNumPara* pPara = 0 ) const; // aktuelle aeussere Spalte + USHORT GetCurOutColNum( SwGetCurColNumPara* pPara = 0 ) const; // aktuelle aeussere Spalte BOOL IsTableRightToLeft() const; BOOL IsMouseTableRightToLeft( const Point &rPt ) const; diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx index c3b8c1be4614..9bc2fb1b67b3 100644 --- a/sw/inc/fldbas.hxx +++ b/sw/inc/fldbas.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -28,7 +28,7 @@ #ifndef _FLDBAS_HXX #define _FLDBAS_HXX -#ifndef FIELDIDS_ONLY // SWG-Testreader!! +#ifndef FIELDIDS_ONLY // SWG-Testreader!! #include <i18npool/lang.h> #include <tools/debug.hxx> @@ -41,10 +41,10 @@ class SwDoc; class SvStringsDtor; class SvNumberFormatter; -#endif // FIELDIDS_ONLY +#endif // FIELDIDS_ONLY /*-------------------------------------------------------------------- - Beschreibung: die ID's fuer die Feldtypen + Beschreibung: die ID's fuer die Feldtypen --------------------------------------------------------------------*/ enum RES_FIELDS @@ -88,7 +88,7 @@ enum RES_FIELDS RES_JUMPEDITFLD, RES_SCRIPTFLD, RES_DATETIMEFLD, - RES_AUTHORITY, //Table of authorities + RES_AUTHORITY, //Table of authorities RES_COMBINED_CHARS, RES_DROPDOWN, RES_FIELDS_END @@ -101,7 +101,7 @@ enum RES_FIELDS enum SwFldTypesEnum { TYP_BEGIN, - TYP_DATEFLD = TYP_BEGIN, // 0 + TYP_DATEFLD = TYP_BEGIN, // 0 TYP_TIMEFLD, TYP_FILENAMEFLD, TYP_DBNAMEFLD, @@ -111,7 +111,7 @@ enum SwFldTypesEnum TYP_AUTHORFLD, TYP_SETFLD, TYP_GETFLD, - TYP_FORMELFLD, // 10 + TYP_FORMELFLD, // 10 TYP_HIDDENTXTFLD, TYP_SETREFFLD, TYP_GETREFFLD, @@ -121,7 +121,7 @@ enum SwFldTypesEnum TYP_HIDDENPARAFLD, TYP_DOCINFOFLD, TYP_DBFLD, - TYP_USERFLD, // 20 + TYP_USERFLD, // 20 TYP_POSTITFLD, TYP_TEMPLNAMEFLD, TYP_SEQFLD, @@ -131,7 +131,7 @@ enum SwFldTypesEnum TYP_CONDTXTFLD, TYP_NEXTPAGEFLD, TYP_PREVPAGEFLD, - TYP_EXTUSERFLD, // 30 + TYP_EXTUSERFLD, // 30 TYP_FIXDATEFLD, TYP_FIXTIMEFLD, TYP_SETINPFLD, @@ -140,7 +140,7 @@ enum SwFldTypesEnum TYP_GETREFPAGEFLD, TYP_INTERNETFLD, TYP_JUMPEDITFLD, - TYP_SCRIPTFLD, // 40 + TYP_SCRIPTFLD, // 40 TYP_AUTHORITY, TYP_COMBINED_CHARS, TYP_DROPDOWN, @@ -163,62 +163,62 @@ enum SwFileNameFormat enum SwVarFormat { - VVF_CMD = 0x0010, // Kommando anzeigen + VVF_CMD = 0x0010, // Kommando anzeigen VVF_INVISIBLE = 0x0040, // unsichtbar - VVF_XXP = 0x0400, // 1234% - VVF_XX_XXP = 0x0800, // 1.234,56% - VVF_CLEAR = 0x000f, + VVF_XXP = 0x0400, // 1234% + VVF_XX_XXP = 0x0800, // 1.234,56% + VVF_CLEAR = 0x000f, // ab hier neue Formate - VVF_SYS = 0x2000, //Zahlenformat aus der Systemeinstellung - VVF_X = 0x2100, // 1234 + VVF_SYS = 0x2000, //Zahlenformat aus der Systemeinstellung + VVF_X = 0x2100, // 1234 VVF_X_X = 0x2200, // 1234,5 - VVF_X_XX = 0x2300, // 1245,56 - VVF_XX_X = 0x2400, // 1.234,5 - VVF_XX_XX = 0x2500, // 1.234,56 - VVF_XX_XXX = 0x2600, // 1.234,567 - VVF_SYS_CUR = 0x2700, // W???hrungsformat aus der Systemeinstellung - VVF_CUR_X = 0x2800, // DM 1234 - VVF_CUR_XX_XX = 0x2900, // DM 1234,56 DM 1234,00 - VVF_CUR_XX_X0 = 0x2a00, // DM 1234,56 DM 1234,-- - VVF_X_CUR = 0x2b00, // 1234 DM - VVF_XX_XX_CUR = 0x2c00, // 1234,56 DM 1234,00 DM - VVF_XX_X0_CUR = 0x2d00, // 1234,56 DM 1234,-- DM + VVF_X_XX = 0x2300, // 1245,56 + VVF_XX_X = 0x2400, // 1.234,5 + VVF_XX_XX = 0x2500, // 1.234,56 + VVF_XX_XXX = 0x2600, // 1.234,567 + VVF_SYS_CUR = 0x2700, // W???hrungsformat aus der Systemeinstellung + VVF_CUR_X = 0x2800, // DM 1234 + VVF_CUR_XX_XX = 0x2900, // DM 1234,56 DM 1234,00 + VVF_CUR_XX_X0 = 0x2a00, // DM 1234,56 DM 1234,-- + VVF_X_CUR = 0x2b00, // 1234 DM + VVF_XX_XX_CUR = 0x2c00, // 1234,56 DM 1234,00 DM + VVF_XX_X0_CUR = 0x2d00, // 1234,56 DM 1234,-- DM // Kompatibilitaet: - VF_CMD = VVF_CMD, + VF_CMD = VVF_CMD, VF_INVISIBLE = VVF_INVISIBLE, - VF_XXP = VVF_XXP, - VF_XX_XXP = VVF_XX_XXP, - VF_VISIBLE = VVF_SYS, - VF_XX = VVF_X, - VF_XX_XX = VVF_XX_XX, - VF_XX_XX_CUR = VVF_SYS_CUR, - VF_CLEAR = VVF_CLEAR + VF_XXP = VVF_XXP, + VF_XX_XXP = VVF_XX_XXP, + VF_VISIBLE = VVF_SYS, + VF_XX = VVF_X, + VF_XX_XX = VVF_XX_XX, + VF_XX_XX_CUR = VVF_SYS_CUR, + VF_CLEAR = VVF_CLEAR }; typedef USHORT SwGetSetExpType; namespace nsSwGetSetExpType { - const SwGetSetExpType GSE_STRING = 0x0001; // String - const SwGetSetExpType GSE_EXPR = 0x0002; // Expression - const SwGetSetExpType GSE_INP = 0x0004; // InputField - const SwGetSetExpType GSE_SEQ = 0x0008; // Sequence - const SwGetSetExpType GSE_FORMULA = 0x0010; // Formel + const SwGetSetExpType GSE_STRING = 0x0001; // String + const SwGetSetExpType GSE_EXPR = 0x0002; // Expression + const SwGetSetExpType GSE_INP = 0x0004; // InputField + const SwGetSetExpType GSE_SEQ = 0x0008; // Sequence + const SwGetSetExpType GSE_FORMULA = 0x0010; // Formel } typedef USHORT SwExtendedSubType; namespace nsSwExtendedSubType { - const SwExtendedSubType SUB_CMD = 0x0100; // Kommando anzeigen - const SwExtendedSubType SUB_INVISIBLE = 0x0200; // unsichtbar - const SwExtendedSubType SUB_OWN_FMT = 0x0400; // SwDBField: Uebernimmt Formatierung nicht + const SwExtendedSubType SUB_CMD = 0x0100; // Kommando anzeigen + const SwExtendedSubType SUB_INVISIBLE = 0x0200; // unsichtbar + const SwExtendedSubType SUB_OWN_FMT = 0x0400; // SwDBField: Uebernimmt Formatierung nicht // aus Datenbank } enum SwInputFieldSubType { - INP_TXT = 0x01, + INP_TXT = 0x01, INP_USR = 0x02, INP_VAR = 0x03 }; @@ -226,8 +226,8 @@ enum SwInputFieldSubType enum SwUserType { - UF_STRING = 0x01, - UF_EXPR = 0x02 + UF_STRING = 0x01, + UF_EXPR = 0x02 }; enum SwDateTimeSubType @@ -237,7 +237,7 @@ enum SwDateTimeSubType TIMEFLD = 4 }; -#ifndef FIELDIDS_ONLY // SWG-Testreader!! +#ifndef FIELDIDS_ONLY // SWG-Testreader!! extern USHORT __FAR_DATA aTypeTab[]; @@ -246,14 +246,14 @@ extern USHORT __FAR_DATA aTypeTab[]; Beschreibung: Allgemeine Tools --------------------------------------------------------------------*/ -String GetResult(double nVal, sal_uInt32 nNumFmt, USHORT nLang = LANGUAGE_SYSTEM); +String GetResult(double nVal, sal_uInt32 nNumFmt, USHORT nLang = LANGUAGE_SYSTEM); void SetErrorStr(const String& rStr); -//String ExpandDate(const Date& rDate, ULONG nFmt, USHORT nLang); -//String ExpandTime(const Time& rTime, ULONG nFmt, USHORT nLang); +//String ExpandDate(const Date& rDate, ULONG nFmt, USHORT nLang); +//String ExpandTime(const Time& rTime, ULONG nFmt, USHORT nLang); String FormatNumber(USHORT nNum, sal_uInt32 nFormat); /*-------------------------------------------------------------------- - Beschreibung: Instanzen von SwFields und Abgeleiteten kommen 0-n mal vor. + Beschreibung: Instanzen von SwFields und Abgeleiteten kommen 0-n mal vor. Zu jeder Klasse SwFields existiert 1 Instanz der zugehoerigen Typenklasse Basisklasse aller Feldtypen ist SwFieldType @@ -265,10 +265,10 @@ class SW_DLLPUBLIC SwFieldType : public SwModify { USHORT nWhich; - friend void _FinitUI(); // um den Pointer zu loeschen! - static SvStringsDtor* pFldNames; + friend void _FinitUI(); // um den Pointer zu loeschen! + static SvStringsDtor* pFldNames; - static void _GetFldName(); // legt die FldNames an, fldmgr.cxx! + static void _GetFldName(); // legt die FldNames an, fldmgr.cxx! protected: // single argument ctors shall be explicit. @@ -279,17 +279,17 @@ public: #if OSL_DEBUG_LEVEL > 1 virtual ~SwFieldType(); #endif - static const String& GetTypeStr( USHORT nTypeId ); + static const String& GetTypeStr( USHORT nTypeId ); // nur in abgeleiteten Klassen - virtual const String& GetName() const; - virtual SwFieldType* Copy() const = 0; + virtual const String& GetName() const; + virtual SwFieldType* Copy() const = 0; virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhich ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhich ); - USHORT Which() const { return nWhich; } + USHORT Which() const { return nWhich; } - inline void UpdateFlds() const; + inline void UpdateFlds() const; }; inline void SwFieldType::UpdateFlds() const @@ -308,25 +308,25 @@ class SW_DLLPUBLIC SwField { private: mutable String m_Cache; /// #i85766# cached expansion (for clipboard) - USHORT nLang; // Immer ueber SetLanguage aendern! + USHORT nLang; // Immer ueber SetLanguage aendern! BOOL bIsAutomaticLanguage; - sal_uInt32 nFormat; + sal_uInt32 nFormat; - SwFieldType* pType; + SwFieldType* pType; - virtual String Expand() const = 0; - virtual SwField* Copy() const = 0; + virtual String Expand() const = 0; + virtual SwField* Copy() const = 0; protected: - void SetFormat(sal_uInt32 nSet) {nFormat = nSet;} + void SetFormat(sal_uInt32 nSet) {nFormat = nSet;} SwField(SwFieldType* pTyp, sal_uInt32 nFmt = 0, USHORT nLang = LANGUAGE_SYSTEM); public: - virtual ~SwField(); + virtual ~SwField(); // Typ feststellen - inline SwFieldType* GetTyp() const; + inline SwFieldType* GetTyp() const; // neuen Typ setzen (wird fuer das Kopieren zwischen Dokumenten benutzt) virtual SwFieldType* ChgTyp( SwFieldType* ); @@ -338,7 +338,7 @@ public: String ExpandField(bool const bInClipboard) const; // liefert den Namen oder den Inhalt - virtual String GetCntnt(BOOL bName = FALSE) const; + virtual String GetCntnt(BOOL bName = FALSE) const; SwField * CopyField() const; @@ -351,31 +351,31 @@ public: #endif // TYP_ID - USHORT GetTypeId() const; - virtual USHORT GetSubType() const; + USHORT GetTypeId() const; + virtual USHORT GetSubType() const; virtual void SetSubType(USHORT); // Sprache an der Feldposition - inline USHORT GetLanguage() const; - virtual void SetLanguage(USHORT nLng); + inline USHORT GetLanguage() const; + virtual void SetLanguage(USHORT nLng); // Parameter fuer Dialog und BASIC erfragen - inline sal_uInt32 GetFormat() const; + inline sal_uInt32 GetFormat() const; virtual const String& GetPar1() const; - virtual String GetPar2() const; + virtual String GetPar2() const; - virtual String GetFormula() const; + virtual String GetFormula() const; - virtual void ChangeFormat(sal_uInt32 n); - virtual void SetPar1(const String& rStr); - virtual void SetPar2(const String& rStr); + virtual void ChangeFormat(sal_uInt32 n); + virtual void SetPar1(const String& rStr); + virtual void SetPar2(const String& rStr); virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhichId ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhichId ); // hat das Feld eine Action auf dem ClickHandler ? (z.B. INetFelder,..) - BOOL HasClickHdl() const; + BOOL HasClickHdl() const; // ist es ein Fix-Feld? - BOOL IsFixed() const; + BOOL IsFixed() const; BOOL IsAutomaticLanguage() const { return bIsAutomaticLanguage;} void SetAutomaticLanguage(BOOL bSet){bIsAutomaticLanguage = bSet;} @@ -383,67 +383,67 @@ public: virtual String GetDescription() const; }; -inline SwFieldType* SwField::GetTyp() const - { return pType; } +inline SwFieldType* SwField::GetTyp() const + { return pType; } inline sal_uInt32 SwField::GetFormat() const - { return nFormat; } + { return nFormat; } inline USHORT SwField::GetLanguage() const - { return nLang; } + { return nLang; } /*-------------------------------------------------------------------- - Beschreibung: Felder mit Values, die ueber der Numberformatter + Beschreibung: Felder mit Values, die ueber der Numberformatter formatiert werden muessen --------------------------------------------------------------------*/ class SwValueFieldType : public SwFieldType { - SwDoc* pDoc; - BOOL bUseFormat; // Numberformatter verwenden + SwDoc* pDoc; + BOOL bUseFormat; // Numberformatter verwenden protected: SwValueFieldType( SwDoc* pDocPtr, USHORT nWhichId ); SwValueFieldType( const SwValueFieldType& rTyp ); public: - inline SwDoc* GetDoc() const { return pDoc; } - inline void SetDoc(SwDoc* pNewDoc) { pDoc = pNewDoc; } + inline SwDoc* GetDoc() const { return pDoc; } + inline void SetDoc(SwDoc* pNewDoc) { pDoc = pNewDoc; } - inline BOOL UseFormat() const { return bUseFormat; } - inline void EnableFormat(BOOL bFormat = TRUE) { bUseFormat = bFormat; } + inline BOOL UseFormat() const { return bUseFormat; } + inline void EnableFormat(BOOL bFormat = TRUE) { bUseFormat = bFormat; } - String ExpandValue(const double& rVal, sal_uInt32 nFmt, USHORT nLng=0) const; - void DoubleToString(String &rValue, const double &rVal, LanguageType eLng) const; - void DoubleToString(String &rValue, const double &rVal, sal_uInt32 nFmt) const; + String ExpandValue(const double& rVal, sal_uInt32 nFmt, USHORT nLng=0) const; + void DoubleToString(String &rValue, const double &rVal, LanguageType eLng) const; + void DoubleToString(String &rValue, const double &rVal, sal_uInt32 nFmt) const; }; class SW_DLLPUBLIC SwValueField : public SwField { double fValue; -// String sExpand; +// String sExpand; protected: SwValueField( SwValueFieldType* pFldType, sal_uInt32 nFmt = 0, USHORT nLang = LANGUAGE_SYSTEM, const double fVal = 0.0 ); SwValueField( const SwValueField& rFld ); public: - virtual ~SwValueField(); + virtual ~SwValueField(); - virtual SwFieldType* ChgTyp( SwFieldType* ); - virtual void SetLanguage(USHORT nLng); + virtual SwFieldType* ChgTyp( SwFieldType* ); + virtual void SetLanguage(USHORT nLng); // os: wozu war das denn da? -// virtual void ChangeFormat(ULONG n); +// virtual void ChangeFormat(ULONG n); - inline SwDoc* GetDoc() const { return ((SwValueFieldType*)GetTyp())->GetDoc(); } + inline SwDoc* GetDoc() const { return ((SwValueFieldType*)GetTyp())->GetDoc(); } - virtual double GetValue() const; - virtual void SetValue( const double& rVal ); + virtual double GetValue() const; + virtual void SetValue( const double& rVal ); - inline String ExpandValue(const double& rVal, sal_uInt32 nFmt, USHORT nLng=0) const + inline String ExpandValue(const double& rVal, sal_uInt32 nFmt, USHORT nLng=0) const { return ((SwValueFieldType*)GetTyp())->ExpandValue(rVal, nFmt, nLng); } - static sal_uInt32 GetSystemFormat(SvNumberFormatter* pFormatter, sal_uInt32 nFmt); + static sal_uInt32 GetSystemFormat(SvNumberFormatter* pFormatter, sal_uInt32 nFmt); }; class SW_DLLPUBLIC SwFormulaField : public SwValueField @@ -455,14 +455,14 @@ protected: SwFormulaField( const SwFormulaField& rFld ); public: - virtual String GetFormula() const; - void SetFormula(const String& rStr); + virtual String GetFormula() const; + void SetFormula(const String& rStr); - void SetExpandedFormula(const String& rStr); - String GetExpandedFormula() const; + void SetExpandedFormula(const String& rStr); + String GetExpandedFormula() const; }; -#endif // FIELDIDS_ONLY +#endif // FIELDIDS_ONLY #endif // _FLDBAS_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/flddat.hxx b/sw/inc/flddat.hxx index ddb950b35ae2..cb54a0759b20 100644 --- a/sw/inc/flddat.hxx +++ b/sw/inc/flddat.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -63,14 +63,14 @@ enum SwDateFormat DFF_YMD , DFF_YYMD , DF_END , -// Kompatibilitaet: - DF_SSYS = DFF_SSYS, - DF_LSYS = DFF_LSYS, - DF_SHORT = DFF_DMY, - DF_SCENT = DFF_DMYY, - DF_LMON = DFF_DMMYY, - DF_LMONTH = DFF_DMMMYY, - DF_LDAYMON = DFF_DDMMMYY, +// Kompatibilitaet: + DF_SSYS = DFF_SSYS, + DF_LSYS = DFF_LSYS, + DF_SHORT = DFF_DMY, + DF_SCENT = DFF_DMYY, + DF_LMON = DFF_DMMYY, + DF_LMONTH = DFF_DMMMYY, + DF_LDAYMON = DFF_DDMMMYY, DF_LDAYMONTH= DFF_DDDMMMYY }; @@ -113,34 +113,34 @@ public: class SW_DLLPUBLIC SwDateTimeField : public SwValueField { - USHORT nSubType; - long nOffset; // Offset in Minuten + USHORT nSubType; + long nOffset; // Offset in Minuten public: SwDateTimeField(SwDateTimeFieldType* pType, USHORT nSubType = DATEFLD, ULONG nFmt = 0, USHORT nLng = 0); - virtual USHORT GetSubType() const; - virtual void SetSubType(USHORT nSub); + virtual USHORT GetSubType() const; + virtual void SetSubType(USHORT nSub); - virtual double GetValue() const; + virtual double GetValue() const; - virtual void SetPar2(const String& rStr); - virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); + virtual String GetPar2() const; - inline BOOL IsDate() const + inline BOOL IsDate() const { return (nSubType & DATEFLD) != 0; } - inline void SetOffset(long nMinutes) { nOffset = nMinutes; } - inline long GetOffset() const { return nOffset; } + inline void SetOffset(long nMinutes) { nOffset = nMinutes; } + inline long GetOffset() const { return nOffset; } Date GetDate(BOOL bUseOffset = FALSE) const; Time GetTime(BOOL bUseOffset = FALSE) const; void SetDateTime(const DateTime& rDT); static double GetDateTime(SwDoc* pDoc, const DateTime& rDT); - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String Expand() const; + virtual SwField* Copy() const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nMId ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nMId ); diff --git a/sw/inc/flddropdown.hxx b/sw/inc/flddropdown.hxx index 6ad316a1281e..1c899ac9a06a 100644 --- a/sw/inc/flddropdown.hxx +++ b/sw/inc/flddropdown.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/fldinit.hxx b/sw/inc/fldinit.hxx index 0d2d1adfab3f..d302446623ae 100644 --- a/sw/inc/fldinit.hxx +++ b/sw/inc/fldinit.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/fldui.hrc b/sw/inc/fldui.hrc index b08972ed4d96..7ebaf11c1470 100644 --- a/sw/inc/fldui.hrc +++ b/sw/inc/fldui.hrc @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -30,66 +30,66 @@ #include "rcid.hrc" -#define DLG_FLD RC_FLDDLG_BEGIN +#define DLG_FLD RC_FLDDLG_BEGIN #define DLG_RECORD_MRG (RC_FLDDLG_BEGIN + 1) #define DLG_RECORD_INS (RC_FLDDLG_BEGIN + 2) #define DLG_FLD_EDIT (RC_FLDDLG_BEGIN + 3) #define DLG_POSTIT (RC_FLDDLG_BEGIN + 4) #define DLG_FLD_INPUT (RC_FLDDLG_BEGIN + 5) -#define DLG_BRCFG (RC_FLDDLG_BEGIN + 6) -#define DLG_BRSEEK (RC_FLDDLG_BEGIN + 7) -#define DLG_BRSORT (RC_FLDDLG_BEGIN + 8) -#define DLG_CHANGE_DB (RC_FLDDLG_BEGIN + 9) -#define DLG_JAVAEDIT (RC_FLDDLG_BEGIN + 10) -#define DLG_FLD_INSERT (RC_FLDDLG_BEGIN + 11) +#define DLG_BRCFG (RC_FLDDLG_BEGIN + 6) +#define DLG_BRSEEK (RC_FLDDLG_BEGIN + 7) +#define DLG_BRSORT (RC_FLDDLG_BEGIN + 8) +#define DLG_CHANGE_DB (RC_FLDDLG_BEGIN + 9) +#define DLG_JAVAEDIT (RC_FLDDLG_BEGIN + 10) +#define DLG_FLD_INSERT (RC_FLDDLG_BEGIN + 11) #define DLG_FLD_DROPDOWN (RC_FLDDLG_BEGIN + 12) /*-------------------------------------------------------------------- Beschreibung: TypeId --------------------------------------------------------------------*/ -#define STR_TYPE_BEGIN RC_FLDDLG_BEGIN -#define STR_DATEFLD STR_TYPE_BEGIN -#define STR_TIMEFLD (STR_TYPE_BEGIN + 1) -#define STR_FILENAMEFLD (STR_TYPE_BEGIN + 2) -#define STR_DBNAMEFLD (STR_TYPE_BEGIN + 3) -#define STR_CHAPTERFLD (STR_TYPE_BEGIN + 4) -#define STR_PAGENUMBERFLD (STR_TYPE_BEGIN + 5) -#define STR_DOCSTATFLD (STR_TYPE_BEGIN + 6) -#define STR_AUTHORFLD (STR_TYPE_BEGIN + 7) -#define STR_SETFLD (STR_TYPE_BEGIN + 8) -#define STR_GETFLD (STR_TYPE_BEGIN + 9) -#define STR_FORMELFLD (STR_TYPE_BEGIN + 10) -#define STR_CONDTXTFLD (STR_TYPE_BEGIN + 11) -#define STR_SETREFFLD (STR_TYPE_BEGIN + 12) -#define STR_GETREFFLD (STR_TYPE_BEGIN + 13) -#define STR_DDEFLD (STR_TYPE_BEGIN + 14) -#define STR_MACROFLD (STR_TYPE_BEGIN + 15) -#define STR_INPUTFLD (STR_TYPE_BEGIN + 16) -#define STR_DOCINFOFLD (STR_TYPE_BEGIN + 17) -#define STR_DBFLD (STR_TYPE_BEGIN + 19) -#define STR_USERFLD (STR_TYPE_BEGIN + 20) -#define STR_POSTITFLD (STR_TYPE_BEGIN + 21) -#define STR_HIDDENPARAFLD (STR_TYPE_BEGIN + 22) - -#define STR_TEMPLNAMEFLD (STR_TYPE_BEGIN + 24) -#define STR_SEQFLD (STR_TYPE_BEGIN + 25) -#define STR_DBNEXTSETFLD (STR_TYPE_BEGIN + 26) -#define STR_DBNUMSETFLD (STR_TYPE_BEGIN + 27) -#define STR_DBSETNUMBERFLD (STR_TYPE_BEGIN + 28) -#define STR_PREVPAGEFLD (STR_TYPE_BEGIN + 29) -#define STR_NEXTPAGEFLD (STR_TYPE_BEGIN + 30) -#define STR_HIDDENTXTFLD (STR_TYPE_BEGIN + 31) -#define STR_EXTUSERFLD (STR_TYPE_BEGIN + 32) -#define STR_SETINPUTFLD (STR_TYPE_BEGIN + 33) -#define STR_USRINPUTFLD (STR_TYPE_BEGIN + 34) -#define STR_SETREFPAGEFLD (STR_TYPE_BEGIN + 35) -#define STR_GETREFPAGEFLD (STR_TYPE_BEGIN + 36) -#define STR_INTERNETFLD (STR_TYPE_BEGIN + 37) -#define STR_JUMPEDITFLD (STR_TYPE_BEGIN + 38) -#define STR_SCRIPTFLD (STR_TYPE_BEGIN + 39) +#define STR_TYPE_BEGIN RC_FLDDLG_BEGIN +#define STR_DATEFLD STR_TYPE_BEGIN +#define STR_TIMEFLD (STR_TYPE_BEGIN + 1) +#define STR_FILENAMEFLD (STR_TYPE_BEGIN + 2) +#define STR_DBNAMEFLD (STR_TYPE_BEGIN + 3) +#define STR_CHAPTERFLD (STR_TYPE_BEGIN + 4) +#define STR_PAGENUMBERFLD (STR_TYPE_BEGIN + 5) +#define STR_DOCSTATFLD (STR_TYPE_BEGIN + 6) +#define STR_AUTHORFLD (STR_TYPE_BEGIN + 7) +#define STR_SETFLD (STR_TYPE_BEGIN + 8) +#define STR_GETFLD (STR_TYPE_BEGIN + 9) +#define STR_FORMELFLD (STR_TYPE_BEGIN + 10) +#define STR_CONDTXTFLD (STR_TYPE_BEGIN + 11) +#define STR_SETREFFLD (STR_TYPE_BEGIN + 12) +#define STR_GETREFFLD (STR_TYPE_BEGIN + 13) +#define STR_DDEFLD (STR_TYPE_BEGIN + 14) +#define STR_MACROFLD (STR_TYPE_BEGIN + 15) +#define STR_INPUTFLD (STR_TYPE_BEGIN + 16) +#define STR_DOCINFOFLD (STR_TYPE_BEGIN + 17) +#define STR_DBFLD (STR_TYPE_BEGIN + 19) +#define STR_USERFLD (STR_TYPE_BEGIN + 20) +#define STR_POSTITFLD (STR_TYPE_BEGIN + 21) +#define STR_HIDDENPARAFLD (STR_TYPE_BEGIN + 22) + +#define STR_TEMPLNAMEFLD (STR_TYPE_BEGIN + 24) +#define STR_SEQFLD (STR_TYPE_BEGIN + 25) +#define STR_DBNEXTSETFLD (STR_TYPE_BEGIN + 26) +#define STR_DBNUMSETFLD (STR_TYPE_BEGIN + 27) +#define STR_DBSETNUMBERFLD (STR_TYPE_BEGIN + 28) +#define STR_PREVPAGEFLD (STR_TYPE_BEGIN + 29) +#define STR_NEXTPAGEFLD (STR_TYPE_BEGIN + 30) +#define STR_HIDDENTXTFLD (STR_TYPE_BEGIN + 31) +#define STR_EXTUSERFLD (STR_TYPE_BEGIN + 32) +#define STR_SETINPUTFLD (STR_TYPE_BEGIN + 33) +#define STR_USRINPUTFLD (STR_TYPE_BEGIN + 34) +#define STR_SETREFPAGEFLD (STR_TYPE_BEGIN + 35) +#define STR_GETREFPAGEFLD (STR_TYPE_BEGIN + 36) +#define STR_INTERNETFLD (STR_TYPE_BEGIN + 37) +#define STR_JUMPEDITFLD (STR_TYPE_BEGIN + 38) +#define STR_SCRIPTFLD (STR_TYPE_BEGIN + 39) #define STR_AUTHORITY (STR_TYPE_BEGIN + 40) -#define STR_COMBINED_CHARS (STR_TYPE_BEGIN + 41) +#define STR_COMBINED_CHARS (STR_TYPE_BEGIN + 41) #define STR_DROPDOWN (STR_TYPE_BEGIN + 42) #define STR_CUSTOM (STR_TYPE_BEGIN + 43) #define STR_TYPE_END (STR_TYPE_BEGIN + 44) @@ -98,141 +98,141 @@ Beschreibung: SubTypes --------------------------------------------------------------------*/ -#define FLD_DATE_BEGIN STR_TYPE_END -#define FLD_DATE_FIX FLD_DATE_BEGIN -#define FLD_DATE_STD (FLD_DATE_BEGIN + 1) -#define FLD_DATE_END (FLD_DATE_BEGIN + 2) - -#define FLD_TIME_BEGIN FLD_DATE_END -#define FLD_TIME_FIX FLD_TIME_BEGIN -#define FLD_TIME_STD (FLD_TIME_BEGIN + 1) -#define FLD_TIME_END (FLD_TIME_BEGIN + 2) - -#define FLD_STAT_BEGIN FLD_TIME_END -#define FLD_STAT_PAGE FLD_STAT_BEGIN -#define FLD_STAT_PARA (FLD_STAT_BEGIN + 1) -#define FLD_STAT_WORD (FLD_STAT_BEGIN + 2) -#define FLD_STAT_CHAR (FLD_STAT_BEGIN + 3) -#define FLD_STAT_TABLE (FLD_STAT_BEGIN + 4) -#define FLD_STAT_GRF (FLD_STAT_BEGIN + 5) -#define FLD_STAT_OBJ (FLD_STAT_BEGIN + 6) -#define FLD_STAT_END (FLD_STAT_BEGIN + 7) - -#define FLD_INPUT_BEGIN FLD_STAT_END -#define FLD_INPUT_TEXT FLD_INPUT_BEGIN -#define FLD_INPUT_END (FLD_INPUT_BEGIN + 1) - -#define FLD_EU_BEGIN FLD_INPUT_END +#define FLD_DATE_BEGIN STR_TYPE_END +#define FLD_DATE_FIX FLD_DATE_BEGIN +#define FLD_DATE_STD (FLD_DATE_BEGIN + 1) +#define FLD_DATE_END (FLD_DATE_BEGIN + 2) + +#define FLD_TIME_BEGIN FLD_DATE_END +#define FLD_TIME_FIX FLD_TIME_BEGIN +#define FLD_TIME_STD (FLD_TIME_BEGIN + 1) +#define FLD_TIME_END (FLD_TIME_BEGIN + 2) + +#define FLD_STAT_BEGIN FLD_TIME_END +#define FLD_STAT_PAGE FLD_STAT_BEGIN +#define FLD_STAT_PARA (FLD_STAT_BEGIN + 1) +#define FLD_STAT_WORD (FLD_STAT_BEGIN + 2) +#define FLD_STAT_CHAR (FLD_STAT_BEGIN + 3) +#define FLD_STAT_TABLE (FLD_STAT_BEGIN + 4) +#define FLD_STAT_GRF (FLD_STAT_BEGIN + 5) +#define FLD_STAT_OBJ (FLD_STAT_BEGIN + 6) +#define FLD_STAT_END (FLD_STAT_BEGIN + 7) + +#define FLD_INPUT_BEGIN FLD_STAT_END +#define FLD_INPUT_TEXT FLD_INPUT_BEGIN +#define FLD_INPUT_END (FLD_INPUT_BEGIN + 1) + +#define FLD_EU_BEGIN FLD_INPUT_END #define FLD_EU_FIRMA FLD_EU_BEGIN -#define FLD_EU_VORNAME (FLD_EU_BEGIN + 1) -#define FLD_EU_NAME (FLD_EU_BEGIN + 2) -#define FLD_EU_ABK (FLD_EU_BEGIN + 3) -#define FLD_EU_STRASSE (FLD_EU_BEGIN + 4) -#define FLD_EU_LAND (FLD_EU_BEGIN + 5) -#define FLD_EU_PLZ (FLD_EU_BEGIN + 6) -#define FLD_EU_ORT (FLD_EU_BEGIN + 7) -#define FLD_EU_TITEL (FLD_EU_BEGIN + 8) -#define FLD_EU_POS (FLD_EU_BEGIN + 9) -#define FLD_EU_TELPRIV (FLD_EU_BEGIN + 10) -#define FLD_EU_TELFIRMA (FLD_EU_BEGIN + 11) -#define FLD_EU_FAX (FLD_EU_BEGIN + 12) +#define FLD_EU_VORNAME (FLD_EU_BEGIN + 1) +#define FLD_EU_NAME (FLD_EU_BEGIN + 2) +#define FLD_EU_ABK (FLD_EU_BEGIN + 3) +#define FLD_EU_STRASSE (FLD_EU_BEGIN + 4) +#define FLD_EU_LAND (FLD_EU_BEGIN + 5) +#define FLD_EU_PLZ (FLD_EU_BEGIN + 6) +#define FLD_EU_ORT (FLD_EU_BEGIN + 7) +#define FLD_EU_TITEL (FLD_EU_BEGIN + 8) +#define FLD_EU_POS (FLD_EU_BEGIN + 9) +#define FLD_EU_TELPRIV (FLD_EU_BEGIN + 10) +#define FLD_EU_TELFIRMA (FLD_EU_BEGIN + 11) +#define FLD_EU_FAX (FLD_EU_BEGIN + 12) #define FLD_EU_EMAIL (FLD_EU_BEGIN + 13) #define FLD_EU_STATE (FLD_EU_BEGIN + 14) -#define FLD_EU_END (FLD_EU_BEGIN + 15) +#define FLD_EU_END (FLD_EU_BEGIN + 15) -#define FLD_PAGEREF_BEGIN FLD_EU_END -#define FLD_PAGEREF_OFF FLD_PAGEREF_BEGIN -#define FLD_PAGEREF_ON (FLD_PAGEREF_BEGIN+1) -#define FLD_PAGEREF_END (FLD_PAGEREF_BEGIN+2) +#define FLD_PAGEREF_BEGIN FLD_EU_END +#define FLD_PAGEREF_OFF FLD_PAGEREF_BEGIN +#define FLD_PAGEREF_ON (FLD_PAGEREF_BEGIN+1) +#define FLD_PAGEREF_END (FLD_PAGEREF_BEGIN+2) /*---------------------------------------------------------- Format-Id's ----------------------------------------------------------*/ // Text -#define FMT_TEXT FLD_PAGEREF_END +#define FMT_TEXT FLD_PAGEREF_END // Nummern -#define FMT_NUM_BEGIN (FMT_TEXT + 1) -#define FMT_NUM_ABC FMT_NUM_BEGIN -#define FMT_NUM_SABC (FMT_NUM_BEGIN + 1) -#define FMT_NUM_ABC_N (FMT_NUM_BEGIN + 2) -#define FMT_NUM_SABC_N (FMT_NUM_BEGIN + 3) -#define FMT_NUM_ROMAN (FMT_NUM_BEGIN + 4) -#define FMT_NUM_SROMAN (FMT_NUM_BEGIN + 5) -#define FMT_NUM_ARABIC (FMT_NUM_BEGIN + 6) -#define FMT_NUM_PAGEDESC (FMT_NUM_BEGIN + 7) -#define FMT_NUM_PAGESPECIAL (FMT_NUM_BEGIN + 8) -#define FMT_NUM_END (FMT_NUM_BEGIN + 9) +#define FMT_NUM_BEGIN (FMT_TEXT + 1) +#define FMT_NUM_ABC FMT_NUM_BEGIN +#define FMT_NUM_SABC (FMT_NUM_BEGIN + 1) +#define FMT_NUM_ABC_N (FMT_NUM_BEGIN + 2) +#define FMT_NUM_SABC_N (FMT_NUM_BEGIN + 3) +#define FMT_NUM_ROMAN (FMT_NUM_BEGIN + 4) +#define FMT_NUM_SROMAN (FMT_NUM_BEGIN + 5) +#define FMT_NUM_ARABIC (FMT_NUM_BEGIN + 6) +#define FMT_NUM_PAGEDESC (FMT_NUM_BEGIN + 7) +#define FMT_NUM_PAGESPECIAL (FMT_NUM_BEGIN + 8) +#define FMT_NUM_END (FMT_NUM_BEGIN + 9) // AuthorFormat -#define FMT_AUTHOR_BEGIN FMT_NUM_END -#define FMT_AUTHOR_NAME FMT_AUTHOR_BEGIN -#define FMT_AUTHOR_SCUT (FMT_AUTHOR_BEGIN + 1) -#define FMT_AUTHOR_END (FMT_AUTHOR_BEGIN + 2) +#define FMT_AUTHOR_BEGIN FMT_NUM_END +#define FMT_AUTHOR_NAME FMT_AUTHOR_BEGIN +#define FMT_AUTHOR_SCUT (FMT_AUTHOR_BEGIN + 1) +#define FMT_AUTHOR_END (FMT_AUTHOR_BEGIN + 2) // Variable setzen -#define FMT_SETVAR_BEGIN FMT_AUTHOR_END +#define FMT_SETVAR_BEGIN FMT_AUTHOR_END #define FMT_SETVAR_SYS (FMT_SETVAR_BEGIN + 0) -#define FMT_SETVAR_TEXT (FMT_SETVAR_BEGIN + 1) -#define FMT_SETVAR_END (FMT_SETVAR_BEGIN + 2) +#define FMT_SETVAR_TEXT (FMT_SETVAR_BEGIN + 1) +#define FMT_SETVAR_END (FMT_SETVAR_BEGIN + 2) // Variable einfuegen -#define FMT_GETVAR_BEGIN FMT_SETVAR_END -#define FMT_GETVAR_TEXT (FMT_GETVAR_BEGIN + 0) -#define FMT_GETVAR_NAME (FMT_GETVAR_BEGIN + 1) -#define FMT_GETVAR_END (FMT_GETVAR_BEGIN + 2) +#define FMT_GETVAR_BEGIN FMT_SETVAR_END +#define FMT_GETVAR_TEXT (FMT_GETVAR_BEGIN + 0) +#define FMT_GETVAR_NAME (FMT_GETVAR_BEGIN + 1) +#define FMT_GETVAR_END (FMT_GETVAR_BEGIN + 2) // Userfeld einfuegen -#define FMT_USERVAR_BEGIN FMT_GETVAR_END -#define FMT_USERVAR_TEXT (FMT_USERVAR_BEGIN + 0) -#define FMT_USERVAR_CMD (FMT_USERVAR_BEGIN + 1) -#define FMT_USERVAR_END (FMT_USERVAR_BEGIN + 2) +#define FMT_USERVAR_BEGIN FMT_GETVAR_END +#define FMT_USERVAR_TEXT (FMT_USERVAR_BEGIN + 0) +#define FMT_USERVAR_CMD (FMT_USERVAR_BEGIN + 1) +#define FMT_USERVAR_END (FMT_USERVAR_BEGIN + 2) // Datenbankfeld einfuegen -#define FMT_DBFLD_BEGIN FMT_USERVAR_END -#define FMT_DBFLD_DB (FMT_DBFLD_BEGIN + 0) -#define FMT_DBFLD_SYS (FMT_DBFLD_BEGIN + 1) -#define FMT_DBFLD_END (FMT_DBFLD_BEGIN + 2) +#define FMT_DBFLD_BEGIN FMT_USERVAR_END +#define FMT_DBFLD_DB (FMT_DBFLD_BEGIN + 0) +#define FMT_DBFLD_SYS (FMT_DBFLD_BEGIN + 1) +#define FMT_DBFLD_END (FMT_DBFLD_BEGIN + 2) //FileNameFormat // Achtung die letzten 4 Formate gibt es in RTF nicht (Verlust!) -#define FMT_FF_BEGIN FMT_DBFLD_END -#define FMT_FF_NAME FMT_FF_BEGIN -#define FMT_FF_PATHNAME (FMT_FF_BEGIN + 1) -#define FMT_FF_PATH (FMT_FF_BEGIN + 2) -#define FMT_FF_NAME_NOEXT (FMT_FF_BEGIN + 3) -#define FMT_FF_UI_NAME (FMT_FF_BEGIN + 4) -#define FMT_FF_UI_RANGE (FMT_FF_BEGIN + 5) -#define FMT_FF_END (FMT_FF_BEGIN + 6) +#define FMT_FF_BEGIN FMT_DBFLD_END +#define FMT_FF_NAME FMT_FF_BEGIN +#define FMT_FF_PATHNAME (FMT_FF_BEGIN + 1) +#define FMT_FF_PATH (FMT_FF_BEGIN + 2) +#define FMT_FF_NAME_NOEXT (FMT_FF_BEGIN + 3) +#define FMT_FF_UI_NAME (FMT_FF_BEGIN + 4) +#define FMT_FF_UI_RANGE (FMT_FF_BEGIN + 5) +#define FMT_FF_END (FMT_FF_BEGIN + 6) // Registry-Format -#define FMT_REG_BEGIN FMT_FF_END -#define FMT_REG_AUTHOR FMT_REG_BEGIN -#define FMT_REG_TIME (FMT_REG_BEGIN + 1) -#define FMT_REG_DATE (FMT_REG_BEGIN + 2) -#define FMT_REG_END (FMT_REG_BEGIN + 3) +#define FMT_REG_BEGIN FMT_FF_END +#define FMT_REG_AUTHOR FMT_REG_BEGIN +#define FMT_REG_TIME (FMT_REG_BEGIN + 1) +#define FMT_REG_DATE (FMT_REG_BEGIN + 2) +#define FMT_REG_END (FMT_REG_BEGIN + 3) // Kapitel -#define FMT_CHAPTER_BEGIN FMT_REG_END -#define FMT_CHAPTER_NO FMT_CHAPTER_BEGIN -#define FMT_CHAPTER_NAME (FMT_CHAPTER_BEGIN + 1) -#define FMT_CHAPTER_NAMENO (FMT_CHAPTER_BEGIN + 2) -#define FMT_CHAPTER_NO_NOSEPARATOR (FMT_CHAPTER_BEGIN + 3) -#define FMT_CHAPTER_END (FMT_CHAPTER_BEGIN + 4) +#define FMT_CHAPTER_BEGIN FMT_REG_END +#define FMT_CHAPTER_NO FMT_CHAPTER_BEGIN +#define FMT_CHAPTER_NAME (FMT_CHAPTER_BEGIN + 1) +#define FMT_CHAPTER_NAMENO (FMT_CHAPTER_BEGIN + 2) +#define FMT_CHAPTER_NO_NOSEPARATOR (FMT_CHAPTER_BEGIN + 3) +#define FMT_CHAPTER_END (FMT_CHAPTER_BEGIN + 4) // DDE-Formate -#define FMT_DDE_BEGIN FMT_CHAPTER_END -#define FMT_DDE_NORMAL FMT_DDE_BEGIN -#define FMT_DDE_HOT (FMT_DDE_BEGIN + 1) -#define FMT_DDE_END (FMT_DDE_BEGIN + 2) - -#define FMT_REF_BEGIN FMT_DDE_END -#define FMT_REF_PAGE FMT_REF_BEGIN -#define FMT_REF_CHAPTER (FMT_REF_BEGIN + 1) -#define FMT_REF_TEXT (FMT_REF_BEGIN + 2) -#define FMT_REF_UPDOWN (FMT_REF_BEGIN + 3) -#define FMT_REF_PAGE_PGDSC (FMT_REF_BEGIN + 4) -#define FMT_REF_ONLYNUMBER (FMT_REF_BEGIN + 5) +#define FMT_DDE_BEGIN FMT_CHAPTER_END +#define FMT_DDE_NORMAL FMT_DDE_BEGIN +#define FMT_DDE_HOT (FMT_DDE_BEGIN + 1) +#define FMT_DDE_END (FMT_DDE_BEGIN + 2) + +#define FMT_REF_BEGIN FMT_DDE_END +#define FMT_REF_PAGE FMT_REF_BEGIN +#define FMT_REF_CHAPTER (FMT_REF_BEGIN + 1) +#define FMT_REF_TEXT (FMT_REF_BEGIN + 2) +#define FMT_REF_UPDOWN (FMT_REF_BEGIN + 3) +#define FMT_REF_PAGE_PGDSC (FMT_REF_BEGIN + 4) +#define FMT_REF_ONLYNUMBER (FMT_REF_BEGIN + 5) #define FMT_REF_ONLYCAPTION (FMT_REF_BEGIN + 6) #define FMT_REF_ONLYSEQNO (FMT_REF_BEGIN + 7) #define FMT_REF_NUMBER (FMT_REF_BEGIN + 8) @@ -241,52 +241,52 @@ #define FMT_REF_END (FMT_REF_BEGIN + 11) // Platzhalter -#define FMT_MARK_BEGIN FMT_REF_END -#define FMT_MARK_TEXT FMT_MARK_BEGIN -#define FMT_MARK_TABLE (FMT_MARK_BEGIN + 1) -#define FMT_MARK_FRAME (FMT_MARK_BEGIN + 2) -#define FMT_MARK_GRAFIC (FMT_MARK_BEGIN + 3) -#define FMT_MARK_OLE (FMT_MARK_BEGIN + 4) -#define FMT_MARK_END (FMT_MARK_BEGIN + 5) +#define FMT_MARK_BEGIN FMT_REF_END +#define FMT_MARK_TEXT FMT_MARK_BEGIN +#define FMT_MARK_TABLE (FMT_MARK_BEGIN + 1) +#define FMT_MARK_FRAME (FMT_MARK_BEGIN + 2) +#define FMT_MARK_GRAFIC (FMT_MARK_BEGIN + 3) +#define FMT_MARK_OLE (FMT_MARK_BEGIN + 4) +#define FMT_MARK_END (FMT_MARK_BEGIN + 5) /*-------------------------------------------------------------------- Beschreibung: globale String-Ressourcen --------------------------------------------------------------------*/ -#define STR_FLDUI FMT_MARK_END -#define STR_INSERT STR_FLDUI -#define STR_ALL (STR_FLDUI + 1) -#define STR_EXTRA (STR_FLDUI + 2) +#define STR_FLDUI FMT_MARK_END +#define STR_INSERT STR_FLDUI +#define STR_ALL (STR_FLDUI + 1) +#define STR_EXTRA (STR_FLDUI + 2) /*-------------------------------------------------------------------- Beschreibung: Buttons fuer Field-Edit-Dlg --------------------------------------------------------------------*/ -#define BTN_FLDEDT_PREV STR_EXTRA -#define BTN_FLDEDT_NEXT (STR_EXTRA + 1) -#define PB_FLDEDT_ADDRESS (STR_EXTRA + 2) +#define BTN_FLDEDT_PREV STR_EXTRA +#define BTN_FLDEDT_NEXT (STR_EXTRA + 1) +#define PB_FLDEDT_ADDRESS (STR_EXTRA + 2) /*-------------------------------------------------------------------- Beschreibung: Zusaetzliche Strings --------------------------------------------------------------------*/ -#define STR_COND STR_EXTRA -#define STR_TEXT (STR_EXTRA + 1) -#define STR_DDE_CMD (STR_EXTRA + 2) -#define STR_INSTEXT (STR_EXTRA + 3) -#define STR_COMBCHRS_FT (STR_EXTRA + 4) -#define STR_PROMPT (STR_EXTRA + 5) -#define STR_MACNAME (STR_EXTRA + 6) -#define STR_SETNO (STR_EXTRA + 7) -#define STR_OFFSET (STR_EXTRA + 8) -#define STR_VALUE (STR_EXTRA + 9) - -#define STR_URLPROMPT (STR_EXTRA + 11) -#define STR_FORMULA (STR_EXTRA + 12) -#define STR_ALL_DATABASE (STR_EXTRA + 13) -#define STR_FLD_EDIT_DLG (STR_EXTRA + 14) - -#define FLDDLG_ACT_END (STR_FLD_EDIT_DLG) +#define STR_COND STR_EXTRA +#define STR_TEXT (STR_EXTRA + 1) +#define STR_DDE_CMD (STR_EXTRA + 2) +#define STR_INSTEXT (STR_EXTRA + 3) +#define STR_COMBCHRS_FT (STR_EXTRA + 4) +#define STR_PROMPT (STR_EXTRA + 5) +#define STR_MACNAME (STR_EXTRA + 6) +#define STR_SETNO (STR_EXTRA + 7) +#define STR_OFFSET (STR_EXTRA + 8) +#define STR_VALUE (STR_EXTRA + 9) + +#define STR_URLPROMPT (STR_EXTRA + 11) +#define STR_FORMULA (STR_EXTRA + 12) +#define STR_ALL_DATABASE (STR_EXTRA + 13) +#define STR_FLD_EDIT_DLG (STR_EXTRA + 14) + +#define FLDDLG_ACT_END (STR_FLD_EDIT_DLG) #endif diff --git a/sw/inc/fldupde.hxx b/sw/inc/fldupde.hxx index aa764c03e31f..d53d06e0cd57 100644 --- a/sw/inc/fldupde.hxx +++ b/sw/inc/fldupde.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/flyenum.hxx b/sw/inc/flyenum.hxx index 74f5c4ea5075..b2060e7950ba 100644 --- a/sw/inc/flyenum.hxx +++ b/sw/inc/flyenum.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,14 +39,14 @@ enum FlyCntType }; //Returnwerte fuer Chainable und Chain -#define SW_CHAIN_OK 0 -#define SW_CHAIN_NOT_EMPTY 1 //Nur leere Frames duerfen connected werden -#define SW_CHAIN_IS_IN_CHAIN 2 //Destination ist bereits in einer chain -#define SW_CHAIN_WRONG_AREA 3 //Destination steht in einer nicht erlaubten +#define SW_CHAIN_OK 0 +#define SW_CHAIN_NOT_EMPTY 1 //Nur leere Frames duerfen connected werden +#define SW_CHAIN_IS_IN_CHAIN 2 //Destination ist bereits in einer chain +#define SW_CHAIN_WRONG_AREA 3 //Destination steht in einer nicht erlaubten //Section (Kopf-/Fusszeile) -#define SW_CHAIN_NOT_FOUND 4 //Destination und/oder Source nicht gefunden -#define SW_CHAIN_SOURCE_CHAINED 5 //Source hat bereits einen Follow -#define SW_CHAIN_SELF 6 //Sich selbst zu verketten ist +#define SW_CHAIN_NOT_FOUND 4 //Destination und/oder Source nicht gefunden +#define SW_CHAIN_SOURCE_CHAINED 5 //Source hat bereits einen Follow +#define SW_CHAIN_SELF 6 //Sich selbst zu verketten ist //natuerlich nicht erleubt. diff --git a/sw/inc/flypos.hxx b/sw/inc/flypos.hxx index c0c358b79ed6..ce910fcea513 100644 --- a/sw/inc/flypos.hxx +++ b/sw/inc/flypos.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -38,9 +38,9 @@ class SwNodeIndex; // Struktur zum Erfragen der akt. freifliegenden Rahmen am Dokument. class SW_DLLPUBLIC SwPosFlyFrm { - const SwFrmFmt* pFrmFmt; // das FlyFrmFmt -// SwPosition* pPos; // Position in den ContentNode - SwNodeIndex* pNdIdx; // es reicht ein Index auf den Node + const SwFrmFmt* pFrmFmt; // das FlyFrmFmt +// SwPosition* pPos; // Position in den ContentNode + SwNodeIndex* pNdIdx; // es reicht ein Index auf den Node UINT32 nOrdNum; public: SwPosFlyFrm( const SwNodeIndex& , const SwFrmFmt*, USHORT nArrPos ); diff --git a/sw/inc/fmtanchr.hxx b/sw/inc/fmtanchr.hxx index ab6cc9d91af1..86eac8793cb1 100644 --- a/sw/inc/fmtanchr.hxx +++ b/sw/inc/fmtanchr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -42,11 +42,11 @@ class IntlWrapper; class SW_DLLPUBLIC SwFmtAnchor: public SfxPoolItem { - SwPosition *pCntntAnchor; //0 Fuer Seitengebundene Rahmen. + SwPosition *pCntntAnchor; //0 Fuer Seitengebundene Rahmen. //Index fuer Absatzgebundene Rahmen. //Position fuer Zeichengebundene Rahmen RndStdIds nAnchorId; - USHORT nPageNum; //Seitennummer bei Seitengeb. Rahmen. + USHORT nPageNum; //Seitennummer bei Seitengeb. Rahmen. // OD 2004-05-05 #i28701# - getting anchor positions ordered sal_uInt32 mnOrder; @@ -57,20 +57,20 @@ public: SwFmtAnchor( const SwFmtAnchor &rCpy ); ~SwFmtAnchor(); - // Zuweisungsoperator + // Zuweisungsoperator SwFmtAnchor &operator=( const SwFmtAnchor& ); // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); RndStdIds GetAnchorId() const { return nAnchorId; } USHORT GetPageNum() const { return nPageNum; } diff --git a/sw/inc/fmtautofmt.hxx b/sw/inc/fmtautofmt.hxx index ad80534c3c47..72bd54af6d6f 100644 --- a/sw/inc/fmtautofmt.hxx +++ b/sw/inc/fmtautofmt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -57,15 +57,15 @@ public: // "pure virtual methods" of SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); void SetStyleHandle( boost::shared_ptr<SfxItemSet> pHandle ) { mpHandle = pHandle; } const boost::shared_ptr<SfxItemSet> GetStyleHandle() const { return mpHandle; } diff --git a/sw/inc/fmtclbl.hxx b/sw/inc/fmtclbl.hxx index 9d8775f6f121..1765c1981fd9 100644 --- a/sw/inc/fmtclbl.hxx +++ b/sw/inc/fmtclbl.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/fmtclds.hxx b/sw/inc/fmtclds.hxx index 45acfcfc0597..fbc17b322721 100644 --- a/sw/inc/fmtclds.hxx +++ b/sw/inc/fmtclds.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -38,13 +38,13 @@ class SwColumn { - USHORT nWish; //Wunschbreite incl. Raender. + USHORT nWish; //Wunschbreite incl. Raender. //Verhaelt sich proportional zum Verhaeltniss: //Wunschbreite der Umgebung / aktuelle Breite der Spalte - USHORT nUpper; //Oberer Rand - USHORT nLower; //Unterer Rand - USHORT nLeft; //Linker Rand - USHORT nRight; //Rechter Rand + USHORT nUpper; //Oberer Rand + USHORT nLower; //Unterer Rand + USHORT nLeft; //Linker Rand + USHORT nRight; //Rechter Rand public: SwColumn(); @@ -78,18 +78,18 @@ enum SwColLineAdj class SW_DLLPUBLIC SwFmtCol : public SfxPoolItem { -// Pen aPen; //Pen fuer die Linine zwischen den Spalten - ULONG nLineWidth; //width of the separator line - Color aLineColor; //color of the separator line +// Pen aPen; //Pen fuer die Linine zwischen den Spalten + ULONG nLineWidth; //width of the separator line + Color aLineColor; //color of the separator line - BYTE nLineHeight; //Prozentuale Hoehe der Linien + BYTE nLineHeight; //Prozentuale Hoehe der Linien //(Relativ zu der Hoehe der Spalten incl. UL). - SwColLineAdj eAdj; //Linie wird oben, mittig oder unten ausgerichtet. + SwColLineAdj eAdj; //Linie wird oben, mittig oder unten ausgerichtet. - SwColumns aColumns; //Informationen fuer die einzelnen Spalten. - USHORT nWidth; //Gesamtwunschbreite aller Spalten. + SwColumns aColumns; //Informationen fuer die einzelnen Spalten. + USHORT nWidth; //Gesamtwunschbreite aller Spalten. - BOOL bOrtho; //Nur wenn dieses Flag gesetzt ist wird beim setzen + BOOL bOrtho; //Nur wenn dieses Flag gesetzt ist wird beim setzen //der GutterWidth eine 'optische Verteilung' //vorgenommen. //Es muss zurueckgesetzt werden wenn an den @@ -109,39 +109,39 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); const SwColumns &GetColumns() const { return aColumns; } - SwColumns &GetColumns() { return aColumns; } - USHORT GetNumCols() const { return aColumns.Count(); } -// const Pen& GetLinePen() const { return aPen; } - ULONG GetLineWidth() const { return nLineWidth;} - const Color& GetLineColor() const { return aLineColor;} + SwColumns &GetColumns() { return aColumns; } + USHORT GetNumCols() const { return aColumns.Count(); } +// const Pen& GetLinePen() const { return aPen; } + ULONG GetLineWidth() const { return nLineWidth;} + const Color& GetLineColor() const { return aLineColor;} - SwColLineAdj GetLineAdj() const { return eAdj; } - BOOL IsOrtho() const { return bOrtho; } - USHORT GetWishWidth() const { return nWidth; } - BYTE GetLineHeight()const { return nLineHeight; } + SwColLineAdj GetLineAdj() const { return eAdj; } + BOOL IsOrtho() const { return bOrtho; } + USHORT GetWishWidth() const { return nWidth; } + BYTE GetLineHeight()const { return nLineHeight; } //Return USHRT_MAX wenn uneindeutig. //Return die kleinste Breite wenn bMin True ist. USHORT GetGutterWidth( BOOL bMin = FALSE ) const; -// void SetLinePen( const Pen& rNew ) { aPen = rNew; } +// void SetLinePen( const Pen& rNew ) { aPen = rNew; } void SetLineWidth(ULONG nLWidth) { nLineWidth = nLWidth;} - void SetLineColor(const Color& rCol ) { aLineColor = rCol;} + void SetLineColor(const Color& rCol ) { aLineColor = rCol;} void SetLineHeight( BYTE nNew ) { nLineHeight = nNew; } void SetLineAdj( SwColLineAdj eNew ){ eAdj = eNew; } - void SetWishWidth( USHORT nNew ) { nWidth = nNew; } + void SetWishWidth( USHORT nNew ) { nWidth = nNew; } //Mit dieser Funktion koennen die Spalten (immer wieder) initialisert //werden. Das Ortho Flag wird automatisch gesetzt. diff --git a/sw/inc/fmtcnct.hxx b/sw/inc/fmtcnct.hxx index ef5fbf6e4970..edf45863319a 100644 --- a/sw/inc/fmtcnct.hxx +++ b/sw/inc/fmtcnct.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,7 +41,7 @@ class IntlWrapper; class SW_DLLPUBLIC SwFmtChain: public SfxPoolItem { - SwClient aPrev, //Vorgaenger (SwFlyFrmFmt), wenn es diesen gibt. + SwClient aPrev, //Vorgaenger (SwFlyFrmFmt), wenn es diesen gibt. aNext; //Nachfolger (SwFlyFrmFmt), wenn es diesen gibt. @@ -53,14 +53,14 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; SwFlyFrmFmt* GetPrev() const { return (SwFlyFrmFmt*)aPrev.GetRegisteredIn(); } SwFlyFrmFmt* GetNext() const { return (SwFlyFrmFmt*)aNext.GetRegisteredIn(); } diff --git a/sw/inc/fmtcntnt.hxx b/sw/inc/fmtcntnt.hxx index 39cf3c51e27f..ae8bd5dc5173 100644 --- a/sw/inc/fmtcntnt.hxx +++ b/sw/inc/fmtcntnt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -44,14 +44,14 @@ class SW_DLLPUBLIC SwFmtCntnt: public SfxPoolItem SwFmtCntnt &operator=( const SwFmtCntnt & ); //Kopieren verboten public: -// SwFmtCntnt( const SwNodeIndex *pStartNodeIdx = 0 ); +// SwFmtCntnt( const SwNodeIndex *pStartNodeIdx = 0 ); SwFmtCntnt( const SwStartNode* pStartNode = 0 ); SwFmtCntnt( const SwFmtCntnt &rCpy ); ~SwFmtCntnt(); // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; const SwNodeIndex *GetCntntIdx() const { return pStartNode; } void SetNewCntntIdx( const SwNodeIndex *pIdx ); diff --git a/sw/inc/fmtcol.hxx b/sw/inc/fmtcol.hxx index 34f2e64db731..f143d39f76a9 100644 --- a/sw/inc/fmtcol.hxx +++ b/sw/inc/fmtcol.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -31,9 +31,9 @@ #include <svl/svarray.hxx> #include "swdllapi.h" #include <format.hxx> -#include <swtypes.hxx> // fuer MAXLEVEL +#include <swtypes.hxx> // fuer MAXLEVEL -class SwDoc; // fuer friend +class SwDoc; // fuer friend class SwFmtColl : public SwFmt { @@ -69,9 +69,9 @@ class SW_DLLPUBLIC SwTxtFmtColl: public SwFmtColl // <-- protected: - //BYTE nOutlineLevel; //<-#outline level, removed by zhaojianwei - bool mbAssignedToOutlineStyle;//<-#outline level added by zhaojianwei - + //BYTE nOutlineLevel; //<-#outline level, removed by zhaojianwei + bool mbAssignedToOutlineStyle;//<-#outline level added by zhaojianwei + SwTxtFmtColl *pNextTxtFmtColl; SwTxtFmtColl( SwAttrPool& rPool, const sal_Char* pFmtCollName, @@ -82,8 +82,8 @@ protected: // --> OD 2007-01-24 #i73790# mbStayAssignedToListLevelOfOutlineStyle( false ), // <-- - //nOutlineLevel( NO_NUMBERING ) //<-#outline level,removed by zhaojianwei - mbAssignedToOutlineStyle(false) //<-#outline level,added by zhaojianwei + //nOutlineLevel( NO_NUMBERING ) //<-#outline level,removed by zhaojianwei + mbAssignedToOutlineStyle(false) //<-#outline level,added by zhaojianwei { pNextTxtFmtColl = this; } SwTxtFmtColl( SwAttrPool& rPool, const String &rFmtCollName, @@ -94,15 +94,15 @@ protected: // --> OD 2007-01-24 #i73790# mbStayAssignedToListLevelOfOutlineStyle( false ), // <-- - //nOutlineLevel( NO_NUMBERING ) //<-#outline level,removed by zhaojianwei - mbAssignedToOutlineStyle(false) //<-#outline level,added by zhaojianwei + //nOutlineLevel( NO_NUMBERING ) //<-#outline level,removed by zhaojianwei + mbAssignedToOutlineStyle(false) //<-#outline level,added by zhaojianwei { pNextTxtFmtColl = this; } public: // zum "abfischen" von UL-/LR-/FontHeight Aenderungen virtual void Modify( SfxPoolItem*, SfxPoolItem* ); - TYPEINFO(); //Bereits in Basisklasse Client drin. + TYPEINFO(); //Bereits in Basisklasse Client drin. inline void SetNextTxtFmtColl(SwTxtFmtColl& rNext); SwTxtFmtColl& GetNextTxtFmtColl() const { return *pNextTxtFmtColl; } @@ -191,7 +191,7 @@ protected: {} public: - TYPEINFO(); //Bereits in Basisklasse Client drin. + TYPEINFO(); //Bereits in Basisklasse Client drin. }; typedef SwGrfFmtColl* SwGrfFmtCollPtr; @@ -204,18 +204,18 @@ SV_DECL_PTRARR(SwGrfFmtColls,SwGrfFmtCollPtr,2,4) enum Master_CollConditions { - PARA_IN_LIST = 0x0001, - PARA_IN_OUTLINE = 0x0002, - PARA_IN_FRAME = 0x0004, - PARA_IN_TABLEHEAD = 0x0008, - PARA_IN_TABLEBODY = 0x0010, - PARA_IN_SECTION = 0x0020, - PARA_IN_FOOTENOTE = 0x0040, - PARA_IN_FOOTER = 0x0080, - PARA_IN_HEADER = 0x0100, - PARA_IN_ENDNOTE = 0x0200, + PARA_IN_LIST = 0x0001, + PARA_IN_OUTLINE = 0x0002, + PARA_IN_FRAME = 0x0004, + PARA_IN_TABLEHEAD = 0x0008, + PARA_IN_TABLEBODY = 0x0010, + PARA_IN_SECTION = 0x0020, + PARA_IN_FOOTENOTE = 0x0040, + PARA_IN_FOOTER = 0x0080, + PARA_IN_HEADER = 0x0100, + PARA_IN_ENDNOTE = 0x0200, // ... - USRFLD_EXPRESSION = (int)0x8000 + USRFLD_EXPRESSION = (int)0x8000 }; @@ -229,7 +229,7 @@ class SW_DLLPUBLIC SwCollCondition : public SwClient } aSubCondition; public: - TYPEINFO(); //Bereits in Basisklasse Client drin. + TYPEINFO(); //Bereits in Basisklasse Client drin. SwCollCondition( SwTxtFmtColl* pColl, ULONG nMasterCond, @@ -249,13 +249,13 @@ public: int operator!=( const SwCollCondition& rCmp ) const { return ! (*this == rCmp); } - ULONG GetCondition() const { return nCondition; } - ULONG GetSubCondition() const { return aSubCondition.nSubCondition; } + ULONG GetCondition() const { return nCondition; } + ULONG GetSubCondition() const { return aSubCondition.nSubCondition; } const String* GetFldExpression() const { return aSubCondition.pFldExpression; } void SetCondition( ULONG nCond, ULONG nSubCond ); - SwTxtFmtColl* GetTxtFmtColl() const { return (SwTxtFmtColl*)GetRegisteredIn(); } + SwTxtFmtColl* GetTxtFmtColl() const { return (SwTxtFmtColl*)GetRegisteredIn(); } }; @@ -278,15 +278,15 @@ protected: {} public: - TYPEINFO(); //Bereits in Basisklasse Client drin. + TYPEINFO(); //Bereits in Basisklasse Client drin. virtual ~SwConditionTxtFmtColl(); // zum "abfischen" von Aenderungen -// virtual void Modify( SfxPoolItem*, SfxPoolItem* ); +// virtual void Modify( SfxPoolItem*, SfxPoolItem* ); const SwCollCondition* HasCondition( const SwCollCondition& rCond ) const; - const SwFmtCollConditions& GetCondColls() const { return aCondColls; } + const SwFmtCollConditions& GetCondColls() const { return aCondColls; } void InsertCondition( const SwCollCondition& rCond ); BOOL RemoveCondition( const SwCollCondition& rCond ); diff --git a/sw/inc/fmtcolfunc.hxx b/sw/inc/fmtcolfunc.hxx index 87dec890101a..af85cc8dc329 100644 --- a/sw/inc/fmtcolfunc.hxx +++ b/sw/inc/fmtcolfunc.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/fmteiro.hxx b/sw/inc/fmteiro.hxx index c8ba2f4538a8..4dc71a8b63bf 100644 --- a/sw/inc/fmteiro.hxx +++ b/sw/inc/fmteiro.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/fmtflcnt.hxx b/sw/inc/fmtflcnt.hxx index f40452edf101..86100dd6ae3b 100644 --- a/sw/inc/fmtflcnt.hxx +++ b/sw/inc/fmtflcnt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -38,8 +38,8 @@ class SwTxtFlyCnt; class SwFmtFlyCnt : public SfxPoolItem { friend class SwTxtFlyCnt; - SwTxtFlyCnt* pTxtAttr; // mein TextAttribut - SwFrmFmt* pFmt; // mein Fly/DrawFrame-Format + SwTxtFlyCnt* pTxtAttr; // mein TextAttribut + SwFrmFmt* pFmt; // mein Fly/DrawFrame-Format // geschuetzter CopyCtor SwFmtFlyCnt& operator=(const SwFmtFlyCnt& rFlyCnt); @@ -47,15 +47,15 @@ public: SwFmtFlyCnt( SwFrmFmt *pFrmFmt ); // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; inline SwFrmFmt *GetFrmFmt() const { return pFmt; } // fuer Undo: loesche "logisch" das FlyFrmFormat, wird sich im // Undo-Object gemerkt. inline void SetFlyFmt( SwFrmFmt* pNew = 0 ) { pFmt = pNew; } - const SwTxtFlyCnt *GetTxtFlyCnt() const { return pTxtAttr; } - SwTxtFlyCnt *GetTxtFlyCnt() { return pTxtAttr; } + const SwTxtFlyCnt *GetTxtFlyCnt() const { return pTxtAttr; } + SwTxtFlyCnt *GetTxtFlyCnt() { return pTxtAttr; } // OD 27.06.2003 #108784# bool Sw3ioExportAllowed() const; diff --git a/sw/inc/fmtfld.hxx b/sw/inc/fmtfld.hxx index 991a12d27aa5..448b1eb1cc0f 100644 --- a/sw/inc/fmtfld.hxx +++ b/sw/inc/fmtfld.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -46,9 +46,9 @@ class SW_DLLPUBLIC SwFmtFld : public SfxPoolItem, public SwClient, public SfxBro friend void _InitCore(); SwField *pField; - SwTxtFld* pTxtAttr; // mein TextAttribut + SwTxtFld* pTxtAttr; // mein TextAttribut - SwFmtFld(); // das default-Attibut + SwFmtFld(); // das default-Attibut // geschuetzter CopyCtor // @@@ copy construction allowed, but copy assignment is not? @@@ @@ -67,13 +67,13 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual void Modify( SfxPoolItem* pOld, SfxPoolItem* pNew ); virtual BOOL GetInfo( SfxPoolItem& rInfo ) const; - const SwField *GetFld() const { return pField; } - SwField *GetFld() { return pField; } + const SwField *GetFld() const { return pField; } + SwField *GetFld() { return pField; } // #111840# /** @@ -85,8 +85,8 @@ public: */ void SetFld(SwField * pField); - const SwTxtFld *GetTxtFld() const { return pTxtAttr; } - SwTxtFld *GetTxtFld() { return pTxtAttr; } + const SwTxtFld *GetTxtFld() const { return pTxtAttr; } + SwTxtFld *GetTxtFld() { return pTxtAttr; } BOOL IsFldInDoc() const; BOOL IsProtect() const; @@ -94,11 +94,11 @@ public: class SW_DLLPUBLIC SwFmtFldHint : public SfxHint { -#define SWFMTFLD_INSERTED 1 -#define SWFMTFLD_REMOVED 2 -#define SWFMTFLD_FOCUS 3 -#define SWFMTFLD_CHANGED 4 -#define SWFMTFLD_LANGUAGE 5 +#define SWFMTFLD_INSERTED 1 +#define SWFMTFLD_REMOVED 2 +#define SWFMTFLD_FOCUS 3 +#define SWFMTFLD_CHANGED 4 +#define SWFMTFLD_LANGUAGE 5 const SwFmtFld* pFld; sal_Int16 nWhich; diff --git a/sw/inc/fmtfollowtextflow.hxx b/sw/inc/fmtfollowtextflow.hxx index fa7cb6ee84ab..a15cba7cc418 100644 --- a/sw/inc/fmtfollowtextflow.hxx +++ b/sw/inc/fmtfollowtextflow.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/fmtfordr.hxx b/sw/inc/fmtfordr.hxx index 7e97e669f614..6aac5dfa186b 100644 --- a/sw/inc/fmtfordr.hxx +++ b/sw/inc/fmtfordr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -51,8 +51,8 @@ public: inline SwFmtFillOrder &operator=( const SwFmtFillOrder &rCpy ); // "pure virtual Methoden" vom SfxPoolItem - virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; - virtual USHORT GetValueCount() const; + virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; + virtual USHORT GetValueCount() const; SwFillOrder GetFillOrder() const { return SwFillOrder(GetValue()); } }; diff --git a/sw/inc/fmtfsize.hxx b/sw/inc/fmtfsize.hxx index 7af1d51f4ff0..dbe1fc76d51a 100644 --- a/sw/inc/fmtfsize.hxx +++ b/sw/inc/fmtfsize.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,20 +41,20 @@ class IntlWrapper; enum SwFrmSize { - ATT_VAR_SIZE, //Frm ist in der Var-Richtung variabel - ATT_FIX_SIZE, //Frm ist in der Var-Richtung unbeweglich - ATT_MIN_SIZE //Der Wert in der Var-Richtung beschreibt eine + ATT_VAR_SIZE, //Frm ist in der Var-Richtung variabel + ATT_FIX_SIZE, //Frm ist in der Var-Richtung unbeweglich + ATT_MIN_SIZE //Der Wert in der Var-Richtung beschreibt eine //Minimalgroesse, die nicht unter- wohl aber //ueberschritten werden kann. }; class SW_DLLPUBLIC SwFmtFrmSize: public SfxPoolItem { - Size aSize; + Size aSize; SwFrmSize eFrmHeightType; SwFrmSize eFrmWidthType; - BYTE nWidthPercent; //Fuer Tabellen kann die Breite in Prozent - BYTE nHeightPercent; //angegeben sein. + BYTE nWidthPercent; //Fuer Tabellen kann die Breite in Prozent + BYTE nHeightPercent; //angegeben sein. //Fuer Rahmen koennen Hoehe und/oder Breite //in Prozent angegeben sein. Wenn nur eine //der Angaben in Prozent angeben ist, kann @@ -75,14 +75,14 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); SwFrmSize GetHeightSizeType() const { return eFrmHeightType; } void SetHeightSizeType( SwFrmSize eSize ) { eFrmHeightType = eSize; } @@ -95,13 +95,13 @@ public: SwTwips GetHeight() const { return aSize.Height(); } SwTwips GetWidth() const { return aSize.Width(); } - void SetHeight( const SwTwips nNew ) { aSize.Height() = nNew; } - void SetWidth ( const SwTwips nNew ) { aSize.Width() = nNew; } + void SetHeight( const SwTwips nNew ) { aSize.Height() = nNew; } + void SetWidth ( const SwTwips nNew ) { aSize.Width() = nNew; } BYTE GetHeightPercent() const{ return nHeightPercent; } - BYTE GetWidthPercent() const { return nWidthPercent; } - void SetHeightPercent( BYTE n ) { nHeightPercent = n; } - void SetWidthPercent ( BYTE n ) { nWidthPercent = n; } + BYTE GetWidthPercent() const { return nWidthPercent; } + void SetHeightPercent( BYTE n ) { nHeightPercent = n; } + void SetWidthPercent ( BYTE n ) { nWidthPercent = n; } }; inline const SwFmtFrmSize &SwAttrSet::GetFrmSize(BOOL bInP) const diff --git a/sw/inc/fmtftn.hxx b/sw/inc/fmtftn.hxx index a1d8f3692e55..1631b1599919 100644 --- a/sw/inc/fmtftn.hxx +++ b/sw/inc/fmtftn.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,9 +40,9 @@ class SwTxtFtn; class SW_DLLPUBLIC SwFmtFtn: public SfxPoolItem { friend class SwTxtFtn; - SwTxtFtn* pTxtAttr; //mein TextAttribut - String aNumber; //Benutzerdefinierte 'Nummer' - USHORT nNumber; //Automatische Nummerierung + SwTxtFtn* pTxtAttr; //mein TextAttribut + String aNumber; //Benutzerdefinierte 'Nummer' + USHORT nNumber; //Automatische Nummerierung bool m_bEndNote; // is it an End note? // geschuetzter CopyCtor @@ -55,21 +55,21 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; const String &GetNumStr() const { return aNumber; } const USHORT &GetNumber() const { return nNumber; } bool IsEndNote() const { return m_bEndNote;} - void SetNumStr( const String& rStr ) { aNumber = rStr; } - void SetNumber( USHORT nNo ) { nNumber = nNo; } + void SetNumStr( const String& rStr ) { aNumber = rStr; } + void SetNumber( USHORT nNo ) { nNumber = nNo; } void SetEndNote( bool b ); void SetNumber( const SwFmtFtn& rFtn ) { nNumber = rFtn.nNumber; aNumber = rFtn.aNumber; } const SwTxtFtn *GetTxtFtn() const { return pTxtAttr; } - SwTxtFtn *GetTxtFtn() { return pTxtAttr; } + SwTxtFtn *GetTxtFtn() { return pTxtAttr; } void GetFtnText( String& rStr ) const; diff --git a/sw/inc/fmtftntx.hxx b/sw/inc/fmtftntx.hxx index ddfe8825c502..95e7d0d1432f 100644 --- a/sw/inc/fmtftntx.hxx +++ b/sw/inc/fmtftntx.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -36,20 +36,20 @@ enum SwFtnEndPosEnum { - FTNEND_ATPGORDOCEND, // at page or document end - FTNEND_ATTXTEND, // at end of the current text end - FTNEND_ATTXTEND_OWNNUMSEQ, // -""- and with own number sequence - FTNEND_ATTXTEND_OWNNUMANDFMT, // -""- and with onw numberformat + FTNEND_ATPGORDOCEND, // at page or document end + FTNEND_ATTXTEND, // at end of the current text end + FTNEND_ATTXTEND_OWNNUMSEQ, // -""- and with own number sequence + FTNEND_ATTXTEND_OWNNUMANDFMT, // -""- and with onw numberformat FTNEND_ATTXTEND_END }; class SW_DLLPUBLIC SwFmtFtnEndAtTxtEnd : public SfxEnumItem { - String sPrefix; - String sSuffix; + String sPrefix; + String sSuffix; SvxNumberType aFmt; - USHORT nOffset; + USHORT nOffset; protected: SwFmtFtnEndAtTxtEnd( USHORT nWhichL, SwFtnEndPosEnum ePos ) @@ -62,20 +62,20 @@ protected: {} public: - virtual USHORT GetValueCount() const; + virtual USHORT GetValueCount() const; - virtual int operator==( const SfxPoolItem& ) const; + virtual int operator==( const SfxPoolItem& ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); // will be used at time?? -// void FillVariable( SbxVariable &rVar, -// SfxMapUnit eCoreMetric, -// SfxMapUnit eUserMetric ) const; -// virtual SfxArgumentError SetVariable( const SbxVariable &rVal, -// SfxMapUnit eCoreMetric, -// SfxMapUnit eUserMetric ); +// void FillVariable( SbxVariable &rVar, +// SfxMapUnit eCoreMetric, +// SfxMapUnit eUserMetric ) const; +// virtual SfxArgumentError SetVariable( const SbxVariable &rVal, +// SfxMapUnit eCoreMetric, +// SfxMapUnit eUserMetric ); virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, @@ -86,19 +86,19 @@ public: SwFmtFtnEndAtTxtEnd & operator=( const SwFmtFtnEndAtTxtEnd & rAttr ); - sal_Int16 GetNumType() const { return aFmt.GetNumberingType(); } - void SetNumType( sal_Int16 eType ) { aFmt.SetNumberingType(eType); } + sal_Int16 GetNumType() const { return aFmt.GetNumberingType(); } + void SetNumType( sal_Int16 eType ) { aFmt.SetNumberingType(eType); } - const SvxNumberType& GetSwNumType() const { return aFmt; } + const SvxNumberType& GetSwNumType() const { return aFmt; } - USHORT GetOffset() const { return nOffset; } - void SetOffset( USHORT nOff ) { nOffset = nOff; } + USHORT GetOffset() const { return nOffset; } + void SetOffset( USHORT nOff ) { nOffset = nOff; } - const String& GetPrefix() const { return sPrefix; } - void SetPrefix(const String& rSet) { sPrefix = rSet; } + const String& GetPrefix() const { return sPrefix; } + void SetPrefix(const String& rSet) { sPrefix = rSet; } - const String& GetSuffix() const { return sSuffix; } - void SetSuffix(const String& rSet) { sSuffix = rSet; } + const String& GetSuffix() const { return sSuffix; } + void SetSuffix(const String& rSet) { sSuffix = rSet; } }; class SW_DLLPUBLIC SwFmtFtnAtTxtEnd : public SwFmtFtnEndAtTxtEnd diff --git a/sw/inc/fmthdft.hxx b/sw/inc/fmthdft.hxx index 1059c43bd316..9c81aeb707d5 100644 --- a/sw/inc/fmthdft.hxx +++ b/sw/inc/fmthdft.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -42,7 +42,7 @@ class IntlWrapper; class SW_DLLPUBLIC SwFmtHeader: public SfxPoolItem, public SwClient { - BOOL bActive; //Nur zur Steuerung (Erzeugung des Inhaltes) + BOOL bActive; //Nur zur Steuerung (Erzeugung des Inhaltes) public: SwFmtHeader( BOOL bOn = FALSE ); @@ -55,7 +55,7 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, @@ -63,7 +63,7 @@ public: const IntlWrapper* pIntl = 0 ) const; const SwFrmFmt *GetHeaderFmt() const { return (SwFrmFmt*)pRegisteredIn; } - SwFrmFmt *GetHeaderFmt() { return (SwFrmFmt*)pRegisteredIn; } + SwFrmFmt *GetHeaderFmt() { return (SwFrmFmt*)pRegisteredIn; } BOOL IsActive() const { return bActive; } void SetActive( BOOL bNew = TRUE ) { bActive = bNew; } @@ -74,7 +74,7 @@ public: class SW_DLLPUBLIC SwFmtFooter: public SfxPoolItem, public SwClient { - BOOL bActive; //Nur zur Steuerung (Erzeugung des Inhaltes) + BOOL bActive; //Nur zur Steuerung (Erzeugung des Inhaltes) public: SwFmtFooter( BOOL bOn = FALSE ); @@ -87,7 +87,7 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, @@ -95,7 +95,7 @@ public: const IntlWrapper* pIntl = 0 ) const; const SwFrmFmt *GetFooterFmt() const { return (SwFrmFmt*)pRegisteredIn; } - SwFrmFmt *GetFooterFmt() { return (SwFrmFmt*)pRegisteredIn; } + SwFrmFmt *GetFooterFmt() { return (SwFrmFmt*)pRegisteredIn; } BOOL IsActive() const { return bActive; } void SetActive( BOOL bNew = TRUE ) { bActive = bNew; } diff --git a/sw/inc/fmtinfmt.hxx b/sw/inc/fmtinfmt.hxx index 17ded9853de4..21c6df638b8a 100644 --- a/sw/inc/fmtinfmt.hxx +++ b/sw/inc/fmtinfmt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -43,13 +43,13 @@ class SW_DLLPUBLIC SwFmtINetFmt: public SfxPoolItem { friend class SwTxtINetFmt; - String aURL; // die URL - String aTargetFrame; // in diesen Frame soll die URL + String aURL; // die URL + String aTargetFrame; // in diesen Frame soll die URL String aINetFmt; String aVisitedFmt; - String aName; // Name des Links + String aName; // Name des Links SvxMacroTableDtor* pMacroTbl; - SwTxtINetFmt* pTxtAttr; // mein TextAttribut + SwTxtINetFmt* pTxtAttr; // mein TextAttribut USHORT nINetId; USHORT nVisitedId; public: @@ -62,44 +62,44 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); - const SwTxtINetFmt* GetTxtINetFmt() const { return pTxtAttr; } - SwTxtINetFmt* GetTxtINetFmt() { return pTxtAttr; } + const SwTxtINetFmt* GetTxtINetFmt() const { return pTxtAttr; } + SwTxtINetFmt* GetTxtINetFmt() { return pTxtAttr; } - const String& GetValue() const { return aURL; } + const String& GetValue() const { return aURL; } - const String& GetName() const { return aName; } - void SetName( const String& rNm ) { aName = rNm; } + const String& GetName() const { return aName; } + void SetName( const String& rNm ) { aName = rNm; } - const String& GetTargetFrame() const { return aTargetFrame; } + const String& GetTargetFrame() const { return aTargetFrame; } - const String& GetINetFmt() const { return aINetFmt; } - void SetINetFmt( const String& rNm ) { aINetFmt = rNm; } + const String& GetINetFmt() const { return aINetFmt; } + void SetINetFmt( const String& rNm ) { aINetFmt = rNm; } - const String& GetVisitedFmt() const { return aVisitedFmt; } - void SetVisitedFmt( const String& rNm ) { aVisitedFmt = rNm; } + const String& GetVisitedFmt() const { return aVisitedFmt; } + void SetVisitedFmt( const String& rNm ) { aVisitedFmt = rNm; } - USHORT GetINetFmtId() const { return nINetId; } - void SetINetFmtId( USHORT nNew ) { nINetId = nNew; } + USHORT GetINetFmtId() const { return nINetId; } + void SetINetFmtId( USHORT nNew ) { nINetId = nNew; } - USHORT GetVisitedFmtId() const { return nVisitedId; } - void SetVisitedFmtId( USHORT nNew ) { nVisitedId = nNew; } + USHORT GetVisitedFmtId() const { return nVisitedId; } + void SetVisitedFmtId( USHORT nNew ) { nVisitedId = nNew; } // setze eine neue oder loesche die akt. MakroTabelle void SetMacroTbl( const SvxMacroTableDtor* pTbl = 0 ); - const SvxMacroTableDtor* GetMacroTbl() const { return pMacroTbl; } + const SvxMacroTableDtor* GetMacroTbl() const { return pMacroTbl; } // setze / erfrage ein Makro void SetMacro( USHORT nEvent, const SvxMacro& rMacro ); diff --git a/sw/inc/fmtline.hxx b/sw/inc/fmtline.hxx index cdd0c349f629..96e8578ce4ca 100644 --- a/sw/inc/fmtline.hxx +++ b/sw/inc/fmtline.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -38,8 +38,8 @@ class IntlWrapper; class SW_DLLPUBLIC SwFmtLineNumber: public SfxPoolItem { - ULONG nStartValue :24; //Startwert fuer den Absatz, 0 == kein Startwert - ULONG bCountLines :1; //Zeilen des Absatzes sollen mitgezaehlt werden. + ULONG nStartValue :24; //Startwert fuer den Absatz, 0 == kein Startwert + ULONG bCountLines :1; //Zeilen des Absatzes sollen mitgezaehlt werden. public: SwFmtLineNumber(); @@ -49,20 +49,20 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); ULONG GetStartValue() const { return nStartValue; } - BOOL IsCount() const { return bCountLines != 0; } + BOOL IsCount() const { return bCountLines != 0; } void SetStartValue( ULONG nNew ) { nStartValue = nNew; } - void SetCountLines( BOOL b ) { bCountLines = b; } + void SetCountLines( BOOL b ) { bCountLines = b; } }; inline const SwFmtLineNumber &SwAttrSet::GetLineNumber(BOOL bInP) const diff --git a/sw/inc/fmtlsplt.hxx b/sw/inc/fmtlsplt.hxx index b700cc3a8046..cddcbfff0105 100644 --- a/sw/inc/fmtlsplt.hxx +++ b/sw/inc/fmtlsplt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/fmtmeta.hxx b/sw/inc/fmtmeta.hxx index 8eb29b7b8aea..b708fc8ef2fe 100644 --- a/sw/inc/fmtmeta.hxx +++ b/sw/inc/fmtmeta.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/fmtornt.hxx b/sw/inc/fmtornt.hxx index 58351442b4f3..6393b7f3e6c8 100644 --- a/sw/inc/fmtornt.hxx +++ b/sw/inc/fmtornt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -55,14 +55,14 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); sal_Int16 GetVertOrient() const { return eOrient; } sal_Int16 GetRelationOrient() const { return eRelation; } @@ -74,7 +74,7 @@ public: }; //SwFmtHoriOrient, wie und woran orientiert -- -// sich der FlyFrm in der Hoizontalen ---------- +// sich der FlyFrm in der Hoizontalen ---------- #define IVER_HORIORIENT_TOGGLE ((USHORT)0x0001) #define IVER_HORIORIENT_REL ((USHORT)0x0002) @@ -93,14 +93,14 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); sal_Int16 GetHoriOrient() const { return eOrient; } sal_Int16 GetRelationOrient() const { return eRelation; } diff --git a/sw/inc/fmtpdsc.hxx b/sw/inc/fmtpdsc.hxx index 5ed51fd6817d..c5ecb3c24dc6 100644 --- a/sw/inc/fmtpdsc.hxx +++ b/sw/inc/fmtpdsc.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -43,8 +43,8 @@ class IntlWrapper; //Pagedescriptor //Client vom SwPageDesc der durch das Attribut "beschrieben" wird. -#define IVER_FMTPAGEDESC_NOAUTO ((USHORT)0x0001) -#define IVER_FMTPAGEDESC_LONGPAGE ((USHORT)0x0002) +#define IVER_FMTPAGEDESC_NOAUTO ((USHORT)0x0001) +#define IVER_FMTPAGEDESC_LONGPAGE ((USHORT)0x0002) class SW_DLLPUBLIC SwFmtPageDesc : public SfxPoolItem, public SwClient { @@ -52,9 +52,9 @@ class SW_DLLPUBLIC SwFmtPageDesc : public SfxPoolItem, public SwClient // Auto-Flag setzen zu koennen !! friend BOOL InsAttr( SwDoc*, const SwPaM &, const SfxItemSet&, USHORT, SwHistory* ); - USHORT nNumOffset; // Seitennummer Offset - USHORT nDescNameIdx; // SW3-Reader: Stringpool-Index des Vorlagennamens - SwModify* pDefinedIn; // Verweis auf das Objekt, in dem das + USHORT nNumOffset; // Seitennummer Offset + USHORT nDescNameIdx; // SW3-Reader: Stringpool-Index des Vorlagennamens + SwModify* pDefinedIn; // Verweis auf das Objekt, in dem das // Attribut gesetzt wurde (CntntNode/Format) public: @@ -67,22 +67,22 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew ); SwPageDesc *GetPageDesc() { return (SwPageDesc*)GetRegisteredIn(); } const SwPageDesc *GetPageDesc() const { return (SwPageDesc*)GetRegisteredIn(); } - USHORT GetNumOffset() const { return nNumOffset; } - void SetNumOffset( USHORT nNum ) { nNumOffset = nNum; } + USHORT GetNumOffset() const { return nNumOffset; } + void SetNumOffset( USHORT nNum ) { nNumOffset = nNum; } // erfrage/setze, wo drin das Attribut verankert ist inline const SwModify* GetDefinedIn() const { return pDefinedIn; } diff --git a/sw/inc/fmtrfmrk.hxx b/sw/inc/fmtrfmrk.hxx index 4682c51bd46f..0cbc93f6e3ce 100644 --- a/sw/inc/fmtrfmrk.hxx +++ b/sw/inc/fmtrfmrk.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,7 +39,7 @@ class SwTxtRefMark; class SwFmtRefMark : public SfxPoolItem { friend class SwTxtRefMark; - SwTxtRefMark* pTxtAttr; // mein TextAttribut + SwTxtRefMark* pTxtAttr; // mein TextAttribut // geschuetzter CopyCtor SwFmtRefMark& operator=(const SwFmtRefMark& rRefMark); @@ -52,10 +52,10 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; - const SwTxtRefMark *GetTxtRefMark() const { return pTxtAttr; } - SwTxtRefMark *GetTxtRefMark() { return pTxtAttr; } + const SwTxtRefMark *GetTxtRefMark() const { return pTxtAttr; } + SwTxtRefMark *GetTxtRefMark() { return pTxtAttr; } inline String &GetRefName() { return aRefName; } inline const String &GetRefName() const { return aRefName; } diff --git a/sw/inc/fmtrowsplt.hxx b/sw/inc/fmtrowsplt.hxx index 6b01ba4777aa..a3e4b1f20ff5 100644 --- a/sw/inc/fmtrowsplt.hxx +++ b/sw/inc/fmtrowsplt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/fmtruby.hxx b/sw/inc/fmtruby.hxx index 1e30ad697938..9a48047369c4 100644 --- a/sw/inc/fmtruby.hxx +++ b/sw/inc/fmtruby.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -38,12 +38,12 @@ class SW_DLLPUBLIC SwFmtRuby : public SfxPoolItem { friend class SwTxtRuby; - String sRubyTxt; // the ruby txt - String sCharFmtName; // name of the charformat - SwTxtRuby* pTxtAttr; // the TextAttribut - USHORT nCharFmtId; // PoolId of the charformat - USHORT nPosition; // Position of the Ruby-Character - USHORT nAdjustment; // specific adjustment of the Ruby-Ch. + String sRubyTxt; // the ruby txt + String sCharFmtName; // name of the charformat + SwTxtRuby* pTxtAttr; // the TextAttribut + USHORT nCharFmtId; // PoolId of the charformat + USHORT nPosition; // Position of the Ruby-Character + USHORT nAdjustment; // specific adjustment of the Ruby-Ch. public: SwFmtRuby( const String& rRubyTxt ); @@ -54,7 +54,7 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, @@ -62,29 +62,29 @@ public: String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); - const SwTxtRuby* GetTxtRuby() const { return pTxtAttr; } - SwTxtRuby* GetTxtRuby() { return pTxtAttr; } + const SwTxtRuby* GetTxtRuby() const { return pTxtAttr; } + SwTxtRuby* GetTxtRuby() { return pTxtAttr; } - const String& GetText() const { return sRubyTxt; } - void SetText( const String& rTxt ) { sRubyTxt = rTxt; } + const String& GetText() const { return sRubyTxt; } + void SetText( const String& rTxt ) { sRubyTxt = rTxt; } - const String& GetCharFmtName() const { return sCharFmtName; } - void SetCharFmtName( const String& rNm ) { sCharFmtName = rNm; } + const String& GetCharFmtName() const { return sCharFmtName; } + void SetCharFmtName( const String& rNm ) { sCharFmtName = rNm; } - USHORT GetCharFmtId() const { return nCharFmtId; } - void SetCharFmtId( USHORT nNew ) { nCharFmtId = nNew; } + USHORT GetCharFmtId() const { return nCharFmtId; } + void SetCharFmtId( USHORT nNew ) { nCharFmtId = nNew; } - USHORT GetPosition() const { return nPosition; } - void SetPosition( USHORT nNew ) { nPosition = nNew; } + USHORT GetPosition() const { return nPosition; } + void SetPosition( USHORT nNew ) { nPosition = nNew; } - USHORT GetAdjustment() const { return nAdjustment; } - void SetAdjustment( USHORT nNew ) { nAdjustment = nNew; } + USHORT GetAdjustment() const { return nAdjustment; } + void SetAdjustment( USHORT nNew ) { nAdjustment = nNew; } }; diff --git a/sw/inc/fmtsrnd.hxx b/sw/inc/fmtsrnd.hxx index 7f06c3d6f4cc..8ca69435071c 100644 --- a/sw/inc/fmtsrnd.hxx +++ b/sw/inc/fmtsrnd.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,13 +40,13 @@ class IntlWrapper; //SwFmtSurround, wie soll sich der --------------- -// Dokumentinhalt unter dem Rahmen verhalten --- +// Dokumentinhalt unter dem Rahmen verhalten --- class SW_DLLPUBLIC SwFmtSurround: public SfxEnumItem { - BOOL bAnchorOnly :1; - BOOL bContour :1; - BOOL bOutside :1; + BOOL bAnchorOnly :1; + BOOL bContour :1; + BOOL bOutside :1; public: SwFmtSurround( SwSurround eNew = SURROUND_PARALLEL ); SwFmtSurround( const SwFmtSurround & ); @@ -54,25 +54,25 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; - virtual USHORT GetValueCount() const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual USHORT GetValueCount() const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); SwSurround GetSurround()const { return SwSurround( GetValue() ); } - BOOL IsAnchorOnly() const { return bAnchorOnly; } - BOOL IsContour() const { return bContour; } - BOOL IsOutside() const { return bOutside; } - void SetSurround ( SwSurround eNew ){ SfxEnumItem::SetValue( USHORT( eNew ) ); } - void SetAnchorOnly( BOOL bNew ) { bAnchorOnly = bNew; } - void SetContour( BOOL bNew ) { bContour = bNew; } - void SetOutside( BOOL bNew ) { bOutside = bNew; } + BOOL IsAnchorOnly() const { return bAnchorOnly; } + BOOL IsContour() const { return bContour; } + BOOL IsOutside() const { return bOutside; } + void SetSurround ( SwSurround eNew ){ SfxEnumItem::SetValue( USHORT( eNew ) ); } + void SetAnchorOnly( BOOL bNew ) { bAnchorOnly = bNew; } + void SetContour( BOOL bNew ) { bContour = bNew; } + void SetOutside( BOOL bNew ) { bOutside = bNew; } }; inline SwFmtSurround &SwFmtSurround::operator=( const SwFmtSurround &rCpy ) diff --git a/sw/inc/fmtsrndenum.hxx b/sw/inc/fmtsrndenum.hxx index a4160047953f..314c32b654b4 100644 --- a/sw/inc/fmtsrndenum.hxx +++ b/sw/inc/fmtsrndenum.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/fmtui.hrc b/sw/inc/fmtui.hrc index a25aa4425c5e..4b2e0c513b3e 100644 --- a/sw/inc/fmtui.hrc +++ b/sw/inc/fmtui.hrc @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -31,9 +31,9 @@ #include "rcid.hrc" -#define DLG_FMTENTRY (RC_FMTUI_BEGIN) -#define DLG_NEW_FILE (RC_FMTUI_BEGIN + 1) -#define STR_PAGE_STD (RC_FMTUI_BEGIN + 2) +#define DLG_FMTENTRY (RC_FMTUI_BEGIN) +#define DLG_NEW_FILE (RC_FMTUI_BEGIN + 1) +#define STR_PAGE_STD (RC_FMTUI_BEGIN + 2) #define STR_PAGE_BORDER (RC_FMTUI_BEGIN + 3) #define STR_PAGE_HEADER (RC_FMTUI_BEGIN + 4) #define STR_PAGE_FOOTER (RC_FMTUI_BEGIN + 5) @@ -41,9 +41,9 @@ #define STR_PAGE_FOOTNOTE (RC_FMTUI_BEGIN + 7) #define STR_PAGE_TEXTGRID (RC_FMTUI_BEGIN + 8) -#define DLG_STD_CHAR (RC_FMTUI_BEGIN + 15) +#define DLG_STD_CHAR (RC_FMTUI_BEGIN + 15) -#define MN_TEXT (RC_FMTUI_BEGIN + 20) +#define MN_TEXT (RC_FMTUI_BEGIN + 20) #define MN_GRAFIC (RC_FMTUI_BEGIN + 21) #define MN_TABLE (RC_FMTUI_BEGIN + 22) @@ -51,37 +51,37 @@ #define MN_REGION_SUB (RC_FMTUI_BEGIN + 25) -#define DLG_DOC_STYLE (RC_FMTUI_BEGIN + 26) -#define DLG_NEW_COLL (RC_FMTUI_BEGIN + 28) +#define DLG_DOC_STYLE (RC_FMTUI_BEGIN + 26) +#define DLG_NEW_COLL (RC_FMTUI_BEGIN + 28) -#define DLG_TEMPLATE_PI (RC_FMTUI_BEGIN + 29) -#define DLG_HELP_ID (RC_FMTUI_BEGIN + 30) +#define DLG_TEMPLATE_PI (RC_FMTUI_BEGIN + 29) +#define DLG_HELP_ID (RC_FMTUI_BEGIN + 30) -#define STR_OVERWRITE (RC_FMTUI_BEGIN + 32) -#define ST_CUSTOMIZE 1 +#define STR_OVERWRITE (RC_FMTUI_BEGIN + 32) +#define ST_CUSTOMIZE 1 // die Abstaende zur Basis 2 nicht aendern !!!! -#define DLG_TEMPLATE_BASE (RC_FMTUI_BEGIN + 40) -#define DLG_TEMPLATE_1 (RC_FMTUI_BEGIN + 41) -#define DLG_TEMPLATE_2 (RC_FMTUI_BEGIN + 42) -#define DLG_TEMPLATE_3 (RC_FMTUI_BEGIN + 44) -#define DLG_TEMPLATE_4 (RC_FMTUI_BEGIN + 48) -#define DLG_TEMPLATE_5 (RC_FMTUI_BEGIN + 56) +#define DLG_TEMPLATE_BASE (RC_FMTUI_BEGIN + 40) +#define DLG_TEMPLATE_1 (RC_FMTUI_BEGIN + 41) +#define DLG_TEMPLATE_2 (RC_FMTUI_BEGIN + 42) +#define DLG_TEMPLATE_3 (RC_FMTUI_BEGIN + 44) +#define DLG_TEMPLATE_4 (RC_FMTUI_BEGIN + 48) +#define DLG_TEMPLATE_5 (RC_FMTUI_BEGIN + 56) #if DLG_TEMPLATE_5 > RC_FMTUI_END #error Resource-Id Ueberlauf in #file, #line #endif -#define TEMPLATEPI_IDX_ALL 1 -#define TEMPLATEPI_IDX_USED 2 -#define TEMPLATEPI_IDX_USER 3 -#define TEMPLATEPI_IDX_AUTOMATIC 4 -#define TEMPLATEPI_IDX_TEXT 5 -#define TEMPLATEPI_IDX_CHAPTER 6 -#define TEMPLATEPI_IDX_LIST 7 -#define TEMPLATEPI_IDX_IDX 8 -#define TEMPLATEPI_IDX_EXTRA 9 +#define TEMPLATEPI_IDX_ALL 1 +#define TEMPLATEPI_IDX_USED 2 +#define TEMPLATEPI_IDX_USER 3 +#define TEMPLATEPI_IDX_AUTOMATIC 4 +#define TEMPLATEPI_IDX_TEXT 5 +#define TEMPLATEPI_IDX_CHAPTER 6 +#define TEMPLATEPI_IDX_LIST 7 +#define TEMPLATEPI_IDX_IDX 8 +#define TEMPLATEPI_IDX_EXTRA 9 diff --git a/sw/inc/fmturl.hxx b/sw/inc/fmturl.hxx index f9661580e5b5..8cbccecc0286 100644 --- a/sw/inc/fmturl.hxx +++ b/sw/inc/fmturl.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,12 +40,12 @@ class IntlWrapper; class SW_DLLPUBLIC SwFmtURL: public SfxPoolItem { - String sTargetFrameName; // in diesen Frame soll die URL - String sURL; //Einfache URL - String sName; // Name des Anchors - ImageMap *pMap; //ClientSide Images + String sTargetFrameName; // in diesen Frame soll die URL + String sURL; //Einfache URL + String sName; // Name des Anchors + ImageMap *pMap; //ClientSide Images - BOOL bIsServerMap; //mit der URL eine ServerSideImageMap + BOOL bIsServerMap; //mit der URL eine ServerSideImageMap SwFmtURL& operator=( const SwFmtURL& ); @@ -59,27 +59,27 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); void SetTargetFrameName( const String& rStr ) { sTargetFrameName = rStr; } void SetURL( const String &rURL, BOOL bServerMap ); - void SetMap( const ImageMap *pM ); //Pointer wird kopiert! + void SetMap( const ImageMap *pM ); //Pointer wird kopiert! const String &GetTargetFrameName()const { return sTargetFrameName; } - const String &GetURL() const { return sURL; } - BOOL IsServerMap() const { return bIsServerMap; } - const ImageMap *GetMap() const { return pMap; } - ImageMap *GetMap() { return pMap; } + const String &GetURL() const { return sURL; } + BOOL IsServerMap() const { return bIsServerMap; } + const ImageMap *GetMap() const { return pMap; } + ImageMap *GetMap() { return pMap; } - const String& GetName() const { return sName; } - void SetName( const String& rNm ) { sName = rNm; } + const String& GetName() const { return sName; } + void SetName( const String& rNm ) { sName = rNm; } }; diff --git a/sw/inc/fmtwrapinfluenceonobjpos.hxx b/sw/inc/fmtwrapinfluenceonobjpos.hxx index d7b0a1176961..76052e3ac128 100644 --- a/sw/inc/fmtwrapinfluenceonobjpos.hxx +++ b/sw/inc/fmtwrapinfluenceonobjpos.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx index ecb2de67cfbb..ac4d1f513580 100644 --- a/sw/inc/format.hxx +++ b/sw/inc/format.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -30,9 +30,9 @@ #include <tools/solar.h> #include "swdllapi.h" -#include <errhdl.hxx> // fuer ASSERT -#include <swatrset.hxx> // fuer SfxItemPool/-Set, Attr forward decl. -#include <calbck.hxx> // fuer SwModify +#include <errhdl.hxx> // fuer ASSERT +#include <swatrset.hxx> // fuer SfxItemPool/-Set, Attr forward decl. +#include <calbck.hxx> // fuer SwModify #include <hintids.hxx> class IDocumentSettingAccess; @@ -52,17 +52,17 @@ class SW_DLLPUBLIC SwFmt : public SwModify SwAttrSet aSet; USHORT nWhichId; - USHORT nFmtId; // Format-ID fuer Lesen/Schreiben - USHORT nPoolFmtId; // Id-fuer "automatich" erzeugte Formate + USHORT nFmtId; // Format-ID fuer Lesen/Schreiben + USHORT nPoolFmtId; // Id-fuer "automatich" erzeugte Formate // (ist keine harte Attributierung !!) - USHORT nPoolHelpId; // HelpId fuer diese Pool-Vorlage - BYTE nPoolHlpFileId; // FilePos ans Doc auf die Vorlagen-Hilfen - BOOL bWritten : 1; // TRUE: bereits geschrieben - BOOL bAutoFmt : 1; // FALSE: es handelt sich um eine Vorlage + USHORT nPoolHelpId; // HelpId fuer diese Pool-Vorlage + BYTE nPoolHlpFileId; // FilePos ans Doc auf die Vorlagen-Hilfen + BOOL bWritten : 1; // TRUE: bereits geschrieben + BOOL bAutoFmt : 1; // FALSE: es handelt sich um eine Vorlage // ist dflt immer auf TRUE ! - BOOL bFmtInDTOR : 1; // TRUE: das Format wird geloscht. Damit man in + BOOL bFmtInDTOR : 1; // TRUE: das Format wird geloscht. Damit man in // der FmtChg-Message das erkennen kann!!! - BOOL bAutoUpdateFmt : 1; // TRUE: am Format werden die Attribute + BOOL bAutoUpdateFmt : 1; // TRUE: am Format werden die Attribute // eines kompletten Absatzes gesetzt (UI-seitig!) protected: @@ -73,7 +73,7 @@ protected: SwFmt( const SwFmt& rFmt ); public: - TYPEINFO(); //Bereits in Basisklasse Client drin. + TYPEINFO(); //Bereits in Basisklasse Client drin. virtual ~SwFmt(); SwFmt &operator=(const SwFmt&); @@ -118,7 +118,7 @@ public: inline SwFmt* DerivedFrom() const { return (SwFmt*)pRegisteredIn; } inline BOOL IsDefault() const { return DerivedFrom() == 0; } - inline const String& GetName() const { return aFmtName; } + inline const String& GetName() const { return aFmtName; } void SetName( const String& rNewName, sal_Bool bBroadcast=sal_False ); inline void SetName( const sal_Char* pNewName, sal_Bool bBroadcast=sal_False); @@ -128,8 +128,8 @@ public: // Das Doc wird jetzt am SwAttrPool gesetzt. Dadurch hat man es immer // im Zugriff. - const SwDoc *GetDoc() const { return aSet.GetDoc(); } - SwDoc *GetDoc() { return aSet.GetDoc(); } + const SwDoc *GetDoc() const { return aSet.GetDoc(); } + SwDoc *GetDoc() { return aSet.GetDoc(); } /** Provides access to the document settings interface */ @@ -168,25 +168,25 @@ public: void SetPoolHlpFileId( BYTE nId ) { nPoolHlpFileId = nId; } // erfrage die Attribut-Beschreibung, returnt den reingereichten String void GetPresentation( SfxItemPresentation ePres, - SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const - { aSet.GetPresentation( ePres, eCoreMetric, ePresMetric, rText ); } + SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const + { aSet.GetPresentation( ePres, eCoreMetric, ePresMetric, rText ); } // Das Format-ID fuer Lesen/Schreiben: void ResetWritten() { bWritten = FALSE; } // Abfragen/Setzen vom AutoFmt-Flag - BOOL IsAuto() const { return bAutoFmt; } - void SetAuto( BOOL bNew = FALSE ) { bAutoFmt = bNew; } + BOOL IsAuto() const { return bAutoFmt; } + void SetAuto( BOOL bNew = FALSE ) { bAutoFmt = bNew; } // Abfragen/Setzen vom bAutoUpdateFmt-Flag - BOOL IsAutoUpdateFmt() const { return bAutoUpdateFmt; } - void SetAutoUpdateFmt( BOOL bNew = TRUE ) { bAutoUpdateFmt = bNew; } + BOOL IsAutoUpdateFmt() const { return bAutoUpdateFmt; } + void SetAutoUpdateFmt( BOOL bNew = TRUE ) { bAutoUpdateFmt = bNew; } BOOL IsFmtInDTOR() const { return bFmtInDTOR; } // GetMethoden: das Bool gibt an, ob nur im Set (FALSE) oder auch in - // den Parents gesucht werden soll. Wird nichts gefunden, - // wird das deflt. Attribut returnt. - // Charakter-Attribute - impl. steht im charatr.hxx + // den Parents gesucht werden soll. Wird nichts gefunden, + // wird das deflt. Attribut returnt. + // Charakter-Attribute - impl. steht im charatr.hxx // AMA 12.10.94: Umstellung von SwFmt... auf Svx... inline const SvxPostureItem &GetPosture( BOOL = TRUE ) const; inline const SvxWeightItem &GetWeight( BOOL = TRUE ) const; @@ -207,8 +207,8 @@ public: inline const SvxEscapementItem &GetEscapement( BOOL = TRUE ) const; inline const SvxCaseMapItem &GetCaseMap( BOOL = TRUE ) const; inline const SvxNoHyphenItem &GetNoHyphenHere( BOOL = TRUE ) const; - inline const SvxBlinkItem &GetBlink( BOOL = TRUE ) const; - inline const SvxBrushItem &GetChrBackground( BOOL = TRUE ) const; + inline const SvxBlinkItem &GetBlink( BOOL = TRUE ) const; + inline const SvxBrushItem &GetChrBackground( BOOL = TRUE ) const; inline const SvxFontItem &GetCJKFont( BOOL = TRUE ) const; inline const SvxFontHeightItem &GetCJKSize( BOOL = TRUE ) const; @@ -228,7 +228,7 @@ public: inline const SvxCharReliefItem &GetCharRelief( BOOL = TRUE ) const; inline const SvxCharHiddenItem &GetCharHidden( BOOL = TRUE ) const; - // Frame-Attribute - impl. steht im frmatr.hxx, + // Frame-Attribute - impl. steht im frmatr.hxx, inline const SwFmtFillOrder &GetFillOrder( BOOL = TRUE ) const; inline const SwFmtFrmSize &GetFrmSize( BOOL = TRUE ) const; inline const SwFmtHeader &GetHeader( BOOL = TRUE ) const; @@ -269,7 +269,7 @@ public: // OD 2004-05-05 #i28701# inline const SwFmtWrapInfluenceOnObjPos& GetWrapInfluenceOnObjPos(BOOL = TRUE) const; - // Grafik-Attribute - impl. steht im grfatr.hxx + // Grafik-Attribute - impl. steht im grfatr.hxx inline const SwMirrorGrf &GetMirrorGrf( BOOL = TRUE ) const; inline const SwCropGrf &GetCropGrf( BOOL = TRUE ) const; inline const SwRotationGrf &GetRotationGrf(BOOL = TRUE ) const; @@ -283,7 +283,7 @@ public: inline const SwTransparencyGrf &GetTransparencyGrf(BOOL = TRUE ) const; inline const SwDrawModeGrf &GetDrawModeGrf(BOOL = TRUE ) const; - // Paragraph-Attribute - impl. steht im paratr.hxx + // Paragraph-Attribute - impl. steht im paratr.hxx inline const SvxLineSpacingItem &GetLineSpacing( BOOL = TRUE ) const; inline const SvxAdjustItem &GetAdjust( BOOL = TRUE ) const; inline const SvxFmtSplitItem &GetSplit( BOOL = TRUE ) const; @@ -301,7 +301,7 @@ public: inline const SvxParaGridItem &GetParaGrid(BOOL = TRUE) const; inline const SwParaConnectBorderItem &GetParaConnectBorder(BOOL = TRUE ) const; - // TabellenBox-Attribute - impl. steht im cellatr.hxx + // TabellenBox-Attribute - impl. steht im cellatr.hxx inline const SwTblBoxNumFormat &GetTblBoxNumFmt( BOOL = TRUE ) const; inline const SwTblBoxFormula &GetTblBoxFormula( BOOL = TRUE ) const; inline const SwTblBoxValue &GetTblBoxValue( BOOL = TRUE ) const; diff --git a/sw/inc/frmatr.hxx b/sw/inc/frmatr.hxx index fe839a140411..2743719ed38f 100644 --- a/sw/inc/frmatr.hxx +++ b/sw/inc/frmatr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -28,14 +28,14 @@ #ifndef _FRMATR_HXX #define _FRMATR_HXX -#include <hintids.hxx> //die Ids der Attribute, vor frmitems damit die -#include <format.hxx> //fuer Implementierung der inlines +#include <hintids.hxx> //die Ids der Attribute, vor frmitems damit die +#include <format.hxx> //fuer Implementierung der inlines //------------------------ Inlines --------------------------------- /****************************************************************************** - * Implementierung der FrameAttribut Methoden vom SwAttrSet + * Implementierung der FrameAttribut Methoden vom SwAttrSet ******************************************************************************/ inline const SvxPaperBinItem &SwAttrSet::GetPaperBin(BOOL bInP) const @@ -67,7 +67,7 @@ inline const SvxFrameDirectionItem &SwAttrSet::GetFrmDir(BOOL bInP) const /****************************************************************************** - * Implementierung der FrameAttribut Methoden vom SwFmt + * Implementierung der FrameAttribut Methoden vom SwFmt ******************************************************************************/ inline const SvxPaperBinItem &SwFmt::GetPaperBin(BOOL bInP) const @@ -94,9 +94,9 @@ inline const SvxFmtBreakItem &SwFmt::GetBreak(BOOL bInP) const { return aSet.GetBreak(bInP); } inline const SvxMacroItem &SwFmt::GetMacro(BOOL bInP) const { return aSet.GetMacro(bInP); } -inline const SvxFrameDirectionItem &SwFmt::GetFrmDir(BOOL bInP) const +inline const SvxFrameDirectionItem &SwFmt::GetFrmDir(BOOL bInP) const { return aSet.GetFrmDir(bInP); } - + #endif //_FRMATR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx index 8427b69a25b3..6cf2790d4989 100644 --- a/sw/inc/frmfmt.hxx +++ b/sw/inc/frmfmt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -51,7 +51,7 @@ class SdrObject; class SW_DLLPUBLIC SwFrmFmt: public SwFmt { friend class SwDoc; - friend class SwPageDesc; //darf den protected CTor rufen. + friend class SwPageDesc; //darf den protected CTor rufen. ::com::sun::star::uno::WeakReference< ::com::sun::star::uno::XInterface> m_wXObject; @@ -72,7 +72,7 @@ protected: {} public: - TYPEINFO(); //Bereits in Basisklasse Client drin. + TYPEINFO(); //Bereits in Basisklasse Client drin. //Vernichtet alle Frms in aDepend (Frms werden per PTR_CAST erkannt). virtual void DelFrms(); @@ -86,8 +86,8 @@ public: // returnt das IMapObject, das an dem Format (Fly), in der ImageMap // an der Point Position definiert ist. - // rPoint - teste auf der DocPosition - // pFly - optionaler FlyFrame, falls der schon bekannt ist. + // rPoint - teste auf der DocPosition + // pFly - optionaler FlyFrame, falls der schon bekannt ist. IMapObject* GetIMapObject( const Point& rPoint, const SwFlyFrm *pFly = 0 ) const; diff --git a/sw/inc/ftnidx.hxx b/sw/inc/ftnidx.hxx index 079aa046faba..76391bafe764 100644 --- a/sw/inc/ftnidx.hxx +++ b/sw/inc/ftnidx.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,7 +39,7 @@ class SwSectionNode; // ueberall, wo der NodeIndex gebraucht wird, werden die hier fehlenden // Headerfiles schon includes. Darum hier nur als define und nicht als // inline Methode (spart Compile-Zeit) -#define _SwTxtFtn_GetIndex( pFIdx ) (pFIdx->GetTxtNode().GetIndex()) +#define _SwTxtFtn_GetIndex( pFIdx ) (pFIdx->GetTxtNode().GetIndex()) typedef SwTxtFtn* SwTxtFtnPtr; @@ -50,8 +50,8 @@ class SwFtnIdxs : public _SwFtnIdxs public: SwFtnIdxs() {} - void UpdateFtn( const SwNodeIndex& rStt ); // ab Pos. alle Updaten - void UpdateAllFtn(); // alle Fussnoten updaten + void UpdateFtn( const SwNodeIndex& rStt ); // ab Pos. alle Updaten + void UpdateAllFtn(); // alle Fussnoten updaten SwTxtFtn* SeekEntry( const SwNodeIndex& rIdx, USHORT* pPos = 0 ) const; }; diff --git a/sw/inc/ftninfo.hxx b/sw/inc/ftninfo.hxx index 0114e115da17..32c9d4e087c5 100644 --- a/sw/inc/ftninfo.hxx +++ b/sw/inc/ftninfo.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,17 +40,17 @@ class SwDoc; class SW_DLLPUBLIC SwEndNoteInfo : public SwClient { - SwDepend aPageDescDep; - SwDepend aCharFmtDep, aAnchorCharFmtDep; - String sPrefix; - String sSuffix; + SwDepend aPageDescDep; + SwDepend aCharFmtDep, aAnchorCharFmtDep; + String sPrefix; + String sSuffix; protected: bool m_bEndNote; public: SvxNumberType aFmt; - USHORT nFtnOffset; + USHORT nFtnOffset; - void ChgPageDesc( SwPageDesc *pDesc ); + void ChgPageDesc( SwPageDesc *pDesc ); SwPageDesc *GetPageDesc( SwDoc &rDoc ) const; SwClient *GetPageDescDep() const { return (SwClient*)&aPageDescDep; } @@ -73,11 +73,11 @@ public: SwEndNoteInfo( SwTxtFmtColl *pTxtColl = 0); SwEndNoteInfo(const SwEndNoteInfo&); - const String& GetPrefix() const { return sPrefix; } - const String& GetSuffix() const { return sSuffix; } + const String& GetPrefix() const { return sPrefix; } + const String& GetSuffix() const { return sSuffix; } - void SetPrefix(const String& rSet) { sPrefix = rSet; } - void SetSuffix(const String& rSet) { sSuffix = rSet; } + void SetPrefix(const String& rSet) { sPrefix = rSet; } + void SetSuffix(const String& rSet) { sSuffix = rSet; } }; enum SwFtnPos @@ -98,7 +98,7 @@ class SW_DLLPUBLIC SwFtnInfo: public SwEndNoteInfo public: String aQuoVadis; - String aErgoSum; + String aErgoSum; SwFtnPos ePos; SwFtnNum eNum; diff --git a/sw/inc/globals.hrc b/sw/inc/globals.hrc index 709a25692cd7..984bac601792 100644 --- a/sw/inc/globals.hrc +++ b/sw/inc/globals.hrc @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -36,11 +36,11 @@ // STRINGS ----------------------------------------------------------- -#define STR_DLLNOTFOUND (RC_GLOBALS_BEGIN + 0) -#define STR_FMT_STD (RC_GLOBALS_BEGIN + 1) -#define STR_LOAD_GLOBAL_DOC (RC_GLOBALS_BEGIN + 2) +#define STR_DLLNOTFOUND (RC_GLOBALS_BEGIN + 0) +#define STR_FMT_STD (RC_GLOBALS_BEGIN + 1) +#define STR_LOAD_GLOBAL_DOC (RC_GLOBALS_BEGIN + 2) -#define STR_SEPARATOR (RC_GLOBALS_BEGIN + 4) +#define STR_SEPARATOR (RC_GLOBALS_BEGIN + 4) #define STR_BASIC_IMPORT (RC_GLOBALS_BEGIN + 5) @@ -48,14 +48,14 @@ #define STR_BASIC_END (RC_GLOBALS_BEGIN + 7) #define STR_BASIC_REC_LIB (RC_GLOBALS_BEGIN + 8) #define STR_TEMPLATE_WILDCARD (RC_GLOBALS_BEGIN + 9) -#define STR_DOC_STAT (RC_GLOBALS_BEGIN + 10) +#define STR_DOC_STAT (RC_GLOBALS_BEGIN + 10) -#define STR_PAGE (RC_GLOBALS_BEGIN + 14) +#define STR_PAGE (RC_GLOBALS_BEGIN + 14) #define STR_PRINTOPTUI (RC_GLOBALS_BEGIN + 15) //EventStrings -#define STR_EVENT_OBJECT_SELECT ( RC_GLOBALS_BEGIN + 17 ) +#define STR_EVENT_OBJECT_SELECT ( RC_GLOBALS_BEGIN + 17 ) #define STR_EVENT_START_INS_GLOSSARY ( RC_GLOBALS_BEGIN + 18 ) #define STR_EVENT_END_INS_GLOSSARY ( RC_GLOBALS_BEGIN + 19 ) #define STR_EVENT_MOUSEOVER_OBJECT ( RC_GLOBALS_BEGIN + 20 ) @@ -64,21 +64,21 @@ #define STR_EVENT_IMAGE_LOAD ( RC_GLOBALS_BEGIN + 23 ) #define STR_EVENT_IMAGE_ABORT ( RC_GLOBALS_BEGIN + 24 ) #define STR_EVENT_IMAGE_ERROR ( RC_GLOBALS_BEGIN + 25 ) -#define STR_EVENT_FRM_KEYINPUT_A ( RC_GLOBALS_BEGIN + 26 ) -#define STR_EVENT_FRM_KEYINPUT_NOA ( RC_GLOBALS_BEGIN + 27 ) +#define STR_EVENT_FRM_KEYINPUT_A ( RC_GLOBALS_BEGIN + 26 ) +#define STR_EVENT_FRM_KEYINPUT_NOA ( RC_GLOBALS_BEGIN + 27 ) #define STR_EVENT_FRM_RESIZE ( RC_GLOBALS_BEGIN + 28 ) -#define STR_EVENT_FRM_MOVE ( RC_GLOBALS_BEGIN + 29 ) +#define STR_EVENT_FRM_MOVE ( RC_GLOBALS_BEGIN + 29 ) // Strings fuer Rahmenausrichtungen im Popup -#define STR_TOP_BASE (RC_GLOBALS_BEGIN + 30) -#define STR_BOTTOM_BASE (RC_GLOBALS_BEGIN + 31) -#define STR_CENTER_BASE (RC_GLOBALS_BEGIN + 32) +#define STR_TOP_BASE (RC_GLOBALS_BEGIN + 30) +#define STR_BOTTOM_BASE (RC_GLOBALS_BEGIN + 31) +#define STR_CENTER_BASE (RC_GLOBALS_BEGIN + 32) #define STR_TOP (RC_GLOBALS_BEGIN + 33) #define STR_BOTTOM (RC_GLOBALS_BEGIN + 34) #define STR_CENTER_HORI (RC_GLOBALS_BEGIN + 35) #define STR_CENTER_VERT (RC_GLOBALS_BEGIN + 36) -#define STR_LOAD_HTML_DOC (RC_GLOBALS_BEGIN + 37) +#define STR_LOAD_HTML_DOC (RC_GLOBALS_BEGIN + 37) #define STR_AUTH (RC_GLOBALS_BEGIN + 38) #define STR_TBL (RC_GLOBALS_BEGIN + 39) @@ -89,28 +89,28 @@ // BITMAPS ----------------------------------------------------------- -#define RES_TABL (RC_GLOBALS_BEGIN + 1) -#define RES_TABR (RC_GLOBALS_BEGIN + 2) -#define RES_TABD (RC_GLOBALS_BEGIN + 3) -#define RES_TABC (RC_GLOBALS_BEGIN + 4) +#define RES_TABL (RC_GLOBALS_BEGIN + 1) +#define RES_TABR (RC_GLOBALS_BEGIN + 2) +#define RES_TABD (RC_GLOBALS_BEGIN + 3) +#define RES_TABC (RC_GLOBALS_BEGIN + 4) // DIALOGE ----------------------------------------------------------- -#define DLG_LISTBOX (RC_GLOBALS_BEGIN + 1) -#define DLG_THESAURUS (RC_GLOBALS_BEGIN + 2) -#define DLG_SPECIAL (RC_GLOBALS_BEGIN + 3) +#define DLG_LISTBOX (RC_GLOBALS_BEGIN + 1) +#define DLG_THESAURUS (RC_GLOBALS_BEGIN + 2) +#define DLG_SPECIAL (RC_GLOBALS_BEGIN + 3) // QUERYBOX --------------------------------------------------------- -#define DLG_WRAP (RC_GLOBALS_BEGIN + 4) -#define DLG_BODY (RC_GLOBALS_BEGIN + 5) -#define DLG_PRT_FIELDNAME (RC_GLOBALS_BEGIN + 6) +#define DLG_WRAP (RC_GLOBALS_BEGIN + 4) +#define DLG_BODY (RC_GLOBALS_BEGIN + 5) +#define DLG_PRT_FIELDNAME (RC_GLOBALS_BEGIN + 6) // INFOBOX ------------------------------------------------------------ -#define ERR_CLPBRD_READ (RC_GLOBALS_BEGIN + 1) -#define ERR_CLPBRD_WRITE (RC_GLOBALS_BEGIN + 2) -#define MSG_ERROR_PASSWD (RC_GLOBALS_BEGIN + 3) +#define ERR_CLPBRD_READ (RC_GLOBALS_BEGIN + 1) +#define ERR_CLPBRD_WRITE (RC_GLOBALS_BEGIN + 2) +#define MSG_ERROR_PASSWD (RC_GLOBALS_BEGIN + 3) // ACC --------------------------------------------------------------- @@ -140,68 +140,68 @@ #define FN_NEXT_SENT_SEL (RC_GLOBALS_BEGIN + 23) // NextSentence #define FN_PREV_SENT_SEL (RC_GLOBALS_BEGIN + 24) // PrevSentence -#define FN_START_OF_NEXT_COLUMN_SEL (RC_GLOBALS_BEGIN + 25) -#define FN_END_OF_NEXT_COLUMN_SEL (RC_GLOBALS_BEGIN + 26) -#define FN_START_OF_PREV_COLUMN_SEL (RC_GLOBALS_BEGIN + 27) -#define FN_END_OF_PREV_COLUMN_SEL (RC_GLOBALS_BEGIN + 28) -#define FN_PAGEUP_SEL (RC_GLOBALS_BEGIN + 29) -#define FN_PAGEDOWN_SEL (RC_GLOBALS_BEGIN + 30) +#define FN_START_OF_NEXT_COLUMN_SEL (RC_GLOBALS_BEGIN + 25) +#define FN_END_OF_NEXT_COLUMN_SEL (RC_GLOBALS_BEGIN + 26) +#define FN_START_OF_PREV_COLUMN_SEL (RC_GLOBALS_BEGIN + 27) +#define FN_END_OF_PREV_COLUMN_SEL (RC_GLOBALS_BEGIN + 28) +#define FN_PAGEUP_SEL (RC_GLOBALS_BEGIN + 29) +#define FN_PAGEDOWN_SEL (RC_GLOBALS_BEGIN + 30) // TABPAGES ----------------------------------------------------------- -#define TP_PAGE_STD (RC_GLOBALS_BEGIN + 1) -#define TP_PAGE_EXT (RC_GLOBALS_BEGIN + 2) +#define TP_PAGE_STD (RC_GLOBALS_BEGIN + 1) +#define TP_PAGE_EXT (RC_GLOBALS_BEGIN + 2) -#define TP_PARA_STD (RC_GLOBALS_BEGIN + 3) -#define TP_PARA_EXT (RC_GLOBALS_BEGIN + 4) +#define TP_PARA_STD (RC_GLOBALS_BEGIN + 3) +#define TP_PARA_EXT (RC_GLOBALS_BEGIN + 4) -#define TP_FRAME_STD (RC_GLOBALS_BEGIN + 5) -#define TP_FRAME_EXT (RC_GLOBALS_BEGIN + 6) +#define TP_FRAME_STD (RC_GLOBALS_BEGIN + 5) +#define TP_FRAME_EXT (RC_GLOBALS_BEGIN + 6) -#define TP_CHAR_STD (RC_GLOBALS_BEGIN + 7) -#define TP_CHAR_EXT (RC_GLOBALS_BEGIN + 8) +#define TP_CHAR_STD (RC_GLOBALS_BEGIN + 7) +#define TP_CHAR_EXT (RC_GLOBALS_BEGIN + 8) -#define TP_TABULATOR (RC_GLOBALS_BEGIN + 9) -#define TP_DROPCAPS (RC_GLOBALS_BEGIN + 10) -#define TP_BACKGROUND (RC_GLOBALS_BEGIN + 11) -#define TP_BORDER (RC_GLOBALS_BEGIN + 12) -#define TP_COLUMN (RC_GLOBALS_BEGIN + 13) +#define TP_TABULATOR (RC_GLOBALS_BEGIN + 9) +#define TP_DROPCAPS (RC_GLOBALS_BEGIN + 10) +#define TP_BACKGROUND (RC_GLOBALS_BEGIN + 11) +#define TP_BORDER (RC_GLOBALS_BEGIN + 12) +#define TP_COLUMN (RC_GLOBALS_BEGIN + 13) -#define TP_DOC_STAT (RC_GLOBALS_BEGIN + 15) +#define TP_DOC_STAT (RC_GLOBALS_BEGIN + 15) -#define TP_HEADER_PAGE (RC_GLOBALS_BEGIN + 16) -#define TP_FOOTER_PAGE (RC_GLOBALS_BEGIN + 17) -#define TP_FOOTNOTE_PAGE (RC_GLOBALS_BEGIN + 18) +#define TP_HEADER_PAGE (RC_GLOBALS_BEGIN + 16) +#define TP_FOOTER_PAGE (RC_GLOBALS_BEGIN + 17) +#define TP_FOOTNOTE_PAGE (RC_GLOBALS_BEGIN + 18) #define TP_OPTGENERAL_PAGE (RC_GLOBALS_BEGIN + 19) //Sfx-Seiten -#define TP_OPTSAVE_PAGE (RC_GLOBALS_BEGIN + 20) -#define TP_OPTPATH_PAGE (RC_GLOBALS_BEGIN + 21) -#define TP_OPTSPELL_PAGE (RC_GLOBALS_BEGIN + 22) +#define TP_OPTSAVE_PAGE (RC_GLOBALS_BEGIN + 20) +#define TP_OPTPATH_PAGE (RC_GLOBALS_BEGIN + 21) +#define TP_OPTSPELL_PAGE (RC_GLOBALS_BEGIN + 22) //Sw-Seiten -#define SW_EDIT_OPTIONS_TDLG (RC_GLOBALS_BEGIN + 23) +#define SW_EDIT_OPTIONS_TDLG (RC_GLOBALS_BEGIN + 23) #define SW_BROWSER_OPTIONS_TDLG (RC_GLOBALS_BEGIN + 24) -#define TP_OPTTEST_PAGE (RC_GLOBALS_BEGIN + 25) -#define TP_OPTPRINT_PAGE (RC_GLOBALS_BEGIN + 26) -#define TP_OPTCOLOR_PAGE (RC_GLOBALS_BEGIN + 27) +#define TP_OPTTEST_PAGE (RC_GLOBALS_BEGIN + 25) +#define TP_OPTPRINT_PAGE (RC_GLOBALS_BEGIN + 26) +#define TP_OPTCOLOR_PAGE (RC_GLOBALS_BEGIN + 27) #define SW_OPTIONS_TDLG (RC_GLOBALS_BEGIN + 28) #define SW_OPTIONS_TDLG_ELEM (RC_GLOBALS_BEGIN + 29) #define SW_OPTIONS_TDLG_PRINT (RC_GLOBALS_BEGIN + 30) -#define TP_FRM_STD (RC_GLOBALS_BEGIN + 31) +#define TP_FRM_STD (RC_GLOBALS_BEGIN + 31) -#define TP_OPTGRID_PAGE (RC_GLOBALS_BEGIN + 33) +#define TP_OPTGRID_PAGE (RC_GLOBALS_BEGIN + 33) -#define TP_FORMAT_TABLE (RC_GLOBALS_BEGIN + 34) -#define TP_GRF_EXT (RC_GLOBALS_BEGIN + 35) +#define TP_FORMAT_TABLE (RC_GLOBALS_BEGIN + 34) +#define TP_GRF_EXT (RC_GLOBALS_BEGIN + 35) -#define DLG_FRM_STD (RC_GLOBALS_BEGIN + 36) -#define DLG_FRM_GRF (RC_GLOBALS_BEGIN + 37) -#define DLG_FRM_OLE (RC_GLOBALS_BEGIN + 38) +#define DLG_FRM_STD (RC_GLOBALS_BEGIN + 36) +#define DLG_FRM_GRF (RC_GLOBALS_BEGIN + 37) +#define DLG_FRM_OLE (RC_GLOBALS_BEGIN + 38) -#define RID_INPUT_TOOLBOX (RC_GLOBALS_BEGIN + 39) +#define RID_INPUT_TOOLBOX (RC_GLOBALS_BEGIN + 39) -#define TP_MACRO_ASSIGN (RC_GLOBALS_BEGIN + 40) +#define TP_MACRO_ASSIGN (RC_GLOBALS_BEGIN + 40) #define TP_FRM_URL (RC_GLOBALS_BEGIN + 42) #define TP_CHAR_URL (RC_GLOBALS_BEGIN + 43) @@ -222,7 +222,7 @@ #define TP_PARA_ALIGN (RC_GLOBALS_BEGIN + 55) #define TP_OPTTABLE_PAGE (RC_GLOBALS_BEGIN + 56) -#define TP_NUMBER (RC_GLOBALS_BEGIN + 57) +#define TP_NUMBER (RC_GLOBALS_BEGIN + 57) #define DLG_NUM_BULLET (RC_GLOBALS_BEGIN + 58) #define TP_PICK_SINGLE_NUM (RC_GLOBALS_BEGIN + 59) @@ -230,50 +230,50 @@ #define TP_PICK_NUM (RC_GLOBALS_BEGIN + 61) #define TP_PICK_BMP (RC_GLOBALS_BEGIN + 62) -#define TP_FLD_DB (RC_GLOBALS_BEGIN + 64) -#define TP_FLD_DOKINF (RC_GLOBALS_BEGIN + 65) -#define TP_FLD_VAR (RC_GLOBALS_BEGIN + 66) -#define TP_FLD_DOK (RC_GLOBALS_BEGIN + 67) -#define TP_FLD_FUNC (RC_GLOBALS_BEGIN + 68) -#define TP_FLD_REF (RC_GLOBALS_BEGIN + 69) +#define TP_FLD_DB (RC_GLOBALS_BEGIN + 64) +#define TP_FLD_DOKINF (RC_GLOBALS_BEGIN + 65) +#define TP_FLD_VAR (RC_GLOBALS_BEGIN + 66) +#define TP_FLD_DOK (RC_GLOBALS_BEGIN + 67) +#define TP_FLD_FUNC (RC_GLOBALS_BEGIN + 68) +#define TP_FLD_REF (RC_GLOBALS_BEGIN + 69) -#define TP_OPTSHDWCRSR (RC_GLOBALS_BEGIN + 70) +#define TP_OPTSHDWCRSR (RC_GLOBALS_BEGIN + 70) #define TP_NUM_OPTIONS (RC_GLOBALS_BEGIN + 71) #define TP_NUM_POSITION (RC_GLOBALS_BEGIN + 72) -#define TP_NUMPARA (RC_GLOBALS_BEGIN + 73) +#define TP_NUMPARA (RC_GLOBALS_BEGIN + 73) -#define TP_REDLINE_OPT (RC_GLOBALS_BEGIN + 74) +#define TP_REDLINE_OPT (RC_GLOBALS_BEGIN + 74) -#define TP_LINENUMBERING (RC_GLOBALS_BEGIN + 75) -#define TP_OUTLINE_NUM (RC_GLOBALS_BEGIN + 76) +#define TP_LINENUMBERING (RC_GLOBALS_BEGIN + 75) +#define TP_OUTLINE_NUM (RC_GLOBALS_BEGIN + 76) #define TP_OPTINSERT_PAGE (RC_GLOBALS_BEGIN + 77) -#define TP_OPTCAPTION_PAGE (RC_GLOBALS_BEGIN + 78) +#define TP_OPTCAPTION_PAGE (RC_GLOBALS_BEGIN + 78) #define DLG_SVXTEST_NUM_BULLET (RC_GLOBALS_BEGIN + 79) -#define TP_OPTLOAD_PAGE (RC_GLOBALS_BEGIN + 80) -#define TP_INSERT_TOX (RC_GLOBALS_BEGIN + 81) -#define TP_TOX_FORM_ENTRY (RC_GLOBALS_BEGIN + 82) -#define TP_TOX_FORM_STYLES (RC_GLOBALS_BEGIN + 83) +#define TP_OPTLOAD_PAGE (RC_GLOBALS_BEGIN + 80) +#define TP_INSERT_TOX (RC_GLOBALS_BEGIN + 81) +#define TP_TOX_FORM_ENTRY (RC_GLOBALS_BEGIN + 82) +#define TP_TOX_FORM_STYLES (RC_GLOBALS_BEGIN + 83) #define DLG_INSERT_TOX_TABDLG (RC_GLOBALS_BEGIN + 84) #define TP_INSERT_SECTION (RC_GLOBALS_BEGIN + 85) #define DLG_INSERT_SECTION (RC_GLOBALS_BEGIN + 86) #define DLG_SECTION_PROPERTIES (RC_GLOBALS_BEGIN + 87) #define DLG_RENAME_XNAMED (RC_GLOBALS_BEGIN + 88) -#define DLG_MULTI_TOX (RC_GLOBALS_BEGIN + 89) -#define TP_TOX_SELECT (RC_GLOBALS_BEGIN + 90) +#define DLG_MULTI_TOX (RC_GLOBALS_BEGIN + 89) +#define TP_TOX_SELECT (RC_GLOBALS_BEGIN + 90) #define TP_TOX_ENTRY (RC_GLOBALS_BEGIN + 91) #define TP_TOX_STYLES (RC_GLOBALS_BEGIN + 92) #define TP_VISITING_CARDS (RC_GLOBALS_BEGIN + 93) #define DLG_ADD_IDX_STYLES (RC_GLOBALS_BEGIN + 94) -#define TP_PRIVATE_DATA (RC_GLOBALS_BEGIN + 95) -#define TP_BUSINESS_DATA (RC_GLOBALS_BEGIN + 96) -#define TP_SECTION_FTNENDNOTES (RC_GLOBALS_BEGIN + 97) -#define TP_CHAR_POS (RC_GLOBALS_BEGIN + 98) -#define TP_CHAR_TWOLN (RC_GLOBALS_BEGIN + 99) +#define TP_PRIVATE_DATA (RC_GLOBALS_BEGIN + 95) +#define TP_BUSINESS_DATA (RC_GLOBALS_BEGIN + 96) +#define TP_SECTION_FTNENDNOTES (RC_GLOBALS_BEGIN + 97) +#define TP_CHAR_POS (RC_GLOBALS_BEGIN + 98) +#define TP_CHAR_TWOLN (RC_GLOBALS_BEGIN + 99) #define TP_PARA_ASIAN (RC_GLOBALS_BEGIN + 100) #define TP_TEXTGRID_PAGE (RC_GLOBALS_BEGIN + 101) #define TP_SECTION_INDENTS (RC_GLOBALS_BEGIN + 102) -#define TP_OPTCOMPATIBILITY_PAGE (RC_GLOBALS_BEGIN + 103) +#define TP_OPTCOMPATIBILITY_PAGE (RC_GLOBALS_BEGIN + 103) #define TP_MAILCONFIG (RC_GLOBALS_BEGIN + 104) #define TP_TITLEPAGE (RC_GLOBALS_BEGIN + 105) //maximum: RC_GLOBALS_BEGIN + 120 diff --git a/sw/inc/globdoc.hxx b/sw/inc/globdoc.hxx index 4876cd79e57d..4f91c086caef 100644 --- a/sw/inc/globdoc.hxx +++ b/sw/inc/globdoc.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,7 +41,7 @@ public: SwGlobalDocShell(SfxObjectCreateMode eMode = SFX_CREATE_MODE_EMBEDDED); ~SwGlobalDocShell(); - virtual void FillClass( SvGlobalName * pClassName, + virtual void FillClass( SvGlobalName * pClassName, sal_uInt32 * pClipFormat, String * pAppName, String * pLongUserName, diff --git a/sw/inc/grfatr.hxx b/sw/inc/grfatr.hxx index 89d3f156f149..5f968cb742fc 100644 --- a/sw/inc/grfatr.hxx +++ b/sw/inc/grfatr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -28,17 +28,17 @@ #ifndef _GRFATR_HXX #define _GRFATR_HXX -#include <hintids.hxx> // fuer die WhichIds @@@ must be included first @@@ +#include <hintids.hxx> // fuer die WhichIds @@@ must be included first @@@ #include <tools/gen.hxx> #include <svl/eitem.hxx> #include <svl/intitem.hxx> #include <svx/grfcrop.hxx> #include "swdllapi.h" -#include <swatrset.hxx> // fuer inlines -#include <format.hxx> // fuer inlines +#include <swatrset.hxx> // fuer inlines +#include <format.hxx> // fuer inlines /****************************************************************************** - * class SwMirrorGrf + * class SwMirrorGrf ******************************************************************************/ enum MirrorGraph @@ -68,17 +68,17 @@ public: virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; // pure virtual-Methiden von SfxEnumItem - virtual USHORT GetValueCount() const; - virtual int operator==( const SfxPoolItem& ) const; + virtual USHORT GetValueCount() const; + virtual int operator==( const SfxPoolItem& ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); inline SwMirrorGrf& operator=( const SwMirrorGrf& rMirrorGrf ) @@ -88,13 +88,13 @@ public: return *this; } - inline BOOL IsGrfToggle() const { return bGrfToggle; } - inline void SetGrfToggle( BOOL bNew ) { bGrfToggle = bNew; } + inline BOOL IsGrfToggle() const { return bGrfToggle; } + inline void SetGrfToggle( BOOL bNew ) { bGrfToggle = bNew; } }; /****************************************************************************** - * class SwAttrCropGrf + * class SwAttrCropGrf ******************************************************************************/ class SW_DLLPUBLIC SwCropGrf : public SvxGrfCrop @@ -102,11 +102,11 @@ class SW_DLLPUBLIC SwCropGrf : public SvxGrfCrop public: TYPEINFO(); SwCropGrf(); - SwCropGrf( sal_Int32 nLeft, sal_Int32 nRight, - sal_Int32 nTop, sal_Int32 nBottom ); + SwCropGrf( sal_Int32 nLeft, sal_Int32 nRight, + sal_Int32 nTop, sal_Int32 nBottom ); // "pure virtual Methoden" vom SfxPoolItem - virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; }; class SwRotationGrf : public SfxUInt16Item @@ -122,19 +122,19 @@ public: // pure virtual-Methiden from SfxInt16Item virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; - virtual int operator==( const SfxPoolItem& ) const; + virtual int operator==( const SfxPoolItem& ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); - void SetUnrotatedSize( const Size& rSz ) { aUnrotatedSize = rSz; } - const Size& GetUnrotatedSize() const { return aUnrotatedSize; } + void SetUnrotatedSize( const Size& rSz ) { aUnrotatedSize = rSz; } + const Size& GetUnrotatedSize() const { return aUnrotatedSize; } }; class SW_DLLPUBLIC SwLuminanceGrf : public SfxInt16Item @@ -229,22 +229,22 @@ public: } // pure virtual-Methiden von SfxEnumItem - virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; - virtual int operator==( const SfxPoolItem& ) const; + virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; + virtual int operator==( const SfxPoolItem& ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); - const double& GetValue() const { return nValue; } - void SetValue( const double& rVal ) { nValue = rVal; } + const double& GetValue() const { return nValue; } + void SetValue( const double& rVal ) { nValue = rVal; } }; class SwInvertGrf: public SfxBoolItem @@ -277,9 +277,9 @@ public: SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); }; @@ -291,26 +291,26 @@ public: {} // pure virtual-Methoden von SfxPoolItem - virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; // pure virtual-Methiden von SfxEnumItem - virtual USHORT GetValueCount() const; + virtual USHORT GetValueCount() const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); }; /****************************************************************************** - * Implementierung der GrafikAttribut Methoden vom SwAttrSet + * Implementierung der GrafikAttribut Methoden vom SwAttrSet ******************************************************************************/ inline const SwMirrorGrf &SwAttrSet::GetMirrorGrf(BOOL bInP) const @@ -335,11 +335,11 @@ inline const SwInvertGrf &SwAttrSet::GetInvertGrf(BOOL bInP) const { return (const SwInvertGrf&)Get( RES_GRFATR_INVERT,bInP); } inline const SwTransparencyGrf &SwAttrSet::GetTransparencyGrf(BOOL bInP) const { return (const SwTransparencyGrf&)Get( RES_GRFATR_TRANSPARENCY,bInP); } -inline const SwDrawModeGrf &SwAttrSet::GetDrawModeGrf(BOOL bInP) const +inline const SwDrawModeGrf &SwAttrSet::GetDrawModeGrf(BOOL bInP) const { return (const SwDrawModeGrf&)Get( RES_GRFATR_DRAWMODE,bInP); } /****************************************************************************** - * Implementierung der GrafikAttribut Methoden vom SwFmt + * Implementierung der GrafikAttribut Methoden vom SwFmt ******************************************************************************/ inline const SwMirrorGrf &SwFmt::GetMirrorGrf(BOOL bInP) const @@ -358,7 +358,7 @@ inline const SwChannelGGrf &SwFmt::GetChannelGGrf(BOOL bInP) const { return aSet.GetChannelGGrf( bInP); } inline const SwChannelBGrf &SwFmt::GetChannelBGrf(BOOL bInP) const { return aSet.GetChannelBGrf( bInP); } -inline const SwGammaGrf &SwFmt::GetGammaGrf(BOOL bInP) const +inline const SwGammaGrf &SwFmt::GetGammaGrf(BOOL bInP) const { return aSet.GetGammaGrf( bInP); } inline const SwInvertGrf &SwFmt::GetInvertGrf(BOOL bInP) const { return aSet.GetInvertGrf( bInP); } diff --git a/sw/inc/helpid.h b/sw/inc/helpid.h index 049abfa1afd3..d6fc29498bad 100644 --- a/sw/inc/helpid.h +++ b/sw/inc/helpid.h @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -29,74 +29,74 @@ #include <svl/solar.hrc> #endif -#define HID_BASE HID_APP_START +#define HID_BASE HID_APP_START -#define HID_BIB_BASE (HID_BASE + 1) -#define HID_DBSEL (HID_BASE + 2) -#define HID_DBEDIT (HID_BASE + 3) -#define HID_PRINT_OPTION (HID_BASE + 4) +#define HID_BIB_BASE (HID_BASE + 1) +#define HID_DBSEL (HID_BASE + 2) +#define HID_DBEDIT (HID_BASE + 3) +#define HID_PRINT_OPTION (HID_BASE + 4) #define HID_MERGE_PRINTMONITOR (HID_BASE + 5) -#define HID_FLD_INPUT (HID_BASE + 6) -#define HID_CONFIG_MISC (HID_BASE + 7) -#define HID_CONFIG_PATH (HID_BASE + 8) -#define HID_CONFIG_TB (HID_BASE + 9) -#define HID_PG_FOOTNOTE (HID_BASE + 10) -#define HID_FORMAT_GRAPHIC (HID_BASE + 11) -#define HID_FILTERSTATUS (HID_BASE + 12) -#define HID_DOCINFO_EDT (HID_BASE + 13) -#define HID_DBLOGON (HID_BASE + 14) -#define HID_MAC_ASSIGN (HID_BASE + 15) -#define HID_CONFIG_MN (HID_BASE + 16) -#define HID_PAPERSIZE (HID_BASE + 17) -#define HID_PASSWD (HID_BASE + 18) -#define HID_SPELLING_OPTIONS (HID_BASE + 19) -#define HID_HYPHENATE_OPTIONS (HID_BASE + 20) -#define HID_FORMAT_COLUMN (HID_BASE + 21) -#define HID_CONFIG_SAVE (HID_BASE + 22) -#define HID_NUM_NAMES (HID_BASE + 23) -#define HID_SYMBOL_SELECT (HID_BASE + 24) -#define HID_CONFIG_KY (HID_BASE + 25) -#define HID_LINKEDIT (HID_BASE + 26) -#define HID_GRAPHIC_PREVIEW (HID_BASE + 28) -#define HID_DICTIONARY (HID_BASE + 29) -#define HID_SET_STYLE (HID_BASE + 30) -#define HID_RIBBONBAR (HID_BASE + 31) -#define HID_STATUSLINE (HID_BASE + 32) -#define HID_DOCBAR (HID_BASE + 33) -#define HID_VRULER (HID_BASE + 34) -#define HID_MAKRO_WINDOW (HID_BASE + 35) -#define HID_ENVELOP_FORMAT (HID_BASE + 37) -#define HID_ENVELOP_PRINTER (HID_BASE + 38) - -#define HID_HEADER_FOOTER_DLG (HID_BASE + 39) -#define HID_GRID_DLG (HID_BASE + 40) -#define HID_USER_ADDRESS_DLG (HID_BASE + 41) -#define HID_SELECT_FAX_DLG (HID_BASE + 42) - -#define HID_LABEL_FORMAT (HID_BASE + 43) -#define HID_BRSORT (HID_BASE + 44) -#define HID_BRSEEK (HID_BASE + 45) -#define HID_BRCFG (HID_BASE + 46) - -#define HID_FORMEDT_CONTENT (HID_BASE + 47) -#define HID_FORMEDT_USER (HID_BASE + 48) -#define HID_FORMEDT_INDEX (HID_BASE + 49) - -#define HID_SCRL_PAGEUP (HID_BASE + 50) -#define HID_SCRL_PAGEDOWN (HID_BASE + 51) - -#define HID_DRAW_WIN (HID_BASE + 52) -#define HID_EDIT_WIN (HID_BASE + 53) - -#define HID_INSERT_CTRL (HID_BASE + 54) // TbxControl Einfuegen +#define HID_FLD_INPUT (HID_BASE + 6) +#define HID_CONFIG_MISC (HID_BASE + 7) +#define HID_CONFIG_PATH (HID_BASE + 8) +#define HID_CONFIG_TB (HID_BASE + 9) +#define HID_PG_FOOTNOTE (HID_BASE + 10) +#define HID_FORMAT_GRAPHIC (HID_BASE + 11) +#define HID_FILTERSTATUS (HID_BASE + 12) +#define HID_DOCINFO_EDT (HID_BASE + 13) +#define HID_DBLOGON (HID_BASE + 14) +#define HID_MAC_ASSIGN (HID_BASE + 15) +#define HID_CONFIG_MN (HID_BASE + 16) +#define HID_PAPERSIZE (HID_BASE + 17) +#define HID_PASSWD (HID_BASE + 18) +#define HID_SPELLING_OPTIONS (HID_BASE + 19) +#define HID_HYPHENATE_OPTIONS (HID_BASE + 20) +#define HID_FORMAT_COLUMN (HID_BASE + 21) +#define HID_CONFIG_SAVE (HID_BASE + 22) +#define HID_NUM_NAMES (HID_BASE + 23) +#define HID_SYMBOL_SELECT (HID_BASE + 24) +#define HID_CONFIG_KY (HID_BASE + 25) +#define HID_LINKEDIT (HID_BASE + 26) +#define HID_GRAPHIC_PREVIEW (HID_BASE + 28) +#define HID_DICTIONARY (HID_BASE + 29) +#define HID_SET_STYLE (HID_BASE + 30) +#define HID_RIBBONBAR (HID_BASE + 31) +#define HID_STATUSLINE (HID_BASE + 32) +#define HID_DOCBAR (HID_BASE + 33) +#define HID_VRULER (HID_BASE + 34) +#define HID_MAKRO_WINDOW (HID_BASE + 35) +#define HID_ENVELOP_FORMAT (HID_BASE + 37) +#define HID_ENVELOP_PRINTER (HID_BASE + 38) + +#define HID_HEADER_FOOTER_DLG (HID_BASE + 39) +#define HID_GRID_DLG (HID_BASE + 40) +#define HID_USER_ADDRESS_DLG (HID_BASE + 41) +#define HID_SELECT_FAX_DLG (HID_BASE + 42) + +#define HID_LABEL_FORMAT (HID_BASE + 43) +#define HID_BRSORT (HID_BASE + 44) +#define HID_BRSEEK (HID_BASE + 45) +#define HID_BRCFG (HID_BASE + 46) + +#define HID_FORMEDT_CONTENT (HID_BASE + 47) +#define HID_FORMEDT_USER (HID_BASE + 48) +#define HID_FORMEDT_INDEX (HID_BASE + 49) + +#define HID_SCRL_PAGEUP (HID_BASE + 50) +#define HID_SCRL_PAGEDOWN (HID_BASE + 51) + +#define HID_DRAW_WIN (HID_BASE + 52) +#define HID_EDIT_WIN (HID_BASE + 53) + +#define HID_INSERT_CTRL (HID_BASE + 54) // TbxControl Einfuegen #define HID_INSERT_OBJ_CTRL (HID_BASE + 55) #define HID_INSERT_FIELD_CTRL (HID_BASE + 56) -#define HID_SOURCEVIEW (HID_BASE + 57) -#define HID_TBL_OPT_CTRL (HID_BASE + 58) +#define HID_SOURCEVIEW (HID_BASE + 57) +#define HID_TBL_OPT_CTRL (HID_BASE + 58) #define HID_AUTOFORMAT_CLB (HID_BASE + 59) -#define HID_SCRL_NAVI (HID_BASE + 60) +#define HID_SCRL_NAVI (HID_BASE + 60) #define HID_NAVI_DRAG_HYP (HID_BASE + 61) #define HID_NAVI_DRAG_LINK (HID_BASE + 62) #define HID_NAVI_DRAG_COPY (HID_BASE + 63) @@ -105,22 +105,22 @@ #define HID_AUTOFORMAT_EXEC (HID_BASE + 65) #define HID_AUTOFORMAT_CLOSE (HID_BASE + 66) -#define HID_PAGEPREVIEW (HID_BASE + 67) +#define HID_PAGEPREVIEW (HID_BASE + 67) #define HID_SOURCE_EDITWIN (HID_BASE + 68) // Dialog Help-IDs ********************************************************** -#define HID_CONVERT_FROM (HID_BASE + 200) -#define HID_CONVERT_TO (HID_BASE + 201) -#define HID_EDIT_POSTIT (HID_BASE + 202) -#define HID_INSERT_CHART (HID_BASE + 203) -#define HID_PAGE_PREVIEW (HID_BASE + 204) -#define HID_INSERT_HYPERLINK (HID_BASE + 205) -#define HID_NAVIGATOR_TREELIST (HID_BASE + 206) +#define HID_CONVERT_FROM (HID_BASE + 200) +#define HID_CONVERT_TO (HID_BASE + 201) +#define HID_EDIT_POSTIT (HID_BASE + 202) +#define HID_INSERT_CHART (HID_BASE + 203) +#define HID_PAGE_PREVIEW (HID_BASE + 204) +#define HID_INSERT_HYPERLINK (HID_BASE + 205) +#define HID_NAVIGATOR_TREELIST (HID_BASE + 206) #define HID_DLG_CAPTION (HID_BASE + 207) #define HID_DLG_GLOSS_DECIDE (HID_BASE + 208) -#define HID_NAVIGATOR_TOOLBOX (HID_BASE + 209) -#define HID_NAVIGATOR_LISTBOX (HID_BASE + 210) +#define HID_NAVIGATOR_TOOLBOX (HID_BASE + 209) +#define HID_NAVIGATOR_LISTBOX (HID_BASE + 210) #define HID_NUM_BULLET_DLG (HID_BASE + 211) #define HID_VS_SINGLENUM (HID_BASE + 212) #define HID_VS_NUM (HID_BASE + 213) @@ -162,13 +162,13 @@ #define HID_NAVI_TBX23 (HID_BASE + 249) #define HID_NAVI_TBX24 (HID_BASE + 250) #define HID_NAVIGATOR_GLOBAL_TOOLBOX (HID_BASE + 251) -#define HID_NAVIGATOR_GLOB_TREELIST (HID_BASE + 252) -#define HID_GLOS_GROUP_TREE (HID_BASE + 253) +#define HID_NAVIGATOR_GLOB_TREELIST (HID_BASE + 252) +#define HID_GLOS_GROUP_TREE (HID_BASE + 253) #define HID_GLBLTREE_UPDATE (HID_BASE + 254) #define HID_GLBLTREE_INSERT (HID_BASE + 255) -#define HID_GLBLTREE_EDIT (HID_BASE + 256) -#define HID_GLBLTREE_DEL (HID_BASE + 257) -#define HID_GLBLTREE_INS_IDX (HID_BASE + 258) +#define HID_GLBLTREE_EDIT (HID_BASE + 256) +#define HID_GLBLTREE_DEL (HID_BASE + 257) +#define HID_GLBLTREE_INS_IDX (HID_BASE + 258) #define HID_GLBLTREE_INS_CNTIDX (HID_BASE + 259) #define HID_GLBLTREE_INS_USRIDX (HID_BASE + 260) #define HID_GLBLTREE_INS_FILE (HID_BASE + 261) @@ -177,47 +177,47 @@ #define HID_GLBLTREE_UPD_SEL (HID_BASE + 264) #define HID_GLBLTREE_UPD_IDX (HID_BASE + 265) #define HID_GLBLTREE_UPD_LINK (HID_BASE + 266) -#define HID_GLBLTREEUPD_ALL (HID_BASE + 267) -#define HID_NUM_OUTL_NAMED_NUMS (HID_BASE + 268) -#define HID_NUM_OUTL_NUM_SAVEAS (HID_BASE + 269) -#define HID_NUM_NAMED_NUMS (HID_BASE + 270) -#define HID_NUM_NUM_SAVEAS (HID_BASE + 271) -#define HID_NUM_STD_NUMBER (HID_BASE + 272) -#define HID_NUM_DEL_NUMBER (HID_BASE + 273) -#define HID_NUM_STD_BULLET (HID_BASE + 274) -#define HID_NUM_DEL_BULLET (HID_BASE + 275) -#define HID_NAVI_CONTENT (HID_BASE + 276) -#define HID_NAVI_GLOBAL (HID_BASE + 277) +#define HID_GLBLTREEUPD_ALL (HID_BASE + 267) +#define HID_NUM_OUTL_NAMED_NUMS (HID_BASE + 268) +#define HID_NUM_OUTL_NUM_SAVEAS (HID_BASE + 269) +#define HID_NUM_NAMED_NUMS (HID_BASE + 270) +#define HID_NUM_NUM_SAVEAS (HID_BASE + 271) +#define HID_NUM_STD_NUMBER (HID_BASE + 272) +#define HID_NUM_DEL_NUMBER (HID_BASE + 273) +#define HID_NUM_STD_BULLET (HID_BASE + 274) +#define HID_NUM_DEL_BULLET (HID_BASE + 275) +#define HID_NAVI_CONTENT (HID_BASE + 276) +#define HID_NAVI_GLOBAL (HID_BASE + 277) #define HID_LTEMPL_NUMBERING (HID_BASE + 278) -#define HID_FLDVAR_APPLY (HID_BASE + 279) -#define HID_FLDVAR_DELETE (HID_BASE + 280) -#define HID_FLDEDT_ADDRESS (HID_BASE + 281) -#define HID_SORT_ACTION (HID_BASE + 282) -#define HID_SORT_AUTHOR (HID_BASE + 283) -#define HID_SORT_DATE (HID_BASE + 284) -#define HID_SORT_COMMENT (HID_BASE + 285) -#define HID_SW_SORT_POSITION (HID_BASE + 286) -#define HID_SYNC_BTN (HID_BASE + 287) -#define HID_EDIT_COMMENT (HID_BASE + 288) -#define HID_SEL_TEMPLATE (HID_BASE + 289) -#define HID_DLG_SEQUENCE_OPTION (HID_BASE + 290) -#define HID_DLG_FLDEDT_NEXT (HID_BASE + 291) -#define HID_DLG_FLDEDT_PREV (HID_BASE + 292) -#define HID_DLG_FLDEDT_ADDRESS (HID_BASE + 293) -#define HID_DLG_PRV_PRT_OPTIONS (HID_BASE + 294) - -#define HID_FILEDLG_CHARDLG (HID_BASE + 295) -#define HID_FILEDLG_LOADTEMPLATE (HID_BASE + 296) -#define HID_FILEDLG_ROMENU (HID_BASE + 297) -#define HID_FILEDLG_MAILMRGE1 (HID_BASE + 298) -#define HID_FILEDLG_MAILMRGE2 (HID_BASE + 299) -#define HID_FILEDLG_FRMPAGE (HID_BASE + 300) -#define HID_FILEDLG_SRCVIEW (HID_BASE + 301) -#define HID_FILEDLG_WIZDOKU (HID_BASE + 302) +#define HID_FLDVAR_APPLY (HID_BASE + 279) +#define HID_FLDVAR_DELETE (HID_BASE + 280) +#define HID_FLDEDT_ADDRESS (HID_BASE + 281) +#define HID_SORT_ACTION (HID_BASE + 282) +#define HID_SORT_AUTHOR (HID_BASE + 283) +#define HID_SORT_DATE (HID_BASE + 284) +#define HID_SORT_COMMENT (HID_BASE + 285) +#define HID_SW_SORT_POSITION (HID_BASE + 286) +#define HID_SYNC_BTN (HID_BASE + 287) +#define HID_EDIT_COMMENT (HID_BASE + 288) +#define HID_SEL_TEMPLATE (HID_BASE + 289) +#define HID_DLG_SEQUENCE_OPTION (HID_BASE + 290) +#define HID_DLG_FLDEDT_NEXT (HID_BASE + 291) +#define HID_DLG_FLDEDT_PREV (HID_BASE + 292) +#define HID_DLG_FLDEDT_ADDRESS (HID_BASE + 293) +#define HID_DLG_PRV_PRT_OPTIONS (HID_BASE + 294) + +#define HID_FILEDLG_CHARDLG (HID_BASE + 295) +#define HID_FILEDLG_LOADTEMPLATE (HID_BASE + 296) +#define HID_FILEDLG_ROMENU (HID_BASE + 297) +#define HID_FILEDLG_MAILMRGE1 (HID_BASE + 298) +#define HID_FILEDLG_MAILMRGE2 (HID_BASE + 299) +#define HID_FILEDLG_FRMPAGE (HID_BASE + 300) +#define HID_FILEDLG_SRCVIEW (HID_BASE + 301) +#define HID_FILEDLG_WIZDOKU (HID_BASE + 302) #define HID_PREVIEW_ZOOM (HID_BASE + 303) #define HID_REDLINE_AUTOFMT_ACCEPT (HID_BASE + 304) -#define HID_MULTI_TOX_DLG (HID_BASE + 305) +#define HID_MULTI_TOX_DLG (HID_BASE + 305) #define HID_ASCII_FILTER (HID_BASE + 306) #define HID_GLBLTREE_EDIT_LINK (HID_BASE + 307) #define HID_FORMAT_NAME_OBJECT_NAME (HID_BASE + 308)// #100286# @@ -226,34 +226,34 @@ // TabPage Help-IDs ********************************************************* -#define HID_DROPCAPS (HID_BASE + 400) -#define HID_FRM_EXT (HID_BASE + 401) -#define HID_FRM_STD (HID_BASE + 402) -#define HID_GRF_EXT (HID_BASE + 403) -#define HID_COLUMN (HID_BASE + 404) -#define HID_DOC_STAT (HID_BASE + 405) -#define HID_MACROASSIGN (HID_BASE + 406) -#define HID_FOOTNOTE_PAGE (HID_BASE + 407) -#define HID_OPTDOCDISP_PAGE (HID_BASE + 408) -#define HID_OPTGRID_PAGE (HID_BASE + 409) -#define HID_OPTTEST_PAGE (HID_BASE + 410) -#define HID_OPTPRINT_PAGE (HID_BASE + 411) -#define HID_FORMAT_TABLE (HID_BASE + 412) -#define HID_TABLE_COLUMN (HID_BASE + 413) -#define HID_LAB_LAB (HID_BASE + 414) -#define HID_LAB_PRT (HID_BASE + 415) -#define HID_ENV_PRT (HID_BASE + 416) -#define HID_LAB_FMT (HID_BASE + 417) -#define HID_ENV_ENV (HID_BASE + 418) -#define HID_ENV_FMT (HID_BASE + 419) -#define HID_FRM_URL (HID_BASE + 421) -#define HID_CHAR_URL (HID_BASE + 422) +#define HID_DROPCAPS (HID_BASE + 400) +#define HID_FRM_EXT (HID_BASE + 401) +#define HID_FRM_STD (HID_BASE + 402) +#define HID_GRF_EXT (HID_BASE + 403) +#define HID_COLUMN (HID_BASE + 404) +#define HID_DOC_STAT (HID_BASE + 405) +#define HID_MACROASSIGN (HID_BASE + 406) +#define HID_FOOTNOTE_PAGE (HID_BASE + 407) +#define HID_OPTDOCDISP_PAGE (HID_BASE + 408) +#define HID_OPTGRID_PAGE (HID_BASE + 409) +#define HID_OPTTEST_PAGE (HID_BASE + 410) +#define HID_OPTPRINT_PAGE (HID_BASE + 411) +#define HID_FORMAT_TABLE (HID_BASE + 412) +#define HID_TABLE_COLUMN (HID_BASE + 413) +#define HID_LAB_LAB (HID_BASE + 414) +#define HID_LAB_PRT (HID_BASE + 415) +#define HID_ENV_PRT (HID_BASE + 416) +#define HID_LAB_FMT (HID_BASE + 417) +#define HID_ENV_ENV (HID_BASE + 418) +#define HID_ENV_FMT (HID_BASE + 419) +#define HID_FRM_URL (HID_BASE + 421) +#define HID_CHAR_URL (HID_BASE + 422) #define HID_CONTENT_OPT (HID_BASE + 423) #define HID_LAYOUT_OPT (HID_BASE + 424) #define HID_STD_FONT (HID_BASE + 425) #define HID_COND_COLL (HID_BASE + 426) -#define HID_FRM_ADD (HID_BASE + 427) -#define HID_TABLE_TEXTFLOW (HID_BASE + 428) +#define HID_FRM_ADD (HID_BASE + 427) +#define HID_TABLE_TEXTFLOW (HID_BASE + 428) #define HID_AUTOFMT_BY_INPUT (HID_BASE + 429) #define HID_AUTOFMT_APPLY (HID_BASE + 430) #define HID_OPTTABLE_PAGE (HID_BASE + 431) @@ -262,93 +262,93 @@ #define HID_PICK_NUM (HID_BASE + 434) #define HID_PICK_BMP (HID_BASE + 435) -#define HID_FLD_DB (HID_BASE + 437) -#define HID_FLD_DOKINF (HID_BASE + 438) -#define HID_FLD_VAR (HID_BASE + 439) -#define HID_FLD_DOK (HID_BASE + 440) -#define HID_FLD_FUNC (HID_BASE + 441) -#define HID_FLD_REF (HID_BASE + 442) -#define HID_OPTSHDWCRSR (HID_BASE + 443) +#define HID_FLD_DB (HID_BASE + 437) +#define HID_FLD_DOKINF (HID_BASE + 438) +#define HID_FLD_VAR (HID_BASE + 439) +#define HID_FLD_DOK (HID_BASE + 440) +#define HID_FLD_FUNC (HID_BASE + 441) +#define HID_FLD_REF (HID_BASE + 442) +#define HID_OPTSHDWCRSR (HID_BASE + 443) #define HID_NUM_OPTIONS (HID_BASE + 444) #define HID_NUM_POSITION (HID_BASE + 445) -#define HID_NUMPARA (HID_BASE + 446) -#define HID_FOOTNOTE_OPTIONS (HID_BASE + 447) -#define HID_ENDNOTE_OPTIONS (HID_BASE + 448) -#define HID_REDLINE_OPT (HID_BASE + 449) -#define HID_LINENUMBERING (HID_BASE + 450) -#define HID_REDLINE_ACCEPT (HID_BASE + 451) +#define HID_NUMPARA (HID_BASE + 446) +#define HID_FOOTNOTE_OPTIONS (HID_BASE + 447) +#define HID_ENDNOTE_OPTIONS (HID_BASE + 448) +#define HID_REDLINE_OPT (HID_BASE + 449) +#define HID_LINENUMBERING (HID_BASE + 450) +#define HID_REDLINE_ACCEPT (HID_BASE + 451) #define HID_EDIT_FLD_DB (HID_BASE + 452) #define HID_EDIT_FLD_DOKINF (HID_BASE + 453) -#define HID_EDIT_FLD_VAR (HID_BASE + 454) -#define HID_EDIT_FLD_DOK (HID_BASE + 455) -#define HID_EDIT_FLD_FUNC (HID_BASE + 456) -#define HID_EDIT_FLD_REF (HID_BASE + 457) -#define HID_REDLINE_CTRL (HID_BASE + 458) +#define HID_EDIT_FLD_VAR (HID_BASE + 454) +#define HID_EDIT_FLD_DOK (HID_BASE + 455) +#define HID_EDIT_FLD_FUNC (HID_BASE + 456) +#define HID_EDIT_FLD_REF (HID_BASE + 457) +#define HID_REDLINE_CTRL (HID_BASE + 458) #define HID_TP_OUTLINE_NUM (HID_BASE + 459) #define HID_OPTINSERT_PAGE (HID_BASE + 460) -#define HID_OPTCAPTION_PAGE (HID_BASE + 461) -#define HID_OPTLOAD_PAGE (HID_BASE + 462) -#define HID_INSERT_TOX_PAGE (HID_BASE + 463) -#define HID_TOX_FORM_ENTRY_PAGE (HID_BASE + 464) -#define HID_TOX_FORM_STYLES_PAGE (HID_BASE + 465) +#define HID_OPTCAPTION_PAGE (HID_BASE + 461) +#define HID_OPTLOAD_PAGE (HID_BASE + 462) +#define HID_INSERT_TOX_PAGE (HID_BASE + 463) +#define HID_TOX_FORM_ENTRY_PAGE (HID_BASE + 464) +#define HID_TOX_FORM_STYLES_PAGE (HID_BASE + 465) #define HID_INSERT_TOX_TABDLG (HID_BASE + 466) #define HID_INSERT_SECTION_PAGE (HID_BASE + 467) #define HID_INSERT_SECTION_DLG (HID_BASE + 468) #define HID_SECTION_PROPERTIES_DLG (HID_BASE + 469) #define HID_RENAME_XNAMED (HID_BASE + 470) -#define HID_TP_TOX_SELECT (HID_BASE + 471) +#define HID_TP_TOX_SELECT (HID_BASE + 471) #define HID_TP_TOX_ENTRY (HID_BASE + 472) -#define HID_TOX_STYLES_PAGE (HID_BASE + 473) +#define HID_TOX_STYLES_PAGE (HID_BASE + 473) #define HID_TP_VISITING_CARDS (HID_BASE + 474) #define HID_DLG_ADD_IDX_STYLES (HID_BASE + 475) #define HID_ADD_STYLES_TLB (HID_BASE + 476) #define HID_OLE_CHECKLB (HID_BASE + 477) #define HID_DLG_CREATE_AUTH_ENTRY (HID_BASE + 478) -#define HID_TP_PRIVATE_DATA (HID_BASE + 479) +#define HID_TP_PRIVATE_DATA (HID_BASE + 479) -#define HID_TP_BUSINESS_DATA (HID_BASE + 480) -#define HID_SECTION_FTNENDNOTES_PAGE (HID_BASE + 481) -#define HID_TEXTGRID_PAGE (HID_BASE + 482) -#define HID_OPTCOMPATIBILITY_PAGE (HID_BASE + 483) -#define HID_COMPATIBILITY_OPTIONS_BOX (HID_BASE + 484) +#define HID_TP_BUSINESS_DATA (HID_BASE + 480) +#define HID_SECTION_FTNENDNOTES_PAGE (HID_BASE + 481) +#define HID_TEXTGRID_PAGE (HID_BASE + 482) +#define HID_OPTCOMPATIBILITY_PAGE (HID_BASE + 483) +#define HID_COMPATIBILITY_OPTIONS_BOX (HID_BASE + 484) // AutoPilot Help-IDs ********************************************************* -#define HID_LETTER_PAGE1 (HID_BASE + 501) -#define HID_LETTER_PAGE2 (HID_BASE + 502) -#define HID_LETTER_PAGE3 (HID_BASE + 503) -#define HID_LETTER_PAGE4 (HID_BASE + 504) -#define HID_LETTER_PAGE5 (HID_BASE + 505) -#define HID_LETTER_PAGE6 (HID_BASE + 506) -#define HID_LETTER_PAGE7 (HID_BASE + 507) -#define HID_LETTER_PAGE8 (HID_BASE + 508) -#define HID_LETTER_PAGE9 (HID_BASE + 509) - -#define HID_FAX_PAGE1 (HID_BASE + 511) -#define HID_FAX_PAGE2 (HID_BASE + 512) -#define HID_FAX_PAGE3 (HID_BASE + 513) -#define HID_FAX_PAGE4 (HID_BASE + 514) -#define HID_FAX_PAGE5 (HID_BASE + 515) -#define HID_FAX_PAGE6 (HID_BASE + 516) -#define HID_FAX_PAGE7 (HID_BASE + 517) -#define HID_FAX_PAGE8 (HID_BASE + 518) - -#define HID_MEMO_PAGE1 (HID_BASE + 521) -#define HID_MEMO_PAGE2 (HID_BASE + 522) -#define HID_MEMO_PAGE3 (HID_BASE + 523) -#define HID_MEMO_PAGE4 (HID_BASE + 524) -#define HID_MEMO_PAGE5 (HID_BASE + 525) - -#define HID_AGENDA_PAGE1 (HID_BASE + 531) -#define HID_AGENDA_PAGE2 (HID_BASE + 532) -#define HID_AGENDA_PAGE3 (HID_BASE + 533) -#define HID_AGENDA_PAGE4 (HID_BASE + 534) -#define HID_AGENDA_PAGE5 (HID_BASE + 535) -#define HID_AGENDA_PAGE6 (HID_BASE + 536) - -#define HID_AUTOPILOT_NEXT (HID_BASE + 537) -#define HID_AUTOPILOT_PREV (HID_BASE + 538) -#define HID_AUTOPILOT_OK (HID_BASE + 539) +#define HID_LETTER_PAGE1 (HID_BASE + 501) +#define HID_LETTER_PAGE2 (HID_BASE + 502) +#define HID_LETTER_PAGE3 (HID_BASE + 503) +#define HID_LETTER_PAGE4 (HID_BASE + 504) +#define HID_LETTER_PAGE5 (HID_BASE + 505) +#define HID_LETTER_PAGE6 (HID_BASE + 506) +#define HID_LETTER_PAGE7 (HID_BASE + 507) +#define HID_LETTER_PAGE8 (HID_BASE + 508) +#define HID_LETTER_PAGE9 (HID_BASE + 509) + +#define HID_FAX_PAGE1 (HID_BASE + 511) +#define HID_FAX_PAGE2 (HID_BASE + 512) +#define HID_FAX_PAGE3 (HID_BASE + 513) +#define HID_FAX_PAGE4 (HID_BASE + 514) +#define HID_FAX_PAGE5 (HID_BASE + 515) +#define HID_FAX_PAGE6 (HID_BASE + 516) +#define HID_FAX_PAGE7 (HID_BASE + 517) +#define HID_FAX_PAGE8 (HID_BASE + 518) + +#define HID_MEMO_PAGE1 (HID_BASE + 521) +#define HID_MEMO_PAGE2 (HID_BASE + 522) +#define HID_MEMO_PAGE3 (HID_BASE + 523) +#define HID_MEMO_PAGE4 (HID_BASE + 524) +#define HID_MEMO_PAGE5 (HID_BASE + 525) + +#define HID_AGENDA_PAGE1 (HID_BASE + 531) +#define HID_AGENDA_PAGE2 (HID_BASE + 532) +#define HID_AGENDA_PAGE3 (HID_BASE + 533) +#define HID_AGENDA_PAGE4 (HID_BASE + 534) +#define HID_AGENDA_PAGE5 (HID_BASE + 535) +#define HID_AGENDA_PAGE6 (HID_BASE + 536) + +#define HID_AUTOPILOT_NEXT (HID_BASE + 537) +#define HID_AUTOPILOT_PREV (HID_BASE + 538) +#define HID_AUTOPILOT_OK (HID_BASE + 539) // HelpIds fuers Menue ***************************************************** @@ -362,39 +362,39 @@ #define HID_MN_SUB_ARRANGE (HID_BASE + 607) #define HID_MN_SUB_SPELLING (HID_BASE + 608) #define HID_MN_SUB_UPDATE (HID_BASE + 609) -#define HID_MN_SUB_MIRROR (HID_BASE + 610) +#define HID_MN_SUB_MIRROR (HID_BASE + 610) #define HID_MN_SUB_ALIGN (HID_BASE + 611) #define HID_MN_SUB_OPTIONS (HID_BASE + 612) -#define HID_MN_CALC_PHD (HID_BASE + 613) -#define HID_MN_CALC_SQRT (HID_BASE + 614) -#define HID_MN_CALC_OR (HID_BASE + 615) -#define HID_MN_CALC_XOR (HID_BASE + 616) -#define HID_MN_CALC_AND (HID_BASE + 617) -#define HID_MN_CALC_NOT (HID_BASE + 618) -#define HID_MN_CALC_EQ (HID_BASE + 619) -#define HID_MN_CALC_NEQ (HID_BASE + 620) -#define HID_MN_CALC_LEQ (HID_BASE + 621) -#define HID_MN_CALC_GEQ (HID_BASE + 622) -#define HID_MN_CALC_LES (HID_BASE + 623) -#define HID_MN_CALC_GRE (HID_BASE + 624) -#define HID_MN_CALC_SUM (HID_BASE + 625) -#define HID_MN_CALC_MEAN (HID_BASE + 626) -#define HID_MN_CALC_MIN (HID_BASE + 627) -#define HID_MN_CALC_MAX (HID_BASE + 628) -#define HID_MN_CALC_SIN (HID_BASE + 629) -#define HID_MN_CALC_COS (HID_BASE + 630) -#define HID_MN_CALC_TAN (HID_BASE + 631) -#define HID_MN_CALC_ASIN (HID_BASE + 632) -#define HID_MN_CALC_ACOS (HID_BASE + 633) -#define HID_MN_CALC_ATAN (HID_BASE + 634) -#define HID_MN_CALC_POW (HID_BASE + 635) -#define HID_MN_CALC_LISTSEP (HID_BASE + 636) -#define HID_MN_POP_OPS (HID_BASE + 637) -#define HID_MN_POP_STATISTICS (HID_BASE + 638) -#define HID_MN_POP_FUNC (HID_BASE + 639) -#define HID_MN_RSC_END (HID_BASE + 640) -#define HID_MN_CALC_ROUND (HID_BASE + 641) +#define HID_MN_CALC_PHD (HID_BASE + 613) +#define HID_MN_CALC_SQRT (HID_BASE + 614) +#define HID_MN_CALC_OR (HID_BASE + 615) +#define HID_MN_CALC_XOR (HID_BASE + 616) +#define HID_MN_CALC_AND (HID_BASE + 617) +#define HID_MN_CALC_NOT (HID_BASE + 618) +#define HID_MN_CALC_EQ (HID_BASE + 619) +#define HID_MN_CALC_NEQ (HID_BASE + 620) +#define HID_MN_CALC_LEQ (HID_BASE + 621) +#define HID_MN_CALC_GEQ (HID_BASE + 622) +#define HID_MN_CALC_LES (HID_BASE + 623) +#define HID_MN_CALC_GRE (HID_BASE + 624) +#define HID_MN_CALC_SUM (HID_BASE + 625) +#define HID_MN_CALC_MEAN (HID_BASE + 626) +#define HID_MN_CALC_MIN (HID_BASE + 627) +#define HID_MN_CALC_MAX (HID_BASE + 628) +#define HID_MN_CALC_SIN (HID_BASE + 629) +#define HID_MN_CALC_COS (HID_BASE + 630) +#define HID_MN_CALC_TAN (HID_BASE + 631) +#define HID_MN_CALC_ASIN (HID_BASE + 632) +#define HID_MN_CALC_ACOS (HID_BASE + 633) +#define HID_MN_CALC_ATAN (HID_BASE + 634) +#define HID_MN_CALC_POW (HID_BASE + 635) +#define HID_MN_CALC_LISTSEP (HID_BASE + 636) +#define HID_MN_POP_OPS (HID_BASE + 637) +#define HID_MN_POP_STATISTICS (HID_BASE + 638) +#define HID_MN_POP_FUNC (HID_BASE + 639) +#define HID_MN_RSC_END (HID_BASE + 640) +#define HID_MN_CALC_ROUND (HID_BASE + 641) #define HID_MN_SUB_MACRO (HID_BASE + 642) #define HID_MN_READONLY_SAVEGRAPHIC (HID_BASE + 645) @@ -409,7 +409,7 @@ #define HID_MN_READONLY_GRAPHICOFF (HID_BASE + 654) #define HID_MN_READONLY_PLUGINOFF (HID_BASE + 655) -#define HID_MD_GLOS_DEFINE (HID_BASE + 656) +#define HID_MD_GLOS_DEFINE (HID_BASE + 656) #define HID_MD_GLOS_REPLACE (HID_BASE + 657) #define HID_MD_GLOS_RENAME (HID_BASE + 658) #define HID_MD_GLOS_DELETE (HID_BASE + 659) @@ -418,328 +418,328 @@ #define HID_LINGU_ADD_WORD (HID_BASE + 662) #define HID_LINGU_IGNORE_WORD (HID_BASE + 663) #define HID_LINGU_SPELLING_DLG (HID_BASE + 664) -#define HID_LINGU_AUTOCORR (HID_BASE + 665) +#define HID_LINGU_AUTOCORR (HID_BASE + 665) #define HID_LINGU_REPLACE (HID_BASE + 666) -#define HID_MD_GLOS_CATEGORY (HID_BASE + 667) -#define HID_REGION_TREE (HID_BASE + 668) -#define HID_LINGU_WORD_LANGUAGE (HID_BASE + 669) -#define HID_LINGU_PARA_LANGUAGE (HID_BASE + 670) -#define HID_MD_GLOS_DEFINE_TEXT (HID_BASE + 671) -#define HID_DLG_PASSWD_SECTION (HID_BASE + 672) -#define HID_MD_COPY_TO_CLIPBOARD (HID_BASE + 673) +#define HID_MD_GLOS_CATEGORY (HID_BASE + 667) +#define HID_REGION_TREE (HID_BASE + 668) +#define HID_LINGU_WORD_LANGUAGE (HID_BASE + 669) +#define HID_LINGU_PARA_LANGUAGE (HID_BASE + 670) +#define HID_MD_GLOS_DEFINE_TEXT (HID_BASE + 671) +#define HID_DLG_PASSWD_SECTION (HID_BASE + 672) +#define HID_MD_COPY_TO_CLIPBOARD (HID_BASE + 673) #define HID_MD_GLOS_IMPORT (HID_BASE + 674) #define HID_SMARTTAG_MAIN (HID_BASE + 675) // SMARTTAGS #define HID_LINGU_IGNORE_SELECTION (HID_BASE + 676) // grammar check context menu // Weiter Help-IDs ********************************************************** -#define HID_CLOSE_FILE (HID_BASE + 1001) -#define HID_LAUNCH_REGISTRY (HID_BASE + 1002) -#define HID_MERGE_FILE (HID_BASE + 1003) -#define HID_MERGE_FILE_DLG (HID_BASE + 1004) -#define HID_NEW_FILE (HID_BASE + 1005) -#define HID_OPEN_FILE (HID_BASE + 1007) -#define HID_OPEN_LASTVERSION (HID_BASE + 1009) -#define HID_PRINT_FILE (HID_BASE + 1010) -#define HID_PRINT_FILE_OPTIONS (HID_BASE + 1011) -#define HID_SAVE_FILE_AS (HID_BASE + 1012) -#define HID_SAVE_FILE (HID_BASE + 1013) -#define HID_SETUP_PRINTER_DLG (HID_BASE + 1015) -#define HID_EXIT (HID_BASE + 1017) -#define HID_CREATE_DOCUMENT (HID_BASE + 1019) -#define HID_DOCSTAT_DLG (HID_BASE + 1020) -#define HID_LOAD_TEMPLATE_DLG (HID_BASE + 1021) -#define HID_SAVE_ALL (HID_BASE + 1023) -#define HID_NEW_FILE_DEFAULT (HID_BASE + 1024) -#define HID_PRINT_FILE_DEFAULT (HID_BASE + 1025) -#define HID_FAX (HID_BASE + 1028) -#define HID_SELECT_DATABASE (HID_BASE + 1030) -#define HID_DOC_INFO_DLG (HID_BASE + 1031) -#define HID_DOC_MGR_DLG (HID_BASE + 1032) -#define HID_OPTCAPTION_CLB (HID_BASE + 1033) - -#define HID_COPY (HID_BASE + 1102) -#define HID_CUT (HID_BASE + 1103) -#define HID_EDIT_FIELD (HID_BASE + 1104) -#define HID_EDIT_FILE_INFO_DLG (HID_BASE + 1107) -#define HID_EDIT_LINK_DLG (HID_BASE + 1109) -#define HID_EDIT_OBJECT (HID_BASE + 1110) -#define HID_GOTO (HID_BASE + 1111) -#define HID_SET_FIELD_VALUE (HID_BASE + 1112) -#define HID_PASTE (HID_BASE + 1113) -#define HID_REDO (HID_BASE + 1116) -#define HID_SEARCH (HID_BASE + 1117) -#define HID_REPLACE (HID_BASE + 1118) -#define HID_SELECT_ALL (HID_BASE + 1119) -#define HID_UNDO (HID_BASE + 1120) -#define HID_REPEAT (HID_BASE + 1122) -#define HID_BUFFER_UPDATE (HID_BASE + 1124) -#define HID_UPDATE_FIELDS (HID_BASE + 1126) -#define HID_EXECUTE_MACROFIELD (HID_BASE + 1127) -#define HID_EDIT_FORMULA (HID_BASE + 1128) -#define HID_CALC_TABLE (HID_BASE + 1129) -#define HID_NUM_BULLET_DOWN (HID_BASE + 1130) -#define HID_NUM_BULLET_UP (HID_BASE + 1131) -#define HID_NUM_BULLET_PREV (HID_BASE + 1132) -#define HID_NUM_BULLET_NEXT (HID_BASE + 1133) -#define HID_NUM_BULLET_MOVEUP (HID_BASE + 1134) -#define HID_NUM_BULLET_MOVEDOWN (HID_BASE + 1135) -#define HID_NUM_BULLET_NONUM (HID_BASE + 1136) -#define HID_NUM_BULLET_OFF (HID_BASE + 1137) -#define HID_NUM_BULLET_ON (HID_BASE + 1138) -#define HID_NUM_BULLET_OUTLINE_DOWN (HID_BASE + 1139) -#define HID_NUM_BULLET_OUTLINE_UP (HID_BASE + 1140) -#define HID_NUM_BULLET_OUTLINE_MOVEUP (HID_BASE + 1141) -#define HID_NUM_BULLET_OUTLINE_MOVEDOWN (HID_BASE + 1142) -#define HID_UPDATE_INPUTFIELDS (HID_BASE + 1143) -#define HID_NUM_NUMBERING_ON (HID_BASE + 1144) -#define HID_REPEAT_SEARCH (HID_BASE + 1150) -#define HID_REPAGINATE (HID_BASE + 1161) - -#define HID_REFRESH_VIEW (HID_BASE + 1201) -#define HID_RIBBON (HID_BASE + 1210) -#define HID_RULER (HID_BASE + 1211) -#define HID_STATUSBAR (HID_BASE + 1212) -#define HID_TOOLBOX (HID_BASE + 1213) -#define HID_VIEW_BOUNDS (HID_BASE + 1214) -#define HID_VIEW_FIELDS (HID_BASE + 1215) -#define HID_VLINEAL (HID_BASE + 1216) -#define HID_VSCROLLBAR (HID_BASE + 1217) -#define HID_HSCROLLBAR (HID_BASE + 1218) -#define HID_VIEW_META_CHARS (HID_BASE + 1224) -#define HID_VIEW_MARKS (HID_BASE + 1225) -#define HID_VIEW_FIELDNAME (HID_BASE + 1226) -#define HID_VIEW_TABLEGRID (HID_BASE + 1227) -#define HID_ZOOM (HID_BASE + 1231) - -#define HID_DELETE_BOOKMARK (HID_BASE + 1301) -#define HID_INSERT_BREAK (HID_BASE + 1303) -#define HID_INSERT_COLUMN_BREAK (HID_BASE + 1305) -#define HID_INSERT_FILE (HID_BASE + 1309) -#define HID_INSERT_FOOTNOTE (HID_BASE + 1311) -#define HID_INSERT_GRAFIC (HID_BASE + 1315) -#define HID_INSERT_LINEBREAK (HID_BASE + 1318) -#define HID_INSERT_MERGEFIELD_DLG (HID_BASE + 1320) -#define HID_INSERT_OBJECT_DLG (HID_BASE + 1322) -#define HID_INSERT_PAGEBREAK (HID_BASE + 1323) -#define HID_INSERT_RECORD (HID_BASE + 1326) -#define HID_MERGE_RECORD (HID_BASE + 1327) -#define HID_INSERT_SYMBOL (HID_BASE + 1328) -#define HID_INSERT_STRING (HID_BASE + 1331) -#define HID_INSERT_COLS (HID_BASE + 1332) -#define HID_INSERT_FRAME_INTERACT (HID_BASE + 1333) -#define HID_INSERT_FRAME (HID_BASE + 1334) -#define HID_INSERT_IDX_ENTRY (HID_BASE + 1340) -#define HID_INSERT_USERIDX_ENTRY (HID_BASE + 1341) -#define HID_INSERT_CNTNTIDX_ENTRY (HID_BASE + 1342) -#define HID_INSERT_SOFT_HYPHEN (HID_BASE + 1350) -#define HID_INSERT_HARD_SPACE (HID_BASE + 1351) - -#define HID_SET_FONT (HID_BASE + 1401) -#define HID_SET_FONT_SIZE (HID_BASE + 1402) -#define HID_GROW_FONT_SIZE (HID_BASE + 1403) -#define HID_SHRINK_FONT_SIZE (HID_BASE + 1404) -#define HID_SET_BOLD (HID_BASE + 1405) -#define HID_SET_ITALIC (HID_BASE + 1406) -#define HID_SET_SHADOW (HID_BASE + 1407) -#define HID_SET_OUTLINE (HID_BASE + 1408) -#define HID_SET_UNDERLINE (HID_BASE + 1409) -#define HID_SET_STRIKEOUT (HID_BASE + 1410) -#define HID_SET_SUPER_SCRIPT (HID_BASE + 1411) -#define HID_SET_SUB_SCRIPT (HID_BASE + 1412) -#define HID_SET_COLOR (HID_BASE + 1413) -#define HID_SET_CASEMAP (HID_BASE + 1414) -#define HID_SET_LANGUAGE (HID_BASE + 1415) -#define HID_SET_KERNING (HID_BASE + 1416) -#define HID_INDENT_TO_TABSTOP (HID_BASE + 1417) -#define HID_SET_LEFT_PARA (HID_BASE + 1418) -#define HID_SET_RIGHT_PARA (HID_BASE + 1419) -#define HID_SET_CENTER_PARA (HID_BASE + 1420) -#define HID_SET_JUSTIFY_PARA (HID_BASE + 1421) -#define HID_SET_LINE_SPACE_1 (HID_BASE + 1422) -#define HID_SET_LINE_SPACE_15 (HID_BASE + 1423) -#define HID_SET_LINE_SPACE_2 (HID_BASE + 1424) -#define HID_FLIP_HORZ_GRAFIC (HID_BASE + 1425) -#define HID_FLIP_VERT_GRAFIC (HID_BASE + 1426) -#define HID_SET_ADJUST (HID_BASE + 1428) -#define HID_SET_LRMARGIN (HID_BASE + 1429) -#define HID_SET_ULMARGIN (HID_BASE + 1430) -#define HID_UNINDENT_TO_TABSTOP (HID_BASE + 1431) -#define HID_SET_HYPHEN_ZONE (HID_BASE + 1432) -#define HID_SET_PAGE_BREAK (HID_BASE + 1433) -#define HID_SET_KEEP_TOGETHER (HID_BASE + 1434) -#define HID_SET_WIDOW (HID_BASE + 1436) -#define HID_SET_ORPHAN (HID_BASE + 1437) -#define HID_FORMAT_SHADOW (HID_BASE + 1438) -#define HID_FORMAT_BORDER (HID_BASE + 1439) -#define HID_FORMAT_CHAR_DLG (HID_BASE + 1441) -#define HID_FORMAT_PARA_DLG (HID_BASE + 1443) -#define HID_FORMAT_TAB (HID_BASE + 1444) -#define HID_FORMAT_TAB_DLG (HID_BASE + 1445) -#define HID_FORMAT_BORDER_DLG (HID_BASE + 1447) -#define HID_FORMAT_BACKGROUND (HID_BASE + 1448) -#define HID_FORMAT_BACKGROUND_DLG (HID_BASE + 1450) -#define HID_FORMAT_PAGE (HID_BASE + 1451) -#define HID_FORMAT_PAGE_DLG (HID_BASE + 1452) -#define HID_FORMAT_DROPCAPS (HID_BASE + 1454) -#define HID_FORMAT_FRAME_DLG (HID_BASE + 1456) -#define HID_FORMAT_GRAFIC_DLG (HID_BASE + 1458) -#define HID_FORMAT_TABLE_DLG (HID_BASE + 1460) -#define HID_NEW_STYLE_BY_EXAMPLE (HID_BASE + 1462) -#define HID_UPDATE_STYLE_BY_EXAMPLE (HID_BASE + 1463) -#define HID_STYLE_SHEET_FRAME_DLG (HID_BASE + 1464) -#define HID_STYLE_SHEET_DOC_DLG (HID_BASE + 1465) -#define HID_FORMAT_RESET (HID_BASE + 1469) -#define HID_FRAME_TO_TOP (HID_BASE + 1470) -#define HID_FRAME_TO_BOTTOM (HID_BASE + 1471) -#define HID_FRAME_NOWRAP (HID_BASE + 1472) -#define HID_FRAME_WRAP (HID_BASE + 1473) -#define HID_FRAME_WRAPTHRU (HID_BASE + 1474) -#define HID_FRAME_ALIGN_HORZ_LEFT (HID_BASE + 1475) -#define HID_FRAME_ALIGN_HORZ_RIGHT (HID_BASE + 1476) -#define HID_FRAME_ALIGN_HORZ_CENTER (HID_BASE + 1477) -#define HID_FRAME_ALIGN_VERT_TOP (HID_BASE + 1478) -#define HID_FRAME_ALIGN_VERT_BOTTOM (HID_BASE + 1479) -#define HID_FRAME_ALIGN_VERT_CENTER (HID_BASE + 1480) -#define HID_SET_FRM_SIZE (HID_BASE + 1481) -#define HID_SET_FRM_POSITION (HID_BASE + 1482) -#define HID_SET_FRM_ANCHOR (HID_BASE + 1483) -#define HID_SET_FRM_WRAP (HID_BASE + 1484) -#define HID_SET_FRM_DIST (HID_BASE + 1485) -#define HID_SET_FRM_OPTIONS (HID_BASE + 1486) -#define HID_SET_GRF_MIRROR (HID_BASE + 1488) -#define HID_SET_TABLE_WIDTH (HID_BASE + 1489) -#define HID_SET_TABLE_ALIGN (HID_BASE + 1490) -#define HID_SET_CHAR_STYLE (HID_BASE + 1491) -#define HID_SET_PARA_STYLE (HID_BASE + 1492) -#define HID_SET_PAGE_STYLE (HID_BASE + 1493) -#define HID_SET_FRM_MACRO (HID_BASE + 1494) -#define HID_SET_FRM_COLUMNS (HID_BASE + 1495) -#define HID_SET_FRM_COLUMN_WIDTH (HID_BASE + 1496) -#define HID_UPDATE_STYLES_DIRECT (HID_BASE + 1497) - -#define HID_TABLE_INSERT_ROW (HID_BASE + 1501) -#define HID_TABLE_DELETE_ROW (HID_BASE + 1503) -#define HID_TABLE_DELETE_COL (HID_BASE + 1504) -#define HID_TABLE_MERGE_CELLS (HID_BASE + 1506) -#define HID_AUTOFMT_TABLE (HID_BASE + 1507) -#define HID_SWDLG_STRINPUT (HID_BASE + 1508) -#define HID_TABLE_SET_ULSPACE (HID_BASE + 1509) -#define HID_TABLE_SET_GRID (HID_BASE + 1510) -#define HID_TABLE_SET_SHADOW (HID_BASE + 1511) -#define HID_TABLE_SELECT_ROW (HID_BASE + 1513) -#define HID_TABLE_SELECT_COL (HID_BASE + 1514) -#define HID_TABLE_SELECT_ALL (HID_BASE + 1515) -#define HID_TABLE_SET_READ_ONLY_CELLS (HID_BASE + 1517) -#define HID_TABLE_UNSET_READ_ONLY_CELLS (HID_BASE + 1519) -#define HID_PAGE_STYLE_SET_COLS (HID_BASE + 1538) -#define HID_SET_PROP_LINE_SPACE (HID_BASE + 1540) -#define HID_SET_ABS_LINE_SPACE (HID_BASE + 1541) - -#define HID_SPELLING_DLG (HID_BASE + 1601) -#define HID_THESAURUS_DLG (HID_BASE + 1604) -#define HID_HYPHENATE_OPT_DLG (HID_BASE + 1607) -#define HID_SORTING (HID_BASE + 1613) -#define HID_SORTING_DLG (HID_BASE + 1614) -#define HID_CALCULATE (HID_BASE + 1615) -#define HID_RECORD_MACRO_DLG (HID_BASE + 1622) -#define HID_PLAY_MACRO_DLG (HID_BASE + 1624) -#define HID_CONFIG_DLG (HID_BASE + 1627) -#define HID_EXPAND_GLOSSARY (HID_BASE + 1628) -#define HID_RENAME_GLOSSARY (HID_BASE + 1629) -#define HID_CONFIG_MENU (HID_BASE + 1630) -#define HID_CONFIG_KEY (HID_BASE + 1631) -#define HID_ASSIGN_LOCAL_MACRO_DLG (HID_BASE + 1632) -#define HID_COMPILE_MACRO (HID_BASE + 1633) -#define HID_CONFIG_VIEWOPTIONS (HID_BASE + 1635) -#define HID_CONFIG_COLORS (HID_BASE + 1636) -#define HID_INSERT_GLOSSARY (HID_BASE + 1640) -#define HID_AUTO_CORRECT (HID_BASE + 1649) -#define HID_AUTO_CORRECT_DLG (HID_BASE + 1650) -#define HID_HELP_PI (HID_BASE + 1655) -#define HID_NAVIGATION_PI (HID_BASE + 1656) -#define HID_TEMPLATE_PI (HID_BASE + 1657) -#define HID_ADDR_PI (HID_BASE + 1658) -#define HID_NAVIGATION_PI_GOTO_PAGE (HID_BASE + 1659) -#define HID_LETTER_WIZZARD (HID_BASE + 1660) -#define HID_FAX_WIZZARD (HID_BASE + 1661) -#define HID_MEMO_WIZZARD (HID_BASE + 1662) -#define HID_AGENDA_WIZZARD (HID_BASE + 1663) - -#define HID_NEW_WINDOW (HID_BASE + 1701) -#define HID_ARRANGE_ALL_WIN (HID_BASE + 1702) -#define HID_ARRANGE_CASCADE_WIN (HID_BASE + 1703) -#define HID_ARRANGE_HORZ_WIN (HID_BASE + 1704) -#define HID_ARRANGE_VERT_WIN (HID_BASE + 1705) - -#define HID_SHOW_HELP_INDEX (HID_BASE + 1802) -#define HID_SHOW_KEYBOARD_HELP (HID_BASE + 1803) -#define HID_SHOW_HELP_MANUAL (HID_BASE + 1804) -#define HID_SHOW_UPDATE_HELP (HID_BASE + 1805) - -#define HID_CHAR_LEFT (HID_BASE + 1901) -#define HID_CHAR_RIGHT (HID_BASE + 1902) -#define HID_LINE_UP (HID_BASE + 1903) -#define HID_LINE_DOWN (HID_BASE + 1904) -#define HID_START_OF_LINE (HID_BASE + 1905) -#define HID_END_OF_LINE (HID_BASE + 1906) -#define HID_START_OF_DOCUMENT (HID_BASE + 1907) -#define HID_END_OF_DOCUMENT (HID_BASE + 1908) -#define HID_START_OF_NEXT_PAGE (HID_BASE + 1909) -#define HID_END_OF_NEXT_PAGE (HID_BASE + 1910) -#define HID_START_OF_PREV_PAGE (HID_BASE + 1911) -#define HID_END_OF_PREV_PAGE (HID_BASE + 1912) -#define HID_START_OF_PAGE (HID_BASE + 1913) -#define HID_END_OF_PAGE (HID_BASE + 1914) -#define HID_START_OF_COLUMN (HID_BASE + 1917) -#define HID_END_OF_COLUMN (HID_BASE + 1918) -#define HID_START_OF_PARA (HID_BASE + 1919) -#define HID_END_OF_PARA (HID_BASE + 1920) -#define HID_NEXT_WORD (HID_BASE + 1921) -#define HID_PREV_WORD (HID_BASE + 1922) -#define HID_NEXT_SENT (HID_BASE + 1923) -#define HID_PREV_SENT (HID_BASE + 1924) -#define HID_DELETE (HID_BASE + 1925) -#define HID_BACKSPACE (HID_BASE + 1926) -#define HID_DELETE_SENT (HID_BASE + 1927) -#define HID_DELETE_BACK_SENT (HID_BASE + 1928) -#define HID_DELETE_WORD (HID_BASE + 1929) -#define HID_DELETE_BACK_WORD (HID_BASE + 1930) -#define HID_DELETE_LINE (HID_BASE + 1931) -#define HID_DELETE_BACK_LINE (HID_BASE + 1932) -#define HID_DELETE_PARA (HID_BASE + 1933) -#define HID_DELETE_BACK_PARA (HID_BASE + 1934) -#define HID_DELETE_WHOLE_LINE (HID_BASE + 1935) -#define HID_SET_INS_MODE (HID_BASE + 1936) -#define HID_PAGEUP (HID_BASE + 1937) -#define HID_PAGEDOWN (HID_BASE + 1938) -#define HID_SET_ADD_MODE (HID_BASE + 1939) -#define HID_SET_EXT_MODE (HID_BASE + 1940) -#define HID_ESCAPE (HID_BASE + 1941) -#define HID_SELECT_WORD (HID_BASE + 1943) -#define HID_START_TABLE (HID_BASE + 1947) -#define HID_END_TABLE (HID_BASE + 1948) -#define HID_NEXT_TABLE (HID_BASE + 1949) -#define HID_PREV_TABLE (HID_BASE + 1950) -#define HID_START_OF_NEXT_COLUMN (HID_BASE + 1951) -#define HID_END_OF_NEXT_COLUMN (HID_BASE + 1952) -#define HID_START_OF_PREV_COLUMN (HID_BASE + 1953) -#define HID_END_OF_PREV_COLUMN (HID_BASE + 1954) -#define HID_FOOTNOTE_TO_ANCHOR (HID_BASE + 1955) -#define HID_NEXT_FOOTNOTE (HID_BASE + 1956) -#define HID_PREV_FOOTNOTE (HID_BASE + 1957) -#define HID_CNTNT_TO_NEXT_FRAME (HID_BASE + 1958) -#define HID_FRAME_TO_ANCHOR (HID_BASE + 1959) -#define HID_TO_HEADER (HID_BASE + 1960) -#define HID_TO_FOOTER (HID_BASE + 1961) -#define HID_IDX_MARK_TO_IDX (HID_BASE + 1962) - -#define HID_ENVELOP (HID_BASE + 2050) -#define HID_LABEL (HID_BASE + 2051) -#define HID_ENVELOP_PRINT (HID_BASE + 2052) +#define HID_CLOSE_FILE (HID_BASE + 1001) +#define HID_LAUNCH_REGISTRY (HID_BASE + 1002) +#define HID_MERGE_FILE (HID_BASE + 1003) +#define HID_MERGE_FILE_DLG (HID_BASE + 1004) +#define HID_NEW_FILE (HID_BASE + 1005) +#define HID_OPEN_FILE (HID_BASE + 1007) +#define HID_OPEN_LASTVERSION (HID_BASE + 1009) +#define HID_PRINT_FILE (HID_BASE + 1010) +#define HID_PRINT_FILE_OPTIONS (HID_BASE + 1011) +#define HID_SAVE_FILE_AS (HID_BASE + 1012) +#define HID_SAVE_FILE (HID_BASE + 1013) +#define HID_SETUP_PRINTER_DLG (HID_BASE + 1015) +#define HID_EXIT (HID_BASE + 1017) +#define HID_CREATE_DOCUMENT (HID_BASE + 1019) +#define HID_DOCSTAT_DLG (HID_BASE + 1020) +#define HID_LOAD_TEMPLATE_DLG (HID_BASE + 1021) +#define HID_SAVE_ALL (HID_BASE + 1023) +#define HID_NEW_FILE_DEFAULT (HID_BASE + 1024) +#define HID_PRINT_FILE_DEFAULT (HID_BASE + 1025) +#define HID_FAX (HID_BASE + 1028) +#define HID_SELECT_DATABASE (HID_BASE + 1030) +#define HID_DOC_INFO_DLG (HID_BASE + 1031) +#define HID_DOC_MGR_DLG (HID_BASE + 1032) +#define HID_OPTCAPTION_CLB (HID_BASE + 1033) + +#define HID_COPY (HID_BASE + 1102) +#define HID_CUT (HID_BASE + 1103) +#define HID_EDIT_FIELD (HID_BASE + 1104) +#define HID_EDIT_FILE_INFO_DLG (HID_BASE + 1107) +#define HID_EDIT_LINK_DLG (HID_BASE + 1109) +#define HID_EDIT_OBJECT (HID_BASE + 1110) +#define HID_GOTO (HID_BASE + 1111) +#define HID_SET_FIELD_VALUE (HID_BASE + 1112) +#define HID_PASTE (HID_BASE + 1113) +#define HID_REDO (HID_BASE + 1116) +#define HID_SEARCH (HID_BASE + 1117) +#define HID_REPLACE (HID_BASE + 1118) +#define HID_SELECT_ALL (HID_BASE + 1119) +#define HID_UNDO (HID_BASE + 1120) +#define HID_REPEAT (HID_BASE + 1122) +#define HID_BUFFER_UPDATE (HID_BASE + 1124) +#define HID_UPDATE_FIELDS (HID_BASE + 1126) +#define HID_EXECUTE_MACROFIELD (HID_BASE + 1127) +#define HID_EDIT_FORMULA (HID_BASE + 1128) +#define HID_CALC_TABLE (HID_BASE + 1129) +#define HID_NUM_BULLET_DOWN (HID_BASE + 1130) +#define HID_NUM_BULLET_UP (HID_BASE + 1131) +#define HID_NUM_BULLET_PREV (HID_BASE + 1132) +#define HID_NUM_BULLET_NEXT (HID_BASE + 1133) +#define HID_NUM_BULLET_MOVEUP (HID_BASE + 1134) +#define HID_NUM_BULLET_MOVEDOWN (HID_BASE + 1135) +#define HID_NUM_BULLET_NONUM (HID_BASE + 1136) +#define HID_NUM_BULLET_OFF (HID_BASE + 1137) +#define HID_NUM_BULLET_ON (HID_BASE + 1138) +#define HID_NUM_BULLET_OUTLINE_DOWN (HID_BASE + 1139) +#define HID_NUM_BULLET_OUTLINE_UP (HID_BASE + 1140) +#define HID_NUM_BULLET_OUTLINE_MOVEUP (HID_BASE + 1141) +#define HID_NUM_BULLET_OUTLINE_MOVEDOWN (HID_BASE + 1142) +#define HID_UPDATE_INPUTFIELDS (HID_BASE + 1143) +#define HID_NUM_NUMBERING_ON (HID_BASE + 1144) +#define HID_REPEAT_SEARCH (HID_BASE + 1150) +#define HID_REPAGINATE (HID_BASE + 1161) + +#define HID_REFRESH_VIEW (HID_BASE + 1201) +#define HID_RIBBON (HID_BASE + 1210) +#define HID_RULER (HID_BASE + 1211) +#define HID_STATUSBAR (HID_BASE + 1212) +#define HID_TOOLBOX (HID_BASE + 1213) +#define HID_VIEW_BOUNDS (HID_BASE + 1214) +#define HID_VIEW_FIELDS (HID_BASE + 1215) +#define HID_VLINEAL (HID_BASE + 1216) +#define HID_VSCROLLBAR (HID_BASE + 1217) +#define HID_HSCROLLBAR (HID_BASE + 1218) +#define HID_VIEW_META_CHARS (HID_BASE + 1224) +#define HID_VIEW_MARKS (HID_BASE + 1225) +#define HID_VIEW_FIELDNAME (HID_BASE + 1226) +#define HID_VIEW_TABLEGRID (HID_BASE + 1227) +#define HID_ZOOM (HID_BASE + 1231) + +#define HID_DELETE_BOOKMARK (HID_BASE + 1301) +#define HID_INSERT_BREAK (HID_BASE + 1303) +#define HID_INSERT_COLUMN_BREAK (HID_BASE + 1305) +#define HID_INSERT_FILE (HID_BASE + 1309) +#define HID_INSERT_FOOTNOTE (HID_BASE + 1311) +#define HID_INSERT_GRAFIC (HID_BASE + 1315) +#define HID_INSERT_LINEBREAK (HID_BASE + 1318) +#define HID_INSERT_MERGEFIELD_DLG (HID_BASE + 1320) +#define HID_INSERT_OBJECT_DLG (HID_BASE + 1322) +#define HID_INSERT_PAGEBREAK (HID_BASE + 1323) +#define HID_INSERT_RECORD (HID_BASE + 1326) +#define HID_MERGE_RECORD (HID_BASE + 1327) +#define HID_INSERT_SYMBOL (HID_BASE + 1328) +#define HID_INSERT_STRING (HID_BASE + 1331) +#define HID_INSERT_COLS (HID_BASE + 1332) +#define HID_INSERT_FRAME_INTERACT (HID_BASE + 1333) +#define HID_INSERT_FRAME (HID_BASE + 1334) +#define HID_INSERT_IDX_ENTRY (HID_BASE + 1340) +#define HID_INSERT_USERIDX_ENTRY (HID_BASE + 1341) +#define HID_INSERT_CNTNTIDX_ENTRY (HID_BASE + 1342) +#define HID_INSERT_SOFT_HYPHEN (HID_BASE + 1350) +#define HID_INSERT_HARD_SPACE (HID_BASE + 1351) + +#define HID_SET_FONT (HID_BASE + 1401) +#define HID_SET_FONT_SIZE (HID_BASE + 1402) +#define HID_GROW_FONT_SIZE (HID_BASE + 1403) +#define HID_SHRINK_FONT_SIZE (HID_BASE + 1404) +#define HID_SET_BOLD (HID_BASE + 1405) +#define HID_SET_ITALIC (HID_BASE + 1406) +#define HID_SET_SHADOW (HID_BASE + 1407) +#define HID_SET_OUTLINE (HID_BASE + 1408) +#define HID_SET_UNDERLINE (HID_BASE + 1409) +#define HID_SET_STRIKEOUT (HID_BASE + 1410) +#define HID_SET_SUPER_SCRIPT (HID_BASE + 1411) +#define HID_SET_SUB_SCRIPT (HID_BASE + 1412) +#define HID_SET_COLOR (HID_BASE + 1413) +#define HID_SET_CASEMAP (HID_BASE + 1414) +#define HID_SET_LANGUAGE (HID_BASE + 1415) +#define HID_SET_KERNING (HID_BASE + 1416) +#define HID_INDENT_TO_TABSTOP (HID_BASE + 1417) +#define HID_SET_LEFT_PARA (HID_BASE + 1418) +#define HID_SET_RIGHT_PARA (HID_BASE + 1419) +#define HID_SET_CENTER_PARA (HID_BASE + 1420) +#define HID_SET_JUSTIFY_PARA (HID_BASE + 1421) +#define HID_SET_LINE_SPACE_1 (HID_BASE + 1422) +#define HID_SET_LINE_SPACE_15 (HID_BASE + 1423) +#define HID_SET_LINE_SPACE_2 (HID_BASE + 1424) +#define HID_FLIP_HORZ_GRAFIC (HID_BASE + 1425) +#define HID_FLIP_VERT_GRAFIC (HID_BASE + 1426) +#define HID_SET_ADJUST (HID_BASE + 1428) +#define HID_SET_LRMARGIN (HID_BASE + 1429) +#define HID_SET_ULMARGIN (HID_BASE + 1430) +#define HID_UNINDENT_TO_TABSTOP (HID_BASE + 1431) +#define HID_SET_HYPHEN_ZONE (HID_BASE + 1432) +#define HID_SET_PAGE_BREAK (HID_BASE + 1433) +#define HID_SET_KEEP_TOGETHER (HID_BASE + 1434) +#define HID_SET_WIDOW (HID_BASE + 1436) +#define HID_SET_ORPHAN (HID_BASE + 1437) +#define HID_FORMAT_SHADOW (HID_BASE + 1438) +#define HID_FORMAT_BORDER (HID_BASE + 1439) +#define HID_FORMAT_CHAR_DLG (HID_BASE + 1441) +#define HID_FORMAT_PARA_DLG (HID_BASE + 1443) +#define HID_FORMAT_TAB (HID_BASE + 1444) +#define HID_FORMAT_TAB_DLG (HID_BASE + 1445) +#define HID_FORMAT_BORDER_DLG (HID_BASE + 1447) +#define HID_FORMAT_BACKGROUND (HID_BASE + 1448) +#define HID_FORMAT_BACKGROUND_DLG (HID_BASE + 1450) +#define HID_FORMAT_PAGE (HID_BASE + 1451) +#define HID_FORMAT_PAGE_DLG (HID_BASE + 1452) +#define HID_FORMAT_DROPCAPS (HID_BASE + 1454) +#define HID_FORMAT_FRAME_DLG (HID_BASE + 1456) +#define HID_FORMAT_GRAFIC_DLG (HID_BASE + 1458) +#define HID_FORMAT_TABLE_DLG (HID_BASE + 1460) +#define HID_NEW_STYLE_BY_EXAMPLE (HID_BASE + 1462) +#define HID_UPDATE_STYLE_BY_EXAMPLE (HID_BASE + 1463) +#define HID_STYLE_SHEET_FRAME_DLG (HID_BASE + 1464) +#define HID_STYLE_SHEET_DOC_DLG (HID_BASE + 1465) +#define HID_FORMAT_RESET (HID_BASE + 1469) +#define HID_FRAME_TO_TOP (HID_BASE + 1470) +#define HID_FRAME_TO_BOTTOM (HID_BASE + 1471) +#define HID_FRAME_NOWRAP (HID_BASE + 1472) +#define HID_FRAME_WRAP (HID_BASE + 1473) +#define HID_FRAME_WRAPTHRU (HID_BASE + 1474) +#define HID_FRAME_ALIGN_HORZ_LEFT (HID_BASE + 1475) +#define HID_FRAME_ALIGN_HORZ_RIGHT (HID_BASE + 1476) +#define HID_FRAME_ALIGN_HORZ_CENTER (HID_BASE + 1477) +#define HID_FRAME_ALIGN_VERT_TOP (HID_BASE + 1478) +#define HID_FRAME_ALIGN_VERT_BOTTOM (HID_BASE + 1479) +#define HID_FRAME_ALIGN_VERT_CENTER (HID_BASE + 1480) +#define HID_SET_FRM_SIZE (HID_BASE + 1481) +#define HID_SET_FRM_POSITION (HID_BASE + 1482) +#define HID_SET_FRM_ANCHOR (HID_BASE + 1483) +#define HID_SET_FRM_WRAP (HID_BASE + 1484) +#define HID_SET_FRM_DIST (HID_BASE + 1485) +#define HID_SET_FRM_OPTIONS (HID_BASE + 1486) +#define HID_SET_GRF_MIRROR (HID_BASE + 1488) +#define HID_SET_TABLE_WIDTH (HID_BASE + 1489) +#define HID_SET_TABLE_ALIGN (HID_BASE + 1490) +#define HID_SET_CHAR_STYLE (HID_BASE + 1491) +#define HID_SET_PARA_STYLE (HID_BASE + 1492) +#define HID_SET_PAGE_STYLE (HID_BASE + 1493) +#define HID_SET_FRM_MACRO (HID_BASE + 1494) +#define HID_SET_FRM_COLUMNS (HID_BASE + 1495) +#define HID_SET_FRM_COLUMN_WIDTH (HID_BASE + 1496) +#define HID_UPDATE_STYLES_DIRECT (HID_BASE + 1497) + +#define HID_TABLE_INSERT_ROW (HID_BASE + 1501) +#define HID_TABLE_DELETE_ROW (HID_BASE + 1503) +#define HID_TABLE_DELETE_COL (HID_BASE + 1504) +#define HID_TABLE_MERGE_CELLS (HID_BASE + 1506) +#define HID_AUTOFMT_TABLE (HID_BASE + 1507) +#define HID_SWDLG_STRINPUT (HID_BASE + 1508) +#define HID_TABLE_SET_ULSPACE (HID_BASE + 1509) +#define HID_TABLE_SET_GRID (HID_BASE + 1510) +#define HID_TABLE_SET_SHADOW (HID_BASE + 1511) +#define HID_TABLE_SELECT_ROW (HID_BASE + 1513) +#define HID_TABLE_SELECT_COL (HID_BASE + 1514) +#define HID_TABLE_SELECT_ALL (HID_BASE + 1515) +#define HID_TABLE_SET_READ_ONLY_CELLS (HID_BASE + 1517) +#define HID_TABLE_UNSET_READ_ONLY_CELLS (HID_BASE + 1519) +#define HID_PAGE_STYLE_SET_COLS (HID_BASE + 1538) +#define HID_SET_PROP_LINE_SPACE (HID_BASE + 1540) +#define HID_SET_ABS_LINE_SPACE (HID_BASE + 1541) + +#define HID_SPELLING_DLG (HID_BASE + 1601) +#define HID_THESAURUS_DLG (HID_BASE + 1604) +#define HID_HYPHENATE_OPT_DLG (HID_BASE + 1607) +#define HID_SORTING (HID_BASE + 1613) +#define HID_SORTING_DLG (HID_BASE + 1614) +#define HID_CALCULATE (HID_BASE + 1615) +#define HID_RECORD_MACRO_DLG (HID_BASE + 1622) +#define HID_PLAY_MACRO_DLG (HID_BASE + 1624) +#define HID_CONFIG_DLG (HID_BASE + 1627) +#define HID_EXPAND_GLOSSARY (HID_BASE + 1628) +#define HID_RENAME_GLOSSARY (HID_BASE + 1629) +#define HID_CONFIG_MENU (HID_BASE + 1630) +#define HID_CONFIG_KEY (HID_BASE + 1631) +#define HID_ASSIGN_LOCAL_MACRO_DLG (HID_BASE + 1632) +#define HID_COMPILE_MACRO (HID_BASE + 1633) +#define HID_CONFIG_VIEWOPTIONS (HID_BASE + 1635) +#define HID_CONFIG_COLORS (HID_BASE + 1636) +#define HID_INSERT_GLOSSARY (HID_BASE + 1640) +#define HID_AUTO_CORRECT (HID_BASE + 1649) +#define HID_AUTO_CORRECT_DLG (HID_BASE + 1650) +#define HID_HELP_PI (HID_BASE + 1655) +#define HID_NAVIGATION_PI (HID_BASE + 1656) +#define HID_TEMPLATE_PI (HID_BASE + 1657) +#define HID_ADDR_PI (HID_BASE + 1658) +#define HID_NAVIGATION_PI_GOTO_PAGE (HID_BASE + 1659) +#define HID_LETTER_WIZZARD (HID_BASE + 1660) +#define HID_FAX_WIZZARD (HID_BASE + 1661) +#define HID_MEMO_WIZZARD (HID_BASE + 1662) +#define HID_AGENDA_WIZZARD (HID_BASE + 1663) + +#define HID_NEW_WINDOW (HID_BASE + 1701) +#define HID_ARRANGE_ALL_WIN (HID_BASE + 1702) +#define HID_ARRANGE_CASCADE_WIN (HID_BASE + 1703) +#define HID_ARRANGE_HORZ_WIN (HID_BASE + 1704) +#define HID_ARRANGE_VERT_WIN (HID_BASE + 1705) + +#define HID_SHOW_HELP_INDEX (HID_BASE + 1802) +#define HID_SHOW_KEYBOARD_HELP (HID_BASE + 1803) +#define HID_SHOW_HELP_MANUAL (HID_BASE + 1804) +#define HID_SHOW_UPDATE_HELP (HID_BASE + 1805) + +#define HID_CHAR_LEFT (HID_BASE + 1901) +#define HID_CHAR_RIGHT (HID_BASE + 1902) +#define HID_LINE_UP (HID_BASE + 1903) +#define HID_LINE_DOWN (HID_BASE + 1904) +#define HID_START_OF_LINE (HID_BASE + 1905) +#define HID_END_OF_LINE (HID_BASE + 1906) +#define HID_START_OF_DOCUMENT (HID_BASE + 1907) +#define HID_END_OF_DOCUMENT (HID_BASE + 1908) +#define HID_START_OF_NEXT_PAGE (HID_BASE + 1909) +#define HID_END_OF_NEXT_PAGE (HID_BASE + 1910) +#define HID_START_OF_PREV_PAGE (HID_BASE + 1911) +#define HID_END_OF_PREV_PAGE (HID_BASE + 1912) +#define HID_START_OF_PAGE (HID_BASE + 1913) +#define HID_END_OF_PAGE (HID_BASE + 1914) +#define HID_START_OF_COLUMN (HID_BASE + 1917) +#define HID_END_OF_COLUMN (HID_BASE + 1918) +#define HID_START_OF_PARA (HID_BASE + 1919) +#define HID_END_OF_PARA (HID_BASE + 1920) +#define HID_NEXT_WORD (HID_BASE + 1921) +#define HID_PREV_WORD (HID_BASE + 1922) +#define HID_NEXT_SENT (HID_BASE + 1923) +#define HID_PREV_SENT (HID_BASE + 1924) +#define HID_DELETE (HID_BASE + 1925) +#define HID_BACKSPACE (HID_BASE + 1926) +#define HID_DELETE_SENT (HID_BASE + 1927) +#define HID_DELETE_BACK_SENT (HID_BASE + 1928) +#define HID_DELETE_WORD (HID_BASE + 1929) +#define HID_DELETE_BACK_WORD (HID_BASE + 1930) +#define HID_DELETE_LINE (HID_BASE + 1931) +#define HID_DELETE_BACK_LINE (HID_BASE + 1932) +#define HID_DELETE_PARA (HID_BASE + 1933) +#define HID_DELETE_BACK_PARA (HID_BASE + 1934) +#define HID_DELETE_WHOLE_LINE (HID_BASE + 1935) +#define HID_SET_INS_MODE (HID_BASE + 1936) +#define HID_PAGEUP (HID_BASE + 1937) +#define HID_PAGEDOWN (HID_BASE + 1938) +#define HID_SET_ADD_MODE (HID_BASE + 1939) +#define HID_SET_EXT_MODE (HID_BASE + 1940) +#define HID_ESCAPE (HID_BASE + 1941) +#define HID_SELECT_WORD (HID_BASE + 1943) +#define HID_START_TABLE (HID_BASE + 1947) +#define HID_END_TABLE (HID_BASE + 1948) +#define HID_NEXT_TABLE (HID_BASE + 1949) +#define HID_PREV_TABLE (HID_BASE + 1950) +#define HID_START_OF_NEXT_COLUMN (HID_BASE + 1951) +#define HID_END_OF_NEXT_COLUMN (HID_BASE + 1952) +#define HID_START_OF_PREV_COLUMN (HID_BASE + 1953) +#define HID_END_OF_PREV_COLUMN (HID_BASE + 1954) +#define HID_FOOTNOTE_TO_ANCHOR (HID_BASE + 1955) +#define HID_NEXT_FOOTNOTE (HID_BASE + 1956) +#define HID_PREV_FOOTNOTE (HID_BASE + 1957) +#define HID_CNTNT_TO_NEXT_FRAME (HID_BASE + 1958) +#define HID_FRAME_TO_ANCHOR (HID_BASE + 1959) +#define HID_TO_HEADER (HID_BASE + 1960) +#define HID_TO_FOOTER (HID_BASE + 1961) +#define HID_IDX_MARK_TO_IDX (HID_BASE + 1962) + +#define HID_ENVELOP (HID_BASE + 2050) +#define HID_LABEL (HID_BASE + 2051) +#define HID_ENVELOP_PRINT (HID_BASE + 2052) #define HID_NAVIGATION_IMGBTN (HID_BASE + 2054) -#define HID_ENVELOP_INSERT (HID_BASE + 2055) +#define HID_ENVELOP_INSERT (HID_BASE + 2055) #define HID_WEBTOOLS_TOOLBOX (HID_BASE + 2056) #define HID_WEBTEXT_TOOLBOX (HID_BASE + 2057) @@ -756,22 +756,22 @@ #define HID_TOOLS_TOOLBOX (HID_BASE + 2069) #define HID_SRCVIEW_TOOLBOX (HID_BASE + 2070) -#define HID_LABEL_INSERT (HID_BASE + 2071) +#define HID_LABEL_INSERT (HID_BASE + 2071) #define HID_CALC_TOOLBOX (HID_BASE + 2072) #define HID_PVIEW_TOOLBOX (HID_BASE + 2073) -#define HID_FIELD_INSERT (HID_BASE + 2074) -#define HID_FIELD_CLOSE (HID_BASE + 2075) +#define HID_FIELD_INSERT (HID_BASE + 2074) +#define HID_FIELD_CLOSE (HID_BASE + 2075) #define HID_COND_COLL_TABLIST (HID_BASE + 2076) -#define HID_DB_SELECTION_TLB (HID_BASE + 2077) -#define HID_FIELD_DINF_TYPE (HID_BASE + 2078) +#define HID_DB_SELECTION_TLB (HID_BASE + 2077) +#define HID_FIELD_DINF_TYPE (HID_BASE + 2078) -#define HID_DRAWFORM_TOOLBOX (HID_BASE + 2079) -#define HID_SELECT_TEMPLATE (HID_BASE + 2080) +#define HID_DRAWFORM_TOOLBOX (HID_BASE + 2079) +#define HID_SELECT_TEMPLATE (HID_BASE + 2080) -#define HID_AP_INSERT_DB_SEL (HID_BASE + 2081) +#define HID_AP_INSERT_DB_SEL (HID_BASE + 2081) #define HID_WEBGRAPHIC_TOOLBOX (HID_BASE + 2082) #define HID_OUTLINE_FORM (HID_BASE + 2083) #define HID_NUM_RESET (HID_BASE + 2084) @@ -781,31 +781,31 @@ #define HID_AUTOFORMAT_EDIT_CHG (HID_BASE + 2087) //insert index/entries/Pattern buttons and edits -#define HID_TOX_ENTRY_BUTTON (HID_BASE + 2088) -#define HID_TOX_ENTRY_EDIT (HID_BASE + 2089) +#define HID_TOX_ENTRY_BUTTON (HID_BASE + 2088) +#define HID_TOX_ENTRY_EDIT (HID_BASE + 2089) -#define HID_DLG_NEW_USER_IDX (HID_BASE + 2090) +#define HID_DLG_NEW_USER_IDX (HID_BASE + 2090) #define HID_INSERT_IDX_MRK_OK (HID_BASE + 2091) #define HID_INSERT_IDX_MRK_CLOSE (HID_BASE + 2092) #define HID_INSERT_AUTH_MRK_OK (HID_BASE + 2093) #define HID_INSERT_AUTH_MRK_CLOSE (HID_BASE + 2094) -#define HID_INSERT_IDX_MRK_DELETE (HID_BASE + 2095) -#define HID_INSERT_IDX_MRK_NEW (HID_BASE + 2096) -#define HID_INSERT_IDX_MRK_PREV (HID_BASE + 2097) -#define HID_INSERT_IDX_MRK_PREV_SAME (HID_BASE + 2098) -#define HID_INSERT_IDX_MRK_NEXT (HID_BASE + 2099) -#define HID_INSERT_IDX_MRK_NEXT_SAME (HID_BASE + 2100) -#define HID_INSERT_IDX_MRK_TYPE (HID_BASE + 2101) -#define HID_INSERT_IDX_MRK_ENTRY (HID_BASE + 2102) -#define HID_INSERT_IDX_MRK_PRIM_KEY (HID_BASE + 2103) -#define HID_INSERT_IDX_MRK_SEC_KEY (HID_BASE + 2104) -#define HID_INSERT_IDX_MRK_LEVEL (HID_BASE + 2105) -#define HID_INSERT_IDX_MRK_MAIN_ENTRY (HID_BASE + 2106) -#define HID_INSERT_IDX_MRK_APPLY_ALL (HID_BASE + 2107) -#define HID_INSERT_AUTH_MRK_ENTRY (HID_BASE + 2108) +#define HID_INSERT_IDX_MRK_DELETE (HID_BASE + 2095) +#define HID_INSERT_IDX_MRK_NEW (HID_BASE + 2096) +#define HID_INSERT_IDX_MRK_PREV (HID_BASE + 2097) +#define HID_INSERT_IDX_MRK_PREV_SAME (HID_BASE + 2098) +#define HID_INSERT_IDX_MRK_NEXT (HID_BASE + 2099) +#define HID_INSERT_IDX_MRK_NEXT_SAME (HID_BASE + 2100) +#define HID_INSERT_IDX_MRK_TYPE (HID_BASE + 2101) +#define HID_INSERT_IDX_MRK_ENTRY (HID_BASE + 2102) +#define HID_INSERT_IDX_MRK_PRIM_KEY (HID_BASE + 2103) +#define HID_INSERT_IDX_MRK_SEC_KEY (HID_BASE + 2104) +#define HID_INSERT_IDX_MRK_LEVEL (HID_BASE + 2105) +#define HID_INSERT_IDX_MRK_MAIN_ENTRY (HID_BASE + 2106) +#define HID_INSERT_IDX_MRK_APPLY_ALL (HID_BASE + 2107) +#define HID_INSERT_AUTH_MRK_ENTRY (HID_BASE + 2108) #define HID_INSERT_AUTH_MRK_CREATE_ENTRY (HID_BASE + 2109) -#define HID_INSERT_AUTH_MRK_EDIT_ENTRY (HID_BASE + 2110) -#define HID_TOKEN_WINDOW (HID_BASE + 2111) +#define HID_INSERT_AUTH_MRK_EDIT_ENTRY (HID_BASE + 2110) +#define HID_TOKEN_WINDOW (HID_BASE + 2111) #define HID_AUTH_FIELD_IDENTIFIER (HID_BASE + 2112 ) #define HID_AUTH_FIELD_AUTHORITY_TYPE (HID_BASE + 2113 ) @@ -844,11 +844,11 @@ #define HID_AUTH_MARK_DLG_ID_LISTBOX (HID_BASE + 2145 ) #define HID_INSERT_INDEX_ENTRY_LEVEL_LB (HID_BASE + 2146 ) -#define HID_INSERT_IDX_MRK_SRCH_CASESENSITIVE (HID_BASE + 2147 ) -#define HID_INSERT_IDX_MRK_SRCH_WORDONLY (HID_BASE + 2148 ) +#define HID_INSERT_IDX_MRK_SRCH_CASESENSITIVE (HID_BASE + 2147 ) +#define HID_INSERT_IDX_MRK_SRCH_WORDONLY (HID_BASE + 2148 ) #define HID_DLG_CREATE_AUTOMARK (HID_BASE + 2149 ) #define HID_BUSINESS_CARD_CONTENT (HID_BASE + 2150 ) -#define HID_SAVE_LABEL_DLG (HID_BASE + 2151 ) +#define HID_SAVE_LABEL_DLG (HID_BASE + 2151 ) #define HID_BUSINESS_FMT_PAGE (HID_BASE + 2152 ) #define HID_BUSINESS_FMT_PAGE_CONT (HID_BASE + 2153 ) #define HID_BUSINESS_FMT_PAGE_SHEET (HID_BASE + 2154 ) @@ -883,7 +883,7 @@ #define HID_PRINT_AS_MERGE (HID_BASE + 2181 ) #define HID_MERGE_SOURCE_UNAVAILABLE (HID_BASE + 2182 ) #define HID_DATA_SOURCES_UNAVAILABLE (HID_BASE + 2183 ) -#define HID_MODULE_TOOLBOX (HID_BASE + 2184 ) +#define HID_MODULE_TOOLBOX (HID_BASE + 2184 ) #define HID_SECTION_INDENTS_PAGE (HID_BASE + 2185 ) #define HID_FLD_DROPDOWN (HID_BASE + 2186 ) @@ -982,6 +982,6 @@ #define HID_MM_HEADER_12 (HID_BASE + 2279) #define HID_MM_HEADER_13 (HID_BASE + 2280) -#define HID_TITLEPAGE (HID_BASE + 2281) +#define HID_TITLEPAGE (HID_BASE + 2281) /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/hfspacingitem.hxx b/sw/inc/hfspacingitem.hxx index 77b4b0abc6dd..b25e1839fec0 100644 --- a/sw/inc/hfspacingitem.hxx +++ b/sw/inc/hfspacingitem.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/hhcwrp.hxx b/sw/inc/hhcwrp.hxx index bcf7eae151eb..0d6ce3a3bf67 100644 --- a/sw/inc/hhcwrp.hxx +++ b/sw/inc/hhcwrp.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -38,7 +38,7 @@ struct SwConversionArgs; ////////////////////////////////////////////////////////////////////// -class SwHHCWrapper : public editeng::HangulHanjaConversion +class SwHHCWrapper : public editeng::HangulHanjaConversion { SwView * pView; Window* pWin; @@ -48,7 +48,7 @@ class SwHHCWrapper : public editeng::HangulHanjaConversion // to find of next convertible text portion xub_StrLen nLastPos; // starting position of the last found text part - // (needs to be sth that gets not moved like + // (needs to be sth that gets not moved like // SwPaM or SwPosition by replace operations!) sal_Int32 nUnitOffset; @@ -65,7 +65,7 @@ class SwHHCWrapper : public editeng::HangulHanjaConversion sal_Bool bStartDone; sal_Bool bEndDone; // sal_Bool bLastRet; - + // from SvxSpellWrapper copied and modified sal_Bool ConvNext_impl(); // former SpellNext sal_Bool FindConvText_impl(); // former FindSpellError @@ -76,7 +76,7 @@ class SwHHCWrapper : public editeng::HangulHanjaConversion void ConvEnd_impl( SwConversionArgs *pConvArgs ); // former SpellEnd sal_Bool ConvContinue_impl( SwConversionArgs *pConvArgs ); // former SpellContinue - void SelectNewUnit_impl( const sal_Int32 nUnitStart, + void SelectNewUnit_impl( const sal_Int32 nUnitStart, const sal_Int32 nUnitEnd ); void ChangeText( const String &rNewText, const ::rtl::OUString& rOrigText, @@ -88,15 +88,15 @@ class SwHHCWrapper : public editeng::HangulHanjaConversion inline void SetDrawObj( BOOL bNew ) { bIsDrawObj = bNew; } protected: - virtual void GetNextPortion( ::rtl::OUString& rNextPortion, - LanguageType& rLangOfPortion, + virtual void GetNextPortion( ::rtl::OUString& rNextPortion, + LanguageType& rLangOfPortion, sal_Bool bAllowImplicitChangesForNotConvertibleText ); - virtual void HandleNewUnit( const sal_Int32 nUnitStart, + virtual void HandleNewUnit( const sal_Int32 nUnitStart, const sal_Int32 nUnitEnd ); virtual void ReplaceUnit( const sal_Int32 nUnitStart, const sal_Int32 nUnitEnd, const ::rtl::OUString& rOrigText, - const ::rtl::OUString& rReplaceWith, + const ::rtl::OUString& rReplaceWith, const ::com::sun::star::uno::Sequence< sal_Int32 > &rOffsets, ReplacementAction eAction, LanguageType *pNewUnitLanguage ); diff --git a/sw/inc/hintids.hxx b/sw/inc/hintids.hxx index fe6ed9563db1..4ed2c337aa0a 100644 --- a/sw/inc/hintids.hxx +++ b/sw/inc/hintids.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -28,14 +28,14 @@ #ifndef _HINTIDS_HXX #define _HINTIDS_HXX -#include <tools/solar.h> // fuer __FAR_DATA -#include <sal/types.h> // for sal_Unicode +#include <tools/solar.h> // fuer __FAR_DATA +#include <sal/types.h> // for sal_Unicode #include "swdllapi.h" // fuer SwTxtHints ohne Endindex wird folgendes Zeichen eingefuegt: //JP 24.05.00: for the new UniCode Version: -#define CH_TXTATR_BREAKWORD ((sal_Unicode)0x01) -#define CH_TXTATR_INWORD ((sal_Unicode)0x02) +#define CH_TXTATR_BREAKWORD ((sal_Unicode)0x01) +#define CH_TXTATR_INWORD ((sal_Unicode)0x02) #define CH_TXTATR_TAB ((sal_Unicode)'\t') #define CH_TXTATR_NEWLINE ((sal_Unicode)'\n') #define CH_TXT_ATR_FIELDSTART ((sal_Unicode)0x04) @@ -48,56 +48,56 @@ * Hier kommen erst mal die enums fuer die Hints */ -#define HINT_BEGIN 1 +#define HINT_BEGIN 1 -#define POOLATTR_BEGIN HINT_BEGIN -#define POOLATTR_END RES_UNKNOWNATR_END +#define POOLATTR_BEGIN HINT_BEGIN +#define POOLATTR_END RES_UNKNOWNATR_END // Bereiche fuer die Id's der einzelnen Format-Attribute // die Which-Werte fuer die Charakter-Format Attribute enum RES_CHRATR { RES_CHRATR_BEGIN = HINT_BEGIN, - RES_CHRATR_CASEMAP = RES_CHRATR_BEGIN, // 1 - RES_CHRATR_CHARSETCOLOR, // 2 - RES_CHRATR_COLOR, // 3 - RES_CHRATR_CONTOUR, // 4 - RES_CHRATR_CROSSEDOUT, // 5 - RES_CHRATR_ESCAPEMENT, // 6 - RES_CHRATR_FONT, // 7 - RES_CHRATR_FONTSIZE, // 8 - RES_CHRATR_KERNING, // 9 - RES_CHRATR_LANGUAGE, // 10 - RES_CHRATR_POSTURE, // 11 - RES_CHRATR_PROPORTIONALFONTSIZE, // 12 - RES_CHRATR_SHADOWED, // 13 - RES_CHRATR_UNDERLINE, // 14 - RES_CHRATR_WEIGHT, // 15 - RES_CHRATR_WORDLINEMODE, // 16 - RES_CHRATR_AUTOKERN, // 17 - RES_CHRATR_BLINK, // 18 - RES_CHRATR_NOHYPHEN, // 19 - RES_CHRATR_NOLINEBREAK, // 20 - RES_CHRATR_BACKGROUND, // 21 - RES_CHRATR_CJK_FONT, // 22 - RES_CHRATR_CJK_FONTSIZE, // 23 - RES_CHRATR_CJK_LANGUAGE, // 24 - RES_CHRATR_CJK_POSTURE, // 25 - RES_CHRATR_CJK_WEIGHT, // 26 - RES_CHRATR_CTL_FONT, // 27 - RES_CHRATR_CTL_FONTSIZE, // 28 - RES_CHRATR_CTL_LANGUAGE, // 29 - RES_CHRATR_CTL_POSTURE, // 30 - RES_CHRATR_CTL_WEIGHT, // 31 - RES_CHRATR_ROTATE, // 32 - RES_CHRATR_EMPHASIS_MARK, // 33 - RES_CHRATR_TWO_LINES, // 34 - RES_CHRATR_SCALEW, // 35 - RES_CHRATR_RELIEF, // 36 + RES_CHRATR_CASEMAP = RES_CHRATR_BEGIN, // 1 + RES_CHRATR_CHARSETCOLOR, // 2 + RES_CHRATR_COLOR, // 3 + RES_CHRATR_CONTOUR, // 4 + RES_CHRATR_CROSSEDOUT, // 5 + RES_CHRATR_ESCAPEMENT, // 6 + RES_CHRATR_FONT, // 7 + RES_CHRATR_FONTSIZE, // 8 + RES_CHRATR_KERNING, // 9 + RES_CHRATR_LANGUAGE, // 10 + RES_CHRATR_POSTURE, // 11 + RES_CHRATR_PROPORTIONALFONTSIZE, // 12 + RES_CHRATR_SHADOWED, // 13 + RES_CHRATR_UNDERLINE, // 14 + RES_CHRATR_WEIGHT, // 15 + RES_CHRATR_WORDLINEMODE, // 16 + RES_CHRATR_AUTOKERN, // 17 + RES_CHRATR_BLINK, // 18 + RES_CHRATR_NOHYPHEN, // 19 + RES_CHRATR_NOLINEBREAK, // 20 + RES_CHRATR_BACKGROUND, // 21 + RES_CHRATR_CJK_FONT, // 22 + RES_CHRATR_CJK_FONTSIZE, // 23 + RES_CHRATR_CJK_LANGUAGE, // 24 + RES_CHRATR_CJK_POSTURE, // 25 + RES_CHRATR_CJK_WEIGHT, // 26 + RES_CHRATR_CTL_FONT, // 27 + RES_CHRATR_CTL_FONTSIZE, // 28 + RES_CHRATR_CTL_LANGUAGE, // 29 + RES_CHRATR_CTL_POSTURE, // 30 + RES_CHRATR_CTL_WEIGHT, // 31 + RES_CHRATR_ROTATE, // 32 + RES_CHRATR_EMPHASIS_MARK, // 33 + RES_CHRATR_TWO_LINES, // 34 + RES_CHRATR_SCALEW, // 35 + RES_CHRATR_RELIEF, // 36 RES_CHRATR_HIDDEN, // 37 - RES_CHRATR_OVERLINE, // 38 - RES_CHRATR_DUMMY1, // 39 - RES_CHRATR_DUMMY2, // 40 + RES_CHRATR_OVERLINE, // 38 + RES_CHRATR_DUMMY1, // 39 + RES_CHRATR_DUMMY2, // 40 RES_CHRATR_END }; @@ -137,13 +137,13 @@ RES_TXTATR_WITHEND_END, // alle TextAttribute ohne ein Ende RES_TXTATR_NOEND_BEGIN = RES_TXTATR_WITHEND_END, - RES_TXTATR_FIELD = RES_TXTATR_NOEND_BEGIN, // 51 - RES_TXTATR_FLYCNT, // 52 - RES_TXTATR_FTN, // 53 + RES_TXTATR_FIELD = RES_TXTATR_NOEND_BEGIN, // 51 + RES_TXTATR_FLYCNT, // 52 + RES_TXTATR_FTN, // 53 RES_TXTATR_DUMMY4, // 54 RES_TXTATR_DUMMY3, // 55 - RES_TXTATR_DUMMY1, // 56 - RES_TXTATR_DUMMY2, // 57 + RES_TXTATR_DUMMY1, // 56 + RES_TXTATR_DUMMY2, // 57 RES_TXTATR_NOEND_END, RES_TXTATR_END = RES_TXTATR_NOEND_END }; @@ -152,19 +152,19 @@ enum RES_PARATR { RES_PARATR_BEGIN = RES_TXTATR_END, RES_PARATR_LINESPACING = RES_PARATR_BEGIN, // 58 - RES_PARATR_ADJUST, // 59 - RES_PARATR_SPLIT, // 60 - RES_PARATR_ORPHANS, // 61 - RES_PARATR_WIDOWS, // 62 - RES_PARATR_TABSTOP, // 63 - RES_PARATR_HYPHENZONE, // 64 - RES_PARATR_DROP, // 65 - RES_PARATR_REGISTER, // 66 - RES_PARATR_NUMRULE, // 67 - RES_PARATR_SCRIPTSPACE, // 68 - RES_PARATR_HANGINGPUNCTUATION, // 69 - RES_PARATR_FORBIDDEN_RULES, // 70 - RES_PARATR_VERTALIGN, // 71 + RES_PARATR_ADJUST, // 59 + RES_PARATR_SPLIT, // 60 + RES_PARATR_ORPHANS, // 61 + RES_PARATR_WIDOWS, // 62 + RES_PARATR_TABSTOP, // 63 + RES_PARATR_HYPHENZONE, // 64 + RES_PARATR_DROP, // 65 + RES_PARATR_REGISTER, // 66 + RES_PARATR_NUMRULE, // 67 + RES_PARATR_SCRIPTSPACE, // 68 + RES_PARATR_HANGINGPUNCTUATION, // 69 + RES_PARATR_FORBIDDEN_RULES, // 70 + RES_PARATR_VERTALIGN, // 71 RES_PARATR_SNAPTOGRID, // 72 RES_PARATR_CONNECT_BORDER, // 73 RES_PARATR_OUTLINELEVEL, // 74 @@ -441,7 +441,7 @@ struct SfxItemInfo; typedef SfxPoolItem* SwDfltAttrTab[ POOLATTR_END - POOLATTR_BEGIN ]; extern SwDfltAttrTab __FAR_DATA aAttrTab; -extern SfxItemInfo __FAR_DATA aSlotTab[]; +extern SfxItemInfo __FAR_DATA aSlotTab[]; SW_DLLPUBLIC const SfxPoolItem* GetDfltAttr( USHORT nWhich ); @@ -449,8 +449,8 @@ SW_DLLPUBLIC USHORT GetWhichOfScript( USHORT nWhich, USHORT nScript ); // return for the given TextAttribut without an end the correct character. // This function returns -// CH_TXTATR_BREAKWORD for Textattribut which breaks a word (default) -// CH_TXTATR_INWORD for Textattribut which dont breaks a word +// CH_TXTATR_BREAKWORD for Textattribut which breaks a word (default) +// CH_TXTATR_INWORD for Textattribut which dont breaks a word class SwTxtAttr; sal_Unicode GetCharOfTxtAttr( const SwTxtAttr& rAttr ); diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx index 9381893d4de9..b37d722c80bf 100644 --- a/sw/inc/hints.hxx +++ b/sw/inc/hints.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -214,7 +214,7 @@ class SwVirtPageNumInfo: public SwMsgPoolItem { const SwPageFrm *pPage; const SwPageFrm *pOrigPage; - const SwFrm *pFrm; + const SwFrm *pFrm; // Multiple attributes can be attached to a single paragraph / table // The frame, in the end, has to decide which attribute takes effect and which physical page it involves public: diff --git a/sw/inc/htmltbl.hxx b/sw/inc/htmltbl.hxx index 70e30c4a5128..69bcf152b062 100644 --- a/sw/inc/htmltbl.hxx +++ b/sw/inc/htmltbl.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -34,7 +34,7 @@ #include <editeng/svxenum.hxx> #include "swtypes.hxx" -#include "node.hxx" // Fuer SwStartNode +#include "node.hxx" // Fuer SwStartNode class SwTableBox; @@ -47,11 +47,11 @@ class SwFrmFmt; class SwHTMLTableLayoutCnts { - SwHTMLTableLayoutCnts *pNext; // der naechste Inhalt + SwHTMLTableLayoutCnts *pNext; // der naechste Inhalt // von den beiden naechsten Pointern darf nur einer gesetzt sein! - SwTableBox *pBox; // ein Box - SwHTMLTableLayout *pTable; // eine "Tabelle in der Tabelle" + SwTableBox *pBox; // ein Box + SwHTMLTableLayout *pTable; // eine "Tabelle in der Tabelle" // Beim ersten Durchlauf gibt es noch keine Boxen. Es wird dann // pStartNode anstelle von pBox verwendet. @@ -61,10 +61,10 @@ class SwHTMLTableLayoutCnts // Inhalt durchgefuehrt wurde. Dazu werden sie mit einer Soll-Vorgabe // verglichen. Wird 255 erreicht laufen sie bei 0 weiter. So wird // eine Reinitialisierung bei jedem Resize vermieden. - BYTE nPass1Done; // Wieoft wurde Pass 1 aufgerufen? - BYTE nWidthSet; // Wieoft wurde die Breite gesetzt? + BYTE nPass1Done; // Wieoft wurde Pass 1 aufgerufen? + BYTE nWidthSet; // Wieoft wurde die Breite gesetzt? - BOOL bNoBreakTag; // <NOBR>-Tag ueber gesamten Inhalt + BOOL bNoBreakTag; // <NOBR>-Tag ueber gesamten Inhalt public: @@ -96,14 +96,14 @@ public: class SwHTMLTableLayoutCell { - SwHTMLTableLayoutCnts *pContents; // der Inhalt der Zelle + SwHTMLTableLayoutCnts *pContents; // der Inhalt der Zelle - USHORT nRowSpan; // ROWSPAN der Zelle - USHORT nColSpan; // COLSPAN der Zelle + USHORT nRowSpan; // ROWSPAN der Zelle + USHORT nColSpan; // COLSPAN der Zelle USHORT nWidthOption;// angegebene Breite der Zelle in Twip oder % BOOL bPrcWidthOption : 1;// nWidth ist %-Angabe - BOOL bNoWrapOption : 1; // NOWRAP-Option + BOOL bNoWrapOption : 1; // NOWRAP-Option public: @@ -142,10 +142,10 @@ class SwHTMLTableLayoutColumn ULONG nMin, nMax; // Ergibnisse von Pass 2 - USHORT nAbsColWidth; // in Twips - USHORT nRelColWidth; // in Twips bzw. relativ zu USHRT_MAX + USHORT nAbsColWidth; // in Twips + USHORT nRelColWidth; // in Twips bzw. relativ zu USHRT_MAX - USHORT nWidthOption; // Optionen von <COL> oder <TD>/<TH> + USHORT nWidthOption; // Optionen von <COL> oder <TD>/<TH> BOOL bRelWidthOption : 1; BOOL bLeftBorder : 1; @@ -189,36 +189,36 @@ public: class SwHTMLTableLayout { - Timer aResizeTimer; // Timer fuer DelayedResize + Timer aResizeTimer; // Timer fuer DelayedResize SwHTMLTableLayoutColumn **aColumns; SwHTMLTableLayoutCell **aCells; - const SwTable *pSwTable; // die SwTable (nur Top-Table) - SwTableBox *pLeftFillerBox; // linke Filler-Zelle (nur Tab in Tab) - SwTableBox *pRightFillerBox; // rechte Filler-Zelle (nur Tab-in Tab) + const SwTable *pSwTable; // die SwTable (nur Top-Table) + SwTableBox *pLeftFillerBox; // linke Filler-Zelle (nur Tab in Tab) + SwTableBox *pRightFillerBox; // rechte Filler-Zelle (nur Tab-in Tab) - ULONG nMin; // minimale Breite der Tabelle (Twips) - ULONG nMax; // maximale Breite der Tabelle (Twips) + ULONG nMin; // minimale Breite der Tabelle (Twips) + ULONG nMax; // maximale Breite der Tabelle (Twips) - USHORT nRows; // Anzahl Zeilen - USHORT nCols; // Anzahl Spalten + USHORT nRows; // Anzahl Zeilen + USHORT nCols; // Anzahl Spalten - USHORT nLeftMargin; // Abstand zum linken Rand (aus Absatz) - USHORT nRightMargin; // Abstand zum rechten Rand (aus Absatz) + USHORT nLeftMargin; // Abstand zum linken Rand (aus Absatz) + USHORT nRightMargin; // Abstand zum rechten Rand (aus Absatz) - USHORT nInhAbsLeftSpace; // von umgebender Zelle geerbter Abstand, - USHORT nInhAbsRightSpace; // der Zellen zugeschlagen wurde + USHORT nInhAbsLeftSpace; // von umgebender Zelle geerbter Abstand, + USHORT nInhAbsRightSpace; // der Zellen zugeschlagen wurde - USHORT nRelLeftFill; // relative Breiten der Zellen zur - USHORT nRelRightFill; // Ausrichtung von Tabellen in Tabellen + USHORT nRelLeftFill; // relative Breiten der Zellen zur + USHORT nRelRightFill; // Ausrichtung von Tabellen in Tabellen - USHORT nRelTabWidth; // Die relative Breite der Tabelle + USHORT nRelTabWidth; // Die relative Breite der Tabelle - USHORT nWidthOption; // die Breite der Tabelle (in Twip oder %) - USHORT nCellPadding; // Abstand zum Inhalt (in Twip) - USHORT nCellSpacing; // Absatnd zwischen Zellen (in Twip) - USHORT nBorder; // Dicke der ausseren Umrandung bzw. + USHORT nWidthOption; // die Breite der Tabelle (in Twip oder %) + USHORT nCellPadding; // Abstand zum Inhalt (in Twip) + USHORT nCellSpacing; // Absatnd zwischen Zellen (in Twip) + USHORT nBorder; // Dicke der ausseren Umrandung bzw. // Platz, den Netscape hierfuer einrechnet. USHORT nLeftBorderWidth; @@ -227,31 +227,31 @@ class SwHTMLTableLayout USHORT nInhRightBorderWidth; USHORT nBorderWidth; - USHORT nDelayedResizeAbsAvail; // Param fuer's verzoegerte Resize + USHORT nDelayedResizeAbsAvail; // Param fuer's verzoegerte Resize USHORT nLastResizeAbsAvail; - BYTE nPass1Done; // Vorgabe-Werte fuer die einzelen - BYTE nWidthSet; // Schleifen-Durchlauefe + BYTE nPass1Done; // Vorgabe-Werte fuer die einzelen + BYTE nWidthSet; // Schleifen-Durchlauefe - SvxAdjust eTableAdjust; // Die Ausrichtung der Tabelle + SvxAdjust eTableAdjust; // Die Ausrichtung der Tabelle - BOOL bColsOption : 1; // Tabelle besitzt eine COLS-Option - BOOL bColTags : 1; // Tabelle besitzt COL/COLGRP-Tags - BOOL bPrcWidthOption : 1; // Breite ist eine %-Angabe - BOOL bUseRelWidth : 1; // SwTable bekommt relative Breite + BOOL bColsOption : 1; // Tabelle besitzt eine COLS-Option + BOOL bColTags : 1; // Tabelle besitzt COL/COLGRP-Tags + BOOL bPrcWidthOption : 1; // Breite ist eine %-Angabe + BOOL bUseRelWidth : 1; // SwTable bekommt relative Breite - BOOL bMustResize : 1; // Tabelle muss in der Breite ang. werden - BOOL bExportable : 1; // Layout kann zum Export genutzt werden - BOOL bBordersChanged : 1; // Umrandung wurde geaendert - BOOL bMayBeInFlyFrame : 1; // Die Tabelle koennte im Rahmen sein + BOOL bMustResize : 1; // Tabelle muss in der Breite ang. werden + BOOL bExportable : 1; // Layout kann zum Export genutzt werden + BOOL bBordersChanged : 1; // Umrandung wurde geaendert + BOOL bMayBeInFlyFrame : 1; // Die Tabelle koennte im Rahmen sein - BOOL bDelayedResizeRecalc : 1; // Param fuer's verzoegerte Resize - BOOL bMustNotResize : 1; // Die Tabelle darf nicht reseized werden - BOOL bMustNotRecalc : 1; // Tabelle darf nicht an Inhalt angepasst + BOOL bDelayedResizeRecalc : 1; // Param fuer's verzoegerte Resize + BOOL bMustNotResize : 1; // Die Tabelle darf nicht reseized werden + BOOL bMustNotRecalc : 1; // Tabelle darf nicht an Inhalt angepasst // werden -// USHORT GetLeftBorderWidth( USHORT nCol ) const; -// USHORT GetRightBorderWidth( USHORT nCol, USHORT nColSpan ) const; +// USHORT GetLeftBorderWidth( USHORT nCol ) const; +// USHORT GetRightBorderWidth( USHORT nCol, USHORT nColSpan ) const; void AddBorderWidth( ULONG &rMin, ULONG &rMax, ULONG& rAbsMin, USHORT nCol, USHORT nColSpan, @@ -339,7 +339,7 @@ public: // ignoriert, die Verzeogerung wird aber ggf. uebernommen. // - Wenn nDelay==HTMLTABLE_RESIZE_NOW ist, wird sofort Resized und // eventuell noch asstehende Resize-Aufrufe werden nicht mehr - // ausgefuehrt. + // ausgefuehrt. // - Der Rueckgabewert gibt an, ob sich die Tabelle geaendert hat. BOOL Resize( USHORT nAbsAvail, BOOL bRecalc=FALSE, BOOL bForce=FALSE, ULONG nDelay=0 ); diff --git a/sw/inc/index.hrc b/sw/inc/index.hrc index badc0278b137..235277402a0f 100644 --- a/sw/inc/index.hrc +++ b/sw/inc/index.hrc @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -34,24 +34,24 @@ #include "rcid.hrc" -#define DLG_FORMEDT (RC_INDEX_BEGIN + 0) -#define DLG_IDX (RC_INDEX_BEGIN + 1) +#define DLG_FORMEDT (RC_INDEX_BEGIN + 0) +#define DLG_IDX (RC_INDEX_BEGIN + 1) #define DLG_USRIDX (RC_INDEX_BEGIN + 2) #define DLG_INSIDXMARK (RC_INDEX_BEGIN + 3) #define DLG_CNTTABLE (RC_INDEX_BEGIN + 4) #define DLG_MULTMRK (RC_INDEX_BEGIN + 5) -#define STR_TITLE (RC_INDEX_BEGIN + 6) -#define STR_ALPHA (RC_INDEX_BEGIN + 7) -#define STR_LEVEL (RC_INDEX_BEGIN + 8) +#define STR_TITLE (RC_INDEX_BEGIN + 6) +#define STR_ALPHA (RC_INDEX_BEGIN + 7) +#define STR_LEVEL (RC_INDEX_BEGIN + 8) #define DLG_INSAUTHMARK (RC_INDEX_BEGIN + 9) #define DLG_CREATE_AUTH_ENTRY (RC_INDEX_BEGIN + 10) -#define DLG_EDIT_IDXMARK (RC_INDEX_BEGIN + 11) +#define DLG_EDIT_IDXMARK (RC_INDEX_BEGIN + 11) #define DLG_EDIT_AUTHMARK (RC_INDEX_BEGIN + 12) -#define STR_IDXMRK_INSERT (RC_INDEX_BEGIN + 13) -#define STR_IDXMRK_EDIT (RC_INDEX_BEGIN + 14) +#define STR_IDXMRK_INSERT (RC_INDEX_BEGIN + 13) +#define STR_IDXMRK_EDIT (RC_INDEX_BEGIN + 14) #define STR_AUTHMRK_EDIT (RC_INDEX_BEGIN + 15) #define STR_AUTHMRK_INSERT (RC_INDEX_BEGIN + 16) @@ -63,4 +63,4 @@ #define DLG_EDIT_IDXMARK_CJK (RC_INDEX_BEGIN + 21) #define DLG_INSIDXMARK_CJK (RC_INDEX_BEGIN + 22) -#endif // _INDEX_HRC +#endif // _INDEX_HRC diff --git a/sw/inc/index.hxx b/sw/inc/index.hxx index 8a18d2d09996..41f9a2d30f66 100644 --- a/sw/inc/index.hxx +++ b/sw/inc/index.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -30,8 +30,8 @@ #include <limits.h> #include <tools/solar.h> -#include <tools/rtti.hxx> // for RTTI of SwIndexReg -#include <tools/string.hxx> // for xub_StrLen +#include <tools/rtti.hxx> // for RTTI of SwIndexReg +#include <tools/string.hxx> // for xub_StrLen #include <swdllapi.h> #define INVALID_INDEX STRING_NOTFOUND @@ -56,12 +56,12 @@ class SW_DLLPUBLIC SwIndex int MySerial; #endif - xub_StrLen nIndex; - SwIndexReg* pArray; + xub_StrLen nIndex; + SwIndexReg* pArray; SwIndex *pNext, *pPrev; SwIndex& ChgValue( const SwIndex& rIdx, xub_StrLen nNewValue ); - void Remove(); // Ausketten + void Remove(); // Ausketten public: explicit SwIndex(SwIndexReg *const pReg, xub_StrLen const nIdx = 0); @@ -91,7 +91,7 @@ public: BOOL operator!=( const SwIndex& rSwIndex ) const { return (nIndex != rSwIndex.nIndex) || (pArray != rSwIndex.pArray); } - BOOL operator<( xub_StrLen nWert ) const { return nIndex < nWert; } + BOOL operator<( xub_StrLen nWert ) const { return nIndex < nWert; } BOOL operator<=( xub_StrLen nWert ) const { return nIndex <= nWert; } BOOL operator>( xub_StrLen nWert ) const { return nIndex > nWert; } BOOL operator>=( xub_StrLen nWert ) const { return nIndex >= nWert; } @@ -102,7 +102,7 @@ public: SwIndex& operator=( const SwIndex & ); // gebe den Wert vom Index als xub_StrLen zurueck - xub_StrLen GetIndex() const { return nIndex; } + xub_StrLen GetIndex() const { return nIndex; } // ermoeglicht Zuweisungen ohne Erzeugen eines temporaeren // Objektes diff --git a/sw/inc/inetfld.hxx b/sw/inc/inetfld.hxx index 19b5666fa648..ef1ebbfe71a8 100644 --- a/sw/inc/inetfld.hxx +++ b/sw/inc/inetfld.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -52,9 +52,9 @@ public: virtual SwFieldType* Copy() const; - SwCharFmt* GetCharFmt( const SwINetField& rFld ); + SwCharFmt* GetCharFmt( const SwINetField& rFld ); - SwDoc* GetDoc() const { return pDoc; } + SwDoc* GetDoc() const { return pDoc; } }; /*-------------------------------------------------------------------- @@ -65,7 +65,7 @@ class SwINetField : public SwField { friend class SwINetFieldType; - String sTargetFrameName; // in diesen Frame soll die URL + String sTargetFrameName; // in diesen Frame soll die URL String sURL; String sText; SvxMacroTableDtor* pMacroTbl; @@ -74,31 +74,31 @@ public: // Direkte Eingabe alten Wert loeschen SwINetField( SwINetFieldType* pTyp, USHORT nFmt, const String& rURL, const String& rText ); - virtual ~SwINetField(); + virtual ~SwINetField(); - virtual String GetCntnt(BOOL bName = FALSE) const; - virtual String Expand() const; + virtual String GetCntnt(BOOL bName = FALSE) const; + virtual String Expand() const; virtual SwField* Copy() const; // URL virtual const String& GetPar1() const; - virtual void SetPar1(const String& rStr); + virtual void SetPar1(const String& rStr); // HinweisText - virtual String GetPar2() const; - virtual void SetPar2(const String& rStr); + virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); // das ist das akt. Zeichenformat SwCharFmt* GetCharFmt(); const SwCharFmt* GetCharFmt() const { return ((SwINetField*)this)->GetCharFmt(); } - const String& GetTargetFrameName() const { return sTargetFrameName; } - void SetTargetFrameName( const String& rNm ) { sTargetFrameName = rNm; } + const String& GetTargetFrameName() const { return sTargetFrameName; } + void SetTargetFrameName( const String& rNm ) { sTargetFrameName = rNm; } // setze eine neue oder loesche die akt. MakroTabelle void SetMacroTbl( const SvxMacroTableDtor* pTbl = 0 ); - const SvxMacroTableDtor* GetMacroTbl() const { return pMacroTbl; } + const SvxMacroTableDtor* GetMacroTbl() const { return pMacroTbl; } // setze / erfrage ein Makro void SetMacro( USHORT nEvent, const SvxMacro& rMacro ); diff --git a/sw/inc/init.hxx b/sw/inc/init.hxx index 42f540615c9c..f268b01366e8 100644 --- a/sw/inc/init.hxx +++ b/sw/inc/init.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -30,10 +30,10 @@ class ViewShell; -void _InitCore(); // bastyp/init.cxx +void _InitCore(); // bastyp/init.cxx void _FinitCore(); -void _InitFilter(); // basflt/fltini.cxx +void _InitFilter(); // basflt/fltini.cxx void _FinitFilter(); // layout/newfrm.cxx diff --git a/sw/inc/io.hxx b/sw/inc/io.hxx index 7db22fc9de19..37b08252dce2 100644 --- a/sw/inc/io.hxx +++ b/sw/inc/io.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/iodetect.hxx b/sw/inc/iodetect.hxx index 1fbf9b82262c..3a94d5a63fb6 100644 --- a/sw/inc/iodetect.hxx +++ b/sw/inc/iodetect.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -33,7 +33,7 @@ #include <sfx2/docfile.hxx> #include <sfx2/fcontnr.hxx> #include <osl/endian.h> -#include <errhdl.hxx> // for ASSERT +#include <errhdl.hxx> // for ASSERT #include <tools/string.hxx> #include <swdllapi.h> @@ -116,7 +116,7 @@ public: static BOOL IsValidStgFilter( SotStorage& , const SfxFilter& ); static BOOL IsValidStgFilter( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& rStg, const SfxFilter& rFilter); - static bool IsDetectableText( const sal_Char* pBuf, ULONG &rLen, + static bool IsDetectableText( const sal_Char* pBuf, ULONG &rLen, CharSet *pCharSet=0, bool *pSwap=0, LineEnd *pLineEnd=0, bool bEncodedFilter = false ); // static bool IsDetectableW4W(const String& rFileName, const String& rUserData); diff --git a/sw/inc/istyleaccess.hxx b/sw/inc/istyleaccess.hxx index 491bc239d635..24a049bf5316 100644 --- a/sw/inc/istyleaccess.hxx +++ b/sw/inc/istyleaccess.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/itabenum.hxx b/sw/inc/itabenum.hxx index 919e296593ef..d0489ddbd1dd 100644 --- a/sw/inc/itabenum.hxx +++ b/sw/inc/itabenum.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/lineinfo.hxx b/sw/inc/lineinfo.hxx index 3aaca94d8b35..ae12939040a9 100644 --- a/sw/inc/lineinfo.hxx +++ b/sw/inc/lineinfo.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -46,17 +46,17 @@ enum LineNumberPosition class SW_DLLPUBLIC SwLineNumberInfo : public SwClient //purpose of derivation from SwClient: //character style for displaying the numbers. { - SvxNumberType aType; //e.g. roman linenumbers - String aDivider; //String for aditional interval (vert. lines user defined) - USHORT nPosFromLeft; //Position for paint - USHORT nCountBy; //Paint only for every n line - USHORT nDividerCountBy; //Interval for display of an user defined + SvxNumberType aType; //e.g. roman linenumbers + String aDivider; //String for aditional interval (vert. lines user defined) + USHORT nPosFromLeft; //Position for paint + USHORT nCountBy; //Paint only for every n line + USHORT nDividerCountBy; //Interval for display of an user defined //string every n lines - LineNumberPosition ePos; //Where should the display occur (number and divicer) - BOOL bPaintLineNumbers; //Should anything be displayed? - BOOL bCountBlankLines; //Count empty lines? - BOOL bCountInFlys; //Count also within FlyFrames? - BOOL bRestartEachPage; //Restart counting at the first paragraph of each page + LineNumberPosition ePos; //Where should the display occur (number and divicer) + BOOL bPaintLineNumbers; //Should anything be displayed? + BOOL bCountBlankLines; //Count empty lines? + BOOL bCountInFlys; //Count also within FlyFrames? + BOOL bRestartEachPage; //Restart counting at the first paragraph of each page //(even on follows when paragraphs are splitted) public: @@ -69,36 +69,36 @@ public: SwCharFmt *GetCharFmt( IDocumentStylePoolAccess& rIDSPA ) const; void SetCharFmt( SwCharFmt* ); - const SvxNumberType &GetNumType() const { return aType; } - void SetNumType( SvxNumberType aNew ){ aType = aNew; } + const SvxNumberType &GetNumType() const { return aType; } + void SetNumType( SvxNumberType aNew ){ aType = aNew; } - const String &GetDivider() const { return aDivider; } - void SetDivider( const String &r ) { aDivider = r; } - USHORT GetDividerCountBy() const { return nDividerCountBy; } - void SetDividerCountBy( USHORT n ) { nDividerCountBy = n; } + const String &GetDivider() const { return aDivider; } + void SetDivider( const String &r ) { aDivider = r; } + USHORT GetDividerCountBy() const { return nDividerCountBy; } + void SetDividerCountBy( USHORT n ) { nDividerCountBy = n; } - USHORT GetPosFromLeft() const { return nPosFromLeft; } - void SetPosFromLeft( USHORT n) { nPosFromLeft = n; } + USHORT GetPosFromLeft() const { return nPosFromLeft; } + void SetPosFromLeft( USHORT n) { nPosFromLeft = n; } - USHORT GetCountBy() const { return nCountBy; } - void SetCountBy( USHORT n) { nCountBy = n; } + USHORT GetCountBy() const { return nCountBy; } + void SetCountBy( USHORT n) { nCountBy = n; } - LineNumberPosition GetPos() const { return ePos; } + LineNumberPosition GetPos() const { return ePos; } void SetPos( LineNumberPosition eP ){ ePos = eP; } - BOOL IsPaintLineNumbers() const { return bPaintLineNumbers; } - void SetPaintLineNumbers( BOOL b ){ bPaintLineNumbers = b; } + BOOL IsPaintLineNumbers() const { return bPaintLineNumbers; } + void SetPaintLineNumbers( BOOL b ){ bPaintLineNumbers = b; } - BOOL IsCountBlankLines() const { return bCountBlankLines; } - void SetCountBlankLines( BOOL b ) { bCountBlankLines = b; } + BOOL IsCountBlankLines() const { return bCountBlankLines; } + void SetCountBlankLines( BOOL b ) { bCountBlankLines = b; } - BOOL IsCountInFlys() const { return bCountInFlys; } - void SetCountInFlys( BOOL b ) { bCountInFlys = b; } + BOOL IsCountInFlys() const { return bCountInFlys; } + void SetCountInFlys( BOOL b ) { bCountInFlys = b; } - BOOL IsRestartEachPage() const { return bRestartEachPage; } - void SetRestartEachPage( BOOL b ) { bRestartEachPage = b; } + BOOL IsRestartEachPage() const { return bRestartEachPage; } + void SetRestartEachPage( BOOL b ) { bRestartEachPage = b; } - virtual void Modify( SfxPoolItem*, SfxPoolItem* ); + virtual void Modify( SfxPoolItem*, SfxPoolItem* ); }; diff --git a/sw/inc/linkenum.hxx b/sw/inc/linkenum.hxx index 7f832368a539..0c196ec26d26 100644 --- a/sw/inc/linkenum.hxx +++ b/sw/inc/linkenum.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/list.hxx b/sw/inc/list.hxx index 4bfc4d3ca1c7..bcd9e0b90cda 100644 --- a/sw/inc/list.hxx +++ b/sw/inc/list.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/listfunc.hxx b/sw/inc/listfunc.hxx index fc883875b3fd..50678d9345fb 100644 --- a/sw/inc/listfunc.hxx +++ b/sw/inc/listfunc.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/mdiexp.hxx b/sw/inc/mdiexp.hxx index 42464463fed3..18bac3b8591e 100644 --- a/sw/inc/mdiexp.hxx +++ b/sw/inc/mdiexp.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -54,8 +54,8 @@ extern void PageNumNotify( ViewShell* pVwSh, enum FlyMode { FLY_DRAG_START, FLY_DRAG, FLY_DRAG_END }; extern void FrameNotify( ViewShell* pVwSh, FlyMode eMode = FLY_DRAG ); -SW_DLLPUBLIC void StartProgress ( USHORT nMessId, long nStartVal, long nEndVal, SwDocShell *pDocSh = 0 ); -SW_DLLPUBLIC void EndProgress ( SwDocShell *pDocSh = 0 ); +SW_DLLPUBLIC void StartProgress ( USHORT nMessId, long nStartVal, long nEndVal, SwDocShell *pDocSh = 0 ); +SW_DLLPUBLIC void EndProgress ( SwDocShell *pDocSh = 0 ); SW_DLLPUBLIC void SetProgressState ( long nPosition, SwDocShell *pDocShell ); void SetProgressText ( USHORT nMessId, SwDocShell *pDocShell ); void RescheduleProgress( SwDocShell *pDocShell ); diff --git a/sw/inc/modcfg.hxx b/sw/inc/modcfg.hxx index 6018065b23a4..3c2218d44616 100644 --- a/sw/inc/modcfg.hxx +++ b/sw/inc/modcfg.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -61,24 +61,24 @@ class SwRevisionConfig : public utl::ConfigItem { friend class SwModuleOptions; - AuthorCharAttr aInsertAttr; //Revision/TextDisplay/Insert/Attribute // Redlining: Author-Zeichenattribute + AuthorCharAttr aInsertAttr; //Revision/TextDisplay/Insert/Attribute // Redlining: Author-Zeichenattribute //Revision/TextDisplay/Insert/Color - AuthorCharAttr aDeletedAttr; //Revision/TextDisplay/Delete/Attribute + AuthorCharAttr aDeletedAttr; //Revision/TextDisplay/Delete/Attribute //Revision/TextDisplay/Delete/Color - AuthorCharAttr aFormatAttr; //Revision/TextDisplay/ChangeAttribute/Attribute + AuthorCharAttr aFormatAttr; //Revision/TextDisplay/ChangeAttribute/Attribute //Revision/TextDisplay/ChangeAttribute/Color - USHORT nMarkAlign; //Revision/LinesChanged/Mark - Color aMarkColor; //Revision/LinesChanged/Color + USHORT nMarkAlign; //Revision/LinesChanged/Mark + Color aMarkColor; //Revision/LinesChanged/Color const com::sun::star::uno::Sequence<rtl::OUString>& GetPropertyNames(); public: SwRevisionConfig(); ~SwRevisionConfig(); - virtual void Commit(); + virtual void Commit(); virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); - void Load(); - void SetModified(){ConfigItem::SetModified();} + void Load(); + void SetModified(){ConfigItem::SetModified();} }; /* -----------------------------11.10.00 09:00-------------------------------- @@ -87,29 +87,29 @@ class SwInsertConfig : public utl::ConfigItem { friend class SwModuleOptions; - InsCaptionOptArr* pCapOptions; - InsCaptionOpt* pOLEMiscOpt; + InsCaptionOptArr* pCapOptions; + InsCaptionOpt* pOLEMiscOpt; - SvGlobalName aGlobalNames[5]; + SvGlobalName aGlobalNames[5]; - sal_Bool bInsWithCaption; //Insert/Caption/Automatic // Objekte beschriftet einfuegen + sal_Bool bInsWithCaption; //Insert/Caption/Automatic // Objekte beschriftet einfuegen sal_Bool bCaptionOrderNumberingFirst; //#i61007# caption order starting with numbering -// sal_uInt16 nInsTblFlags; //Insert/Table/Header // Flags fuer Tabellen einfuegen +// sal_uInt16 nInsTblFlags; //Insert/Table/Header // Flags fuer Tabellen einfuegen //Insert/Table/RepeatHeader //Insert/Table/Split //Insert/Table/Border - SwInsertTableOptions aInsTblOpts; - sal_Bool bIsWeb; + SwInsertTableOptions aInsTblOpts; + sal_Bool bIsWeb; const com::sun::star::uno::Sequence<rtl::OUString>& GetPropertyNames(); public: SwInsertConfig(sal_Bool bWeb); ~SwInsertConfig(); - virtual void Commit(); + virtual void Commit(); virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); - void Load(); - void SetModified(){ConfigItem::SetModified();} + void Load(); + void SetModified(){ConfigItem::SetModified();} }; /* -----------------------------11.10.00 09:00-------------------------------- @@ -118,25 +118,25 @@ class SwTableConfig : public utl::ConfigItem { friend class SwModuleOptions; - USHORT nTblHMove; //int Table/Shift/Row - USHORT nTblVMove; //int Table/Shift/Column - USHORT nTblHInsert; //int Table/Insert/Row - USHORT nTblVInsert; //int Table/Insert/Column - TblChgMode eTblChgMode; //int Table/Change/Effect + USHORT nTblHMove; //int Table/Shift/Row + USHORT nTblVMove; //int Table/Shift/Column + USHORT nTblHInsert; //int Table/Insert/Row + USHORT nTblVInsert; //int Table/Insert/Column + TblChgMode eTblChgMode; //int Table/Change/Effect - sal_Bool bInsTblFormatNum; // Table/Input/NumberRecognition // Automatische Zahlenerkennung - sal_Bool bInsTblChangeNumFormat; // Table/Input/NumberFormatRecognition // Automatische Zahlenformaterkennung - sal_Bool bInsTblAlignNum; // Table/Input/Alignment // Zahlen ausrichten + sal_Bool bInsTblFormatNum; // Table/Input/NumberRecognition // Automatische Zahlenerkennung + sal_Bool bInsTblChangeNumFormat; // Table/Input/NumberFormatRecognition // Automatische Zahlenformaterkennung + sal_Bool bInsTblAlignNum; // Table/Input/Alignment // Zahlen ausrichten const com::sun::star::uno::Sequence<rtl::OUString>& GetPropertyNames(); public: SwTableConfig(sal_Bool bWeb); ~SwTableConfig(); - virtual void Commit(); + virtual void Commit(); virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); - void Load(); - void SetModified(){ConfigItem::SetModified();} + void Load(); + void SetModified(){ConfigItem::SetModified();} }; /* -----------------------------18.01.01 16:57-------------------------------- @@ -145,28 +145,28 @@ class SwMiscConfig : public utl::ConfigItem { friend class SwModuleOptions; - String sWordDelimiter; // Statistics/WordNumber/Delimiter - BOOL bDefaultFontsInCurrDocOnly; // DefaultFont/Document - BOOL bShowIndexPreview ; // Index/ShowPreview - BOOL bGrfToGalleryAsLnk; // Misc/GraphicToGalleryAsLink - BOOL bNumAlignSize; // Numbering/Graphic/KeepRatio - BOOL bSinglePrintJob; // FormLetter/PrintOutput/SinglePrintJobs - BOOL bIsNameFromColumn; // FormLetter/FileOutput/FileName/Generation + String sWordDelimiter; // Statistics/WordNumber/Delimiter + BOOL bDefaultFontsInCurrDocOnly; // DefaultFont/Document + BOOL bShowIndexPreview ; // Index/ShowPreview + BOOL bGrfToGalleryAsLnk; // Misc/GraphicToGalleryAsLink + BOOL bNumAlignSize; // Numbering/Graphic/KeepRatio + BOOL bSinglePrintJob; // FormLetter/PrintOutput/SinglePrintJobs + BOOL bIsNameFromColumn; // FormLetter/FileOutput/FileName/Generation BOOL bAskForMailMergeInPrint; // Ask if documents containing fields should be 'mailmerged' - sal_Int16 nMailingFormats; // FormLetter/MailingOutput/Formats - String sNameFromColumn; // FormLetter/FileOutput/FileName/FromDatabaseField (string!) - String sMailingPath; // FormLetter/FileOutput/Path - String sMailName; // FormLetter/FileOutput/FileName/FromManualSetting (string!) + sal_Int16 nMailingFormats; // FormLetter/MailingOutput/Formats + String sNameFromColumn; // FormLetter/FileOutput/FileName/FromDatabaseField (string!) + String sMailingPath; // FormLetter/FileOutput/Path + String sMailName; // FormLetter/FileOutput/FileName/FromManualSetting (string!) const com::sun::star::uno::Sequence<rtl::OUString>& GetPropertyNames(); public: SwMiscConfig(); ~SwMiscConfig(); - virtual void Commit(); + virtual void Commit(); virtual void Notify( const ::com::sun::star::uno::Sequence< rtl::OUString >& aPropertyNames ); - void Load(); - void SetModified(){ConfigItem::SetModified();} + void Load(); + void SetModified(){ConfigItem::SetModified();} }; /* --------------------------------------------------------------------------- @@ -174,171 +174,171 @@ class SwMiscConfig : public utl::ConfigItem ---------------------------------------------------------------------------*/ class SW_DLLPUBLIC SwModuleOptions { - SwRevisionConfig aRevisionConfig; - SwInsertConfig aInsertConfig; - SwInsertConfig aWebInsertConfig; + SwRevisionConfig aRevisionConfig; + SwInsertConfig aInsertConfig; + SwInsertConfig aWebInsertConfig; - SwTableConfig aTableConfig; - SwTableConfig aWebTableConfig; + SwTableConfig aTableConfig; + SwTableConfig aWebTableConfig; - SwMiscConfig aMiscConfig; + SwMiscConfig aMiscConfig; //fiscus: don't show tips of text fields - it's not part of the configuration! - BOOL bHideFieldTips : 1; + BOOL bHideFieldTips : 1; public: SwModuleOptions(); - TblChgMode GetTblMode() const { return aTableConfig.eTblChgMode;} - void SetTblMode( TblChgMode eSet ) { aTableConfig.eTblChgMode = eSet; + TblChgMode GetTblMode() const { return aTableConfig.eTblChgMode;} + void SetTblMode( TblChgMode eSet ) { aTableConfig.eTblChgMode = eSet; aTableConfig.SetModified();} - USHORT GetTblHMove() const { return aTableConfig.nTblHMove;} - void SetTblHMove( USHORT nSet ) { aTableConfig.nTblHMove = nSet; + USHORT GetTblHMove() const { return aTableConfig.nTblHMove;} + void SetTblHMove( USHORT nSet ) { aTableConfig.nTblHMove = nSet; aTableConfig.SetModified();} - USHORT GetTblVMove() const { return aTableConfig.nTblVMove;} - void SetTblVMove( USHORT nSet ) { aTableConfig.nTblVMove = nSet; + USHORT GetTblVMove() const { return aTableConfig.nTblVMove;} + void SetTblVMove( USHORT nSet ) { aTableConfig.nTblVMove = nSet; aTableConfig.SetModified();} - USHORT GetTblHInsert() const {return aTableConfig.nTblHInsert;} - void SetTblHInsert( USHORT nSet ) { aTableConfig.nTblHInsert = nSet; + USHORT GetTblHInsert() const {return aTableConfig.nTblHInsert;} + void SetTblHInsert( USHORT nSet ) { aTableConfig.nTblHInsert = nSet; aTableConfig.SetModified();} - USHORT GetTblVInsert() const {return aTableConfig.nTblVInsert;} - void SetTblVInsert( USHORT nSet ) { aTableConfig.nTblVInsert = nSet; + USHORT GetTblVInsert() const {return aTableConfig.nTblVInsert;} + void SetTblVInsert( USHORT nSet ) { aTableConfig.nTblVInsert = nSet; aTableConfig.SetModified();} - const AuthorCharAttr &GetInsertAuthorAttr() const { return aRevisionConfig.aInsertAttr; } - void SetInsertAuthorAttr( AuthorCharAttr &rAttr ) { aRevisionConfig.aInsertAttr = rAttr; + const AuthorCharAttr &GetInsertAuthorAttr() const { return aRevisionConfig.aInsertAttr; } + void SetInsertAuthorAttr( AuthorCharAttr &rAttr ) { aRevisionConfig.aInsertAttr = rAttr; aRevisionConfig.SetModified();} - const AuthorCharAttr &GetDeletedAuthorAttr() const { return aRevisionConfig.aDeletedAttr; } - void SetDeletedAuthorAttr( AuthorCharAttr &rAttr ) { aRevisionConfig.aDeletedAttr = rAttr; + const AuthorCharAttr &GetDeletedAuthorAttr() const { return aRevisionConfig.aDeletedAttr; } + void SetDeletedAuthorAttr( AuthorCharAttr &rAttr ) { aRevisionConfig.aDeletedAttr = rAttr; aRevisionConfig.SetModified();} - const AuthorCharAttr &GetFormatAuthorAttr() const { return aRevisionConfig.aFormatAttr; } - void SetFormatAuthorAttr( AuthorCharAttr &rAttr ) { aRevisionConfig.aFormatAttr = rAttr; + const AuthorCharAttr &GetFormatAuthorAttr() const { return aRevisionConfig.aFormatAttr; } + void SetFormatAuthorAttr( AuthorCharAttr &rAttr ) { aRevisionConfig.aFormatAttr = rAttr; aRevisionConfig.SetModified();} - USHORT GetMarkAlignMode() const { return aRevisionConfig.nMarkAlign; } - void SetMarkAlignMode(USHORT nMode) { aRevisionConfig.nMarkAlign = nMode; + USHORT GetMarkAlignMode() const { return aRevisionConfig.nMarkAlign; } + void SetMarkAlignMode(USHORT nMode) { aRevisionConfig.nMarkAlign = nMode; aRevisionConfig.SetModified();} - const Color& GetMarkAlignColor() const { return aRevisionConfig.aMarkColor; } - void SetMarkAlignColor(const Color &rColor) { aRevisionConfig.aMarkColor = rColor; + const Color& GetMarkAlignColor() const { return aRevisionConfig.aMarkColor; } + void SetMarkAlignColor(const Color &rColor) { aRevisionConfig.aMarkColor = rColor; aRevisionConfig.SetModified();} - BOOL IsInsWithCaption(BOOL bHTML) const + BOOL IsInsWithCaption(BOOL bHTML) const { return bHTML ? FALSE : aInsertConfig.bInsWithCaption; } - void SetInsWithCaption( BOOL bHTML, BOOL b ) - { if(!bHTML) + void SetInsWithCaption( BOOL bHTML, BOOL b ) + { if(!bHTML) aInsertConfig.bInsWithCaption = b; aInsertConfig.SetModified();} sal_Bool IsCaptionOrderNumberingFirst() const { return aInsertConfig.bCaptionOrderNumberingFirst; } - void SetCaptionOrderNumberingFirst( sal_Bool bSet ) - { + void SetCaptionOrderNumberingFirst( sal_Bool bSet ) + { if(aInsertConfig.bCaptionOrderNumberingFirst != bSet) { - aInsertConfig.bCaptionOrderNumberingFirst = bSet; + aInsertConfig.bCaptionOrderNumberingFirst = bSet; aInsertConfig.SetModified(); } } - BOOL IsInsTblFormatNum(BOOL bHTML) const + BOOL IsInsTblFormatNum(BOOL bHTML) const { return bHTML ? aWebTableConfig.bInsTblFormatNum : aTableConfig.bInsTblFormatNum; } - void SetInsTblFormatNum( BOOL bHTML, BOOL b ) + void SetInsTblFormatNum( BOOL bHTML, BOOL b ) { bHTML ? (aWebTableConfig.bInsTblFormatNum = b) : (aTableConfig.bInsTblFormatNum = b); bHTML ? aWebTableConfig.SetModified() : aTableConfig.SetModified();} - BOOL IsInsTblChangeNumFormat(BOOL bHTML) const + BOOL IsInsTblChangeNumFormat(BOOL bHTML) const { return bHTML ? aWebTableConfig.bInsTblChangeNumFormat : aTableConfig.bInsTblChangeNumFormat; } - void SetInsTblChangeNumFormat( BOOL bHTML, BOOL b ) + void SetInsTblChangeNumFormat( BOOL bHTML, BOOL b ) { bHTML ? (aWebTableConfig.bInsTblChangeNumFormat = b) : (aTableConfig.bInsTblChangeNumFormat = b); bHTML ? aWebTableConfig.SetModified() : aTableConfig.SetModified();} - BOOL IsInsTblAlignNum(BOOL bHTML) const + BOOL IsInsTblAlignNum(BOOL bHTML) const { return bHTML ? aWebTableConfig.bInsTblAlignNum : aTableConfig.bInsTblAlignNum; } - void SetInsTblAlignNum( BOOL bHTML, BOOL b ) + void SetInsTblAlignNum( BOOL bHTML, BOOL b ) { bHTML ? (aWebTableConfig.bInsTblAlignNum = b) : (aTableConfig.bInsTblAlignNum = b); bHTML ? aWebTableConfig.SetModified() : aTableConfig.SetModified();;} SwInsertTableOptions GetInsTblFlags(BOOL bHTML) const { return bHTML ? aWebInsertConfig.aInsTblOpts : aInsertConfig.aInsTblOpts;} - void SetInsTblFlags( BOOL bHTML, const SwInsertTableOptions& rOpts ) { + void SetInsTblFlags( BOOL bHTML, const SwInsertTableOptions& rOpts ) { bHTML ? (aWebInsertConfig.aInsTblOpts = rOpts) : (aInsertConfig.aInsTblOpts = rOpts); bHTML ? aWebInsertConfig.SetModified() : aInsertConfig.SetModified();} const InsCaptionOpt* GetCapOption(BOOL bHTML, const SwCapObjType eType, const SvGlobalName *pOleId); - BOOL SetCapOption(BOOL bHTML, const InsCaptionOpt* pOpt); + BOOL SetCapOption(BOOL bHTML, const InsCaptionOpt* pOpt); - BOOL IsGrfToGalleryAsLnk() const { return aMiscConfig.bGrfToGalleryAsLnk; } - void SetGrfToGalleryAsLnk( BOOL b ) { aMiscConfig.bGrfToGalleryAsLnk = b; + BOOL IsGrfToGalleryAsLnk() const { return aMiscConfig.bGrfToGalleryAsLnk; } + void SetGrfToGalleryAsLnk( BOOL b ) { aMiscConfig.bGrfToGalleryAsLnk = b; aMiscConfig.SetModified();} - sal_Int16 GetMailingFormats() const { return aMiscConfig.nMailingFormats;} - void SetMailingFormats( sal_Int16 nSet ) { aMiscConfig.nMailingFormats = nSet; + sal_Int16 GetMailingFormats() const { return aMiscConfig.nMailingFormats;} + void SetMailingFormats( sal_Int16 nSet ) { aMiscConfig.nMailingFormats = nSet; aMiscConfig.SetModified();} - BOOL IsSinglePrintJob() const { return aMiscConfig.bSinglePrintJob; } - void SetSinglePrintJob( BOOL b ) { aMiscConfig.bSinglePrintJob = b; + BOOL IsSinglePrintJob() const { return aMiscConfig.bSinglePrintJob; } + void SetSinglePrintJob( BOOL b ) { aMiscConfig.bSinglePrintJob = b; aMiscConfig.SetModified();} - BOOL IsNumAlignSize() const { return aMiscConfig.bNumAlignSize; } - void SetNumAlignSize( BOOL b ) { aMiscConfig.bNumAlignSize = b; + BOOL IsNumAlignSize() const { return aMiscConfig.bNumAlignSize; } + void SetNumAlignSize( BOOL b ) { aMiscConfig.bNumAlignSize = b; aMiscConfig.SetModified();} - BOOL IsNameFromColumn() const { return aMiscConfig.bIsNameFromColumn; } - void SetIsNameFromColumn( BOOL bSet ) - { + BOOL IsNameFromColumn() const { return aMiscConfig.bIsNameFromColumn; } + void SetIsNameFromColumn( BOOL bSet ) + { aMiscConfig.SetModified(); aMiscConfig.bIsNameFromColumn = bSet; } BOOL IsAskForMailMerge() const { return aMiscConfig.bAskForMailMergeInPrint;} - void SetAskForMailMerge(BOOL bSet) - { + void SetAskForMailMerge(BOOL bSet) + { aMiscConfig.SetModified(); aMiscConfig.bAskForMailMergeInPrint = bSet; } + - - const String& GetNameFromColumn() const { return aMiscConfig.sNameFromColumn; } - void SetNameFromColumn( const String& rSet ) { aMiscConfig.sNameFromColumn = rSet; + const String& GetNameFromColumn() const { return aMiscConfig.sNameFromColumn; } + void SetNameFromColumn( const String& rSet ) { aMiscConfig.sNameFromColumn = rSet; aMiscConfig.SetModified();} - String GetMailingPath() const { return aMiscConfig.sMailingPath; } - void SetMailingPath(const String& sPath) { aMiscConfig.sMailingPath = sPath; + String GetMailingPath() const { return aMiscConfig.sMailingPath; } + void SetMailingPath(const String& sPath) { aMiscConfig.sMailingPath = sPath; aMiscConfig.SetModified();} - String GetMailName() const { return aMiscConfig.sMailName; } - void SetMailName(const String& sName){ aMiscConfig.sMailName = sName; + String GetMailName() const { return aMiscConfig.sMailName; } + void SetMailName(const String& sName){ aMiscConfig.sMailName = sName; aMiscConfig.SetModified();} - const String &GetWordDelimiter() const { return aMiscConfig.sWordDelimiter; } - void SetWordDelimiter(const String& sDelim) { aMiscConfig.sWordDelimiter = sDelim; + const String &GetWordDelimiter() const { return aMiscConfig.sWordDelimiter; } + void SetWordDelimiter(const String& sDelim) { aMiscConfig.sWordDelimiter = sDelim; aMiscConfig.SetModified();} //convert word delimiter from or to user interface static String ConvertWordDelimiter(const String& rDelim, BOOL bFromUI); - BOOL IsShowIndexPreview() const {return aMiscConfig.bShowIndexPreview;} - void SetShowIndexPreview(BOOL bSet) + BOOL IsShowIndexPreview() const {return aMiscConfig.bShowIndexPreview;} + void SetShowIndexPreview(BOOL bSet) {aMiscConfig.bShowIndexPreview = bSet; aMiscConfig.SetModified();} - BOOL IsDefaultFontInCurrDocOnly() const { return aMiscConfig.bDefaultFontsInCurrDocOnly;} - void SetDefaultFontInCurrDocOnly(BOOL bSet) + BOOL IsDefaultFontInCurrDocOnly() const { return aMiscConfig.bDefaultFontsInCurrDocOnly;} + void SetDefaultFontInCurrDocOnly(BOOL bSet) { aMiscConfig.bDefaultFontsInCurrDocOnly = bSet; aMiscConfig.SetModified(); } - BOOL IsHideFieldTips() const {return bHideFieldTips;} - void SetHideFieldTips(BOOL bSet) {bHideFieldTips = bSet;} + BOOL IsHideFieldTips() const {return bHideFieldTips;} + void SetHideFieldTips(BOOL bSet) {bHideFieldTips = bSet;} }; #endif diff --git a/sw/inc/modeltoviewhelper.hxx b/sw/inc/modeltoviewhelper.hxx index cf09567ef7f0..1d8bcb0649b8 100644 --- a/sw/inc/modeltoviewhelper.hxx +++ b/sw/inc/modeltoviewhelper.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx index f9f524bae7b5..b3847d89c85d 100644 --- a/sw/inc/ndarr.hxx +++ b/sw/inc/ndarr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -89,7 +89,7 @@ class SW_DLLPUBLIC SwNodes: private BigPtrArray friend class SwNode; friend class SwNodeIndex; - SwNodeIndex* pRoot; // Liste aller Indizies auf Nodes + SwNodeIndex* pRoot; // Liste aller Indizies auf Nodes // --> OD 2008-05-14 #refactorlists# - removed <bSyncNumberAndNumRule> void InsertNode( const SwNodePtr pNode, @@ -99,18 +99,18 @@ class SW_DLLPUBLIC SwNodes: private BigPtrArray // <-- - SwDoc* pMyDoc; // in diesem Doc ist das Nodes-Array + SwDoc* pMyDoc; // in diesem Doc ist das Nodes-Array - SwNode *pEndOfPostIts, *pEndOfInserts, // das sind die festen Bereiche + SwNode *pEndOfPostIts, *pEndOfInserts, // das sind die festen Bereiche *pEndOfAutotext, *pEndOfRedlines, *pEndOfContent; - mutable SwOutlineNodes* pOutlineNds; // Array aller GliederiungsNodes + mutable SwOutlineNodes* pOutlineNds; // Array aller GliederiungsNodes - BOOL bInNodesDel : 1; // falls rekursiv aufgerufen wird + BOOL bInNodesDel : 1; // falls rekursiv aufgerufen wird // Num/Outline nicht aktualisierem - BOOL bInDelUpdOutl : 1; // Flags fuers aktualisieren von Outl. - BOOL bInDelUpdNum : 1; // Flags fuers aktualisieren von Outl. + BOOL bInDelUpdOutl : 1; // Flags fuers aktualisieren von Outl. + BOOL bInDelUpdNum : 1; // Flags fuers aktualisieren von Outl. // fuer dier Verwaltung der Indizies void RegisterIndex( SwNodeIndex& rIdx ); @@ -124,7 +124,7 @@ class SW_DLLPUBLIC SwNodes: private BigPtrArray void ChgNode( SwNodeIndex& rDelPos, ULONG nSize, SwNodeIndex& rInsPos, BOOL bNewFrms ); - void UpdtOutlineIdx( const SwNode& ); // Update ab Node alle OutlineNodes + void UpdtOutlineIdx( const SwNode& ); // Update ab Node alle OutlineNodes void _CopyNodes( const SwNodeRange&, const SwNodeIndex&, BOOL bNewFrms = TRUE, BOOL bTblInsDummyNode = FALSE ) const; @@ -138,12 +138,12 @@ public: typedef ::std::vector<SwNodeRange> NodeRanges_t; typedef ::std::vector<NodeRanges_t> TableRanges_t; - + SwNodePtr operator[]( ULONG n ) const { return (SwNodePtr)BigPtrArray::operator[] ( n ); } //JP 29.09.97: impl. steht im ndindex.hxx - sollte moeglichst bald auf die -// neue Schnittstelle angepasst werden +// neue Schnittstelle angepasst werden inline SwNodePtr operator[]( const SwNodeIndex& rIdx ) const; ULONG Count() const { return BigPtrArray::Count(); } @@ -160,18 +160,18 @@ public: FnForEach_SwNodes fnForEach, void* pArgs = 0 ); // eine noch leere Section - SwNode& GetEndOfPostIts() const { return *pEndOfPostIts; } + SwNode& GetEndOfPostIts() const { return *pEndOfPostIts; } // Section fuer alle Fussnoten - SwNode& GetEndOfInserts() const { return *pEndOfInserts; } + SwNode& GetEndOfInserts() const { return *pEndOfInserts; } // Section fuer alle Flys/Header/Footers - SwNode& GetEndOfAutotext() const { return *pEndOfAutotext; } + SwNode& GetEndOfAutotext() const { return *pEndOfAutotext; } // Section fuer alle Redlines - SwNode& GetEndOfRedlines() const { return *pEndOfRedlines; } + SwNode& GetEndOfRedlines() const { return *pEndOfRedlines; } // das ist der letzte EndNode einer SonderSection. Hier nach kommt nur // noch die normale ContentSection (also der BodyText) - SwNode& GetEndOfExtras() const { return *pEndOfRedlines; } + SwNode& GetEndOfExtras() const { return *pEndOfRedlines; } // die normale ContentSection (also der BodyText) - SwNode& GetEndOfContent() const { return *pEndOfContent; } + SwNode& GetEndOfContent() const { return *pEndOfContent; } // ist das NodesArray das normale vom Doc? (nicht das UndoNds, .. ) // Implementierung steht im doc.hxx (weil man dazu Doc kennen muss) ! @@ -220,7 +220,7 @@ public: // die Impl. von "Make...Node" stehen in den angegebenen .ccx-Files SwTxtNode *MakeTxtNode( const SwNodeIndex & rWhere, SwTxtFmtColl *pColl, - SwAttrSet* pAutoAttr = 0 ); // in ndtxt.cxx + SwAttrSet* pAutoAttr = 0 ); // in ndtxt.cxx SwStartNode* MakeTextSection( const SwNodeIndex & rWhere, SwStartNodeType eSttNdTyp, SwTxtFmtColl *pColl, @@ -232,29 +232,29 @@ public: const Graphic* pGraphic, SwGrfFmtColl *pColl, SwAttrSet* pAutoAttr = 0, - BOOL bDelayed = FALSE ); // in ndgrf.cxx + BOOL bDelayed = FALSE ); // in ndgrf.cxx SwGrfNode *MakeGrfNode( const SwNodeIndex & rWhere, const GraphicObject& rGrfObj, SwGrfFmtColl *pColl, - SwAttrSet* pAutoAttr = 0 ); // in ndgrf.cxx + SwAttrSet* pAutoAttr = 0 ); // in ndgrf.cxx SwOLENode *MakeOLENode( const SwNodeIndex & rWhere, const svt::EmbeddedObjectRef&, SwGrfFmtColl *pColl, - SwAttrSet* pAutoAttr = 0 ); // in ndole.cxx + SwAttrSet* pAutoAttr = 0 ); // in ndole.cxx SwOLENode *MakeOLENode( const SwNodeIndex & rWhere, const String &rName, sal_Int64 nAspect, SwGrfFmtColl *pColl, - SwAttrSet* pAutoAttr ); // in ndole.cxx + SwAttrSet* pAutoAttr ); // in ndole.cxx // Array aller GliederiungsNodes; const SwOutlineNodes& GetOutLineNds() const; //void UpdateOutlineNode( const SwNode&, BYTE nOldLevel, BYTE nNewLevel );//#outline level,removed by zhaojianwei // alle Nodes Updaten - Rule/Format-Aenderung - void UpdateOutlineNode(SwNode & rNd); + void UpdateOutlineNode(SwNode & rNd); // fuege die Nodes fuer die Tabelle ein // wenn Lines angegeben, erzeuge die Matrix aus Lines & Boxen @@ -280,11 +280,11 @@ public: SwTableBoxFmt* pBoxFmt, SwTxtFmtColl* pTxtColl, SwUndoTxtToTbl* pUndo = 0 ); - + SwNodeRange * ExpandRangeForTableBox(const SwNodeRange & rRange); - + //create a table from a vector of NodeRanges - API support - SwTableNode* TextToTable( const TableRanges_t& rTableNodes, + SwTableNode* TextToTable( const TableRanges_t& rTableNodes, SwTableFmt* pTblFmt, SwTableLineFmt* pLineFmt, SwTableBoxFmt* pBoxFmt, @@ -327,8 +327,8 @@ public: bool const bCreateFrms = true); // in welchem Doc steht das Nodes-Array ? - SwDoc* GetDoc() { return pMyDoc; } - const SwDoc* GetDoc() const { return pMyDoc; } + SwDoc* GetDoc() { return pMyDoc; } + const SwDoc* GetDoc() const { return pMyDoc; } // suche den vorhergehenden [/nachfolgenden ] ContentNode oder // TabellenNode mit Frames. Wird kein Ende angeben, dann wird mit diff --git a/sw/inc/ndgrf.hxx b/sw/inc/ndgrf.hxx index d98c30fde1f1..5b99917e7df2 100644 --- a/sw/inc/ndgrf.hxx +++ b/sw/inc/ndgrf.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -53,21 +53,21 @@ class SW_DLLPUBLIC SwGrfNode: public SwNoTxtNode GraphicObject aGrfObj; ::sfx2::SvBaseLinkRef refLink; // falls Grafik nur als Link, dann Pointer gesetzt Size nGrfSize; -// String aStrmName; // SW3: Name des Storage-Streams fuer Embedded - String aNewStrmName; // SW3/XML: new stream name (either SW3 stream +// String aStrmName; // SW3: Name des Storage-Streams fuer Embedded + String aNewStrmName; // SW3/XML: new stream name (either SW3 stream // name or package url) - String aLowResGrf; // HTML: LowRes Grafik (Ersatzdarstellung bis - // die normale (HighRes) geladen ist. - BOOL bTransparentFlagValid :1; - BOOL bInSwapIn :1; - - BOOL bGrafikArrived :1; - BOOL bChgTwipSize :1; - BOOL bChgTwipSizeFromPixel :1; - BOOL bLoadLowResGrf :1; - BOOL bFrameInPaint :1; //Um Start-/EndActions im Paint (ueber + String aLowResGrf; // HTML: LowRes Grafik (Ersatzdarstellung bis + // die normale (HighRes) geladen ist. + BOOL bTransparentFlagValid :1; + BOOL bInSwapIn :1; + + BOOL bGrafikArrived :1; + BOOL bChgTwipSize :1; + BOOL bChgTwipSizeFromPixel :1; + BOOL bLoadLowResGrf :1; + BOOL bFrameInPaint :1; //Um Start-/EndActions im Paint (ueber //SwapIn zu verhindern. - BOOL bScaleImageMap :1; //Image-Map in SetTwipSize skalieren + BOOL bScaleImageMap :1; //Image-Map in SetTwipSize skalieren // --> OD 2007-01-19 #i73788# boost::shared_ptr< SwAsyncRetrieveInputStreamThreadConsumer > mpThreadConsumer; @@ -148,9 +148,9 @@ class SW_DLLPUBLIC SwGrfNode: public SwNoTxtNode public: virtual ~SwGrfNode(); - const Graphic& GetGrf() const { return aGrfObj.GetGraphic(); } - const GraphicObject& GetGrfObj() const { return aGrfObj; } - GraphicObject& GetGrfObj() { return aGrfObj; } + const Graphic& GetGrf() const { return aGrfObj.GetGraphic(); } + const GraphicObject& GetGrfObj() const { return aGrfObj; } + GraphicObject& GetGrfObj() { return aGrfObj; } virtual SwCntntNode *SplitCntntNode( const SwPosition & ); @@ -160,20 +160,20 @@ public: BOOL IsTransparent() const; - inline BOOL IsAnimated() const { return aGrfObj.IsAnimated(); } + inline BOOL IsAnimated() const { return aGrfObj.IsAnimated(); } - inline BOOL IsChgTwipSize() const { return bChgTwipSize; } - inline BOOL IsChgTwipSizeFromPixel() const { return bChgTwipSizeFromPixel; } - inline void SetChgTwipSize( BOOL b, BOOL bFromPx=FALSE ) { bChgTwipSize = b; bChgTwipSizeFromPixel = bFromPx; } + inline BOOL IsChgTwipSize() const { return bChgTwipSize; } + inline BOOL IsChgTwipSizeFromPixel() const { return bChgTwipSizeFromPixel; } + inline void SetChgTwipSize( BOOL b, BOOL bFromPx=FALSE ) { bChgTwipSize = b; bChgTwipSizeFromPixel = bFromPx; } - inline BOOL IsGrafikArrived() const { return bGrafikArrived; } - inline void SetGrafikArrived( BOOL b ) { bGrafikArrived = b; } + inline BOOL IsGrafikArrived() const { return bGrafikArrived; } + inline void SetGrafikArrived( BOOL b ) { bGrafikArrived = b; } - inline BOOL IsFrameInPaint() const { return bFrameInPaint; } - inline void SetFrameInPaint( BOOL b ) { bFrameInPaint = b; } + inline BOOL IsFrameInPaint() const { return bFrameInPaint; } + inline void SetFrameInPaint( BOOL b ) { bFrameInPaint = b; } - inline BOOL IsScaleImageMap() const { return bScaleImageMap; } - inline void SetScaleImageMap( BOOL b ) { bScaleImageMap = b; } + inline BOOL IsScaleImageMap() const { return bScaleImageMap; } + inline void SetScaleImageMap( BOOL b ) { bScaleImageMap = b; } #endif // steht in ndcopy.cxx virtual SwCntntNode* MakeCopy( SwDoc*, const SwNodeIndex& ) const; @@ -202,7 +202,7 @@ public: #ifndef _FESHVIEW_ONLY_INLINE_NEEDED // Abfrage der Link-Daten - BOOL IsGrfLink() const { return refLink.Is(); } + BOOL IsGrfLink() const { return refLink.Is(); } inline BOOL IsLinkedFile() const; inline BOOL IsLinkedDDE() const; ::sfx2::SvBaseLinkRef GetLink() const { return refLink; } @@ -234,7 +234,7 @@ public: // ---------------------------------------------------------------------- // Inline Metoden aus Node.hxx - erst hier ist der TxtNode bekannt !! -inline SwGrfNode *SwNode::GetGrfNode() +inline SwGrfNode *SwNode::GetGrfNode() { return ND_GRFNODE == nNodeType ? (SwGrfNode*)this : 0; } diff --git a/sw/inc/ndhints.hxx b/sw/inc/ndhints.hxx index 29e8c13bd214..92bfda7b2a01 100644 --- a/sw/inc/ndhints.hxx +++ b/sw/inc/ndhints.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/ndindex.hxx b/sw/inc/ndindex.hxx index 51444abf210c..af3f8bc29a38 100644 --- a/sw/inc/ndindex.hxx +++ b/sw/inc/ndindex.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -51,7 +51,7 @@ class SW_DLLPUBLIC SwNodeIndex SwNode* pNd; SwNodeIndex *pNext, *pPrev; - void Remove(); // Ausketten + void Remove(); // Ausketten // diese sind nicht erlaubt! SwNodeIndex( SwNodes& rNds, USHORT nIdx ); @@ -102,7 +102,7 @@ public: // Herausgabe des Pointers auf das NodesArray, inline const SwNodes& GetNodes() const; - inline SwNodes& GetNodes(); + inline SwNodes& GetNodes(); SwNode& GetNode() const { return *pNd; } }; @@ -243,7 +243,7 @@ inline SwNodeIndex& SwNodeIndex::operator=( ULONG nWert ) //JP 29.09.97: impl. steht im ndindex.hxx - sollte moeglichst bald auf die -// neue Schnittstelle angepasst werden +// neue Schnittstelle angepasst werden inline SwNode* SwNodes::operator[]( const SwNodeIndex& rIdx ) const { return &rIdx.GetNode(); diff --git a/sw/inc/ndnotxt.hxx b/sw/inc/ndnotxt.hxx index 2fd16508dc7b..8d403b72d9c2 100644 --- a/sw/inc/ndnotxt.hxx +++ b/sw/inc/ndnotxt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -43,19 +43,19 @@ class SW_DLLPUBLIC SwNoTxtNode : public SwCntntNode // String aAlternateText; // alternativer Text (HTML) - PolyPolygon *pContour; // Polygon fuer Konturumlauf + PolyPolygon *pContour; // Polygon fuer Konturumlauf BOOL bAutomaticContour : 1; // automatic contour polygon, not manipulated BOOL bContourMapModeValid : 1; // contour map mode is not the graphics's // prefered map mode, but either // MM100 or or pixel - BOOL bPixelContour : 1; // contour map mode is invalid and pixel. + BOOL bPixelContour : 1; // contour map mode is invalid and pixel. // erzeugt fuer alle Ableitungen einen AttrSet mit Bereichen // fuer Frame- und Grafik-Attributen (wird nur vom SwCntntNode gerufen) virtual void NewAttrSet( SwAttrPool& ); - SwNoTxtNode( const SwNoTxtNode& ); //nicht erlaubt - SwNoTxtNode &operator=( const SwNoTxtNode& ); //nicht erlaubt + SwNoTxtNode( const SwNoTxtNode& ); //nicht erlaubt + SwNoTxtNode &operator=( const SwNoTxtNode& ); //nicht erlaubt protected: SwNoTxtNode( const SwNodeIndex &rWhere, const BYTE nNdType, @@ -87,20 +87,20 @@ public: void SetContour( const PolyPolygon *pPoly, BOOL bAutomatic = FALSE ); const PolyPolygon *HasContour() const; - BOOL _HasContour() const { return pContour!=0; }; - void GetContour( PolyPolygon &rPoly ) const; - void CreateContour(); + BOOL _HasContour() const { return pContour!=0; }; + void GetContour( PolyPolygon &rPoly ) const; + void CreateContour(); - void SetAutomaticContour( BOOL bSet ) { bAutomaticContour = bSet; } + void SetAutomaticContour( BOOL bSet ) { bAutomaticContour = bSet; } BOOL HasAutomaticContour() const { return bAutomaticContour; } // set either a MM100 or pixel contour void SetContourAPI( const PolyPolygon *pPoly ); // get either a MM100 or pixel contour, return FALSE if no contour is set. - BOOL GetContourAPI( PolyPolygon &rPoly ) const; + BOOL GetContourAPI( PolyPolygon &rPoly ) const; - void SetPixelContour( BOOL bSet ) { bPixelContour = bSet; } + void SetPixelContour( BOOL bSet ) { bPixelContour = bSet; } BOOL IsPixelContour() const; BOOL IsContourMapModeValid() const { return bContourMapModeValid; } @@ -119,6 +119,6 @@ inline const SwNoTxtNode *SwNode::GetNoTxtNode() const return ND_NOTXTNODE & nNodeType ? (const SwNoTxtNode*)this : 0; } -#endif // _NDNOTXT_HXX +#endif // _NDNOTXT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/ndole.hxx b/sw/inc/ndole.hxx index ef9adde86338..c4046d197e96 100644 --- a/sw/inc/ndole.hxx +++ b/sw/inc/ndole.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -50,7 +50,7 @@ class SW_DLLPUBLIC SwOLEObj svt::EmbeddedObjectRef xOLERef; String aName; - SwOLEObj( const SwOLEObj& rObj ); //nicht erlaubt. + SwOLEObj( const SwOLEObj& rObj ); //nicht erlaubt. SwOLEObj(); void SetNode( SwOLENode* pNode ); @@ -71,7 +71,7 @@ public: com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject > GetOleRef(); svt::EmbeddedObjectRef& GetObject(); const String& GetCurrentPersistName() const { return aName; } - BOOL IsOleRef() const; //Damit das Objekt nicht unnoetig geladen werden muss. + BOOL IsOleRef() const; //Damit das Objekt nicht unnoetig geladen werden muss. #endif }; @@ -85,20 +85,20 @@ class SW_DLLPUBLIC SwOLENode: public SwNoTxtNode friend class SwNodes; mutable SwOLEObj aOLEObj; Graphic* pGraphic; - String sChartTblName; // bei Chart Objecten: Name der ref. Tabelle - BOOL bOLESizeInvalid; //Soll beim SwDoc::PrtOLENotify beruecksichtig + String sChartTblName; // bei Chart Objecten: Name der ref. Tabelle + BOOL bOLESizeInvalid; //Soll beim SwDoc::PrtOLENotify beruecksichtig //werden (zum Beispiel kopiert). Ist nicht //Persistent. - SwEmbedObjectLink* mpObjectLink; + SwEmbedObjectLink* mpObjectLink; String maLinkURL; - SwOLENode( const SwNodeIndex &rWhere, + SwOLENode( const SwNodeIndex &rWhere, const svt::EmbeddedObjectRef&, SwGrfFmtColl *pGrfColl, SwAttrSet* pAutoAttr = 0 ); - SwOLENode( const SwNodeIndex &rWhere, + SwOLENode( const SwNodeIndex &rWhere, const String &rName, sal_Int64 nAspect, SwGrfFmtColl *pGrfColl, @@ -111,7 +111,7 @@ class SW_DLLPUBLIC SwOLENode: public SwNoTxtNode public: const SwOLEObj& GetOLEObj() const { return aOLEObj; } - SwOLEObj& GetOLEObj() { return aOLEObj; } + SwOLEObj& GetOLEObj() { return aOLEObj; } ~SwOLENode(); virtual SwCntntNode *SplitCntntNode( const SwPosition & ); @@ -131,7 +131,7 @@ public: BOOL IsInGlobalDocSection() const; BOOL IsOLEObjectDeleted() const; - BOOL IsOLESizeInvalid() const { return bOLESizeInvalid; } + BOOL IsOLESizeInvalid() const { return bOLESizeInvalid; } void SetOLESizeInvalid( BOOL b ){ bOLESizeInvalid = b; } sal_Int64 GetAspect() const { return aOLEObj.GetObject().GetViewAspect(); } @@ -152,8 +152,8 @@ public: // <-- #ifndef _FESHVIEW_ONLY_INLINE_NEEDED - const String& GetChartTblName() const { return sChartTblName; } - void SetChartTblName( const String& rNm ) { sChartTblName = rNm; } + const String& GetChartTblName() const { return sChartTblName; } + void SetChartTblName( const String& rNm ) { sChartTblName = rNm; } #endif }; @@ -168,6 +168,6 @@ inline const SwOLENode *SwNode::GetOLENode() const return ND_OLENODE == nNodeType ? (const SwOLENode*)this : 0; } -#endif // _NDOLE_HXX +#endif // _NDOLE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index 2127e389e99e..713a30bbe8a2 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -61,7 +61,7 @@ namespace utl { class SwTxtFmtColl; class SwCntntFrm; -class SwTxtFld; // Fuer GetTxtFld() +class SwTxtFld; // Fuer GetTxtFld() class SfxItemSet; class SwUndoTransliterate; @@ -92,7 +92,7 @@ class SW_DLLPUBLIC SwTxtNode: public SwCntntNode, public ::sfx2::Metadatable { // fuer das Erzeugen des ersten TextNode - friend class SwDoc; // CTOR und AppendTxtNode() + friend class SwDoc; // CTOR und AppendTxtNode() friend class SwNodes; friend class SwTxtFrm; friend class SwScriptInfo; @@ -286,12 +286,12 @@ public: refmarks, toxmarks, and metas will be ignored unless this is true ATTENTION: setting bInclRefToxMark is only allowed from UNDO! */ - void RstAttr( const SwIndex &rIdx, xub_StrLen nLen, USHORT nWhich = 0, + void RstAttr( const SwIndex &rIdx, xub_StrLen nLen, USHORT nWhich = 0, const SfxItemSet* pSet = 0, BOOL bInclRefToxMark = FALSE ); - void GCAttr(); + void GCAttr(); // loesche das Text-Attribut (muss beim Pool abgemeldet werden!) - void DestroyAttr( SwTxtAttr* pAttr ); + void DestroyAttr( SwTxtAttr* pAttr ); // loesche alle Attribute aus dem SwpHintsArray. void ClearSwpHintsArr( bool bDelFields ); @@ -719,7 +719,7 @@ public: USHORT nScript = 0 ) const; // steht in ndcopy.cxx - BOOL IsSymbol( const xub_StrLen nBegin ) const; // steht in itratr.cxx + BOOL IsSymbol( const xub_StrLen nBegin ) const; // steht in itratr.cxx virtual SwCntntNode* MakeCopy( SwDoc*, const SwNodeIndex& ) const; // interaktive Trennung: wir finden den TxtFrm und rufen sein CalcHyph @@ -795,7 +795,7 @@ public: bool IsHidden() const; // <-- - TYPEINFO(); // fuer rtti + TYPEINFO(); // fuer rtti // fuers Umhaengen der TxtFmtCollections (Outline-Nummerierung!!) virtual void Modify( SfxPoolItem*, SfxPoolItem* ); diff --git a/sw/inc/ndtyp.hxx b/sw/inc/ndtyp.hxx index 1baf94439dfa..bad03aea74fc 100644 --- a/sw/inc/ndtyp.hxx +++ b/sw/inc/ndtyp.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -33,15 +33,15 @@ // Ids fuer die verschiedenden Nodes; in der Basisklasse steht der Member, // der angibt, um was fuer einen es sich handelt -const BYTE ND_ENDNODE = 0x01; -const BYTE ND_STARTNODE = 0x02; -const BYTE ND_TABLENODE = 0x06; -const BYTE ND_TEXTNODE = 0x08; -const BYTE ND_GRFNODE = 0x10; -const BYTE ND_OLENODE = 0x20; +const BYTE ND_ENDNODE = 0x01; +const BYTE ND_STARTNODE = 0x02; +const BYTE ND_TABLENODE = 0x06; +const BYTE ND_TEXTNODE = 0x08; +const BYTE ND_GRFNODE = 0x10; +const BYTE ND_OLENODE = 0x20; -const BYTE ND_CONTENTNODE = 0x38; // ContentNode (eines von den 3 Bits) -const BYTE ND_NOTXTNODE = 0x30; // NoTxtNode (eines von den 2 Bits) +const BYTE ND_CONTENTNODE = 0x38; // ContentNode (eines von den 3 Bits) +const BYTE ND_NOTXTNODE = 0x30; // NoTxtNode (eines von den 2 Bits) const BYTE ND_SECTIONNODE = 0x42; // nur fuer internen Gebrauch!! diff --git a/sw/inc/newhdl.hxx b/sw/inc/newhdl.hxx index fe096a67e18d..0a411d88228c 100644 --- a/sw/inc/newhdl.hxx +++ b/sw/inc/newhdl.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -30,7 +30,7 @@ #include <tools/link.hxx> -#include "errhdl.hxx" // hier kommt auch swtypes rein, was ich brauche +#include "errhdl.hxx" // hier kommt auch swtypes rein, was ich brauche // ---------------------------------------------------------------------------- @@ -40,25 +40,25 @@ class SwNewHdl { friend void SW_NEW_HDL(); private: - char* pWarnMem; - char* pExceptMem; - Link aWarnLnk; - Link aErrLnk; + char* pWarnMem; + char* pExceptMem; + Link aWarnLnk; + Link aErrLnk; public: - void SetWarnLnk( const Link &rLink ); - void SetErrLnk( const Link &rLink ); + void SetWarnLnk( const Link &rLink ); + void SetErrLnk( const Link &rLink ); - BOOL TryWarnMem(); + BOOL TryWarnMem(); - BOOL Flush_WarnMem(); - BOOL Flush_ExceptMem(); + BOOL Flush_WarnMem(); + BOOL Flush_ExceptMem(); SwNewHdl(); ~SwNewHdl(); }; /****************************************************************************** - * INLINE + * INLINE ******************************************************************************/ inline void SwNewHdl::SetWarnLnk( const Link &rLink ) { diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx index 723c9efbd8a7..1500d3ba7ad1 100644 --- a/sw/inc/node.hxx +++ b/sw/inc/node.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -102,10 +102,10 @@ class SW_DLLPUBLIC SwNode : private /* public*/ BigPtrEntry // JP 28.03.96 // fuer Textnodes: Stufungslevel der Autoformatierung. Ist erstmal hier - // gelandet, weil noch Bits frei sind + // gelandet, weil noch Bits frei sind BYTE nAFmtNumLvl : 3; - BOOL bSetNumLSpace : 1; // fuer Numerierung: TRUE Einzug setzen - BOOL bIgnoreDontExpand : 1; // for Text Attributes - ignore the flag + BOOL bSetNumLSpace : 1; // fuer Numerierung: TRUE Einzug setzen + BOOL bIgnoreDontExpand : 1; // for Text Attributes - ignore the flag protected: SwStartNode* pStartOfSection; @@ -141,7 +141,7 @@ public: inline BOOL IsIgnoreDontExpand() const { return bIgnoreDontExpand; } inline void SetIgnoreDontExpand( BOOL bNew ) { bIgnoreDontExpand = bNew; } - BYTE GetNodeType() const { return nNodeType; } + BYTE GetNodeType() const { return nNodeType; } inline SwStartNode *GetStartNode(); inline const SwStartNode *GetStartNode() const; @@ -149,12 +149,12 @@ public: inline const SwCntntNode *GetCntntNode() const; inline SwEndNode *GetEndNode(); inline const SwEndNode *GetEndNode() const; -#ifndef ICC +#ifndef ICC inline #endif SwTxtNode *GetTxtNode(); -#ifndef ICC +#ifndef ICC inline #endif const SwTxtNode *GetTxtNode() const; @@ -282,7 +282,7 @@ public: BOOL IsInProtectSect() const; // befindet sich der Node in irgendetwas geschuetzten ? // (Bereich/Rahmen/Tabellenzellen/... incl. des Ankers bei - // Rahmen/Fussnoten/..) + // Rahmen/Fussnoten/..) BOOL IsProtect() const; // suche den PageDesc, mit dem dieser Node formatiert ist. Wenn das // Layout vorhanden ist wird ueber das gesucht, ansonsten gibt es nur @@ -317,7 +317,7 @@ class SwStartNode: public SwNode { friend class SwNode; friend class SwNodes; - friend class SwEndNode; // um theEndOfSection zu setzen !! + friend class SwEndNode; // um theEndOfSection zu setzen !! SwEndNode* pEndOfSection; SwStartNodeType eSttNdTyp; @@ -332,7 +332,7 @@ protected: public: DECL_FIXEDMEMPOOL_NEWDEL(SwStartNode) - SwStartNodeType GetStartNodeType() const { return eSttNdTyp; } + SwStartNodeType GetStartNodeType() const { return eSttNdTyp; } // an alle ContentNodes der Section das ChkCondColl rufen void CheckSectionCondColl() const; @@ -350,8 +350,8 @@ private: class SwEndNode : public SwNode { friend class SwNodes; - friend class SwTableNode; // um seinen EndNode anlegen zukoennen - friend class SwSectionNode; // um seinen EndNode anlegen zukoennen + friend class SwTableNode; // um seinen EndNode anlegen zukoennen + friend class SwSectionNode; // um seinen EndNode anlegen zukoennen // fuer den initialen StartNode SwEndNode( SwNodes& rNodes, ULONG nPos, SwStartNode& rSttNd ); @@ -388,7 +388,7 @@ protected: virtual ~SwCntntNode(); // Attribut-Set fuer alle AUTO-Attribute eines CntntNodes - // ( z.B: TxtNode oder NoTxtNode + // ( z.B: TxtNode oder NoTxtNode boost::shared_ptr<const SfxItemSet> mpAttrSet; // lasse von den entsprechenden Nodes die spz. AttrSets anlegen @@ -399,7 +399,7 @@ protected: USHORT ClearItemsFromAttrSet( const std::vector<USHORT>& rWhichIds ); public: - TYPEINFO(); //Bereits in Basisklasse Client drin. + TYPEINFO(); //Bereits in Basisklasse Client drin. virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); @@ -412,8 +412,8 @@ public: 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() ); } + void MakeStartIndex( SwIndex * pIdx ) { pIdx->Assign( this, 0 ); } + void MakeEndIndex( SwIndex * pIdx ) { pIdx->Assign( this, Len() ); } BOOL GoNext(SwIndex *, USHORT nMode ) const; BOOL GoPrevious(SwIndex *, USHORT nMode ) const; diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx index 90433b0753a1..aa354f2f0361 100644 --- a/sw/inc/numrule.hxx +++ b/sw/inc/numrule.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -36,8 +36,8 @@ #include "swdllapi.h" #include <swtypes.hxx> #include <calbck.hxx> -#include <errhdl.hxx> // Fuer die inline ASSERT -#include <error.h> // Fuer die inline ASSERT +#include <errhdl.hxx> // Fuer die inline ASSERT +#include <error.h> // Fuer die inline ASSERT #include <hints.hxx> #include <hash_map> #include <stringhash.hxx> @@ -61,7 +61,7 @@ class SwDoc; class SwFmtVertOrient; class SwTxtNode; -const sal_Unicode cBulletChar = 0x2022; // Charakter fuer Aufzaehlungen +const sal_Unicode cBulletChar = 0x2022; // Charakter fuer Aufzaehlungen class SW_DLLPUBLIC SwNumFmt : public SvxNumberFormat, public SwClient { @@ -89,8 +89,8 @@ public: void SetCharFmt( SwCharFmt* ); virtual void Modify( SfxPoolItem* pOld, SfxPoolItem* pNew ); - virtual void SetCharFmtName(const String& rSet); - virtual const String& GetCharFmtName()const; + virtual void SetCharFmtName(const String& rSet); + virtual const String& GetCharFmtName()const; virtual void SetGraphicBrush( const SvxBrushItem* pBrushItem, const Size* pSize = 0, const sal_Int16* pOrient = 0); @@ -152,13 +152,13 @@ private: String sName; SwNumRuleType eRuleType; - USHORT nPoolFmtId; // Id-fuer "automatich" erzeugte NumRules - USHORT nPoolHelpId; // HelpId fuer diese Pool-Vorlage - BYTE nPoolHlpFileId; // FilePos ans Doc auf die Vorlagen-Hilfen + USHORT nPoolFmtId; // Id-fuer "automatich" erzeugte NumRules + USHORT nPoolHelpId; // HelpId fuer diese Pool-Vorlage + BYTE nPoolHlpFileId; // FilePos ans Doc auf die Vorlagen-Hilfen BOOL bAutoRuleFlag : 1; BOOL bInvalidRuleFlag : 1; - BOOL bContinusNum : 1; // Fortlaufende Numerierung - ohne Ebenen - BOOL bAbsSpaces : 1; // die Ebenen repraesentieren absol. Einzuege + BOOL bContinusNum : 1; // Fortlaufende Numerierung - ohne Ebenen + BOOL bAbsSpaces : 1; // die Ebenen repraesentieren absol. Einzuege bool mbCountPhantoms; // --> OD 2008-02-11 #newlistlevelattrs# @@ -253,8 +253,8 @@ public: static USHORT GetNumIndent( BYTE nLvl ); static USHORT GetBullIndent( BYTE nLvl ); - SwNumRuleType GetRuleType() const { return eRuleType; } - void SetRuleType( SwNumRuleType eNew ) { eRuleType = eNew; + SwNumRuleType GetRuleType() const { return eRuleType; } + void SetRuleType( SwNumRuleType eNew ) { eRuleType = eNew; bInvalidRuleFlag = TRUE; } // eine Art Copy-Constructor, damit die Num-Formate auch an den @@ -272,17 +272,17 @@ public: IDocumentListsAccess& rDocListAccess ); // #i36749# // <-- - BOOL IsAutoRule() const { return bAutoRuleFlag; } - void SetAutoRule( BOOL bFlag ) { bAutoRuleFlag = bFlag; } + BOOL IsAutoRule() const { return bAutoRuleFlag; } + void SetAutoRule( BOOL bFlag ) { bAutoRuleFlag = bFlag; } - BOOL IsInvalidRule() const { return bInvalidRuleFlag; } + BOOL IsInvalidRule() const { return bInvalidRuleFlag; } void SetInvalidRule( BOOL bFlag ); - BOOL IsContinusNum() const { return bContinusNum; } - void SetContinusNum( BOOL bFlag ) { bContinusNum = bFlag; } + BOOL IsContinusNum() const { return bContinusNum; } + void SetContinusNum( BOOL bFlag ) { bContinusNum = bFlag; } - BOOL IsAbsSpaces() const { return bAbsSpaces; } - void SetAbsSpaces( BOOL bFlag ) { bAbsSpaces = bFlag; } + BOOL IsAbsSpaces() const { return bAbsSpaces; } + void SetAbsSpaces( BOOL bFlag ) { bAbsSpaces = bFlag; } // #115901# BOOL IsOutlineRule() const { return eRuleType == OUTLINE_RULE; } @@ -291,17 +291,17 @@ public: void SetCountPhantoms(bool bCountPhantoms); // erfragen und setzen der Poolvorlagen-Id's - USHORT GetPoolFmtId() const { return nPoolFmtId; } - void SetPoolFmtId( USHORT nId ) { nPoolFmtId = nId; } + USHORT GetPoolFmtId() const { return nPoolFmtId; } + void SetPoolFmtId( USHORT nId ) { nPoolFmtId = nId; } // erfragen und setzen der Hilfe-Id's fuer die Document-Vorlagen - USHORT GetPoolHelpId() const { return nPoolHelpId; } - void SetPoolHelpId( USHORT nId ) { nPoolHelpId = nId; } - BYTE GetPoolHlpFileId() const { return nPoolHlpFileId; } - void SetPoolHlpFileId( BYTE nId ) { nPoolHlpFileId = nId; } + USHORT GetPoolHelpId() const { return nPoolHelpId; } + void SetPoolHelpId( USHORT nId ) { nPoolHelpId = nId; } + BYTE GetPoolHlpFileId() const { return nPoolHlpFileId; } + void SetPoolHlpFileId( BYTE nId ) { nPoolHlpFileId = nId; } - void SetSvxRule(const SvxNumRule&, SwDoc* pDoc); - SvxNumRule MakeSvxNumRule() const; + void SetSvxRule(const SvxNumRule&, SwDoc* pDoc); + SvxNumRule MakeSvxNumRule() const; // #i23726#, #i23725# // --> OD 2008-06-09 #i90078# @@ -372,6 +372,6 @@ namespace numfunc SvxNumberFormat::SvxNumPositionAndSpaceMode GetDefaultPositionAndSpaceMode(); } -#endif // _NUMRULE_HXX +#endif // _NUMRULE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx index 173e299a6f00..e587a3d045b1 100644 --- a/sw/inc/pagedesc.hxx +++ b/sw/inc/pagedesc.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -32,7 +32,7 @@ #include <tools/color.hxx> #include <tools/string.hxx> #include "swdllapi.h" -#include <swtypes.hxx> //fuer SwTwips +#include <swtypes.hxx> //fuer SwTwips #include <frmfmt.hxx> #include <editeng/numitem.hxx> @@ -51,30 +51,30 @@ enum SwFtnAdj //footnote information class SW_DLLPUBLIC SwPageFtnInfo { - SwTwips nMaxHeight; //maximum height of the footnote area. - ULONG nLineWidth; //width of separator line - Color aLineColor; //color of the separator line - Fraction aWidth; //percentage width of the separator line. - SwFtnAdj eAdj; //line adjustment. - SwTwips nTopDist; //distance between body and separator. - SwTwips nBottomDist; //distance between separator and first footnote + SwTwips nMaxHeight; //maximum height of the footnote area. + ULONG nLineWidth; //width of separator line + Color aLineColor; //color of the separator line + Fraction aWidth; //percentage width of the separator line. + SwFtnAdj eAdj; //line adjustment. + SwTwips nTopDist; //distance between body and separator. + SwTwips nBottomDist; //distance between separator and first footnote public: - SwTwips GetHeight() const { return nMaxHeight; } - ULONG GetLineWidth() const { return nLineWidth; } - const Color& GetLineColor() const { return aLineColor;} - const Fraction& GetWidth() const { return aWidth; } - SwFtnAdj GetAdj() const { return eAdj; } - SwTwips GetTopDist()const { return nTopDist; } - SwTwips GetBottomDist() const { return nBottomDist; } - - void SetHeight( SwTwips nNew ) { nMaxHeight = nNew; } - void SetLineWidth(ULONG nSet ) { nLineWidth = nSet; } + SwTwips GetHeight() const { return nMaxHeight; } + ULONG GetLineWidth() const { return nLineWidth; } + const Color& GetLineColor() const { return aLineColor;} + const Fraction& GetWidth() const { return aWidth; } + SwFtnAdj GetAdj() const { return eAdj; } + SwTwips GetTopDist()const { return nTopDist; } + SwTwips GetBottomDist() const { return nBottomDist; } + + void SetHeight( SwTwips nNew ) { nMaxHeight = nNew; } + void SetLineWidth(ULONG nSet ) { nLineWidth = nSet; } void SetLineColor(const Color& rCol ) { aLineColor = rCol;} void SetWidth( const Fraction &rNew){ aWidth = rNew; } - void SetAdj ( SwFtnAdj eNew ) { eAdj = eNew; } - void SetTopDist ( SwTwips nNew ) { nTopDist = nNew; } - void SetBottomDist( SwTwips nNew ) { nBottomDist = nNew; } + void SetAdj ( SwFtnAdj eNew ) { eAdj = eNew; } + void SetTopDist ( SwTwips nNew ) { nTopDist = nNew; } + void SetBottomDist( SwTwips nNew ) { nBottomDist = nNew; } SwPageFtnInfo(); SwPageFtnInfo( const SwPageFtnInfo& ); @@ -86,13 +86,13 @@ public: /* * Verwendung des UseOnPage (eUse) und der FrmFmt'e * - * RIGHT - aMaster nur fuer rechte Seiten, linke Seiten immer leer. - * LEFT - aLeft fuer linke Seiten, rechte Seiten immer leer. - * aLeft ist eine Kopie des Master. - * ALL - aMaster fuer rechte Seiten, aLeft fuer Linke Seiten. - * aLeft ist eine Kopie des Master. - * MIRROR - aMaster fuer rechte Seiten, aLeft fuer linke Seiten. - * aLeft ist eine Kopie des Master, Raender sind gespiegelt. + * RIGHT - aMaster nur fuer rechte Seiten, linke Seiten immer leer. + * LEFT - aLeft fuer linke Seiten, rechte Seiten immer leer. + * aLeft ist eine Kopie des Master. + * ALL - aMaster fuer rechte Seiten, aLeft fuer Linke Seiten. + * aLeft ist eine Kopie des Master. + * MIRROR - aMaster fuer rechte Seiten, aLeft fuer linke Seiten. + * aLeft ist eine Kopie des Master, Raender sind gespiegelt. * * UI dreht auschliesslich am Master! aLeft wird beim Chg am Dokument * enstprechend dem eUse eingestellt. @@ -136,16 +136,16 @@ class SW_DLLPUBLIC SwPageDesc : public SwModify friend class SwDoc; friend class SwUndoPageDescExt; - String aDescName; - SvxNumberType aNumType; - SwFrmFmt aMaster; - SwFrmFmt aLeft; - SwDepend aDepend; // wg. Registerhaltigkeit + String aDescName; + SvxNumberType aNumType; + SwFrmFmt aMaster; + SwFrmFmt aLeft; + SwDepend aDepend; // wg. Registerhaltigkeit SwPageDesc *pFollow; - USHORT nRegHeight; // Zeilenabstand und Fontascent der Vorlage - USHORT nRegAscent; // fuer die Registerhaltigkeit - UseOnPage eUse; - BOOL bLandscape; + USHORT nRegHeight; // Zeilenabstand und Fontascent der Vorlage + USHORT nRegAscent; // fuer die Registerhaltigkeit + UseOnPage eUse; + BOOL bLandscape; //Fussnoteninformationen SwPageFtnInfo aFtnInfo; @@ -160,16 +160,16 @@ class SW_DLLPUBLIC SwPageDesc : public SwModify public: const String &GetName() const { return aDescName; } - void SetName( const String& rNewName ) { aDescName = rNewName; } + void SetName( const String& rNewName ) { aDescName = rNewName; } BOOL GetLandscape() const { return bLandscape; } void SetLandscape( BOOL bNew ) { bLandscape = bNew; } const SvxNumberType &GetNumType() const { return aNumType; } - void SetNumType( const SvxNumberType& rNew ) { aNumType = rNew; } + void SetNumType( const SvxNumberType& rNew ) { aNumType = rNew; } const SwPageFtnInfo &GetFtnInfo() const { return aFtnInfo; } - SwPageFtnInfo &GetFtnInfo() { return aFtnInfo; } + SwPageFtnInfo &GetFtnInfo() { return aFtnInfo; } void SetFtnInfo( const SwPageFtnInfo &rNew ) { aFtnInfo = rNew; } inline BOOL IsHeaderShared() const; @@ -177,10 +177,10 @@ public: inline void ChgHeaderShare( BOOL bNew ); inline void ChgFooterShare( BOOL bNew ); - inline void SetUseOn( UseOnPage eNew ); + inline void SetUseOn( UseOnPage eNew ); inline UseOnPage GetUseOn() const; - void WriteUseOn( UseOnPage eNew ) { eUse = eNew; } + void WriteUseOn( UseOnPage eNew ) { eUse = eNew; } UseOnPage ReadUseOn () const { return eUse; } SwFrmFmt &GetMaster() { return aMaster; } @@ -215,12 +215,12 @@ public: void RegisterChange(); // erfragen und setzen der PoolFormat-Id - USHORT GetPoolFmtId() const { return aMaster.GetPoolFmtId(); } - void SetPoolFmtId( USHORT nId ) { aMaster.SetPoolFmtId( nId ); } - USHORT GetPoolHelpId() const { return aMaster.GetPoolHelpId(); } - void SetPoolHelpId( USHORT nId ) { aMaster.SetPoolHelpId( nId ); } - BYTE GetPoolHlpFileId() const { return aMaster.GetPoolHlpFileId(); } - void SetPoolHlpFileId( BYTE nId ) { aMaster.SetPoolHlpFileId( nId ); } + USHORT GetPoolFmtId() const { return aMaster.GetPoolFmtId(); } + void SetPoolFmtId( USHORT nId ) { aMaster.SetPoolFmtId( nId ); } + USHORT GetPoolHelpId() const { return aMaster.GetPoolHelpId(); } + void SetPoolHelpId( USHORT nId ) { aMaster.SetPoolHelpId( nId ); } + BYTE GetPoolHlpFileId() const { return aMaster.GetPoolHlpFileId(); } + void SetPoolHlpFileId( BYTE nId ) { aMaster.SetPoolHlpFileId( nId ); } // erfrage vom Client Informationen virtual BOOL GetInfo( SfxPoolItem& ) const; @@ -269,7 +269,7 @@ inline void SwPageDesc::ChgFooterShare( BOOL bNew ) eUse = (UseOnPage) (eUse & nsUseOnPage::PD_NOFOOTERSHARE); // (USHORT&)eUse &= (USHORT)nsUseOnPage::PD_NOFOOTERSHARE; } -inline void SwPageDesc::SetUseOn( UseOnPage eNew ) +inline void SwPageDesc::SetUseOn( UseOnPage eNew ) { UseOnPage eTmp = nsUseOnPage::PD_NONE; if ( eUse & nsUseOnPage::PD_HEADERSHARE ) @@ -342,6 +342,6 @@ public: SwPageDesc* GetPageDescByName_Impl(SwDoc& rDoc, const String& rName); -#endif //_PAGEDESC_HXX +#endif //_PAGEDESC_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/pageiter.hxx b/sw/inc/pageiter.hxx index 86b4c8e6cfd1..af4dca447e47 100644 --- a/sw/inc/pageiter.hxx +++ b/sw/inc/pageiter.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/pam.hxx b/sw/inc/pam.hxx index 68b15fc92521..1f1e9c9da371 100644 --- a/sw/inc/pam.hxx +++ b/sw/inc/pam.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -28,13 +28,13 @@ #ifndef _PAM_HXX #define _PAM_HXX -#include <stddef.h> // fuer MemPool +#include <stddef.h> // fuer MemPool #include <tools/gen.hxx> #include <tools/mempool.hxx> -#include <cshtyp.hxx> // fuer die Funktions-Definitionen -#include <ring.hxx> // Superklasse -#include <index.hxx> // fuer SwIndex -#include <ndindex.hxx> // fuer SwNodeIndex +#include <cshtyp.hxx> // fuer die Funktions-Definitionen +#include <ring.hxx> // Superklasse +#include <index.hxx> // fuer SwIndex +#include <ndindex.hxx> // fuer SwNodeIndex #include "swdllapi.h" class SwFmt; @@ -75,7 +75,7 @@ struct SW_DLLPUBLIC SwPosition SwDoc * GetDoc() const; BOOL operator < (const SwPosition &) const; - BOOL operator > (const SwPosition &) const; + BOOL operator > (const SwPosition &) const; BOOL operator <=(const SwPosition &) const; BOOL operator >=(const SwPosition &) const; BOOL operator ==(const SwPosition &) const; @@ -85,15 +85,15 @@ struct SW_DLLPUBLIC SwPosition // das Ergebnis eines Positions Vergleiches enum SwComparePosition { - POS_BEFORE, // Pos1 liegt vor Pos2 - POS_BEHIND, // Pos1 liegt hinter Pos2 - POS_INSIDE, // Pos1 liegt vollstaendig in Pos2 - POS_OUTSIDE, // Pos2 liegt vollstaendig in Pos1 - POS_EQUAL, // Pos1 ist genauso gross wie Pos2 - POS_OVERLAP_BEFORE, // Pos1 ueberlappt Pos2 am Anfang - POS_OVERLAP_BEHIND, // Pos1 ueberlappt Pos2 am Ende - POS_COLLIDE_START, // Pos1 Start stoesst an Pos2 Ende - POS_COLLIDE_END // Pos1 End stoesst an Pos2 Start + POS_BEFORE, // Pos1 liegt vor Pos2 + POS_BEHIND, // Pos1 liegt hinter Pos2 + POS_INSIDE, // Pos1 liegt vollstaendig in Pos2 + POS_OUTSIDE, // Pos2 liegt vollstaendig in Pos1 + POS_EQUAL, // Pos1 ist genauso gross wie Pos2 + POS_OVERLAP_BEFORE, // Pos1 ueberlappt Pos2 am Anfang + POS_OVERLAP_BEHIND, // Pos1 ueberlappt Pos2 am Ende + POS_COLLIDE_START, // Pos1 Start stoesst an Pos2 Ende + POS_COLLIDE_END // Pos1 End stoesst an Pos2 Start }; SwComparePosition ComparePosition( const SwPosition& rStt1, const SwPosition& rEnd1, @@ -138,9 +138,9 @@ public: long nMkOffset = 0, long nPtOffset = 0, SwPaM* pRing = 0 ); SwPaM( const SwNode& rMk, const SwNode& rPt, long nMkOffset = 0, long nPtOffset = 0, SwPaM* pRing = 0 ); - SwPaM( const SwNodeIndex& rMk, xub_StrLen nMkCntnt, + SwPaM( const SwNodeIndex& rMk, xub_StrLen nMkCntnt, const SwNodeIndex& rPt, xub_StrLen nPtCntnt, SwPaM* pRing = 0 ); - SwPaM( const SwNode& rMk, xub_StrLen nMkCntnt, + SwPaM( const SwNode& rMk, xub_StrLen nMkCntnt, const SwNode& rPt, xub_StrLen nPtCntnt, SwPaM* pRing = 0 ); SwPaM( const SwNode& rNd, xub_StrLen nCntnt = 0, SwPaM* pRing = 0 ); SwPaM( const SwNodeIndex& rNd, xub_StrLen nCntnt = 0, SwPaM* pRing = 0 ); @@ -156,18 +156,18 @@ public: SwGoInDoc fnGo = fnGoCntnt ); // Suchen - BYTE Find( const com::sun::star::util::SearchOptions& rSearchOpt, + BYTE Find( const com::sun::star::util::SearchOptions& rSearchOpt, BOOL bSearchInNotes, utl::TextSearch& rSTxt, SwMoveFn fnMove = fnMoveForward, const SwPaM *pPam =0, BOOL bInReadOnly = FALSE); - BOOL Find( const SwFmt& rFmt, + BOOL Find( const SwFmt& rFmt, SwMoveFn fnMove = fnMoveForward, const SwPaM *pPam =0, BOOL bInReadOnly = FALSE); - BOOL Find( const SfxPoolItem& rAttr, BOOL bValue = TRUE, + BOOL Find( const SfxPoolItem& rAttr, BOOL bValue = TRUE, SwMoveFn fnMove = fnMoveForward, const SwPaM *pPam =0, BOOL bInReadOnly = FALSE ); - BOOL Find( const SfxItemSet& rAttr, BOOL bNoColls, + BOOL Find( const SfxItemSet& rAttr, BOOL bNoColls, SwMoveFn fnMove, const SwPaM *pPam, BOOL bInReadOnly, BOOL bMoveFirst ); @@ -264,7 +264,7 @@ public: { return *Start() <= rPos && rPos <= *End(); } static BOOL Overlap(const SwPaM & a, const SwPaM & b); - + static BOOL LessThan(const SwPaM & a, const SwPaM & b); DECL_FIXEDMEMPOOL_NEWDEL(SwPaM); @@ -278,6 +278,6 @@ BOOL CheckNodesRange( const SwNodeIndex&, const SwNodeIndex&, BOOL ); BOOL GoInCntnt( SwPaM & rPam, SwMoveFn fnMove ); -#endif // _PAM_HXX +#endif // _PAM_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/paratr.hxx b/sw/inc/paratr.hxx index 5355e440a6a3..67b7121aada7 100644 --- a/sw/inc/paratr.hxx +++ b/sw/inc/paratr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,7 +40,7 @@ class SwCharFmt; class IntlWrapper; /************************************************************************* -|* class SwFmtDrop +|* class SwFmtDrop *************************************************************************/ #define DROP_WHOLEWORD ((USHORT)0x0001) @@ -52,13 +52,13 @@ class IntlWrapper; //SwFmtDrop an die Absatze propagiert. class SW_DLLPUBLIC SwFmtDrop: public SfxPoolItem, public SwClient { - SwModify* pDefinedIn; // Modify-Object, in dem der DropCaps steht + SwModify* pDefinedIn; // Modify-Object, in dem der DropCaps steht // kann nur TxtFmtCollection/TxtNode sein USHORT nDistance; // Abstand zum Textbeginn - USHORT nReadFmt; // fuer den Sw3-Reader: CharFormat-Id (Pool laden!) - BYTE nLines; // Anzahl der Zeilen - BYTE nChars; // Anzahl der Zeichen - BOOL bWholeWord; // Erstes Wort als Initialen + USHORT nReadFmt; // fuer den Sw3-Reader: CharFormat-Id (Pool laden!) + BYTE nLines; // Anzahl der Zeilen + BYTE nChars; // Anzahl der Zeichen + BOOL bWholeWord; // Erstes Wort als Initialen public: TYPEINFO(); //Bereits in der Basisklasse SwClient @@ -74,14 +74,14 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); inline BYTE GetLines() const { return nLines; } inline BYTE &GetLines() { return nLines; } @@ -119,7 +119,7 @@ public: inline SwRegisterItem& operator=( const SwRegisterItem& rRegister ); // "pure virtual Methoden" vom SfxPoolItem - virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, @@ -159,15 +159,15 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId ); + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId ) const; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId ); }; class SwParaConnectBorderItem : public SfxBoolItem @@ -203,48 +203,48 @@ inline SwParaConnectBorderItem& SwParaConnectBorderItem::operator=( /****************************************************************************** - * Implementierung der Paragraph-Attribut Methoden vom SwAttrSet + * Implementierung der Paragraph-Attribut Methoden vom SwAttrSet ******************************************************************************/ inline const SvxLineSpacingItem &SwAttrSet::GetLineSpacing(BOOL bInP) const - { return (const SvxLineSpacingItem&)Get( RES_PARATR_LINESPACING,bInP); } + { return (const SvxLineSpacingItem&)Get( RES_PARATR_LINESPACING,bInP); } inline const SvxAdjustItem &SwAttrSet::GetAdjust(BOOL bInP) const - { return (const SvxAdjustItem&)Get( RES_PARATR_ADJUST,bInP); } + { return (const SvxAdjustItem&)Get( RES_PARATR_ADJUST,bInP); } inline const SvxFmtSplitItem &SwAttrSet::GetSplit(BOOL bInP) const - { return (const SvxFmtSplitItem&)Get( RES_PARATR_SPLIT,bInP); } + { return (const SvxFmtSplitItem&)Get( RES_PARATR_SPLIT,bInP); } inline const SwRegisterItem &SwAttrSet::GetRegister(BOOL bInP) const - { return (const SwRegisterItem&)Get( RES_PARATR_REGISTER,bInP); } + { return (const SwRegisterItem&)Get( RES_PARATR_REGISTER,bInP); } inline const SvxWidowsItem &SwAttrSet::GetWidows(BOOL bInP) const - { return (const SvxWidowsItem&)Get( RES_PARATR_WIDOWS,bInP); } + { return (const SvxWidowsItem&)Get( RES_PARATR_WIDOWS,bInP); } inline const SvxOrphansItem &SwAttrSet::GetOrphans(BOOL bInP) const - { return (const SvxOrphansItem&)Get( RES_PARATR_ORPHANS,bInP); } + { return (const SvxOrphansItem&)Get( RES_PARATR_ORPHANS,bInP); } inline const SvxTabStopItem &SwAttrSet::GetTabStops(BOOL bInP) const - { return (const SvxTabStopItem&)Get( RES_PARATR_TABSTOP,bInP); } + { return (const SvxTabStopItem&)Get( RES_PARATR_TABSTOP,bInP); } inline const SvxHyphenZoneItem &SwAttrSet::GetHyphenZone(BOOL bInP) const - { return (const SvxHyphenZoneItem&)Get(RES_PARATR_HYPHENZONE,bInP); } + { return (const SvxHyphenZoneItem&)Get(RES_PARATR_HYPHENZONE,bInP); } inline const SwFmtDrop &SwAttrSet::GetDrop(BOOL bInP) const - { return (const SwFmtDrop&)Get(RES_PARATR_DROP,bInP); } + { return (const SwFmtDrop&)Get(RES_PARATR_DROP,bInP); } inline const SwNumRuleItem &SwAttrSet::GetNumRule(BOOL bInP) const - { return (const SwNumRuleItem&)Get(RES_PARATR_NUMRULE,bInP); } + { return (const SwNumRuleItem&)Get(RES_PARATR_NUMRULE,bInP); } inline const SvxScriptSpaceItem& SwAttrSet::GetScriptSpace(BOOL bInP) const - { return (const SvxScriptSpaceItem&)Get(RES_PARATR_SCRIPTSPACE,bInP); } + { return (const SvxScriptSpaceItem&)Get(RES_PARATR_SCRIPTSPACE,bInP); } inline const SvxHangingPunctuationItem &SwAttrSet::GetHangingPunctuation(BOOL bInP) const - { return (const SvxHangingPunctuationItem&)Get(RES_PARATR_HANGINGPUNCTUATION,bInP); } + { return (const SvxHangingPunctuationItem&)Get(RES_PARATR_HANGINGPUNCTUATION,bInP); } inline const SvxForbiddenRuleItem &SwAttrSet::GetForbiddenRule(BOOL bInP) const - { return (const SvxForbiddenRuleItem&)Get(RES_PARATR_FORBIDDEN_RULES, bInP); } + { return (const SvxForbiddenRuleItem&)Get(RES_PARATR_FORBIDDEN_RULES, bInP); } inline const SvxParaVertAlignItem &SwAttrSet::GetParaVertAlign(BOOL bInP) const - { return (const SvxParaVertAlignItem&)Get( RES_PARATR_VERTALIGN, bInP ); } + { return (const SvxParaVertAlignItem&)Get( RES_PARATR_VERTALIGN, bInP ); } inline const SvxParaGridItem &SwAttrSet::GetParaGrid(BOOL bInP) const { return (const SvxParaGridItem&)Get( RES_PARATR_SNAPTOGRID, bInP ); } inline const SwParaConnectBorderItem &SwAttrSet::GetParaConnectBorder(BOOL bInP) const { return (const SwParaConnectBorderItem&)Get( RES_PARATR_CONNECT_BORDER, bInP ); } /****************************************************************************** - * Implementierung der Paragraph-Attribut Methoden vom SwFmt + * Implementierung der Paragraph-Attribut Methoden vom SwFmt ******************************************************************************/ inline const SvxLineSpacingItem &SwFmt::GetLineSpacing(BOOL bInP) const - { return aSet.GetLineSpacing(bInP); } + { return aSet.GetLineSpacing(bInP); } inline const SvxAdjustItem &SwFmt::GetAdjust(BOOL bInP) const { return aSet.GetAdjust(bInP); } inline const SvxFmtSplitItem &SwFmt::GetSplit(BOOL bInP) const @@ -256,13 +256,13 @@ inline const SvxWidowsItem &SwFmt::GetWidows(BOOL bInP) const inline const SvxOrphansItem &SwFmt::GetOrphans(BOOL bInP) const { return aSet.GetOrphans(bInP); } inline const SvxTabStopItem &SwFmt::GetTabStops(BOOL bInP) const - { return aSet.GetTabStops(bInP); } + { return aSet.GetTabStops(bInP); } inline const SvxHyphenZoneItem &SwFmt::GetHyphenZone(BOOL bInP) const { return aSet.GetHyphenZone(bInP); } inline const SwFmtDrop &SwFmt::GetDrop(BOOL bInP) const - { return aSet.GetDrop(bInP); } + { return aSet.GetDrop(bInP); } inline const SwNumRuleItem &SwFmt::GetNumRule(BOOL bInP) const - { return aSet.GetNumRule(bInP); } + { return aSet.GetNumRule(bInP); } inline const SvxScriptSpaceItem& SwFmt::GetScriptSpace(BOOL bInP) const { return aSet.GetScriptSpace(bInP) ; } inline const SvxHangingPunctuationItem &SwFmt::GetHangingPunctuation(BOOL bInP) const diff --git a/sw/inc/pausethreadstarting.hxx b/sw/inc/pausethreadstarting.hxx index 62d2c91a33f3..d87a79938c29 100644 --- a/sw/inc/pausethreadstarting.hxx +++ b/sw/inc/pausethreadstarting.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/pch/precompiled_sw.cxx b/sw/inc/pch/precompiled_sw.cxx index e5e35c1cf17f..5dc3a1dc39cc 100644 --- a/sw/inc/pch/precompiled_sw.cxx +++ b/sw/inc/pch/precompiled_sw.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/pch/precompiled_sw.hxx b/sw/inc/pch/precompiled_sw.hxx index bfb8696617f1..6784017294ad 100644 --- a/sw/inc/pch/precompiled_sw.hxx +++ b/sw/inc/pch/precompiled_sw.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/poolfmt.hrc b/sw/inc/poolfmt.hrc index f191f0fac78c..c73baa70ec61 100644 --- a/sw/inc/poolfmt.hrc +++ b/sw/inc/poolfmt.hrc @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -34,248 +34,248 @@ // --------------- // Zeichenvorlagen: -#define STR_POOLCHR_FOOTNOTE (RC_POOLCHRFMT_BEGIN+ 0) -#define STR_POOLCHR_PAGENO (RC_POOLCHRFMT_BEGIN+ 1) -#define STR_POOLCHR_LABEL (RC_POOLCHRFMT_BEGIN+ 2) -#define STR_POOLCHR_DROPCAPS (RC_POOLCHRFMT_BEGIN+ 3) -#define STR_POOLCHR_NUM_LEVEL (RC_POOLCHRFMT_BEGIN+ 4) -#define STR_POOLCHR_BUL_LEVEL (RC_POOLCHRFMT_BEGIN+ 5) -#define STR_POOLCHR_INET_NORMAL (RC_POOLCHRFMT_BEGIN+ 6) -#define STR_POOLCHR_INET_VISIT (RC_POOLCHRFMT_BEGIN+ 7) -#define STR_POOLCHR_JUMPEDIT (RC_POOLCHRFMT_BEGIN+ 8) -#define STR_POOLCHR_TOXJUMP (RC_POOLCHRFMT_BEGIN+ 9) -#define STR_POOLCHR_ENDNOTE (RC_POOLCHRFMT_BEGIN+ 10) -#define STR_POOLCHR_LINENUM (RC_POOLCHRFMT_BEGIN+ 11) +#define STR_POOLCHR_FOOTNOTE (RC_POOLCHRFMT_BEGIN+ 0) +#define STR_POOLCHR_PAGENO (RC_POOLCHRFMT_BEGIN+ 1) +#define STR_POOLCHR_LABEL (RC_POOLCHRFMT_BEGIN+ 2) +#define STR_POOLCHR_DROPCAPS (RC_POOLCHRFMT_BEGIN+ 3) +#define STR_POOLCHR_NUM_LEVEL (RC_POOLCHRFMT_BEGIN+ 4) +#define STR_POOLCHR_BUL_LEVEL (RC_POOLCHRFMT_BEGIN+ 5) +#define STR_POOLCHR_INET_NORMAL (RC_POOLCHRFMT_BEGIN+ 6) +#define STR_POOLCHR_INET_VISIT (RC_POOLCHRFMT_BEGIN+ 7) +#define STR_POOLCHR_JUMPEDIT (RC_POOLCHRFMT_BEGIN+ 8) +#define STR_POOLCHR_TOXJUMP (RC_POOLCHRFMT_BEGIN+ 9) +#define STR_POOLCHR_ENDNOTE (RC_POOLCHRFMT_BEGIN+ 10) +#define STR_POOLCHR_LINENUM (RC_POOLCHRFMT_BEGIN+ 11) #define STR_POOLCHR_IDX_MAIN_ENTRY (RC_POOLCHRFMT_BEGIN+ 12) #define STR_POOLCHR_FOOTNOTE_ANCHOR (RC_POOLCHRFMT_BEGIN+ 13) #define STR_POOLCHR_ENDNOTE_ANCHOR (RC_POOLCHRFMT_BEGIN+ 14) -#define STR_POOLCHR_RUBYTEXT (RC_POOLCHRFMT_BEGIN+ 15) +#define STR_POOLCHR_RUBYTEXT (RC_POOLCHRFMT_BEGIN+ 15) #define STR_POOLCHR_VERT_NUM (RC_POOLCHRFMT_BEGIN+ 16) -#define STR_POOLCHR_HTML_EMPHASIS (RC_POOLCHRFMT_HTML_BEGIN+ 0) -#define STR_POOLCHR_HTML_CITIATION (RC_POOLCHRFMT_HTML_BEGIN+ 1) -#define STR_POOLCHR_HTML_STRONG (RC_POOLCHRFMT_HTML_BEGIN+ 2) -#define STR_POOLCHR_HTML_CODE (RC_POOLCHRFMT_HTML_BEGIN+ 3) -#define STR_POOLCHR_HTML_SAMPLE (RC_POOLCHRFMT_HTML_BEGIN+ 4) -#define STR_POOLCHR_HTML_KEYBOARD (RC_POOLCHRFMT_HTML_BEGIN+ 5) -#define STR_POOLCHR_HTML_VARIABLE (RC_POOLCHRFMT_HTML_BEGIN+ 6) -#define STR_POOLCHR_HTML_DEFINSTANCE (RC_POOLCHRFMT_HTML_BEGIN+ 7) -#define STR_POOLCHR_HTML_TELETYPE (RC_POOLCHRFMT_HTML_BEGIN+ 8) +#define STR_POOLCHR_HTML_EMPHASIS (RC_POOLCHRFMT_HTML_BEGIN+ 0) +#define STR_POOLCHR_HTML_CITIATION (RC_POOLCHRFMT_HTML_BEGIN+ 1) +#define STR_POOLCHR_HTML_STRONG (RC_POOLCHRFMT_HTML_BEGIN+ 2) +#define STR_POOLCHR_HTML_CODE (RC_POOLCHRFMT_HTML_BEGIN+ 3) +#define STR_POOLCHR_HTML_SAMPLE (RC_POOLCHRFMT_HTML_BEGIN+ 4) +#define STR_POOLCHR_HTML_KEYBOARD (RC_POOLCHRFMT_HTML_BEGIN+ 5) +#define STR_POOLCHR_HTML_VARIABLE (RC_POOLCHRFMT_HTML_BEGIN+ 6) +#define STR_POOLCHR_HTML_DEFINSTANCE (RC_POOLCHRFMT_HTML_BEGIN+ 7) +#define STR_POOLCHR_HTML_TELETYPE (RC_POOLCHRFMT_HTML_BEGIN+ 8) // Rahmen-Vorlagen: -#define STR_POOLFRM_FRAME (RC_POOLFRMFMT_BEGIN+ 0) -#define STR_POOLFRM_GRAPHIC (RC_POOLFRMFMT_BEGIN+ 1) -#define STR_POOLFRM_OLE (RC_POOLFRMFMT_BEGIN+ 2) -#define STR_POOLFRM_FORMEL (RC_POOLFRMFMT_BEGIN+ 3) -#define STR_POOLFRM_MARGINAL (RC_POOLFRMFMT_BEGIN+ 4) -#define STR_POOLFRM_WATERSIGN (RC_POOLFRMFMT_BEGIN+ 5) -#define STR_POOLFRM_LABEL (RC_POOLFRMFMT_BEGIN+ 6) +#define STR_POOLFRM_FRAME (RC_POOLFRMFMT_BEGIN+ 0) +#define STR_POOLFRM_GRAPHIC (RC_POOLFRMFMT_BEGIN+ 1) +#define STR_POOLFRM_OLE (RC_POOLFRMFMT_BEGIN+ 2) +#define STR_POOLFRM_FORMEL (RC_POOLFRMFMT_BEGIN+ 3) +#define STR_POOLFRM_MARGINAL (RC_POOLFRMFMT_BEGIN+ 4) +#define STR_POOLFRM_WATERSIGN (RC_POOLFRMFMT_BEGIN+ 5) +#define STR_POOLFRM_LABEL (RC_POOLFRMFMT_BEGIN+ 6) // --------------- // die Vorlagen // --------------- // Gruppe Text -#define STR_POOLCOLL_STANDARD (RC_POOLCOLL_TEXT_BEGIN+ 0) -#define STR_POOLCOLL_TEXT (RC_POOLCOLL_TEXT_BEGIN+ 1) -#define STR_POOLCOLL_TEXT_IDENT (RC_POOLCOLL_TEXT_BEGIN+ 2) -#define STR_POOLCOLL_TEXT_NEGIDENT (RC_POOLCOLL_TEXT_BEGIN+ 3) -#define STR_POOLCOLL_TEXT_MOVE (RC_POOLCOLL_TEXT_BEGIN+ 4) -#define STR_POOLCOLL_GREETING (RC_POOLCOLL_TEXT_BEGIN+ 5) -#define STR_POOLCOLL_SIGNATURE (RC_POOLCOLL_TEXT_BEGIN+ 6) -#define STR_POOLCOLL_CONFRONTATION (RC_POOLCOLL_TEXT_BEGIN+ 7) -#define STR_POOLCOLL_MARGINAL (RC_POOLCOLL_TEXT_BEGIN+ 8) +#define STR_POOLCOLL_STANDARD (RC_POOLCOLL_TEXT_BEGIN+ 0) +#define STR_POOLCOLL_TEXT (RC_POOLCOLL_TEXT_BEGIN+ 1) +#define STR_POOLCOLL_TEXT_IDENT (RC_POOLCOLL_TEXT_BEGIN+ 2) +#define STR_POOLCOLL_TEXT_NEGIDENT (RC_POOLCOLL_TEXT_BEGIN+ 3) +#define STR_POOLCOLL_TEXT_MOVE (RC_POOLCOLL_TEXT_BEGIN+ 4) +#define STR_POOLCOLL_GREETING (RC_POOLCOLL_TEXT_BEGIN+ 5) +#define STR_POOLCOLL_SIGNATURE (RC_POOLCOLL_TEXT_BEGIN+ 6) +#define STR_POOLCOLL_CONFRONTATION (RC_POOLCOLL_TEXT_BEGIN+ 7) +#define STR_POOLCOLL_MARGINAL (RC_POOLCOLL_TEXT_BEGIN+ 8) // Untergruppierung Ueberschriften -#define STR_POOLCOLL_HEADLINE_BASE (RC_POOLCOLL_TEXT_BEGIN+ 9) -#define STR_POOLCOLL_HEADLINE1 (RC_POOLCOLL_TEXT_BEGIN+ 10) -#define STR_POOLCOLL_HEADLINE2 (RC_POOLCOLL_TEXT_BEGIN+ 11) -#define STR_POOLCOLL_HEADLINE3 (RC_POOLCOLL_TEXT_BEGIN+ 12) -#define STR_POOLCOLL_HEADLINE4 (RC_POOLCOLL_TEXT_BEGIN+ 13) -#define STR_POOLCOLL_HEADLINE5 (RC_POOLCOLL_TEXT_BEGIN+ 14) -#define STR_POOLCOLL_HEADLINE6 (RC_POOLCOLL_TEXT_BEGIN+ 15) -#define STR_POOLCOLL_HEADLINE7 (RC_POOLCOLL_TEXT_BEGIN+ 16) -#define STR_POOLCOLL_HEADLINE8 (RC_POOLCOLL_TEXT_BEGIN+ 17) -#define STR_POOLCOLL_HEADLINE9 (RC_POOLCOLL_TEXT_BEGIN+ 18) -#define STR_POOLCOLL_HEADLINE10 (RC_POOLCOLL_TEXT_BEGIN+ 19) +#define STR_POOLCOLL_HEADLINE_BASE (RC_POOLCOLL_TEXT_BEGIN+ 9) +#define STR_POOLCOLL_HEADLINE1 (RC_POOLCOLL_TEXT_BEGIN+ 10) +#define STR_POOLCOLL_HEADLINE2 (RC_POOLCOLL_TEXT_BEGIN+ 11) +#define STR_POOLCOLL_HEADLINE3 (RC_POOLCOLL_TEXT_BEGIN+ 12) +#define STR_POOLCOLL_HEADLINE4 (RC_POOLCOLL_TEXT_BEGIN+ 13) +#define STR_POOLCOLL_HEADLINE5 (RC_POOLCOLL_TEXT_BEGIN+ 14) +#define STR_POOLCOLL_HEADLINE6 (RC_POOLCOLL_TEXT_BEGIN+ 15) +#define STR_POOLCOLL_HEADLINE7 (RC_POOLCOLL_TEXT_BEGIN+ 16) +#define STR_POOLCOLL_HEADLINE8 (RC_POOLCOLL_TEXT_BEGIN+ 17) +#define STR_POOLCOLL_HEADLINE9 (RC_POOLCOLL_TEXT_BEGIN+ 18) +#define STR_POOLCOLL_HEADLINE10 (RC_POOLCOLL_TEXT_BEGIN+ 19) // Gruppe Listen -#define STR_POOLCOLL_NUMBUL_BASE (RC_POOLCOLL_LISTS_BEGIN+ 0) +#define STR_POOLCOLL_NUMBUL_BASE (RC_POOLCOLL_LISTS_BEGIN+ 0) // Untergruppe Nummerierung -#define STR_POOLCOLL_NUM_LEVEL1S (RC_POOLCOLL_LISTS_BEGIN+ 1) -#define STR_POOLCOLL_NUM_LEVEL1 (RC_POOLCOLL_LISTS_BEGIN+ 2) -#define STR_POOLCOLL_NUM_LEVEL1E (RC_POOLCOLL_LISTS_BEGIN+ 3) -#define STR_POOLCOLL_NUM_NONUM1 (RC_POOLCOLL_LISTS_BEGIN+ 4) -#define STR_POOLCOLL_NUM_LEVEL2S (RC_POOLCOLL_LISTS_BEGIN+ 5) -#define STR_POOLCOLL_NUM_LEVEL2 (RC_POOLCOLL_LISTS_BEGIN+ 6) -#define STR_POOLCOLL_NUM_LEVEL2E (RC_POOLCOLL_LISTS_BEGIN+ 7) -#define STR_POOLCOLL_NUM_NONUM2 (RC_POOLCOLL_LISTS_BEGIN+ 8) -#define STR_POOLCOLL_NUM_LEVEL3S (RC_POOLCOLL_LISTS_BEGIN+ 9) -#define STR_POOLCOLL_NUM_LEVEL3 (RC_POOLCOLL_LISTS_BEGIN+ 10) -#define STR_POOLCOLL_NUM_LEVEL3E (RC_POOLCOLL_LISTS_BEGIN+ 11) -#define STR_POOLCOLL_NUM_NONUM3 (RC_POOLCOLL_LISTS_BEGIN+ 12) -#define STR_POOLCOLL_NUM_LEVEL4S (RC_POOLCOLL_LISTS_BEGIN+ 13) -#define STR_POOLCOLL_NUM_LEVEL4 (RC_POOLCOLL_LISTS_BEGIN+ 14) -#define STR_POOLCOLL_NUM_LEVEL4E (RC_POOLCOLL_LISTS_BEGIN+ 15) -#define STR_POOLCOLL_NUM_NONUM4 (RC_POOLCOLL_LISTS_BEGIN+ 16) -#define STR_POOLCOLL_NUM_LEVEL5S (RC_POOLCOLL_LISTS_BEGIN+ 17) -#define STR_POOLCOLL_NUM_LEVEL5 (RC_POOLCOLL_LISTS_BEGIN+ 18) -#define STR_POOLCOLL_NUM_LEVEL5E (RC_POOLCOLL_LISTS_BEGIN+ 19) -#define STR_POOLCOLL_NUM_NONUM5 (RC_POOLCOLL_LISTS_BEGIN+ 20) +#define STR_POOLCOLL_NUM_LEVEL1S (RC_POOLCOLL_LISTS_BEGIN+ 1) +#define STR_POOLCOLL_NUM_LEVEL1 (RC_POOLCOLL_LISTS_BEGIN+ 2) +#define STR_POOLCOLL_NUM_LEVEL1E (RC_POOLCOLL_LISTS_BEGIN+ 3) +#define STR_POOLCOLL_NUM_NONUM1 (RC_POOLCOLL_LISTS_BEGIN+ 4) +#define STR_POOLCOLL_NUM_LEVEL2S (RC_POOLCOLL_LISTS_BEGIN+ 5) +#define STR_POOLCOLL_NUM_LEVEL2 (RC_POOLCOLL_LISTS_BEGIN+ 6) +#define STR_POOLCOLL_NUM_LEVEL2E (RC_POOLCOLL_LISTS_BEGIN+ 7) +#define STR_POOLCOLL_NUM_NONUM2 (RC_POOLCOLL_LISTS_BEGIN+ 8) +#define STR_POOLCOLL_NUM_LEVEL3S (RC_POOLCOLL_LISTS_BEGIN+ 9) +#define STR_POOLCOLL_NUM_LEVEL3 (RC_POOLCOLL_LISTS_BEGIN+ 10) +#define STR_POOLCOLL_NUM_LEVEL3E (RC_POOLCOLL_LISTS_BEGIN+ 11) +#define STR_POOLCOLL_NUM_NONUM3 (RC_POOLCOLL_LISTS_BEGIN+ 12) +#define STR_POOLCOLL_NUM_LEVEL4S (RC_POOLCOLL_LISTS_BEGIN+ 13) +#define STR_POOLCOLL_NUM_LEVEL4 (RC_POOLCOLL_LISTS_BEGIN+ 14) +#define STR_POOLCOLL_NUM_LEVEL4E (RC_POOLCOLL_LISTS_BEGIN+ 15) +#define STR_POOLCOLL_NUM_NONUM4 (RC_POOLCOLL_LISTS_BEGIN+ 16) +#define STR_POOLCOLL_NUM_LEVEL5S (RC_POOLCOLL_LISTS_BEGIN+ 17) +#define STR_POOLCOLL_NUM_LEVEL5 (RC_POOLCOLL_LISTS_BEGIN+ 18) +#define STR_POOLCOLL_NUM_LEVEL5E (RC_POOLCOLL_LISTS_BEGIN+ 19) +#define STR_POOLCOLL_NUM_NONUM5 (RC_POOLCOLL_LISTS_BEGIN+ 20) // Untergruppe Aufzaehlung -#define STR_POOLCOLL_BUL_LEVEL1S (RC_POOLCOLL_LISTS_BEGIN+ 21) -#define STR_POOLCOLL_BUL_LEVEL1 (RC_POOLCOLL_LISTS_BEGIN+ 22) -#define STR_POOLCOLL_BUL_LEVEL1E (RC_POOLCOLL_LISTS_BEGIN+ 23) -#define STR_POOLCOLL_BUL_NONUM1 (RC_POOLCOLL_LISTS_BEGIN+ 24) -#define STR_POOLCOLL_BUL_LEVEL2S (RC_POOLCOLL_LISTS_BEGIN+ 25) -#define STR_POOLCOLL_BUL_LEVEL2 (RC_POOLCOLL_LISTS_BEGIN+ 26) -#define STR_POOLCOLL_BUL_LEVEL2E (RC_POOLCOLL_LISTS_BEGIN+ 27) -#define STR_POOLCOLL_BUL_NONUM2 (RC_POOLCOLL_LISTS_BEGIN+ 28) -#define STR_POOLCOLL_BUL_LEVEL3S (RC_POOLCOLL_LISTS_BEGIN+ 29) -#define STR_POOLCOLL_BUL_LEVEL3 (RC_POOLCOLL_LISTS_BEGIN+ 30) -#define STR_POOLCOLL_BUL_LEVEL3E (RC_POOLCOLL_LISTS_BEGIN+ 31) -#define STR_POOLCOLL_BUL_NONUM3 (RC_POOLCOLL_LISTS_BEGIN+ 32) -#define STR_POOLCOLL_BUL_LEVEL4S (RC_POOLCOLL_LISTS_BEGIN+ 33) -#define STR_POOLCOLL_BUL_LEVEL4 (RC_POOLCOLL_LISTS_BEGIN+ 34) -#define STR_POOLCOLL_BUL_LEVEL4E (RC_POOLCOLL_LISTS_BEGIN+ 35) -#define STR_POOLCOLL_BUL_NONUM4 (RC_POOLCOLL_LISTS_BEGIN+ 36) -#define STR_POOLCOLL_BUL_LEVEL5S (RC_POOLCOLL_LISTS_BEGIN+ 37) -#define STR_POOLCOLL_BUL_LEVEL5 (RC_POOLCOLL_LISTS_BEGIN+ 38) -#define STR_POOLCOLL_BUL_LEVEL5E (RC_POOLCOLL_LISTS_BEGIN+ 39) -#define STR_POOLCOLL_BUL_NONUM5 (RC_POOLCOLL_LISTS_BEGIN+ 40) +#define STR_POOLCOLL_BUL_LEVEL1S (RC_POOLCOLL_LISTS_BEGIN+ 21) +#define STR_POOLCOLL_BUL_LEVEL1 (RC_POOLCOLL_LISTS_BEGIN+ 22) +#define STR_POOLCOLL_BUL_LEVEL1E (RC_POOLCOLL_LISTS_BEGIN+ 23) +#define STR_POOLCOLL_BUL_NONUM1 (RC_POOLCOLL_LISTS_BEGIN+ 24) +#define STR_POOLCOLL_BUL_LEVEL2S (RC_POOLCOLL_LISTS_BEGIN+ 25) +#define STR_POOLCOLL_BUL_LEVEL2 (RC_POOLCOLL_LISTS_BEGIN+ 26) +#define STR_POOLCOLL_BUL_LEVEL2E (RC_POOLCOLL_LISTS_BEGIN+ 27) +#define STR_POOLCOLL_BUL_NONUM2 (RC_POOLCOLL_LISTS_BEGIN+ 28) +#define STR_POOLCOLL_BUL_LEVEL3S (RC_POOLCOLL_LISTS_BEGIN+ 29) +#define STR_POOLCOLL_BUL_LEVEL3 (RC_POOLCOLL_LISTS_BEGIN+ 30) +#define STR_POOLCOLL_BUL_LEVEL3E (RC_POOLCOLL_LISTS_BEGIN+ 31) +#define STR_POOLCOLL_BUL_NONUM3 (RC_POOLCOLL_LISTS_BEGIN+ 32) +#define STR_POOLCOLL_BUL_LEVEL4S (RC_POOLCOLL_LISTS_BEGIN+ 33) +#define STR_POOLCOLL_BUL_LEVEL4 (RC_POOLCOLL_LISTS_BEGIN+ 34) +#define STR_POOLCOLL_BUL_LEVEL4E (RC_POOLCOLL_LISTS_BEGIN+ 35) +#define STR_POOLCOLL_BUL_NONUM4 (RC_POOLCOLL_LISTS_BEGIN+ 36) +#define STR_POOLCOLL_BUL_LEVEL5S (RC_POOLCOLL_LISTS_BEGIN+ 37) +#define STR_POOLCOLL_BUL_LEVEL5 (RC_POOLCOLL_LISTS_BEGIN+ 38) +#define STR_POOLCOLL_BUL_LEVEL5E (RC_POOLCOLL_LISTS_BEGIN+ 39) +#define STR_POOLCOLL_BUL_NONUM5 (RC_POOLCOLL_LISTS_BEGIN+ 40) // Sonderbereiche // Untergruppe Header -#define STR_POOLCOLL_HEADER (RC_POOLCOLL_EXTRA_BEGIN+ 0) -#define STR_POOLCOLL_HEADERL (RC_POOLCOLL_EXTRA_BEGIN+ 1) -#define STR_POOLCOLL_HEADERR (RC_POOLCOLL_EXTRA_BEGIN+ 2) +#define STR_POOLCOLL_HEADER (RC_POOLCOLL_EXTRA_BEGIN+ 0) +#define STR_POOLCOLL_HEADERL (RC_POOLCOLL_EXTRA_BEGIN+ 1) +#define STR_POOLCOLL_HEADERR (RC_POOLCOLL_EXTRA_BEGIN+ 2) // Untergruppe Footer -#define STR_POOLCOLL_FOOTER (RC_POOLCOLL_EXTRA_BEGIN+ 3) -#define STR_POOLCOLL_FOOTERL (RC_POOLCOLL_EXTRA_BEGIN+ 4) -#define STR_POOLCOLL_FOOTERR (RC_POOLCOLL_EXTRA_BEGIN+ 5) +#define STR_POOLCOLL_FOOTER (RC_POOLCOLL_EXTRA_BEGIN+ 3) +#define STR_POOLCOLL_FOOTERL (RC_POOLCOLL_EXTRA_BEGIN+ 4) +#define STR_POOLCOLL_FOOTERR (RC_POOLCOLL_EXTRA_BEGIN+ 5) // Untergruppe Tabelle -#define STR_POOLCOLL_TABLE (RC_POOLCOLL_EXTRA_BEGIN+ 6) -#define STR_POOLCOLL_TABLE_HDLN (RC_POOLCOLL_EXTRA_BEGIN+ 7) +#define STR_POOLCOLL_TABLE (RC_POOLCOLL_EXTRA_BEGIN+ 6) +#define STR_POOLCOLL_TABLE_HDLN (RC_POOLCOLL_EXTRA_BEGIN+ 7) // Untergruppe Labels -#define STR_POOLCOLL_LABEL (RC_POOLCOLL_EXTRA_BEGIN+ 8) -#define STR_POOLCOLL_LABEL_ABB (RC_POOLCOLL_EXTRA_BEGIN+ 9) -#define STR_POOLCOLL_LABEL_TABLE (RC_POOLCOLL_EXTRA_BEGIN+ 10) -#define STR_POOLCOLL_LABEL_FRAME (RC_POOLCOLL_EXTRA_BEGIN+ 11) +#define STR_POOLCOLL_LABEL (RC_POOLCOLL_EXTRA_BEGIN+ 8) +#define STR_POOLCOLL_LABEL_ABB (RC_POOLCOLL_EXTRA_BEGIN+ 9) +#define STR_POOLCOLL_LABEL_TABLE (RC_POOLCOLL_EXTRA_BEGIN+ 10) +#define STR_POOLCOLL_LABEL_FRAME (RC_POOLCOLL_EXTRA_BEGIN+ 11) // sonstiges -#define STR_POOLCOLL_FRAME (RC_POOLCOLL_EXTRA_BEGIN+ 12) -#define STR_POOLCOLL_FOOTNOTE (RC_POOLCOLL_EXTRA_BEGIN+ 13) -#define STR_POOLCOLL_JAKETADRESS (RC_POOLCOLL_EXTRA_BEGIN+ 14) -#define STR_POOLCOLL_SENDADRESS (RC_POOLCOLL_EXTRA_BEGIN+ 15) -#define STR_POOLCOLL_ENDNOTE (RC_POOLCOLL_EXTRA_BEGIN+ 16) +#define STR_POOLCOLL_FRAME (RC_POOLCOLL_EXTRA_BEGIN+ 12) +#define STR_POOLCOLL_FOOTNOTE (RC_POOLCOLL_EXTRA_BEGIN+ 13) +#define STR_POOLCOLL_JAKETADRESS (RC_POOLCOLL_EXTRA_BEGIN+ 14) +#define STR_POOLCOLL_SENDADRESS (RC_POOLCOLL_EXTRA_BEGIN+ 15) +#define STR_POOLCOLL_ENDNOTE (RC_POOLCOLL_EXTRA_BEGIN+ 16) -#define STR_POOLCOLL_LABEL_DRAWING (RC_POOLCOLL_EXTRA_BEGIN+ 17) +#define STR_POOLCOLL_LABEL_DRAWING (RC_POOLCOLL_EXTRA_BEGIN+ 17) // Gruppe Verzeichnisse -#define STR_POOLCOLL_REGISTER_BASE (RC_POOLCOLL_REGISTER_BEGIN+ 0) +#define STR_POOLCOLL_REGISTER_BASE (RC_POOLCOLL_REGISTER_BEGIN+ 0) // Untergruppe Index-Verzeichnisse -#define STR_POOLCOLL_TOX_IDXH (RC_POOLCOLL_REGISTER_BEGIN+ 1) -#define STR_POOLCOLL_TOX_IDX1 (RC_POOLCOLL_REGISTER_BEGIN+ 2) -#define STR_POOLCOLL_TOX_IDX2 (RC_POOLCOLL_REGISTER_BEGIN+ 3) -#define STR_POOLCOLL_TOX_IDX3 (RC_POOLCOLL_REGISTER_BEGIN+ 4) -#define STR_POOLCOLL_TOX_IDXBREAK (RC_POOLCOLL_REGISTER_BEGIN+ 5) +#define STR_POOLCOLL_TOX_IDXH (RC_POOLCOLL_REGISTER_BEGIN+ 1) +#define STR_POOLCOLL_TOX_IDX1 (RC_POOLCOLL_REGISTER_BEGIN+ 2) +#define STR_POOLCOLL_TOX_IDX2 (RC_POOLCOLL_REGISTER_BEGIN+ 3) +#define STR_POOLCOLL_TOX_IDX3 (RC_POOLCOLL_REGISTER_BEGIN+ 4) +#define STR_POOLCOLL_TOX_IDXBREAK (RC_POOLCOLL_REGISTER_BEGIN+ 5) // Untergruppe Inhalts-Verzeichnisse -#define STR_POOLCOLL_TOX_CNTNTH (RC_POOLCOLL_REGISTER_BEGIN+ 6) -#define STR_POOLCOLL_TOX_CNTNT1 (RC_POOLCOLL_REGISTER_BEGIN+ 7) -#define STR_POOLCOLL_TOX_CNTNT2 (RC_POOLCOLL_REGISTER_BEGIN+ 8) -#define STR_POOLCOLL_TOX_CNTNT3 (RC_POOLCOLL_REGISTER_BEGIN+ 9) -#define STR_POOLCOLL_TOX_CNTNT4 (RC_POOLCOLL_REGISTER_BEGIN+ 10) -#define STR_POOLCOLL_TOX_CNTNT5 (RC_POOLCOLL_REGISTER_BEGIN+ 11) +#define STR_POOLCOLL_TOX_CNTNTH (RC_POOLCOLL_REGISTER_BEGIN+ 6) +#define STR_POOLCOLL_TOX_CNTNT1 (RC_POOLCOLL_REGISTER_BEGIN+ 7) +#define STR_POOLCOLL_TOX_CNTNT2 (RC_POOLCOLL_REGISTER_BEGIN+ 8) +#define STR_POOLCOLL_TOX_CNTNT3 (RC_POOLCOLL_REGISTER_BEGIN+ 9) +#define STR_POOLCOLL_TOX_CNTNT4 (RC_POOLCOLL_REGISTER_BEGIN+ 10) +#define STR_POOLCOLL_TOX_CNTNT5 (RC_POOLCOLL_REGISTER_BEGIN+ 11) // Untergruppe Benutzer-Verzeichnisse: -#define STR_POOLCOLL_TOX_USERH (RC_POOLCOLL_REGISTER_BEGIN+ 12) -#define STR_POOLCOLL_TOX_USER1 (RC_POOLCOLL_REGISTER_BEGIN+ 13) -#define STR_POOLCOLL_TOX_USER2 (RC_POOLCOLL_REGISTER_BEGIN+ 14) -#define STR_POOLCOLL_TOX_USER3 (RC_POOLCOLL_REGISTER_BEGIN+ 15) -#define STR_POOLCOLL_TOX_USER4 (RC_POOLCOLL_REGISTER_BEGIN+ 16) -#define STR_POOLCOLL_TOX_USER5 (RC_POOLCOLL_REGISTER_BEGIN+ 17) +#define STR_POOLCOLL_TOX_USERH (RC_POOLCOLL_REGISTER_BEGIN+ 12) +#define STR_POOLCOLL_TOX_USER1 (RC_POOLCOLL_REGISTER_BEGIN+ 13) +#define STR_POOLCOLL_TOX_USER2 (RC_POOLCOLL_REGISTER_BEGIN+ 14) +#define STR_POOLCOLL_TOX_USER3 (RC_POOLCOLL_REGISTER_BEGIN+ 15) +#define STR_POOLCOLL_TOX_USER4 (RC_POOLCOLL_REGISTER_BEGIN+ 16) +#define STR_POOLCOLL_TOX_USER5 (RC_POOLCOLL_REGISTER_BEGIN+ 17) // Untergruppe Inhalts-Verzeichnisse mehr Ebenen 5 - 10 -#define STR_POOLCOLL_TOX_CNTNT6 (RC_POOLCOLL_REGISTER_BEGIN+ 18) -#define STR_POOLCOLL_TOX_CNTNT7 (RC_POOLCOLL_REGISTER_BEGIN+ 19) -#define STR_POOLCOLL_TOX_CNTNT8 (RC_POOLCOLL_REGISTER_BEGIN+ 20) -#define STR_POOLCOLL_TOX_CNTNT9 (RC_POOLCOLL_REGISTER_BEGIN+ 21) -#define STR_POOLCOLL_TOX_CNTNT10 (RC_POOLCOLL_REGISTER_BEGIN+ 22) +#define STR_POOLCOLL_TOX_CNTNT6 (RC_POOLCOLL_REGISTER_BEGIN+ 18) +#define STR_POOLCOLL_TOX_CNTNT7 (RC_POOLCOLL_REGISTER_BEGIN+ 19) +#define STR_POOLCOLL_TOX_CNTNT8 (RC_POOLCOLL_REGISTER_BEGIN+ 20) +#define STR_POOLCOLL_TOX_CNTNT9 (RC_POOLCOLL_REGISTER_BEGIN+ 21) +#define STR_POOLCOLL_TOX_CNTNT10 (RC_POOLCOLL_REGISTER_BEGIN+ 22) // illustrations index -#define STR_POOLCOLL_TOX_ILLUSH (RC_POOLCOLL_REGISTER_BEGIN+ 23) +#define STR_POOLCOLL_TOX_ILLUSH (RC_POOLCOLL_REGISTER_BEGIN+ 23) #define STR_POOLCOLL_TOX_ILLUS1 (RC_POOLCOLL_REGISTER_BEGIN+ 24) -// object index -#define STR_POOLCOLL_TOX_OBJECTH (RC_POOLCOLL_REGISTER_BEGIN+ 25) +// object index +#define STR_POOLCOLL_TOX_OBJECTH (RC_POOLCOLL_REGISTER_BEGIN+ 25) #define STR_POOLCOLL_TOX_OBJECT1 (RC_POOLCOLL_REGISTER_BEGIN+ 26) -// tables index -#define STR_POOLCOLL_TOX_TABLESH (RC_POOLCOLL_REGISTER_BEGIN+ 27) +// tables index +#define STR_POOLCOLL_TOX_TABLESH (RC_POOLCOLL_REGISTER_BEGIN+ 27) #define STR_POOLCOLL_TOX_TABLES1 (RC_POOLCOLL_REGISTER_BEGIN+ 28) -// index of authorities -#define STR_POOLCOLL_TOX_AUTHORITIESH (RC_POOLCOLL_REGISTER_BEGIN+ 29) +// index of authorities +#define STR_POOLCOLL_TOX_AUTHORITIESH (RC_POOLCOLL_REGISTER_BEGIN+ 29) #define STR_POOLCOLL_TOX_AUTHORITIES1 (RC_POOLCOLL_REGISTER_BEGIN+ 30) // Untergruppe Benutzer-Verzeichnisse mehr Ebenen 5 - 10 -#define STR_POOLCOLL_TOX_USER6 (RC_POOLCOLL_REGISTER_BEGIN+ 31) -#define STR_POOLCOLL_TOX_USER7 (RC_POOLCOLL_REGISTER_BEGIN+ 32) -#define STR_POOLCOLL_TOX_USER8 (RC_POOLCOLL_REGISTER_BEGIN+ 33) -#define STR_POOLCOLL_TOX_USER9 (RC_POOLCOLL_REGISTER_BEGIN+ 34) -#define STR_POOLCOLL_TOX_USER10 (RC_POOLCOLL_REGISTER_BEGIN+ 35) +#define STR_POOLCOLL_TOX_USER6 (RC_POOLCOLL_REGISTER_BEGIN+ 31) +#define STR_POOLCOLL_TOX_USER7 (RC_POOLCOLL_REGISTER_BEGIN+ 32) +#define STR_POOLCOLL_TOX_USER8 (RC_POOLCOLL_REGISTER_BEGIN+ 33) +#define STR_POOLCOLL_TOX_USER9 (RC_POOLCOLL_REGISTER_BEGIN+ 34) +#define STR_POOLCOLL_TOX_USER10 (RC_POOLCOLL_REGISTER_BEGIN+ 35) // Gruppe Kapitel/Dokument -#define STR_POOLCOLL_DOC_TITEL (RC_POOLCOLL_DOC_BEGIN+ 0) -#define STR_POOLCOLL_DOC_SUBTITEL (RC_POOLCOLL_DOC_BEGIN+ 1) +#define STR_POOLCOLL_DOC_TITEL (RC_POOLCOLL_DOC_BEGIN+ 0) +#define STR_POOLCOLL_DOC_SUBTITEL (RC_POOLCOLL_DOC_BEGIN+ 1) // Gruppe HTML-Vorlagen -#define STR_POOLCOLL_HTML_BLOCKQUOTE (RC_POOLCOLL_HTML_BEGIN+ 0) -#define STR_POOLCOLL_HTML_PRE (RC_POOLCOLL_HTML_BEGIN+ 1) -#define STR_POOLCOLL_HTML_HR (RC_POOLCOLL_HTML_BEGIN+ 2) -#define STR_POOLCOLL_HTML_DD (RC_POOLCOLL_HTML_BEGIN+ 3) -#define STR_POOLCOLL_HTML_DT (RC_POOLCOLL_HTML_BEGIN+ 4) +#define STR_POOLCOLL_HTML_BLOCKQUOTE (RC_POOLCOLL_HTML_BEGIN+ 0) +#define STR_POOLCOLL_HTML_PRE (RC_POOLCOLL_HTML_BEGIN+ 1) +#define STR_POOLCOLL_HTML_HR (RC_POOLCOLL_HTML_BEGIN+ 2) +#define STR_POOLCOLL_HTML_DD (RC_POOLCOLL_HTML_BEGIN+ 3) +#define STR_POOLCOLL_HTML_DT (RC_POOLCOLL_HTML_BEGIN+ 4) //----------------- // Page styles //----------------- -#define STR_POOLPAGE_STANDARD (RC_POOLPAGEDESC_BEGIN+ 0) -#define STR_POOLPAGE_FIRST (RC_POOLPAGEDESC_BEGIN+ 1) -#define STR_POOLPAGE_LEFT (RC_POOLPAGEDESC_BEGIN+ 2) -#define STR_POOLPAGE_RIGHT (RC_POOLPAGEDESC_BEGIN+ 3) -#define STR_POOLPAGE_JAKET (RC_POOLPAGEDESC_BEGIN+ 4) -#define STR_POOLPAGE_REGISTER (RC_POOLPAGEDESC_BEGIN+ 5) -#define STR_POOLPAGE_HTML (RC_POOLPAGEDESC_BEGIN+ 6) -#define STR_POOLPAGE_FOOTNOTE (RC_POOLPAGEDESC_BEGIN+ 7) -#define STR_POOLPAGE_ENDNOTE (RC_POOLPAGEDESC_BEGIN+ 8) +#define STR_POOLPAGE_STANDARD (RC_POOLPAGEDESC_BEGIN+ 0) +#define STR_POOLPAGE_FIRST (RC_POOLPAGEDESC_BEGIN+ 1) +#define STR_POOLPAGE_LEFT (RC_POOLPAGEDESC_BEGIN+ 2) +#define STR_POOLPAGE_RIGHT (RC_POOLPAGEDESC_BEGIN+ 3) +#define STR_POOLPAGE_JAKET (RC_POOLPAGEDESC_BEGIN+ 4) +#define STR_POOLPAGE_REGISTER (RC_POOLPAGEDESC_BEGIN+ 5) +#define STR_POOLPAGE_HTML (RC_POOLPAGEDESC_BEGIN+ 6) +#define STR_POOLPAGE_FOOTNOTE (RC_POOLPAGEDESC_BEGIN+ 7) +#define STR_POOLPAGE_ENDNOTE (RC_POOLPAGEDESC_BEGIN+ 8) #define STR_POOLPAGE_LANDSCAPE (RC_POOLPAGEDESC_BEGIN+ 9) //----------------- // Numbering styles //----------------- -#define STR_POOLNUMRULE_NUM1 (RC_POOLNUMRULE_BEGIN+ 0) -#define STR_POOLNUMRULE_NUM2 (RC_POOLNUMRULE_BEGIN+ 1) -#define STR_POOLNUMRULE_NUM3 (RC_POOLNUMRULE_BEGIN+ 2) -#define STR_POOLNUMRULE_NUM4 (RC_POOLNUMRULE_BEGIN+ 3) -#define STR_POOLNUMRULE_NUM5 (RC_POOLNUMRULE_BEGIN+ 4) -#define STR_POOLNUMRULE_BUL1 (RC_POOLNUMRULE_BEGIN+ 5) -#define STR_POOLNUMRULE_BUL2 (RC_POOLNUMRULE_BEGIN+ 6) -#define STR_POOLNUMRULE_BUL3 (RC_POOLNUMRULE_BEGIN+ 7) -#define STR_POOLNUMRULE_BUL4 (RC_POOLNUMRULE_BEGIN+ 8) -#define STR_POOLNUMRULE_BUL5 (RC_POOLNUMRULE_BEGIN+ 9) +#define STR_POOLNUMRULE_NUM1 (RC_POOLNUMRULE_BEGIN+ 0) +#define STR_POOLNUMRULE_NUM2 (RC_POOLNUMRULE_BEGIN+ 1) +#define STR_POOLNUMRULE_NUM3 (RC_POOLNUMRULE_BEGIN+ 2) +#define STR_POOLNUMRULE_NUM4 (RC_POOLNUMRULE_BEGIN+ 3) +#define STR_POOLNUMRULE_NUM5 (RC_POOLNUMRULE_BEGIN+ 4) +#define STR_POOLNUMRULE_BUL1 (RC_POOLNUMRULE_BEGIN+ 5) +#define STR_POOLNUMRULE_BUL2 (RC_POOLNUMRULE_BEGIN+ 6) +#define STR_POOLNUMRULE_BUL3 (RC_POOLNUMRULE_BEGIN+ 7) +#define STR_POOLNUMRULE_BUL4 (RC_POOLNUMRULE_BEGIN+ 8) +#define STR_POOLNUMRULE_BUL5 (RC_POOLNUMRULE_BEGIN+ 9) //----------------- // Paragraph styles //----------------- -#define STR_POOLPARSTYLE_HEAD1 (STR_POOLPARSTYLE_BEGIN+ 0) -#define STR_POOLPARSTYLE_HEAD2 (STR_POOLPARSTYLE_BEGIN+ 1) -#define STR_POOLPARSTYLE_HEAD3 (STR_POOLPARSTYLE_BEGIN+ 2) -#define STR_POOLPARSTYLE_DEFAULT (STR_POOLPARSTYLE_BEGIN+ 3) -#define STR_POOLPARSTYLE_TEXTBODY (STR_POOLPARSTYLE_BEGIN+ 4) +#define STR_POOLPARSTYLE_HEAD1 (STR_POOLPARSTYLE_BEGIN+ 0) +#define STR_POOLPARSTYLE_HEAD2 (STR_POOLPARSTYLE_BEGIN+ 1) +#define STR_POOLPARSTYLE_HEAD3 (STR_POOLPARSTYLE_BEGIN+ 2) +#define STR_POOLPARSTYLE_DEFAULT (STR_POOLPARSTYLE_BEGIN+ 3) +#define STR_POOLPARSTYLE_TEXTBODY (STR_POOLPARSTYLE_BEGIN+ 4) #endif diff --git a/sw/inc/poolfmt.hxx b/sw/inc/poolfmt.hxx index 94553a44a48f..6bb4b8a45451 100644 --- a/sw/inc/poolfmt.hxx +++ b/sw/inc/poolfmt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -37,61 +37,61 @@ // !User! Bereich ! 0 ! Offset ! // +----+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ // -// Bereich: 1 - Text -// 2 - Listen -// 3 - Sonderbereiche -// 4 - Verzeichnisse -// 5 - Kapitel / Dokument -// 6 - HTML-Vorlagen +// Bereich: 1 - Text +// 2 - Listen +// 3 - Sonderbereiche +// 4 - Verzeichnisse +// 5 - Kapitel / Dokument +// 6 - HTML-Vorlagen // Andere IDs: // +----+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ // !User! Bereich ! 1 ! Offset ! // +----+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ -// Bereich: 0 - Zeichenvorlagen -// 1 - Frame-Vorlagen -// 2 - Seitenvorlagen -// 3 - Absatzformate (?) -// 4 - Grafikformate (?) +// Bereich: 0 - Zeichenvorlagen +// 1 - Frame-Vorlagen +// 2 - Seitenvorlagen +// 3 - Absatzformate (?) +// 4 - Grafikformate (?) // Fr alle IDs gilt: -// Herkunft: 0 -Pool -// 1 -Benutzer -// Offset: innerhalb der Gruppe +// Herkunft: 0 -Pool +// 1 -Benutzer +// Offset: innerhalb der Gruppe // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // -// ACHTUNG: neue ID's koennen nur noch am Ende der jeweiligen Gruppe -// zugefuegt werden. Diese Id's werden vom Reader/Writer ge- -// lesen und geschrieben. Diese kennen nur den Offset zum Start +// ACHTUNG: neue ID's koennen nur noch am Ende der jeweiligen Gruppe +// zugefuegt werden. Diese Id's werden vom Reader/Writer ge- +// lesen und geschrieben. Diese kennen nur den Offset zum Start // // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! // Maske fuer Erkennung von COLLPOOL-Ids: -const USHORT POOLGRP_NOCOLLID = (1 << 10); +const USHORT POOLGRP_NOCOLLID = (1 << 10); // POLLCOLL-Gruppen: -const USHORT USER_FMT = (1 << 15); -const USHORT POOL_FMT = (0 << 15); +const USHORT USER_FMT = (1 << 15); +const USHORT POOL_FMT = (0 << 15); -const USHORT COLL_TEXT_BITS = (1 << 11); -const USHORT COLL_LISTS_BITS = (2 << 11); -const USHORT COLL_EXTRA_BITS = (3 << 11); -const USHORT COLL_REGISTER_BITS = (4 << 11); -const USHORT COLL_DOC_BITS = (5 << 11); -const USHORT COLL_HTML_BITS = (6 << 11); +const USHORT COLL_TEXT_BITS = (1 << 11); +const USHORT COLL_LISTS_BITS = (2 << 11); +const USHORT COLL_EXTRA_BITS = (3 << 11); +const USHORT COLL_REGISTER_BITS = (4 << 11); +const USHORT COLL_DOC_BITS = (5 << 11); +const USHORT COLL_HTML_BITS = (6 << 11); const USHORT COLL_GET_RANGE_BITS = (15 << 11); // Sonstige Gruppen: const USHORT POOLGRP_CHARFMT = (0 << 11) + POOLGRP_NOCOLLID; -const USHORT POOLGRP_FRAMEFMT = (1 << 11) + POOLGRP_NOCOLLID; -const USHORT POOLGRP_PAGEDESC = (2 << 11) + POOLGRP_NOCOLLID; -const USHORT POOLGRP_NUMRULE = (3 << 11) + POOLGRP_NOCOLLID; -//const USHORT POOLGRP_GRFFMT = (4 << 11) + POOLGRP_NOCOLLID; // ? +const USHORT POOLGRP_FRAMEFMT = (1 << 11) + POOLGRP_NOCOLLID; +const USHORT POOLGRP_PAGEDESC = (2 << 11) + POOLGRP_NOCOLLID; +const USHORT POOLGRP_NUMRULE = (3 << 11) + POOLGRP_NOCOLLID; +//const USHORT POOLGRP_GRFFMT = (4 << 11) + POOLGRP_NOCOLLID; // ? // fuer Erkennung ob Benutzer-Vorlage oder nicht: const USHORT POOL_IDUSER_FMT = @@ -108,14 +108,14 @@ inline BOOL IsPoolUserFmt( USHORT nId ) // ID-s fuer die Bereiche enum RES_POOLFMT { -RES_POOLFMT_BEGIN = 1, // HIER GEHT'S LOS !!! +RES_POOLFMT_BEGIN = 1, // HIER GEHT'S LOS !!! RES_POOL_CHRFMT = RES_POOLFMT_BEGIN, RES_POOL_FRMFMT, RES_POOL_TXTCOLL, RES_POOL_PAGEFMT, -RES_POOL_PARFMT, // ??? -RES_POOL_GRFFMT, // ??? +RES_POOL_PARFMT, // ??? +RES_POOL_GRFFMT, // ??? RES_POOLFMT_END }; @@ -127,28 +127,28 @@ enum RES_POOL_CHRFMT_TYPE RES_POOLCHR_BEGIN = POOLGRP_CHARFMT, RES_POOLCHR_NORMAL_BEGIN = POOLGRP_CHARFMT, -RES_POOLCHR_FOOTNOTE = RES_POOLCHR_NORMAL_BEGIN, // Fussnote -RES_POOLCHR_PAGENO, // Seiten/Feld -RES_POOLCHR_LABEL, // Beschriftung -RES_POOLCHR_DROPCAPS, // Initialienzeichen -RES_POOLCHR_NUM_LEVEL, // Nummerierungszeichen -RES_POOLCHR_BUL_LEVEL, // Aufzaehlungszeichen - -RES_POOLCHR_INET_NORMAL, // Internet normal -RES_POOLCHR_INET_VISIT, // Internet besucht -RES_POOLCHR_JUMPEDIT, // Platzhalter -RES_POOLCHR_TOXJUMP, // Sprung aus Verzeichnis +RES_POOLCHR_FOOTNOTE = RES_POOLCHR_NORMAL_BEGIN, // Fussnote +RES_POOLCHR_PAGENO, // Seiten/Feld +RES_POOLCHR_LABEL, // Beschriftung +RES_POOLCHR_DROPCAPS, // Initialienzeichen +RES_POOLCHR_NUM_LEVEL, // Nummerierungszeichen +RES_POOLCHR_BUL_LEVEL, // Aufzaehlungszeichen + +RES_POOLCHR_INET_NORMAL, // Internet normal +RES_POOLCHR_INET_VISIT, // Internet besucht +RES_POOLCHR_JUMPEDIT, // Platzhalter +RES_POOLCHR_TOXJUMP, // Sprung aus Verzeichnis RES_POOLCHR_ENDNOTE, // Endnote -RES_POOLCHR_LINENUM, // Zeilennummerierung -RES_POOLCHR_IDX_MAIN_ENTRY, // main entry in indexes -RES_POOLCHR_FOOTNOTE_ANCHOR, // Fussnotenanker +RES_POOLCHR_LINENUM, // Zeilennummerierung +RES_POOLCHR_IDX_MAIN_ENTRY, // main entry in indexes +RES_POOLCHR_FOOTNOTE_ANCHOR, // Fussnotenanker RES_POOLCHR_ENDNOTE_ANCHOR, // Endnotenanker -RES_POOLCHR_RUBYTEXT, // Rubytext +RES_POOLCHR_RUBYTEXT, // Rubytext RES_POOLCHR_VERT_NUM, // Vertical numbering symbols RES_POOLCHR_NORMAL_END, -RES_POOLCHR_HTML_BEGIN = RES_POOLCHR_BEGIN + 50, // HTML-Vorlagen +RES_POOLCHR_HTML_BEGIN = RES_POOLCHR_BEGIN + 50, // HTML-Vorlagen RES_POOLCHR_HTML_EMPHASIS= RES_POOLCHR_HTML_BEGIN, RES_POOLCHR_HTML_CITIATION, RES_POOLCHR_HTML_STRONG, @@ -169,13 +169,13 @@ enum RES_POOL_FRMFMT_TYPE { RES_POOLFRM_BEGIN = POOLGRP_FRAMEFMT, -RES_POOLFRM_FRAME = RES_POOLFRM_BEGIN, // Rahmen -RES_POOLFRM_GRAPHIC, // Graphic -RES_POOLFRM_OLE, // OLE -RES_POOLFRM_FORMEL, // Formeln -RES_POOLFRM_MARGINAL, // Marginalen -RES_POOLFRM_WATERSIGN, // Wasserzeichen -RES_POOLFRM_LABEL, // Etikette +RES_POOLFRM_FRAME = RES_POOLFRM_BEGIN, // Rahmen +RES_POOLFRM_GRAPHIC, // Graphic +RES_POOLFRM_OLE, // OLE +RES_POOLFRM_FORMEL, // Formeln +RES_POOLFRM_MARGINAL, // Marginalen +RES_POOLFRM_WATERSIGN, // Wasserzeichen +RES_POOLFRM_LABEL, // Etikette RES_POOLFRM_END }; @@ -185,15 +185,15 @@ enum RES_POOL_PAGEFMT_TYPE { RES_POOLPAGE_BEGIN = POOLGRP_PAGEDESC, -RES_POOLPAGE_STANDARD = RES_POOLPAGE_BEGIN, // Standard-Seite -RES_POOLPAGE_FIRST, // Erste Seite -RES_POOLPAGE_LEFT, // Linke Seite -RES_POOLPAGE_RIGHT, // Rechte Seite -RES_POOLPAGE_JAKET, // Umschlag -RES_POOLPAGE_REGISTER, // Verzeichnis -RES_POOLPAGE_HTML, // HTML -RES_POOLPAGE_FOOTNOTE, // Fussnote bei Dokumentende -RES_POOLPAGE_ENDNOTE, // Endnotensseite +RES_POOLPAGE_STANDARD = RES_POOLPAGE_BEGIN, // Standard-Seite +RES_POOLPAGE_FIRST, // Erste Seite +RES_POOLPAGE_LEFT, // Linke Seite +RES_POOLPAGE_RIGHT, // Rechte Seite +RES_POOLPAGE_JAKET, // Umschlag +RES_POOLPAGE_REGISTER, // Verzeichnis +RES_POOLPAGE_HTML, // HTML +RES_POOLPAGE_FOOTNOTE, // Fussnote bei Dokumentende +RES_POOLPAGE_ENDNOTE, // Endnotensseite RES_POOLPAGE_LANDSCAPE, // Landscape Page Style RES_POOLPAGE_END @@ -203,16 +203,16 @@ RES_POOLPAGE_END enum RES_POOL_NUMRULE_TYPE { RES_POOLNUMRULE_BEGIN = POOLGRP_NUMRULE, -RES_POOLNUMRULE_NUM1 = RES_POOLNUMRULE_BEGIN, // NumRule Numerierung 1 -RES_POOLNUMRULE_NUM2, // NumRule Numerierung 2 -RES_POOLNUMRULE_NUM3, // NumRule Numerierung 3 -RES_POOLNUMRULE_NUM4, // NumRule Numerierung 4 -RES_POOLNUMRULE_NUM5, // NumRule Numerierung 5 -RES_POOLNUMRULE_BUL1, // NumRule Bullets 1 -RES_POOLNUMRULE_BUL2, // NumRule Bullets 2 -RES_POOLNUMRULE_BUL3, // NumRule Bullets 3 -RES_POOLNUMRULE_BUL4, // NumRule Bullets 4 -RES_POOLNUMRULE_BUL5, // NumRule Bullets 5 +RES_POOLNUMRULE_NUM1 = RES_POOLNUMRULE_BEGIN, // NumRule Numerierung 1 +RES_POOLNUMRULE_NUM2, // NumRule Numerierung 2 +RES_POOLNUMRULE_NUM3, // NumRule Numerierung 3 +RES_POOLNUMRULE_NUM4, // NumRule Numerierung 4 +RES_POOLNUMRULE_NUM5, // NumRule Numerierung 5 +RES_POOLNUMRULE_BUL1, // NumRule Bullets 1 +RES_POOLNUMRULE_BUL2, // NumRule Bullets 2 +RES_POOLNUMRULE_BUL3, // NumRule Bullets 3 +RES_POOLNUMRULE_BUL4, // NumRule Bullets 4 +RES_POOLNUMRULE_BUL5, // NumRule Bullets 5 RES_POOLNUMRULE_END }; @@ -222,28 +222,28 @@ enum RES_POOL_COLLFMT_TYPE // Gruppe Text RES_POOLCOLL_TEXT_BEGIN = COLL_TEXT_BITS, -RES_POOLCOLL_STANDARD = RES_POOLCOLL_TEXT_BEGIN, // Standard -RES_POOLCOLL_TEXT, // Textkoerper -RES_POOLCOLL_TEXT_IDENT, // Textkoerper Einzug -RES_POOLCOLL_TEXT_NEGIDENT, // Textkoerper neg. Einzug -RES_POOLCOLL_TEXT_MOVE, // Textkoerper Einrueckung -RES_POOLCOLL_GREETING, // Grussformel -RES_POOLCOLL_SIGNATURE, // Unterschrift -RES_POOLCOLL_CONFRONTATION, // Gegenueberstellung -RES_POOLCOLL_MARGINAL, // Marginalie +RES_POOLCOLL_STANDARD = RES_POOLCOLL_TEXT_BEGIN, // Standard +RES_POOLCOLL_TEXT, // Textkoerper +RES_POOLCOLL_TEXT_IDENT, // Textkoerper Einzug +RES_POOLCOLL_TEXT_NEGIDENT, // Textkoerper neg. Einzug +RES_POOLCOLL_TEXT_MOVE, // Textkoerper Einrueckung +RES_POOLCOLL_GREETING, // Grussformel +RES_POOLCOLL_SIGNATURE, // Unterschrift +RES_POOLCOLL_CONFRONTATION, // Gegenueberstellung +RES_POOLCOLL_MARGINAL, // Marginalie // Untergruppierung Ueberschriften -RES_POOLCOLL_HEADLINE_BASE, // Basis-Ueberschrift -RES_POOLCOLL_HEADLINE1, // Ueberschrift 1 -RES_POOLCOLL_HEADLINE2, // Ueberschrift 2 -RES_POOLCOLL_HEADLINE3, // Ueberschrift 3 -RES_POOLCOLL_HEADLINE4, // Ueberschrift 4 -RES_POOLCOLL_HEADLINE5, // Ueberschrift 5 -RES_POOLCOLL_HEADLINE6, // Ueberschrift 6 -RES_POOLCOLL_HEADLINE7, // Ueberschrift 7 -RES_POOLCOLL_HEADLINE8, // Ueberschrift 8 -RES_POOLCOLL_HEADLINE9, // Ueberschrift 9 -RES_POOLCOLL_HEADLINE10, // Ueberschrift 10 +RES_POOLCOLL_HEADLINE_BASE, // Basis-Ueberschrift +RES_POOLCOLL_HEADLINE1, // Ueberschrift 1 +RES_POOLCOLL_HEADLINE2, // Ueberschrift 2 +RES_POOLCOLL_HEADLINE3, // Ueberschrift 3 +RES_POOLCOLL_HEADLINE4, // Ueberschrift 4 +RES_POOLCOLL_HEADLINE5, // Ueberschrift 5 +RES_POOLCOLL_HEADLINE6, // Ueberschrift 6 +RES_POOLCOLL_HEADLINE7, // Ueberschrift 7 +RES_POOLCOLL_HEADLINE8, // Ueberschrift 8 +RES_POOLCOLL_HEADLINE9, // Ueberschrift 9 +RES_POOLCOLL_HEADLINE10, // Ueberschrift 10 RES_POOLCOLL_TEXT_END, @@ -251,51 +251,51 @@ RES_POOLCOLL_TEXT_END, // Gruppe Listen RES_POOLCOLL_LISTS_BEGIN = COLL_LISTS_BITS, -RES_POOLCOLL_NUMBUL_BASE = RES_POOLCOLL_LISTS_BEGIN, // Basis-Liste +RES_POOLCOLL_NUMBUL_BASE = RES_POOLCOLL_LISTS_BEGIN, // Basis-Liste // Untergruppe Nummerierung -RES_POOLCOLL_NUM_LEVEL1S, // Start Level1 -RES_POOLCOLL_NUM_LEVEL1, // 1. Level -RES_POOLCOLL_NUM_LEVEL1E, // Ende Level1 -RES_POOLCOLL_NUM_NONUM1, // keine Nummerierung -RES_POOLCOLL_NUM_LEVEL2S, // Start 2. Level -RES_POOLCOLL_NUM_LEVEL2, // 2. Level -RES_POOLCOLL_NUM_LEVEL2E, // Ende 2. Level -RES_POOLCOLL_NUM_NONUM2, // keine Nummerierung -RES_POOLCOLL_NUM_LEVEL3S, // Start 3. Level -RES_POOLCOLL_NUM_LEVEL3, // 3. Level -RES_POOLCOLL_NUM_LEVEL3E, // Ende 3. Level -RES_POOLCOLL_NUM_NONUM3, // keine Nummerierung -RES_POOLCOLL_NUM_LEVEL4S, // Start 4. Level -RES_POOLCOLL_NUM_LEVEL4, // 4. Level -RES_POOLCOLL_NUM_LEVEL4E, // Ende 4. Level -RES_POOLCOLL_NUM_NONUM4, // keine Nummerierung -RES_POOLCOLL_NUM_LEVEL5S, // Start 5. Level -RES_POOLCOLL_NUM_LEVEL5, // 5. Level -RES_POOLCOLL_NUM_LEVEL5E, // Ende 5. Level -RES_POOLCOLL_NUM_NONUM5, // keine Nummerierung +RES_POOLCOLL_NUM_LEVEL1S, // Start Level1 +RES_POOLCOLL_NUM_LEVEL1, // 1. Level +RES_POOLCOLL_NUM_LEVEL1E, // Ende Level1 +RES_POOLCOLL_NUM_NONUM1, // keine Nummerierung +RES_POOLCOLL_NUM_LEVEL2S, // Start 2. Level +RES_POOLCOLL_NUM_LEVEL2, // 2. Level +RES_POOLCOLL_NUM_LEVEL2E, // Ende 2. Level +RES_POOLCOLL_NUM_NONUM2, // keine Nummerierung +RES_POOLCOLL_NUM_LEVEL3S, // Start 3. Level +RES_POOLCOLL_NUM_LEVEL3, // 3. Level +RES_POOLCOLL_NUM_LEVEL3E, // Ende 3. Level +RES_POOLCOLL_NUM_NONUM3, // keine Nummerierung +RES_POOLCOLL_NUM_LEVEL4S, // Start 4. Level +RES_POOLCOLL_NUM_LEVEL4, // 4. Level +RES_POOLCOLL_NUM_LEVEL4E, // Ende 4. Level +RES_POOLCOLL_NUM_NONUM4, // keine Nummerierung +RES_POOLCOLL_NUM_LEVEL5S, // Start 5. Level +RES_POOLCOLL_NUM_LEVEL5, // 5. Level +RES_POOLCOLL_NUM_LEVEL5E, // Ende 5. Level +RES_POOLCOLL_NUM_NONUM5, // keine Nummerierung // Untergruppe Aufzaehlung -RES_POOLCOLL_BUL_LEVEL1S, // Start Level1 -RES_POOLCOLL_BUL_LEVEL1, // 1. Level -RES_POOLCOLL_BUL_LEVEL1E, // Ende Level1 -RES_POOLCOLL_BUL_NONUM1, // keine Nummerierung -RES_POOLCOLL_BUL_LEVEL2S, // Start 2. Level -RES_POOLCOLL_BUL_LEVEL2, // 2. Level -RES_POOLCOLL_BUL_LEVEL2E, // Ende 2. Level -RES_POOLCOLL_BUL_NONUM2, // keine Nummerierung -RES_POOLCOLL_BUL_LEVEL3S, // Start 3. Level -RES_POOLCOLL_BUL_LEVEL3, // 3. Level -RES_POOLCOLL_BUL_LEVEL3E, // Ende 3. Level -RES_POOLCOLL_BUL_NONUM3, // keine Nummerierung -RES_POOLCOLL_BUL_LEVEL4S, // Start 4. Level -RES_POOLCOLL_BUL_LEVEL4, // 4. Level -RES_POOLCOLL_BUL_LEVEL4E, // Ende 4. Level -RES_POOLCOLL_BUL_NONUM4, // keine Nummerierung -RES_POOLCOLL_BUL_LEVEL5S, // Start 5. Level -RES_POOLCOLL_BUL_LEVEL5, // 5. Level -RES_POOLCOLL_BUL_LEVEL5E, // Ende 5. Level -RES_POOLCOLL_BUL_NONUM5, // keine Nummerierung +RES_POOLCOLL_BUL_LEVEL1S, // Start Level1 +RES_POOLCOLL_BUL_LEVEL1, // 1. Level +RES_POOLCOLL_BUL_LEVEL1E, // Ende Level1 +RES_POOLCOLL_BUL_NONUM1, // keine Nummerierung +RES_POOLCOLL_BUL_LEVEL2S, // Start 2. Level +RES_POOLCOLL_BUL_LEVEL2, // 2. Level +RES_POOLCOLL_BUL_LEVEL2E, // Ende 2. Level +RES_POOLCOLL_BUL_NONUM2, // keine Nummerierung +RES_POOLCOLL_BUL_LEVEL3S, // Start 3. Level +RES_POOLCOLL_BUL_LEVEL3, // 3. Level +RES_POOLCOLL_BUL_LEVEL3E, // Ende 3. Level +RES_POOLCOLL_BUL_NONUM3, // keine Nummerierung +RES_POOLCOLL_BUL_LEVEL4S, // Start 4. Level +RES_POOLCOLL_BUL_LEVEL4, // 4. Level +RES_POOLCOLL_BUL_LEVEL4E, // Ende 4. Level +RES_POOLCOLL_BUL_NONUM4, // keine Nummerierung +RES_POOLCOLL_BUL_LEVEL5S, // Start 5. Level +RES_POOLCOLL_BUL_LEVEL5, // 5. Level +RES_POOLCOLL_BUL_LEVEL5E, // Ende 5. Level +RES_POOLCOLL_BUL_NONUM5, // keine Nummerierung RES_POOLCOLL_LISTS_END, @@ -304,94 +304,94 @@ RES_POOLCOLL_LISTS_END, RES_POOLCOLL_EXTRA_BEGIN = COLL_EXTRA_BITS, // Untergruppe Header -RES_POOLCOLL_HEADER = RES_POOLCOLL_EXTRA_BEGIN, // Header Left&Right -RES_POOLCOLL_HEADERL, // Header Left -RES_POOLCOLL_HEADERR, // Header Right +RES_POOLCOLL_HEADER = RES_POOLCOLL_EXTRA_BEGIN, // Header Left&Right +RES_POOLCOLL_HEADERL, // Header Left +RES_POOLCOLL_HEADERR, // Header Right // Untergruppe Footer -RES_POOLCOLL_FOOTER, // Footer Left&Right -RES_POOLCOLL_FOOTERL, // Footer Left -RES_POOLCOLL_FOOTERR, // Footer Right +RES_POOLCOLL_FOOTER, // Footer Left&Right +RES_POOLCOLL_FOOTERL, // Footer Left +RES_POOLCOLL_FOOTERR, // Footer Right // Untergruppe Tabelle -RES_POOLCOLL_TABLE, // Tabelle "Inhalt" -RES_POOLCOLL_TABLE_HDLN, // Tabellen-Headline +RES_POOLCOLL_TABLE, // Tabelle "Inhalt" +RES_POOLCOLL_TABLE_HDLN, // Tabellen-Headline // Untergruppe Beschriftung -RES_POOLCOLL_LABEL, // Beschriftung-Basis -RES_POOLCOLL_LABEL_ABB, // Beschriftung-Abbildung -RES_POOLCOLL_LABEL_TABLE, // Beschriftung-Tabelle -RES_POOLCOLL_LABEL_FRAME, // Beschriftung-Rahmen +RES_POOLCOLL_LABEL, // Beschriftung-Basis +RES_POOLCOLL_LABEL_ABB, // Beschriftung-Abbildung +RES_POOLCOLL_LABEL_TABLE, // Beschriftung-Tabelle +RES_POOLCOLL_LABEL_FRAME, // Beschriftung-Rahmen // sonstiges -RES_POOLCOLL_FRAME, // Rahmen -RES_POOLCOLL_FOOTNOTE, // Fussnoten -RES_POOLCOLL_JAKETADRESS, // UmschlagAdresse -RES_POOLCOLL_SENDADRESS, // AbsenderAdresse -RES_POOLCOLL_ENDNOTE, // Endnoten +RES_POOLCOLL_FRAME, // Rahmen +RES_POOLCOLL_FOOTNOTE, // Fussnoten +RES_POOLCOLL_JAKETADRESS, // UmschlagAdresse +RES_POOLCOLL_SENDADRESS, // AbsenderAdresse +RES_POOLCOLL_ENDNOTE, // Endnoten -RES_POOLCOLL_LABEL_DRAWING, // Beschriftung-Zeichen-Objekte +RES_POOLCOLL_LABEL_DRAWING, // Beschriftung-Zeichen-Objekte RES_POOLCOLL_EXTRA_END, // Gruppe Verzeichnisse RES_POOLCOLL_REGISTER_BEGIN = COLL_REGISTER_BITS, -RES_POOLCOLL_REGISTER_BASE = RES_POOLCOLL_REGISTER_BEGIN, // Basis-Verzeichnis +RES_POOLCOLL_REGISTER_BASE = RES_POOLCOLL_REGISTER_BEGIN, // Basis-Verzeichnis // Untergruppe Index-Verzeichnisse -RES_POOLCOLL_TOX_IDXH, // Header -RES_POOLCOLL_TOX_IDX1, // 1. Ebene -RES_POOLCOLL_TOX_IDX2, // 2. Ebene -RES_POOLCOLL_TOX_IDX3, // 3. Ebene -RES_POOLCOLL_TOX_IDXBREAK, // Trenner +RES_POOLCOLL_TOX_IDXH, // Header +RES_POOLCOLL_TOX_IDX1, // 1. Ebene +RES_POOLCOLL_TOX_IDX2, // 2. Ebene +RES_POOLCOLL_TOX_IDX3, // 3. Ebene +RES_POOLCOLL_TOX_IDXBREAK, // Trenner // Untergruppe Inhalts-Verzeichnisse -RES_POOLCOLL_TOX_CNTNTH, // Header -RES_POOLCOLL_TOX_CNTNT1, // 1. Ebene -RES_POOLCOLL_TOX_CNTNT2, // 2. Ebene -RES_POOLCOLL_TOX_CNTNT3, // 3. Ebene -RES_POOLCOLL_TOX_CNTNT4, // 4. Ebene -RES_POOLCOLL_TOX_CNTNT5, // 5. Ebene +RES_POOLCOLL_TOX_CNTNTH, // Header +RES_POOLCOLL_TOX_CNTNT1, // 1. Ebene +RES_POOLCOLL_TOX_CNTNT2, // 2. Ebene +RES_POOLCOLL_TOX_CNTNT3, // 3. Ebene +RES_POOLCOLL_TOX_CNTNT4, // 4. Ebene +RES_POOLCOLL_TOX_CNTNT5, // 5. Ebene // Untergruppe Benutzer-Verzeichnisse: -RES_POOLCOLL_TOX_USERH, // Header -RES_POOLCOLL_TOX_USER1, // 1. Ebene -RES_POOLCOLL_TOX_USER2, // 2. Ebene -RES_POOLCOLL_TOX_USER3, // 3. Ebene -RES_POOLCOLL_TOX_USER4, // 4. Ebene -RES_POOLCOLL_TOX_USER5, // 5. Ebene +RES_POOLCOLL_TOX_USERH, // Header +RES_POOLCOLL_TOX_USER1, // 1. Ebene +RES_POOLCOLL_TOX_USER2, // 2. Ebene +RES_POOLCOLL_TOX_USER3, // 3. Ebene +RES_POOLCOLL_TOX_USER4, // 4. Ebene +RES_POOLCOLL_TOX_USER5, // 5. Ebene -RES_POOLCOLL_TOX_CNTNT6, // Inhalt 6. Ebene -RES_POOLCOLL_TOX_CNTNT7, // Inhalt 7. Ebene -RES_POOLCOLL_TOX_CNTNT8, // Inhalt 8. Ebene -RES_POOLCOLL_TOX_CNTNT9, // Inhalt 9. Ebene -RES_POOLCOLL_TOX_CNTNT10, // Inhalt 10. Ebene +RES_POOLCOLL_TOX_CNTNT6, // Inhalt 6. Ebene +RES_POOLCOLL_TOX_CNTNT7, // Inhalt 7. Ebene +RES_POOLCOLL_TOX_CNTNT8, // Inhalt 8. Ebene +RES_POOLCOLL_TOX_CNTNT9, // Inhalt 9. Ebene +RES_POOLCOLL_TOX_CNTNT10, // Inhalt 10. Ebene // illustrations index -RES_POOLCOLL_TOX_ILLUSH, // illustrations header +RES_POOLCOLL_TOX_ILLUSH, // illustrations header RES_POOLCOLL_TOX_ILLUS1, // illustrations all levels -// object index -RES_POOLCOLL_TOX_OBJECTH, // objects header +// object index +RES_POOLCOLL_TOX_OBJECTH, // objects header RES_POOLCOLL_TOX_OBJECT1, // objects all levels -// tables index -RES_POOLCOLL_TOX_TABLESH, // tables header +// tables index +RES_POOLCOLL_TOX_TABLESH, // tables header RES_POOLCOLL_TOX_TABLES1, // tables all levels -// index of authorities -RES_POOLCOLL_TOX_AUTHORITIESH, // authorities header +// index of authorities +RES_POOLCOLL_TOX_AUTHORITIESH, // authorities header RES_POOLCOLL_TOX_AUTHORITIES1, // authorities all levels // user index 6..10 -RES_POOLCOLL_TOX_USER6, // level 6 -RES_POOLCOLL_TOX_USER7, // level 7 -RES_POOLCOLL_TOX_USER8, // level 8 -RES_POOLCOLL_TOX_USER9, // level 9 -RES_POOLCOLL_TOX_USER10, // level 10 +RES_POOLCOLL_TOX_USER6, // level 6 +RES_POOLCOLL_TOX_USER7, // level 7 +RES_POOLCOLL_TOX_USER8, // level 8 +RES_POOLCOLL_TOX_USER9, // level 9 +RES_POOLCOLL_TOX_USER10, // level 10 RES_POOLCOLL_REGISTER_END, @@ -399,8 +399,8 @@ RES_POOLCOLL_REGISTER_END, // Gruppe Kapitel/Dokument RES_POOLCOLL_DOC_BEGIN = COLL_DOC_BITS, -RES_POOLCOLL_DOC_TITEL = RES_POOLCOLL_DOC_BEGIN, // Doc. Titel -RES_POOLCOLL_DOC_SUBTITEL, // Doc. UnterTitel +RES_POOLCOLL_DOC_TITEL = RES_POOLCOLL_DOC_BEGIN, // Doc. Titel +RES_POOLCOLL_DOC_SUBTITEL, // Doc. UnterTitel RES_POOLCOLL_DOC_END, @@ -421,9 +421,9 @@ RES_POOLCOLL_HTML_END // erfrage den definierten Parent zu einer POOL-Id -// returnt: 0 -> Standard -// USHRT_MAX -> kein Parent -// sonst -> den Parent +// returnt: 0 -> Standard +// USHRT_MAX -> kein Parent +// sonst -> den Parent USHORT GetPoolParent( USHORT nId ); SvxFrameDirection GetDefaultFrameDirection(ULONG nLanguage); diff --git a/sw/inc/printdata.hxx b/sw/inc/printdata.hxx index f2170b0d4721..abe6d97f3215 100644 --- a/sw/inc/printdata.hxx +++ b/sw/inc/printdata.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -65,7 +65,7 @@ class SwPrintData public: sal_Bool bPrintGraphic, bPrintTable, bPrintDraw, bPrintControl, bPrintPageBackground, - bPrintBlackFont, + bPrintBlackFont, //#i81434# - printing of hidden text bPrintHiddenText, bPrintTextPlaceholder, bPrintLeftPages, bPrintRightPages, bPrintReverse, bPrintProspect, @@ -93,7 +93,7 @@ public: bPrintLeftPages = bPrintRightPages = bPrintPageBackground = - bPrintEmptyPages = + bPrintEmptyPages = bUpdateFieldsInPrinting = sal_True; bPaperFromSetup = @@ -102,8 +102,8 @@ public: bPrintProspectRTL = bPrintSingleJobs = bModified = - bPrintBlackFont = - bPrintHiddenText = + bPrintBlackFont = + bPrintHiddenText = bPrintTextPlaceholder = sal_False; nPrintPostIts = 0; @@ -134,7 +134,7 @@ public: bPrintHiddenText == rData.bPrintHiddenText && bPrintTextPlaceholder == rData.bPrintTextPlaceholder; } - + // Note: in the context where this class ist used the pointers should always be valid // during the lifetime of this object const SwPrintUIOptions & GetPrintUIOptions() const { return *m_pPrintUIOptions; } @@ -158,7 +158,7 @@ public: sal_Bool IsPrintSingleJobs() const { return bPrintSingleJobs; } sal_Int16 GetPrintPostIts() const { return nPrintPostIts; } const rtl::OUString GetFaxName() const { return sFaxName; } - sal_Bool IsPrintHiddenText() const { return bPrintHiddenText; } + sal_Bool IsPrintHiddenText() const { return bPrintHiddenText; } sal_Bool IsPrintTextPlaceholder() const { return bPrintTextPlaceholder; } void SetPrintGraphic( sal_Bool b ) { doSetModified(); bPrintGraphic = b; } @@ -179,7 +179,7 @@ public: void SetFaxName( const rtl::OUString& rSet ) { sFaxName = rSet; } void SetPrintHiddenText( sal_Bool b ) { doSetModified(); bPrintHiddenText = b; } void SetPrintTextPlaceholder( sal_Bool b ) { doSetModified(); bPrintTextPlaceholder = b; } - + virtual void doSetModified () { bModified = sal_True;} }; @@ -195,9 +195,9 @@ class SwPrintUIOptions : public vcl::PrinterOptionsHelper public: SwPrintUIOptions( bool bWeb, bool bSwSrcView, bool bHasSelection, bool bHasPostIts, const SwPrintData &rDefaultPrintData ); virtual ~SwPrintUIOptions(); - + bool processPropertiesAndCheckFormat( const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& i_rNewProp ); - + bool IsPrintFormControls() const { return getBoolValue( "PrintControls", m_rDefaultPrintData.bPrintControl ); } bool IsPrintPageBackground() const { return getBoolValue( "PrintPageBackground", m_rDefaultPrintData.bPrintPageBackground ); } bool IsPrintProspect() const { return getBoolValue( "PrintProspect", m_rDefaultPrintData.bPrintProspect ); } @@ -225,7 +225,7 @@ public: // and it is used in the 'render' function of that same interface class SwRenderData { - // pages valid for printing (according to the current settings) + // pages valid for printing (according to the current settings) // and their respective start frames (see getRendererCount in unotxdoc.cxx) // This set of pages does NOT depend on the 'PageRange' that is used as a printing option! std::set< sal_Int32 > m_aValidPages; // the set of possible pages (see StringRangeEnumerator::getRangesFromString ) @@ -246,11 +246,11 @@ class SwRenderData rtl::OUString m_aPageRange; - // the view options to be applied for printing + // the view options to be applied for printing SwViewOptionAdjust_Impl * m_pViewOptionAdjust; SwPrtOptions * m_pPrtOptions; - + public: // PostIt relevant data @@ -293,13 +293,13 @@ public: // a value of -1 for the tray means that there is no specific tray defined std::map< sal_Int32, sal_Int32 >& GetPrinterPaperTrays() { return m_aPrinterPaperTrays; } const std::map< sal_Int32, sal_Int32 >& GetPrinterPaperTrays() const { return m_aPrinterPaperTrays; } - + // used for 'normal' printing // A page value of 0 as entry indicates that this page is not from the document but // from the post-it document. (See also GetPostItStartFrame below) std::vector< sal_Int32 > & GetPagesToPrint() { return m_aPagesToPrint; } const std::vector< sal_Int32 > & GetPagesToPrint() const { return m_aPagesToPrint; } - + // used for 'normal' printing with post-its // - if the map entry will be NULL then the respective page to be printed is from // the document. In that case use the value from GetPagesToPrint at the same index to @@ -316,7 +316,7 @@ public: rtl::OUString GetPageRange() const { return m_aPageRange; } void SetPageRange( const rtl::OUString &rRange ) { m_aPageRange = rRange; } -}; +}; //////////////////////////////////////////////////////////// diff --git a/sw/inc/pvprtdat.hxx b/sw/inc/pvprtdat.hxx index 8c1b2bb5f8bc..bb166b02d58a 100644 --- a/sw/inc/pvprtdat.hxx +++ b/sw/inc/pvprtdat.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -46,32 +46,32 @@ public: bLandscape(0),bStretch(0) {} - ULONG GetLeftSpace() const { return nLeftSpace; } - void SetLeftSpace( ULONG n ) { nLeftSpace = n; } + ULONG GetLeftSpace() const { return nLeftSpace; } + void SetLeftSpace( ULONG n ) { nLeftSpace = n; } - ULONG GetRightSpace() const { return nRightSpace; } - void SetRightSpace( ULONG n ) { nRightSpace = n; } + ULONG GetRightSpace() const { return nRightSpace; } + void SetRightSpace( ULONG n ) { nRightSpace = n; } - ULONG GetTopSpace() const { return nTopSpace; } - void SetTopSpace( ULONG n ) { nTopSpace = n; } + ULONG GetTopSpace() const { return nTopSpace; } + void SetTopSpace( ULONG n ) { nTopSpace = n; } - ULONG GetBottomSpace() const { return nBottomSpace; } - void SetBottomSpace( ULONG n ) { nBottomSpace = n; } + ULONG GetBottomSpace() const { return nBottomSpace; } + void SetBottomSpace( ULONG n ) { nBottomSpace = n; } - ULONG GetHorzSpace() const { return nHorzSpace; } - void SetHorzSpace( ULONG n ) { nHorzSpace = n; } + ULONG GetHorzSpace() const { return nHorzSpace; } + void SetHorzSpace( ULONG n ) { nHorzSpace = n; } - ULONG GetVertSpace() const { return nVertSpace; } - void SetVertSpace( ULONG n ) { nVertSpace = n; } + ULONG GetVertSpace() const { return nVertSpace; } + void SetVertSpace( ULONG n ) { nVertSpace = n; } - BYTE GetRow() const { return nRow; } - void SetRow(BYTE n ) { nRow = n; } + BYTE GetRow() const { return nRow; } + void SetRow(BYTE n ) { nRow = n; } - BYTE GetCol() const { return nCol; } - void SetCol( BYTE n ) { nCol = n; } + BYTE GetCol() const { return nCol; } + void SetCol( BYTE n ) { nCol = n; } - BOOL GetLandscape() const { return bLandscape; } - void SetLandscape( BOOL b ) { bLandscape = b; } + BOOL GetLandscape() const { return bLandscape; } + void SetLandscape( BOOL b ) { bLandscape = b; } }; diff --git a/sw/inc/rcid.hrc b/sw/inc/rcid.hrc index aeca0cf38d0f..f5fe0081d68c 100644 --- a/sw/inc/rcid.hrc +++ b/sw/inc/rcid.hrc @@ -36,44 +36,44 @@ // Bereiche fuer die UI-Verzeichnisse // ---------------------------------------------------------------- -#define RC_BASE RID_SW_START // aus solar.hrc +#define RC_BASE RID_SW_START // aus solar.hrc -#define RC_APP RC_BASE -#define RC_DIALOG (RC_BASE + 200) -#define RC_DOCVW (RC_BASE + 300) -#define RC_WEB (RC_BASE + 400) +#define RC_APP RC_BASE +#define RC_DIALOG (RC_BASE + 200) +#define RC_DOCVW (RC_BASE + 300) +#define RC_WEB (RC_BASE + 400) #define RC_GLOBDOC (RC_BASE + 500) -#define RC_VIEW (RC_BASE + 600) -#define RC_CHRDLG (RC_BASE + 700) -#define RC_RIBBAR (RC_BASE + 720) -#define RC_GLOBALS (RC_BASE + 800) -#define RC_FMTUI (RC_BASE + 920) -#define RC_FRMDLG (RC_BASE + 1000) -#define RC_FLDDLG (RC_BASE + 1100) -#define RC_UTLUI (RC_BASE + 1250) -#define RC_ATTR (RC_BASE + 1350) -#define RC_TABLE (RC_BASE + 1450) -#define RC_CONFIG (RC_BASE + 1550) -#define RC_MISC (RC_BASE + 1650) -#define RC_WRTSH (RC_BASE + 1750) -#define RC_INDEX (RC_BASE + 1950) -#define RC_DBUI (RC_BASE + 2050) -#define RC_DOCHDL (RC_BASE + 2150) -#define RC_POOLCHRFMT (RC_BASE + 2250) -#define RC_POOLHTMLCHRFMT (RC_BASE + 2290) -#define RC_POOLFRMFMT (RC_BASE + 2330) -#define RC_POOLTXTCOLL (RC_BASE + 2360) -#define RC_POOLPAGEDESC (RC_BASE + 2550) -#define RC_POOLNUMRULE (RC_BASE + 2650) -#define RC_ENVELP (RC_BASE + 2750) -#define RC_STATLIN_STR (RC_BASE + 2850) -#define RC_COMMON_CORE (RC_BASE + 2950) -#define RC_WIZARD (RC_BASE + 3050) +#define RC_VIEW (RC_BASE + 600) +#define RC_CHRDLG (RC_BASE + 700) +#define RC_RIBBAR (RC_BASE + 720) +#define RC_GLOBALS (RC_BASE + 800) +#define RC_FMTUI (RC_BASE + 920) +#define RC_FRMDLG (RC_BASE + 1000) +#define RC_FLDDLG (RC_BASE + 1100) +#define RC_UTLUI (RC_BASE + 1250) +#define RC_ATTR (RC_BASE + 1350) +#define RC_TABLE (RC_BASE + 1450) +#define RC_CONFIG (RC_BASE + 1550) +#define RC_MISC (RC_BASE + 1650) +#define RC_WRTSH (RC_BASE + 1750) +#define RC_INDEX (RC_BASE + 1950) +#define RC_DBUI (RC_BASE + 2050) +#define RC_DOCHDL (RC_BASE + 2150) +#define RC_POOLCHRFMT (RC_BASE + 2250) +#define RC_POOLHTMLCHRFMT (RC_BASE + 2290) +#define RC_POOLFRMFMT (RC_BASE + 2330) +#define RC_POOLTXTCOLL (RC_BASE + 2360) +#define RC_POOLPAGEDESC (RC_BASE + 2550) +#define RC_POOLNUMRULE (RC_BASE + 2650) +#define RC_ENVELP (RC_BASE + 2750) +#define RC_STATLIN_STR (RC_BASE + 2850) +#define RC_COMMON_CORE (RC_BASE + 2950) +#define RC_WIZARD (RC_BASE + 3050) #define RC_POPUPS (RC_BASE + 3150) #define RC_SHELLS (RC_BASE + 3250) #define RC_CFGITEMS (RC_BASE + 3350) -#define RC_LINGU (RC_BASE + 3450) -#define RC_ACCESS (RC_BASE + 3550) +#define RC_LINGU (RC_BASE + 3450) +#define RC_ACCESS (RC_BASE + 3550) #define STR_POOLPARSTYLE (RC_BASE + 3650) #define RC_UNDO (RC_BASE + 3750) #define RC_SMARTTAG (RC_BASE + 3950) // SMARTTAGS @@ -81,106 +81,106 @@ #define RC_ANNOTATION (RC_BASE + 4150) /*-------------------------------------------------------------------- - Beschreibung: Bereiche ausspannen + Beschreibung: Bereiche ausspannen --------------------------------------------------------------------*/ // App-Verzeichnis -#define RC_APP_BEGIN RC_APP -#define RC_APP_END (RC_APP_BEGIN + 199) +#define RC_APP_BEGIN RC_APP +#define RC_APP_END (RC_APP_BEGIN + 199) // Dialog-Verzeichnis -#define RC_DIALOG_BEGIN RC_DIALOG -#define RC_DIALOG_END (RC_DIALOG_BEGIN + 99) +#define RC_DIALOG_BEGIN RC_DIALOG +#define RC_DIALOG_END (RC_DIALOG_BEGIN + 99) // Editwin & Co -#define RC_DOCVW_BEGIN RC_DOCVW -#define RC_DOCVW_END (RC_DOCVW_BEGIN + 99) +#define RC_DOCVW_BEGIN RC_DOCVW +#define RC_DOCVW_END (RC_DOCVW_BEGIN + 99) // Annotation #define RC_ANNOTATION_BEGIN RC_ANNOTATION #define RC_ANNOTATION_END (RC_ANNOTATION_BEGIN + 99) // SW/Web -#define RC_WEB_BEGIN RC_WEB +#define RC_WEB_BEGIN RC_WEB #define RC_WEB_END (RC_WEB_BEGIN + 199) //Globaldocument -#define RC_GLOBDOC_BEGIN RC_GLOBDOC -#define RC_GLOBDOC_END (RC_GLOBDOC_BEGIN + 99) +#define RC_GLOBDOC_BEGIN RC_GLOBDOC +#define RC_GLOBDOC_END (RC_GLOBDOC_BEGIN + 99) // UI-View -#define RC_VIEW_BEGIN RC_VIEW -#define RC_VIEW_END (RC_VIEW_BEGIN + 99) +#define RC_VIEW_BEGIN RC_VIEW +#define RC_VIEW_END (RC_VIEW_BEGIN + 99) // Zeichen Absatz Tab-Dialog -#define RC_CHRDLG_BEGIN RC_CHRDLG +#define RC_CHRDLG_BEGIN RC_CHRDLG #define RC_CHRDLG_END (RC_CHRDLG_BEGIN + 19) // Unsere Shell -#define RC_WRTSH_BEGIN RC_WRTSH -#define RC_WRTSH_END (RC_WRTSH_BEGIN + 49) +#define RC_WRTSH_BEGIN RC_WRTSH +#define RC_WRTSH_END (RC_WRTSH_BEGIN + 49) // Verzeichnisse -#define RC_INDEX_BEGIN RC_INDEX -#define RC_INDEX_END (RC_INDEX + 99) +#define RC_INDEX_BEGIN RC_INDEX +#define RC_INDEX_END (RC_INDEX + 99) // -#define RC_RIBBAR_BEGIN RC_RIBBAR -#define RC_RIBBAR_END (RC_RIBBAR_BEGIN + 79) +#define RC_RIBBAR_BEGIN RC_RIBBAR +#define RC_RIBBAR_END (RC_RIBBAR_BEGIN + 79) // globale Ressourcen -#define RC_GLOBALS_BEGIN RC_GLOBALS -#define RC_GLOBALS_END (RC_GLOBALS_BEGIN + 120) +#define RC_GLOBALS_BEGIN RC_GLOBALS +#define RC_GLOBALS_END (RC_GLOBALS_BEGIN + 120) // Format-Vorlagen -#define RC_FMTUI_BEGIN RC_FMTUI -#define RC_FMTUI_END (RC_FMTUI_BEGIN + 69) +#define RC_FMTUI_BEGIN RC_FMTUI +#define RC_FMTUI_END (RC_FMTUI_BEGIN + 69) // Grafik Dialoge -#define RC_GRFDLG_BEGIN RC_GRFDLG -#define RC_GRFDLG_END (RC_GRFDLG_BEGIN + 99) +#define RC_GRFDLG_BEGIN RC_GRFDLG +#define RC_GRFDLG_END (RC_GRFDLG_BEGIN + 99) // ???? -#define RC_FSTDLG_BEGIN RC_FSTDLG -#define RC_FSTDLG_END (RC_FSTDLG_BEGIN + 99) +#define RC_FSTDLG_BEGIN RC_FSTDLG +#define RC_FSTDLG_END (RC_FSTDLG_BEGIN + 99) // Rahmen Dialoge -#define RC_FRMDLG_BEGIN RC_FRMDLG -#define RC_FRMDLG_END (RC_FRMDLG_BEGIN + 99) +#define RC_FRMDLG_BEGIN RC_FRMDLG +#define RC_FRMDLG_END (RC_FRMDLG_BEGIN + 99) // Feld Dialoge -#define RC_FLDDLG_BEGIN RC_FLDDLG -#define RC_FLDDLG_END (RC_FLDDLG_BEGIN + 149) +#define RC_FLDDLG_BEGIN RC_FLDDLG +#define RC_FLDDLG_END (RC_FLDDLG_BEGIN + 149) // Utilities UI -#define RC_UTLUI_BEGIN RC_UTLUI -#define RC_UTLUI_END (RC_UTLUI + 99) +#define RC_UTLUI_BEGIN RC_UTLUI +#define RC_UTLUI_END (RC_UTLUI + 99) // Utilities UI-Attribute -#define RC_ATTR_BEGIN RC_ATTR -#define RC_ATTR_END (RC_ATTR + 99) +#define RC_ATTR_BEGIN RC_ATTR +#define RC_ATTR_END (RC_ATTR + 99) // Tabellen -#define RC_TABLE_BEGIN RC_TABLE -#define RC_TABLE_END (RC_TABLE + 99) +#define RC_TABLE_BEGIN RC_TABLE +#define RC_TABLE_END (RC_TABLE + 99) // Konfiguration -#define RC_CONFIG_BEGIN RC_CONFIG -#define RC_CONFIG_END (RC_CONFIG + 99) +#define RC_CONFIG_BEGIN RC_CONFIG +#define RC_CONFIG_END (RC_CONFIG + 99) // Verschiedenes -#define RC_MISC_BEGIN RC_MISC -#define RC_MISC_END (RC_MISC + 99) +#define RC_MISC_BEGIN RC_MISC +#define RC_MISC_END (RC_MISC + 99) // DBMgr -#define RC_DBUI_BEGIN RC_DBUI -#define RC_DBUI_END (RC_DBUI + 99) +#define RC_DBUI_BEGIN RC_DBUI +#define RC_DBUI_END (RC_DBUI + 99) // Der Rest der Imp-Klassen -#define RC_DOCHDL_BEGIN RC_DOCHDL -#define RC_DOCHDL_END (RC_DOCHDL + 99) +#define RC_DOCHDL_BEGIN RC_DOCHDL +#define RC_DOCHDL_END (RC_DOCHDL + 99) // Zeichenvorlagen #define RC_POOLCHRFMT_BEGIN RC_POOLCHRFMT @@ -206,8 +206,8 @@ #define RC_POOLCOLL_REGISTER_END (RC_POOLTXTCOLL + 119) #define RC_POOLCOLL_DOC_BEGIN (RC_POOLTXTCOLL + 130) #define RC_POOLCOLL_DOC_END (RC_POOLTXTCOLL + 139) -#define RC_POOLCOLL_HTML_BEGIN (RC_POOLTXTCOLL + 140) -#define RC_POOLCOLL_HTML_END (RC_POOLTXTCOLL + 169) +#define RC_POOLCOLL_HTML_BEGIN (RC_POOLTXTCOLL + 140) +#define RC_POOLCOLL_HTML_END (RC_POOLTXTCOLL + 169) #define RC_POOLTXTCOLL_END RC_POOLCOLL_HTML_END @@ -221,18 +221,18 @@ // Pooltemplate Paragraph #define STR_POOLPARSTYLE_BEGIN STR_POOLPARSTYLE -#define STR_POOLPARSTYLE_END (STR_POOLPARSTYLE + 9) +#define STR_POOLPARSTYLE_END (STR_POOLPARSTYLE + 9) // Envelp-Verzeichnis #define RC_ENVELP_BEGIN (RC_ENVELP ) #define RC_ENVELP_END (RC_ENVELP + 99) // Statuszeile mit Laufbalken -#define RC_STATLIN_STR_BEGIN (RC_STATLIN_STR) -#define RC_STATLIN_STR_END (RC_STATLIN_STR + 49) +#define RC_STATLIN_STR_BEGIN (RC_STATLIN_STR) +#define RC_STATLIN_STR_END (RC_STATLIN_STR + 49) // Gemeinsame Core-Strings -#define RC_COMCORE_BEGIN (RC_COMMON_CORE) +#define RC_COMCORE_BEGIN (RC_COMMON_CORE) #define RC_COMCORE_END (RC_COMMON_CORE + 59) // Shell-Verzeichnis @@ -240,19 +240,19 @@ #define RC_SHELLS_END (RC_SHELLS + 99) // PopUpMenu's -#define RC_POPUPS_BEGIN RC_POPUPS -#define RC_POPUPS_END (RC_POPUPS + 99) +#define RC_POPUPS_BEGIN RC_POPUPS +#define RC_POPUPS_END (RC_POPUPS + 99) // Strings fuer ConfigItems in div. Verzeichnissen -#define RC_CFGITEMS_BEGIN RC_CFGITEMS -#define RC_CFGITEMS_END (RC_CFGITEMS + 99) +#define RC_CFGITEMS_BEGIN RC_CFGITEMS +#define RC_CFGITEMS_END (RC_CFGITEMS + 99) // Lingu -#define RC_LINGU_BEGIN RC_LINGU +#define RC_LINGU_BEGIN RC_LINGU #define RC_LINGU_END (RC_LINGU + 99) // Accessibility -#define RC_ACCESS_BEGIN RC_ACCESS +#define RC_ACCESS_BEGIN RC_ACCESS #define RC_ACCESS_END (RC_ACCESS + 99) // Undos diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx index 2a3f088dfe61..21dd0c22561b 100644 --- a/sw/inc/redline.hxx +++ b/sw/inc/redline.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -35,7 +35,7 @@ #include <svl/svstdarr.hxx> #include <pam.hxx> -#include <IDocumentRedlineAccess.hxx> +#include <IDocumentRedlineAccess.hxx> #include <svl/smplhint.hxx> @@ -93,7 +93,7 @@ public: class SW_DLLPUBLIC SwRedlineData { friend class SwRedline; - SwRedlineData* pNext; // Verweis auf weitere Daten + SwRedlineData* pNext; // Verweis auf weitere Daten SwRedlineExtraData* pExtraData; String sComment; @@ -124,19 +124,19 @@ public: *pExtraData == *rCmp.pExtraData )); } int operator!=( const SwRedlineData& rCmp ) const - { return !operator==( rCmp ); } + { return !operator==( rCmp ); } RedlineType_t GetType() const { return ((RedlineType_t)(eType & nsRedlineType_t::REDLINE_NO_FLAG_MASK)); } RedlineType_t GetRealType() const { return eType; } - USHORT GetAuthor() const { return nAuthor; } - const String& GetComment() const { return sComment; } - const DateTime& GetTimeStamp() const { return aStamp; } - inline const SwRedlineData* Next() const{ return pNext; } + USHORT GetAuthor() const { return nAuthor; } + const String& GetComment() const { return sComment; } + const DateTime& GetTimeStamp() const { return aStamp; } + inline const SwRedlineData* Next() const{ return pNext; } void SetComment( const String& rS ) { sComment = rS; } void SetTimeStamp( const DateTime& rDT ) { aStamp = rDT; } - + void SetAutoFmtFlag() { eType = (RedlineType_t)(eType | nsRedlineType_t::REDLINE_FORM_AUTOFMT); } int CanCombine( const SwRedlineData& rCmp ) const @@ -161,8 +161,8 @@ public: // fuers UI-seitige zusammenfassen von Redline-Actionen. Wird z.Z. nur // fuers Autoformat mit Redline benoetigt. Der Wert != 0 bedeutet dabei, // das es noch weitere geben kann! - USHORT GetSeqNo() const { return nSeqNo; } - void SetSeqNo( USHORT nNo ) { nSeqNo = nNo; } + USHORT GetSeqNo() const { return nSeqNo; } + void SetSeqNo( USHORT nNo ) { nSeqNo = nNo; } String GetDescr() const; }; @@ -221,7 +221,7 @@ public: { return *pRedlineData == rCmp; } int operator!=( const SwRedlineData& rCmp ) const { return *pRedlineData != rCmp; } - void SetAutoFmtFlag() { pRedlineData->SetAutoFmtFlag(); } + void SetAutoFmtFlag() { pRedlineData->SetAutoFmtFlag(); } USHORT GetStackCount() const; USHORT GetAuthor( USHORT nPos = 0) const; @@ -244,12 +244,12 @@ public: // fuers UI-seitige zusammenfassen von Redline-Actionen. Wird z.Z. nur // fuers Autoformat mit Redline benoetigt. Der Wert != 0 bedeutet dabei, // das es noch weitere geben kann! - USHORT GetSeqNo() const { return pRedlineData->GetSeqNo(); } - void SetSeqNo( USHORT nNo ) { pRedlineData->SetSeqNo( nNo ); } + USHORT GetSeqNo() const { return pRedlineData->GetSeqNo(); } + void SetSeqNo( USHORT nNo ) { pRedlineData->SetSeqNo( nNo ); } // Beim Hide/ShowOriginal wird 2 mal ueber die Liste gelaufen, damit - // die Del-Redlines per Copy und Delete versteckt werden. Beim Move - // wird sonst die Attributierung falsch behandelt. + // die Del-Redlines per Copy und Delete versteckt werden. Beim Move + // wird sonst die Attributierung falsch behandelt. // Alle anderen Aufrufer muessen immer 0 angeben. void CallDisplayFunc( USHORT nLoop = 0 ); void Show( USHORT nLoop = 0 ); @@ -288,11 +288,11 @@ public: class SW_DLLPUBLIC SwRedlineHint : public SfxHint { -#define SWREDLINE_INSERTED 1 -#define SWREDLINE_REMOVED 2 -#define SWREDLINE_FOCUS 3 -#define SWREDLINE_CHANGED 4 -#define SWREDLINE_LANGUAGE 5 +#define SWREDLINE_INSERTED 1 +#define SWREDLINE_REMOVED 2 +#define SWREDLINE_FOCUS 3 +#define SWREDLINE_CHANGED 4 +#define SWREDLINE_LANGUAGE 5 const SwRedline* pRedline; sal_Int16 nWhich; @@ -303,7 +303,7 @@ public: : pRedline(p) , nWhich(n) , pView(pV) - {} + {} TYPEINFO(); const SwRedline* GetRedline() const { return pRedline; } diff --git a/sw/inc/redlnaut.hxx b/sw/inc/redlnaut.hxx index 7d07ca479be8..3dc8ff558b7a 100644 --- a/sw/inc/redlnaut.hxx +++ b/sw/inc/redlnaut.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/reffld.hxx b/sw/inc/reffld.hxx index e82fbf2b87c1..65ced1c7daec 100644 --- a/sw/inc/reffld.hxx +++ b/sw/inc/reffld.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -77,7 +77,7 @@ public: SwGetRefFieldType(SwDoc* pDoc ); virtual SwFieldType* Copy() const; - SwDoc* GetDoc() const { return pDoc; } + SwDoc* GetDoc() const { return pDoc; } // ueberlagert, um alle Ref-Felder zu updaten virtual void Modify( SfxPoolItem *, SfxPoolItem * ); @@ -111,11 +111,11 @@ public: virtual ~SwGetRefField(); - virtual String GetCntnt(BOOL bName = FALSE) const; - virtual String Expand() const; - virtual SwField* Copy() const; + virtual String GetCntnt(BOOL bName = FALSE) const; + virtual String Expand() const; + virtual SwField* Copy() const; - const String& GetSetRefName() const { return sSetRefName; } + const String& GetSetRefName() const { return sSetRefName; } // --> OD 2007-09-06 #i81002# // The <SwTxtFld> instance, which represents the text attribute for the @@ -126,11 +126,11 @@ public: // no update for these reference format types. void UpdateField( const SwTxtFld* pFldTxtAttr ); // <-- - void SetExpand( const String& rStr ) { sTxt = rStr; } + void SetExpand( const String& rStr ) { sTxt = rStr; } // SubType erfragen/setzen - virtual USHORT GetSubType() const; - virtual void SetSubType( USHORT n ); + virtual USHORT GetSubType() const; + virtual void SetSubType( USHORT n ); // --> OD 2007-11-09 #i81002# bool IsRefToHeadingCrossRefBookmark() const; @@ -142,14 +142,14 @@ public: // <-- // SequenceNo erfragen/setzen (nur fuer REF_SEQUENCEFLD interressant) - USHORT GetSeqNo() const { return nSeqNo; } - void SetSeqNo( USHORT n ) { nSeqNo = n; } + USHORT GetSeqNo() const { return nSeqNo; } + void SetSeqNo( USHORT n ) { nSeqNo = n; } // Name der Referenz virtual const String& GetPar1() const; - virtual void SetPar1(const String& rStr); + virtual void SetPar1(const String& rStr); - virtual String GetPar2() const; + virtual String GetPar2() const; virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhichId ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhichId ); diff --git a/sw/inc/ring.hxx b/sw/inc/ring.hxx index 8637f4d43cd3..238067c22972 100644 --- a/sw/inc/ring.hxx +++ b/sw/inc/ring.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -34,19 +34,19 @@ class SW_DLLPUBLIC Ring { Ring *pNext; - Ring* pPrev; // zur Optimierung, damit das ein/ausketten schneller geht! + Ring* pPrev; // zur Optimierung, damit das ein/ausketten schneller geht! protected: - Ring() { pNext = this; pPrev = this; } + Ring() { pNext = this; pPrev = this; } Ring( Ring * ); public: virtual ~Ring(); void MoveTo( Ring *pDestRing ); void MoveRingTo( Ring *pDestRing ); - Ring* GetNext() const { return pNext; } - Ring* GetPrev() const { return pPrev; } - + Ring* GetNext() const { return pNext; } + Ring* GetPrev() const { return pPrev; } + sal_uInt32 numberOf() const; }; diff --git a/sw/inc/rolbck.hxx b/sw/inc/rolbck.hxx index 1623972b0d6e..642fdbe885b5 100644 --- a/sw/inc/rolbck.hxx +++ b/sw/inc/rolbck.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/rubylist.hxx b/sw/inc/rubylist.hxx index baf5faf6cdbf..1341f147eed6 100644 --- a/sw/inc/rubylist.hxx +++ b/sw/inc/rubylist.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,18 +40,18 @@ public: SwRubyListEntry() : aRubyAttr( aEmptyStr ) {} ~SwRubyListEntry(); - const String& GetText() const { return sText; } - void SetText( const String& rStr ) { sText = rStr; } + const String& GetText() const { return sText; } + void SetText( const String& rStr ) { sText = rStr; } - const SwFmtRuby& GetRubyAttr() const { return aRubyAttr; } - SwFmtRuby& GetRubyAttr() { return aRubyAttr; } - void SetRubyAttr( const SwFmtRuby& rAttr ) { aRubyAttr = rAttr; } + const SwFmtRuby& GetRubyAttr() const { return aRubyAttr; } + SwFmtRuby& GetRubyAttr() { return aRubyAttr; } + void SetRubyAttr( const SwFmtRuby& rAttr ) { aRubyAttr = rAttr; } }; typedef SwRubyListEntry* SwRubyListEntryPtr; SV_DECL_PTRARR_DEL( SwRubyList, SwRubyListEntryPtr, 0, 32 ) -#endif //_RUBYLIST_HXX +#endif //_RUBYLIST_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx index 23c4ed535e75..94ea860956df 100644 --- a/sw/inc/section.hxx +++ b/sw/inc/section.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -63,21 +63,21 @@ SV_DECL_PTRARR( SwSections, SwSection*, 0, 4 ) enum SectionType { CONTENT_SECTION, TOX_HEADER_SECTION, TOX_CONTENT_SECTION, - DDE_LINK_SECTION = OBJECT_CLIENT_DDE, - FILE_LINK_SECTION = OBJECT_CLIENT_FILE + DDE_LINK_SECTION = OBJECT_CLIENT_DDE, + FILE_LINK_SECTION = OBJECT_CLIENT_FILE /* // verbleiben noch: - OBJECT_CLIENT_SO = 0x80, - OBJECT_CLIENT_OLE = 0x82, - OBJECT_CLIENT_OLE_CACHE = 0x83, + OBJECT_CLIENT_SO = 0x80, + OBJECT_CLIENT_OLE = 0x82, + OBJECT_CLIENT_OLE_CACHE = 0x83, */ }; enum LinkCreateType { - CREATE_NONE, // nichts weiter tun - CREATE_CONNECT, // Link gleich connecten - CREATE_UPDATE // Link connecten und updaten + CREATE_NONE, // nichts weiter tun + CREATE_CONNECT, // Link gleich connecten + CREATE_UPDATE // Link connecten und updaten }; class SW_DLLPUBLIC SwSectionData @@ -179,7 +179,7 @@ private: bool const bHidden, bool const bCondition); public: - TYPEINFO(); // rtti + TYPEINFO(); // rtti SwSection(SectionType const eType, String const& rName, SwSectionFmt & rFormat); @@ -194,8 +194,8 @@ public: SectionType GetType() const { return m_Data.GetType(); } void SetType(SectionType const eType) { return m_Data.SetType(eType); } - SwSectionFmt* GetFmt() { return (SwSectionFmt*)pRegisteredIn; } - SwSectionFmt* GetFmt() const { return (SwSectionFmt*)pRegisteredIn; } + SwSectionFmt* GetFmt() { return (SwSectionFmt*)pRegisteredIn; } + SwSectionFmt* GetFmt() const { return (SwSectionFmt*)pRegisteredIn; } virtual void Modify( SfxPoolItem* pOld, SfxPoolItem* pNew ); @@ -297,13 +297,13 @@ class SW_DLLPUBLIC SwSectionFmt ::com::sun::star::uno::WeakReference< ::com::sun::star::text::XTextSection> m_wXTextSection; - SW_DLLPRIVATE void UpdateParent(); // Parent wurde veraendert + SW_DLLPRIVATE void UpdateParent(); // Parent wurde veraendert protected: SwSectionFmt( SwSectionFmt* pDrvdFrm, SwDoc *pDoc ); public: - TYPEINFO(); //Bereits in Basisklasse Client drin. + TYPEINFO(); //Bereits in Basisklasse Client drin. ~SwSectionFmt(); //Vernichtet alle Frms in aDepend (Frms werden per PTR_CAST erkannt). @@ -321,7 +321,7 @@ public: inline SwSection* GetParentSection() const; // alle Sections, die von dieser abgeleitet sind - // - sortiert nach : Name oder Position oder unsortiert + // - sortiert nach : Name oder Position oder unsortiert // - alle oder nur die, die sich im normalten Nodes-Array befinden USHORT GetChildSections( SwSections& rArr, SectionSort eSort = SORTSECT_NOT, diff --git a/sw/inc/shellid.hxx b/sw/inc/shellid.hxx index 16ba7ae00321..2316f0e481e3 100644 --- a/sw/inc/shellid.hxx +++ b/sw/inc/shellid.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -31,45 +31,45 @@ #include <sfx2/shell.hxx> /*-------------------------------------------------------------------- - Beschreibung: Mapping fuer UI-Parameter + Beschreibung: Mapping fuer UI-Parameter --------------------------------------------------------------------*/ -#define SW_BASESHELL (SFX_INTERFACE_SW_START + 1) -#define SW_TEXTSHELL (SFX_INTERFACE_SW_START + 2) -#define SW_LISTSHELL (SFX_INTERFACE_SW_START + 3) -#define SW_TABSHELL (SFX_INTERFACE_SW_START + 4) -#define SW_FRAMESHELL (SFX_INTERFACE_SW_START + 5) -#define SW_GRFSHELL (SFX_INTERFACE_SW_START + 6) -#define SW_OLESHELL (SFX_INTERFACE_SW_START + 7) -#define SW_DRAWSHELL (SFX_INTERFACE_SW_START + 8) -#define SW_DRWTXTSHELL (SFX_INTERFACE_SW_START + 9) +#define SW_BASESHELL (SFX_INTERFACE_SW_START + 1) +#define SW_TEXTSHELL (SFX_INTERFACE_SW_START + 2) +#define SW_LISTSHELL (SFX_INTERFACE_SW_START + 3) +#define SW_TABSHELL (SFX_INTERFACE_SW_START + 4) +#define SW_FRAMESHELL (SFX_INTERFACE_SW_START + 5) +#define SW_GRFSHELL (SFX_INTERFACE_SW_START + 6) +#define SW_OLESHELL (SFX_INTERFACE_SW_START + 7) +#define SW_DRAWSHELL (SFX_INTERFACE_SW_START + 8) +#define SW_DRWTXTSHELL (SFX_INTERFACE_SW_START + 9) -#define SW_INTERFACE_MODULE (SFX_INTERFACE_SW_START + 10) -#define SW_DOCSHELL (SFX_INTERFACE_SW_START + 11) -#define SW_VIEWSHELL (SFX_INTERFACE_SW_START + 12) -#define SW_PAGEPREVIEW (SFX_INTERFACE_SW_START + 13) -#define SW_GLOSDOCSHELL (SFX_INTERFACE_SW_START + 14) -#define SW_SRC_VIEWSHELL (SFX_INTERFACE_SW_START + 15) +#define SW_INTERFACE_MODULE (SFX_INTERFACE_SW_START + 10) +#define SW_DOCSHELL (SFX_INTERFACE_SW_START + 11) +#define SW_VIEWSHELL (SFX_INTERFACE_SW_START + 12) +#define SW_PAGEPREVIEW (SFX_INTERFACE_SW_START + 13) +#define SW_GLOSDOCSHELL (SFX_INTERFACE_SW_START + 14) +#define SW_SRC_VIEWSHELL (SFX_INTERFACE_SW_START + 15) -#define SW_BEZIERSHELL (SFX_INTERFACE_SW_START + 16) -#define SW_DRAWBASESHELL (SFX_INTERFACE_SW_START + 17) -#define SW_DRAWFORMSHELL (SFX_INTERFACE_SW_START + 18) +#define SW_BEZIERSHELL (SFX_INTERFACE_SW_START + 16) +#define SW_DRAWBASESHELL (SFX_INTERFACE_SW_START + 17) +#define SW_DRAWFORMSHELL (SFX_INTERFACE_SW_START + 18) -#define SW_WEBDOCSHELL (SFX_INTERFACE_SW_START + 19) -#define SW_WEBVIEWSHELL (SFX_INTERFACE_SW_START + 20) -#define SW_WEBBASESHELL (SFX_INTERFACE_SW_START + 21) -#define SW_WEBTEXTSHELL (SFX_INTERFACE_SW_START + 22) -#define SW_WEBFRAMESHELL (SFX_INTERFACE_SW_START + 23) -#define SW_WEBGLOSDOCSHELL (SFX_INTERFACE_SW_START + 24) -#define SW_WEBLISTSHELL (SFX_INTERFACE_SW_START + 25) -#define SW_WEBTABSHELL (SFX_INTERFACE_SW_START + 26) -#define SW_WEBGRFSHELL (SFX_INTERFACE_SW_START + 27) -#define SW_WEBOLESHELL (SFX_INTERFACE_SW_START + 28) -#define SW_WEBDRAWBASESHELL (SFX_INTERFACE_SW_START + 29) -#define SW_WEBDRAWFORMSHELL (SFX_INTERFACE_SW_START + 30) +#define SW_WEBDOCSHELL (SFX_INTERFACE_SW_START + 19) +#define SW_WEBVIEWSHELL (SFX_INTERFACE_SW_START + 20) +#define SW_WEBBASESHELL (SFX_INTERFACE_SW_START + 21) +#define SW_WEBTEXTSHELL (SFX_INTERFACE_SW_START + 22) +#define SW_WEBFRAMESHELL (SFX_INTERFACE_SW_START + 23) +#define SW_WEBGLOSDOCSHELL (SFX_INTERFACE_SW_START + 24) +#define SW_WEBLISTSHELL (SFX_INTERFACE_SW_START + 25) +#define SW_WEBTABSHELL (SFX_INTERFACE_SW_START + 26) +#define SW_WEBGRFSHELL (SFX_INTERFACE_SW_START + 27) +#define SW_WEBOLESHELL (SFX_INTERFACE_SW_START + 28) +#define SW_WEBDRAWBASESHELL (SFX_INTERFACE_SW_START + 29) +#define SW_WEBDRAWFORMSHELL (SFX_INTERFACE_SW_START + 30) -#define SW_MEDIASHELL (SFX_INTERFACE_SW_START + 31) -#define SW_ANNOTATIONSHELL (SFX_INTERFACE_SW_START + 32) +#define SW_MEDIASHELL (SFX_INTERFACE_SW_START + 31) +#define SW_ANNOTATIONSHELL (SFX_INTERFACE_SW_START + 32) #endif // _UIPARAM_HXX diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx index 125f7cadfb7d..c26e2834edc2 100644 --- a/sw/inc/shellio.hxx +++ b/sw/inc/shellio.hxx @@ -46,7 +46,7 @@ #include <tools/urlobj.hxx> #include <swdllapi.h> #include <swtypes.hxx> -#include <docfac.hxx> // SwDocFac +#include <docfac.hxx> // SwDocFac #include <errhdl.hxx> #include <iodetect.hxx> @@ -158,7 +158,7 @@ public: void ResetASCIIOpts() { aASCIIOpts.Reset(); } SwgReaderOption() - { ResetAllFmtsOnly(); aASCIIOpts.Reset(); } + { ResetAllFmtsOnly(); aASCIIOpts.Reset(); } }; class SwReader: public SwDocFac @@ -166,7 +166,7 @@ class SwReader: public SwDocFac SvStream* pStrm; SotStorageRef pStg; com::sun::star::uno::Reference < com::sun::star::embed::XStorage > xStg; - SfxMedium* pMedium; // wer ein Medium haben will (W4W) + SfxMedium* pMedium; // wer ein Medium haben will (W4W) SwPaM* pCrsr; String aFileName; @@ -176,7 +176,7 @@ public: /* * Initiales Einlesen. Dokument wird erst beim Read(..) angelegt. * JP 25.04.95: oder falls es mitgegeben wird, in dieses. - * Sonderfall fuer Load mit Sw3Reader + * Sonderfall fuer Load mit Sw3Reader */ //SwReader( SotStorage&, const String& rFilename, SwDoc *pDoc = 0 ); //SwReader( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&, const String& rFilename, SwDoc *pDoc = 0 ); @@ -213,8 +213,8 @@ protected: /**************** SPEZIELLE Reader ************************/ // spezielle - Reader koennen beides sein !! (Excel, W4W, .. ) -#define SW_STREAM_READER 1 -#define SW_STORAGE_READER 2 +#define SW_STREAM_READER 1 +#define SW_STORAGE_READER 2 class SW_DLLPUBLIC Reader { @@ -231,12 +231,12 @@ protected: SvStream* pStrm; SotStorageRef pStg; com::sun::star::uno::Reference < com::sun::star::embed::XStorage > xStg; - SfxMedium* pMedium; // wer ein Medium haben will (W4W) + SfxMedium* pMedium; // wer ein Medium haben will (W4W) SwgReaderOption aOpt; BOOL bInsertMode : 1; BOOL bTmplBrowseMode : 1; - BOOL bReadUTF8: 1; // Stream als UTF-8 interpretieren + BOOL bReadUTF8: 1; // Stream als UTF-8 interpretieren BOOL bBlockMode: 1; BOOL bOrganizerMode : 1; BOOL bHasAskTemplateName : 1; @@ -354,7 +354,7 @@ class SW_DLLPUBLIC SwTextBlocks // friend class Sw2TextBlocks; // friend class Sw3IoImp; SwImpBlocks* pImp; - ULONG nErr; + ULONG nErr; public: SwTextBlocks( const String& ); @@ -363,7 +363,7 @@ public: void Flush(){} SwDoc* GetDoc(); - void ClearDoc(); // Doc-Inhalt loeschen + void ClearDoc(); // Doc-Inhalt loeschen const String& GetName(); void SetName( const String& ); ULONG GetError() const { return nErr; } @@ -372,32 +372,32 @@ public: void SetBaseURL( const String& rURL ); BOOL IsOld() const; - ULONG ConvertToNew(); // Textbausteine konvertieren + ULONG ConvertToNew(); // Textbausteine konvertieren - USHORT GetCount() const; // Anzahl Textbausteine ermitteln - USHORT GetIndex( const String& ) const; // Index fuer Kurznamen ermitteln - USHORT GetLongIndex( const String& ) const; //Index fuer Langnamen ermitteln - const String& GetShortName( USHORT ) const; // Kurzname fuer Index zurueck - const String& GetLongName( USHORT ) const; // Langname fuer Index zurueck + USHORT GetCount() const; // Anzahl Textbausteine ermitteln + USHORT GetIndex( const String& ) const; // Index fuer Kurznamen ermitteln + USHORT GetLongIndex( const String& ) const; //Index fuer Langnamen ermitteln + const String& GetShortName( USHORT ) const; // Kurzname fuer Index zurueck + const String& GetLongName( USHORT ) const; // Langname fuer Index zurueck - BOOL Delete( USHORT ); // Loeschen + BOOL Delete( USHORT ); // Loeschen USHORT Rename( USHORT, const String*, const String* ); // Umbenennen ULONG CopyBlock( SwTextBlocks& rSource, String& rSrcShort, const String& rLong ); // Block kopieren - BOOL BeginGetDoc( USHORT ); // Textbaustein einlesen - void EndGetDoc(); // Textbaustein wieder loslassen + BOOL BeginGetDoc( USHORT ); // Textbaustein einlesen + void EndGetDoc(); // Textbaustein wieder loslassen BOOL BeginPutDoc( const String&, const String& ); // Speichern Beginn - USHORT PutDoc(); // Speichern Ende + USHORT PutDoc(); // Speichern Ende USHORT PutText( const String&, const String&, const String& ); // Speichern( Kurzn., Text) BOOL IsOnlyTextBlock( USHORT ) const; BOOL IsOnlyTextBlock( const String& rShort ) const; - const String& GetFileName() const; // Dateiname von pImp - BOOL IsReadOnly() const; // ReadOnly-Flag von pImp + const String& GetFileName() const; // Dateiname von pImp + BOOL IsReadOnly() const; // ReadOnly-Flag von pImp BOOL GetMacroTable( USHORT nIdx, SvxMacroTableDtor& rMacroTbl ); BOOL SetMacroTable( USHORT nIdx, const SvxMacroTableDtor& rMacroTbl ); @@ -449,7 +449,7 @@ class SW_DLLPUBLIC Writer protected: - SwPaM* pOrigPam; // der letze zu bearbeitende Pam + SwPaM* pOrigPam; // der letze zu bearbeitende Pam const String* pOrigFileName; void ResetWriter(); @@ -499,7 +499,7 @@ public: void SetShowProgress( BOOL bFlag = FALSE ) { bShowProgress = bFlag; } - const String* GetOrigFileName() const { return pOrigFileName; } + const String* GetOrigFileName() const { return pOrigFileName; } const SwAsciiOptions& GetAsciiOptions() const { return aAscOpts; } void SetAsciiOptions( const SwAsciiOptions& rOpt ) { aAscOpts = rOpt; } @@ -538,7 +538,7 @@ public: inline SvStream& OutHex( USHORT nHex, BYTE nLen = 2 ) { return OutHex( Strm(), nHex, nLen ); } inline SvStream& OutHex4( USHORT nHex ) { return OutHex( Strm(), nHex, 4 ); } inline SvStream& OutLong( long nVal ) { return OutLong( Strm(), nVal ); } - inline SvStream& OutULong( ULONG nVal ) { return OutULong( Strm(), nVal ); } + inline SvStream& OutULong( ULONG nVal ) { return OutULong( Strm(), nVal ); } void SetStream(SvStream *const pStream); SvStream& Strm(); @@ -625,7 +625,7 @@ public: SwWriter( SfxMedium&, SwCrsrShell &,BOOL bWriteAll = FALSE ); SwWriter( SfxMedium&, SwDoc & ); -// SwWriter( SfxMedium&, SwPaM&, BOOL bWriteAll = FALSE ); +// SwWriter( SfxMedium&, SwPaM&, BOOL bWriteAll = FALSE ); //const String& GetBaseURL() const { return sBaseURL;} }; diff --git a/sw/inc/shellres.hxx b/sw/inc/shellres.hxx index 443ec8f800d3..d40f53fb0dff 100644 --- a/sw/inc/shellres.hxx +++ b/sw/inc/shellres.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,20 +40,20 @@ struct SW_DLLPUBLIC ShellResource : public Resource { - String aPostItAuthor; - String aPostItPage; - String aPostItLine; + String aPostItAuthor; + String aPostItPage; + String aPostItLine; // Calc Fehlerstrings - String aCalc_Syntax; - String aCalc_ZeroDiv; - String aCalc_Brack; - String aCalc_Pow; - String aCalc_VarNFnd; - String aCalc_Overflow; - String aCalc_WrongTime; - String aCalc_Default; - String aCalc_Error; + String aCalc_Syntax; + String aCalc_ZeroDiv; + String aCalc_Brack; + String aCalc_Pow; + String aCalc_VarNFnd; + String aCalc_Overflow; + String aCalc_WrongTime; + String aCalc_Default; + String aCalc_Error; // fuers GetRefFeld - oben/unten String aGetRefFld_Up; @@ -63,16 +63,16 @@ struct SW_DLLPUBLIC ShellResource : public Resource String aGetRefFld_RefItemNotFound; // <-- // fuer dynamisches Menu - String "alle" - String aStrAllPageHeadFoot; + String aStrAllPageHeadFoot; // fuer einige Listboxen - String "keine" - String aStrNone; + String aStrNone; // fuer Felder, die Fixiert sind - String aFixedStr; + String aFixedStr; // custom fields of type css::util::Duration String sDurationFormat; //names of TOXs - String aTOXIndexName; + String aTOXIndexName; String aTOXUserName; String aTOXContentName; String aTOXIllustrationsName; @@ -82,14 +82,14 @@ struct SW_DLLPUBLIC ShellResource : public Resource String aHyperlinkClick; - SvStringsDtor aDocInfoLst; + SvStringsDtor aDocInfoLst; // Fly-Anker Bmps -// Bitmap aAnchorBmp; -// Bitmap aDragAnchorBmp; +// Bitmap aAnchorBmp; +// Bitmap aDragAnchorBmp; // die AutoFormat-Redline-Kommentare - inline const SvStringsDtor& GetAutoFmtNameLst() const; + inline const SvStringsDtor& GetAutoFmtNameLst() const; // returns for the specific filter the new names of pagedescs // This method is for the old code of the specific filters with @@ -102,7 +102,7 @@ struct SW_DLLPUBLIC ShellResource : public Resource private: void _GetAutoFmtNameLst() const; - SvStringsDtor *pAutoFmtNameLst; + SvStringsDtor *pAutoFmtNameLst; String sPageDescFirstName; String sPageDescFollowName; String sPageDescName; diff --git a/sw/inc/sortopt.hxx b/sw/inc/sortopt.hxx index 5355f9dccaaf..9e9a0a66eb96 100644 --- a/sw/inc/sortopt.hxx +++ b/sw/inc/sortopt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -33,8 +33,8 @@ #include <tools/string.hxx> #include "swdllapi.h" -enum SwSortOrder { SRT_ASCENDING, SRT_DESCENDING }; -enum SwSortDirection { SRT_COLUMNS, SRT_ROWS }; +enum SwSortOrder { SRT_ASCENDING, SRT_DESCENDING }; +enum SwSortDirection { SRT_COLUMNS, SRT_ROWS }; /*-------------------------------------------------------------------- Beschreibung: SortierSchluessel @@ -45,10 +45,10 @@ struct SW_DLLPUBLIC SwSortKey SwSortKey( USHORT nId, const String& rSrtType, SwSortOrder eOrder ); SwSortKey( const SwSortKey& rOld ); - String sSortType; - SwSortOrder eSortOrder; - USHORT nColumnId; - BOOL bIsNumeric; + String sSortType; + SwSortOrder eSortOrder; + USHORT nColumnId; + BOOL bIsNumeric; }; SV_DECL_PTRARR(SwSortKeys, SwSortKey*, 3, 1) @@ -59,14 +59,14 @@ struct SW_DLLPUBLIC SwSortOptions ~SwSortOptions(); SwSortOptions(const SwSortOptions& rOpt); - SwSortKeys aKeys; - SwSortDirection eDirection; - sal_Unicode cDeli; - USHORT nLanguage; - BOOL bTable; - BOOL bIgnoreCase; + SwSortKeys aKeys; + SwSortDirection eDirection; + sal_Unicode cDeli; + USHORT nLanguage; + BOOL bTable; + BOOL bIgnoreCase; }; -#endif // _SORTOPT_HXX +#endif // _SORTOPT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/splargs.hxx b/sw/inc/splargs.hxx index a2c370a8b12f..0b7f6b2de606 100644 --- a/sw/inc/splargs.hxx +++ b/sw/inc/splargs.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -108,17 +108,17 @@ struct SwConversionArgs : SwArgsBase struct SwSpellArgs : SwArgsBase { ::com::sun::star::uno::Reference< - ::com::sun::star::linguistic2::XSpellChecker1 > xSpeller; + ::com::sun::star::linguistic2::XSpellChecker1 > xSpeller; ::com::sun::star::uno::Reference< - ::com::sun::star::linguistic2::XSpellAlternatives > xSpellAlt; + ::com::sun::star::linguistic2::XSpellAlternatives > xSpellAlt; bool bIsGrammarCheck; SwSpellArgs(::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSpellChecker1 > &rxSplChk, SwTxtNode* pStart, SwIndex& rStart, - SwTxtNode* pEnd, SwIndex& rEnd, + SwTxtNode* pEnd, SwIndex& rEnd, bool bGrammar ) : SwArgsBase( pStart, rStart, pEnd, rEnd ), xSpeller( rxSplChk ), @@ -127,22 +127,22 @@ struct SwSpellArgs : SwArgsBase }; /************************************************************************* - * class SwInterHyphInfo + * class SwInterHyphInfo *************************************************************************/ // Parameter-Klasse fuer Hyphenate -// docedt.cxx: SwDoc::Hyphenate() -// txtedt.cxx: SwTxtNode::Hyphenate() +// docedt.cxx: SwDoc::Hyphenate() +// txtedt.cxx: SwTxtNode::Hyphenate() // txthyph.cxx: SwTxtFrm::Hyphenate() class SwInterHyphInfo { ::com::sun::star::uno::Reference< - ::com::sun::star::linguistic2::XHyphenatedWord > xHyphWord; - const Point aCrsrPos; - sal_Bool bAuto : 1; - sal_Bool bNoLang : 1; - sal_Bool bCheck : 1; + ::com::sun::star::linguistic2::XHyphenatedWord > xHyphWord; + const Point aCrsrPos; + sal_Bool bAuto : 1; + sal_Bool bNoLang : 1; + sal_Bool bCheck : 1; public: xub_StrLen nStart; xub_StrLen nLen; diff --git a/sw/inc/statstr.hrc b/sw/inc/statstr.hrc index 0c611051ba01..84e58fa5820f 100644 --- a/sw/inc/statstr.hrc +++ b/sw/inc/statstr.hrc @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -33,19 +33,19 @@ #define STR_STATSTR_W4WWRITE (RC_STATLIN_STR + 1) #define STR_STATSTR_SWGREAD (RC_STATLIN_STR + 2) #define STR_STATSTR_SWGWRITE (RC_STATLIN_STR + 3) -#define STR_STATSTR_REFORMAT (RC_STATLIN_STR + 4) -#define STR_STATSTR_AUTOFORMAT (RC_STATLIN_STR + 5) +#define STR_STATSTR_REFORMAT (RC_STATLIN_STR + 4) +#define STR_STATSTR_AUTOFORMAT (RC_STATLIN_STR + 5) #define STR_STATSTR_IMPGRF (RC_STATLIN_STR + 6) -#define STR_STATSTR_SEARCH (RC_STATLIN_STR + 7) -#define STR_STATSTR_FORMAT (RC_STATLIN_STR + 8) -#define STR_STATSTR_PRINT (RC_STATLIN_STR + 9) -#define STR_STATSTR_LAYOUTINIT (RC_STATLIN_STR + 10) -#define STR_STATSTR_LETTER (RC_STATLIN_STR + 11) -#define STR_STATSTR_SPELL (RC_STATLIN_STR + 12) -#define STR_STATSTR_HYPHEN (RC_STATLIN_STR + 13) -#define STR_STATSTR_TOX_INSERT (RC_STATLIN_STR + 14) -#define STR_STATSTR_TOX_UPDATE (RC_STATLIN_STR + 15) -#define STR_STATSTR_SUMMARY (RC_STATLIN_STR + 16) +#define STR_STATSTR_SEARCH (RC_STATLIN_STR + 7) +#define STR_STATSTR_FORMAT (RC_STATLIN_STR + 8) +#define STR_STATSTR_PRINT (RC_STATLIN_STR + 9) +#define STR_STATSTR_LAYOUTINIT (RC_STATLIN_STR + 10) +#define STR_STATSTR_LETTER (RC_STATLIN_STR + 11) +#define STR_STATSTR_SPELL (RC_STATLIN_STR + 12) +#define STR_STATSTR_HYPHEN (RC_STATLIN_STR + 13) +#define STR_STATSTR_TOX_INSERT (RC_STATLIN_STR + 14) +#define STR_STATSTR_TOX_UPDATE (RC_STATLIN_STR + 15) +#define STR_STATSTR_SUMMARY (RC_STATLIN_STR + 16) #define STR_STATSTR_SWGPRTOLENOTIFY (RC_STATLIN_STR + 17) #endif diff --git a/sw/inc/stringhash.hxx b/sw/inc/stringhash.hxx index 27a3b26327bc..fcdc1d609423 100644 --- a/sw/inc/stringhash.hxx +++ b/sw/inc/stringhash.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -51,7 +51,7 @@ struct StringHash { size_t operator() ( const String *rString) const { - sal_Int32 h, nLen; + sal_Int32 h, nLen; h = nLen = rString->Len(); const sal_Unicode *pStr = rString->GetBuffer(); @@ -95,11 +95,11 @@ struct StringHash struct StringHashRef { - size_t operator () (const String &rStr) const - { + size_t operator () (const String &rStr) const + { StringHash aStrHash; - return aStrHash(&rStr); + return aStrHash(&rStr); } }; #endif // _STRINGHASH_HXX diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx index 6573370ec6e8..57609db55b52 100644 --- a/sw/inc/swabstdlg.hxx +++ b/sw/inc/swabstdlg.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -99,16 +99,16 @@ namespace com{namespace sun{namespace star{ } }}} -typedef void (*SwLabDlgMethod) (::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel>& xModel, const SwLabItem& rItem); +typedef void (*SwLabDlgMethod) (::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel>& xModel, const SwLabItem& rItem); -typedef String (*GlossaryGetCurrGroup)(); -typedef void (*GlossarySetActGroup)(const String& rNewGroup); +typedef String (*GlossaryGetCurrGroup)(); +typedef void (*GlossarySetActGroup)(const String& rNewGroup); class AbstractGlossaryDlg : public VclAbstractDialog //add for SwGlossaryDlg { public: - virtual String GetCurrGrpName() const = 0; - virtual String GetCurrShortName() const = 0; + virtual String GetCurrGrpName() const = 0; + virtual String GetCurrShortName() const = 0; }; class AbstractFldInputDlg : public VclAbstractDialog //add for SwFldInputDlg @@ -133,15 +133,15 @@ public: class AbstractInsertGrfRulerDlg : public VclAbstractDialog //add for SwInsertGrfRulerDlg { public: - virtual String GetGraphicName() = 0; - virtual BOOL IsSimpleLine() = 0; - virtual BOOL HasImages() const = 0; + virtual String GetGraphicName() = 0; + virtual BOOL IsSimpleLine() = 0; + virtual BOOL HasImages() const = 0; }; class AbstractInsTableDlg : public VclAbstractDialog //add for SwInsTableDlg { public: - virtual void GetValues( String& rName, USHORT& rRow, USHORT& rCol, + virtual void GetValues( String& rName, USHORT& rRow, USHORT& rCol, SwInsertTableOptions& rInsTblFlags, String& rTableAutoFmtName, SwTableAutoFmt *& prTAFmt ) = 0; }; @@ -159,7 +159,7 @@ public: class AbstractMailMergeDlg : public VclAbstractDialog //add for SwMailMergeDlg { public: - virtual USHORT GetMergeType() = 0; + virtual USHORT GetMergeType() = 0; virtual const ::rtl::OUString& GetSaveFilter() const = 0; virtual const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > GetSelection() const = 0; virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet> GetResultSet() const = 0; @@ -178,11 +178,11 @@ public: class AbstractMultiTOXTabDialog : public VclAbstractDialog //add for SwMultiTOXTabDialog { public: - virtual SwForm* GetForm(CurTOXType eType) = 0; - virtual CurTOXType GetCurrentTOXType() const = 0; - virtual SwTOXDescription& GetTOXDescription(CurTOXType eTOXTypes) = 0; + virtual SwForm* GetForm(CurTOXType eType) = 0; + virtual CurTOXType GetCurrentTOXType() const = 0; + virtual SwTOXDescription& GetTOXDescription(CurTOXType eTOXTypes) = 0; //from SfxTabDialog - virtual const SfxItemSet* GetOutputItemSet() const = 0; + virtual const SfxItemSet* GetOutputItemSet() const = 0; }; class AbstractEditRegionDlg : public VclAbstractDialog //add for SwEditRegionDlg @@ -205,8 +205,8 @@ public: class AbstractSwInsertAbstractDlg : public VclAbstractDialog // add for SwInsertAbstractDlg { public: - virtual BYTE GetLevel() const = 0; - virtual BYTE GetPara() const = 0; + virtual BYTE GetLevel() const = 0; + virtual BYTE GetPara() const = 0; }; class AbstractSwAsciiFilterDlg : public VclAbstractDialog // add for SwAsciiFilterDlg @@ -225,7 +225,7 @@ public: }; -class AbstractSplitTableDialog : public VclAbstractDialog // add for +class AbstractSplitTableDialog : public VclAbstractDialog // add for { public: virtual sal_uInt16 GetSplitMode() = 0; @@ -266,9 +266,9 @@ public: class AbstarctSwSelGlossaryDlg : public VclAbstractDialog //add for SwSelGlossaryDlg { public: - virtual void InsertGlos(const String &rRegion, const String &rGlosName) = 0; // inline - virtual USHORT GetSelectedIdx() const = 0; // inline - virtual void SelectEntryPos(USHORT nIdx) = 0; // inline + virtual void InsertGlos(const String &rRegion, const String &rGlosName) = 0; // inline + virtual USHORT GetSelectedIdx() const = 0; // inline + virtual void SelectEntryPos(USHORT nIdx) = 0; // inline }; class AbstractSwSplitTableDlg :public VclAbstractDialog //add for SwSplitTableDlg @@ -288,18 +288,18 @@ public: class AbstractSwFldDlg : public SfxAbstractTabDialog //add for SwFldDlg { public: - virtual void Start( BOOL bShow = TRUE ) = 0; //this method from sfxtabdialog - virtual void Initialize(SfxChildWinInfo *pInfo) = 0; - virtual void ReInitDlg() = 0; + virtual void Start( BOOL bShow = TRUE ) = 0; //this method from sfxtabdialog + virtual void Initialize(SfxChildWinInfo *pInfo) = 0; + virtual void ReInitDlg() = 0; virtual void ActivateDatabasePage() = 0; - virtual void ShowPage( USHORT nId ) = 0;// this method from SfxTabDialog - virtual Window * GetWindow() = 0; //this method is added for return a Window type pointer + virtual void ShowPage( USHORT nId ) = 0;// this method from SfxTabDialog + virtual Window * GetWindow() = 0; //this method is added for return a Window type pointer }; class AbstractSwRenameXNamedDlg : public VclAbstractDialog //add for SwRenameXNamedDlg { public: - virtual void SetForbiddenChars( const String& rSet ) = 0; + virtual void SetForbiddenChars( const String& rSet ) = 0; virtual void SetAlternativeAccess( STAR_REFERENCE( container::XNameAccess ) & xSecond, STAR_REFERENCE( container::XNameAccess ) & xThird ) = 0; @@ -308,14 +308,14 @@ public: class AbstractSwModalRedlineAcceptDlg : public VclAbstractDialog //add for SwModalRedlineAcceptDlg { public: - virtual void AcceptAll( BOOL bAccept ) = 0; + virtual void AcceptAll( BOOL bAccept ) = 0; }; class AbstractMarkFloatDlg : public VclAbstractDialog //add for SwIndexMarkFloatDlg & SwAuthMarkFloatDlg { public: virtual void ReInitDlg(SwWrtShell& rWrtShell) = 0; - virtual Window * GetWindow() = 0; //this method is added for return a Window type pointer + virtual Window * GetWindow() = 0; //this method is added for return a Window type pointer }; #define RET_LOAD_DOC 100 @@ -341,9 +341,9 @@ public: class SwAbstractDialogFactory { public: - static SwAbstractDialogFactory* Create(); + static SwAbstractDialogFactory* Create(); - virtual SfxAbstractDialog* CreateSfxDialog( Window* pParent, //add for SvxMeasureDialog & SvxConnectionDialog + virtual SfxAbstractDialog* CreateSfxDialog( Window* pParent, //add for SvxMeasureDialog & SvxConnectionDialog const SfxItemSet& rAttr, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame, sal_uInt32 nResId @@ -354,8 +354,8 @@ public: SvStream* pStream, int nResId ) = 0;// add for SwAsciiFilterDlg virtual VclAbstractDialog * CreateSwInsertBookmarkDlg( Window *pParent, SwWrtShell &rSh, SfxRequest& rReq, int nResId ) = 0;// add for SwInsertBookmarkDlg - virtual AbstractSwBreakDlg * CreateSwBreakDlg( Window *pParent, SwWrtShell &rSh,int nResId ) = 0; // add for SwBreakDlg - virtual VclAbstractDialog * CreateSwChangeDBDlg( SwView& rVw, int nResId ) = 0; //add for SwChangeDBDlg + virtual AbstractSwBreakDlg * CreateSwBreakDlg( Window *pParent, SwWrtShell &rSh,int nResId ) = 0; // add for SwBreakDlg + virtual VclAbstractDialog * CreateSwChangeDBDlg( SwView& rVw, int nResId ) = 0; //add for SwChangeDBDlg virtual SfxAbstractTabDialog * CreateSwCharDlg( Window* pParent, SwView& pVw, const SfxItemSet& rCoreSet, int nResId, // add for SwCharDlg const String* pFmtStr = 0, BOOL bIsDrwTxtDlg = FALSE) = 0; virtual AbstractSwConvertTableDlg* CreateSwConvertTableDlg ( SwView& rView , int nResId, bool bToTable) = 0; //add for SwConvertTableDlg @@ -388,7 +388,7 @@ public: virtual AbstarctSwSelGlossaryDlg * CreateSwSelGlossaryDlg ( Window * pParent, const String &rShortName, int nResId ) = 0; //add for SwSelGlossaryDlg - virtual VclAbstractDialog * CreateVclAbstractDialog ( Window * pParent, SwWrtShell &rSh, int nResId ) = 0; //add for SwTableHeightDlg SwSortDlg + virtual VclAbstractDialog * CreateVclAbstractDialog ( Window * pParent, SwWrtShell &rSh, int nResId ) = 0; //add for SwTableHeightDlg SwSortDlg virtual AbstractSplitTableDialog * CreateSplitTblDialog ( Window * pParent, SwWrtShell &rSh ) = 0; //add for SwSplitTblDlg virtual AbstractSwAutoFormatDlg * CreateSwAutoFormatDlg( Window* pParent, SwWrtShell* pShell, //add for SwAutoFormatDlg @@ -403,7 +403,7 @@ public: const SfxItemSet* pItemSet, SwWrtShell* pSh,int nResId ) = 0; //add for SwTableTabDlg virtual AbstractSwFldDlg * CreateSwFldDlg ( SfxBindings* pB, SwChildWinWrapper* pCW, Window *pParent, int nResId ) = 0; //add for SwFldDlg - virtual SfxAbstractDialog* CreateSwFldEditDlg ( SwView& rVw, int nResId ) = 0; //add for SwFldEditDlg + virtual SfxAbstractDialog* CreateSwFldEditDlg ( SwView& rVw, int nResId ) = 0; //add for SwFldEditDlg virtual AbstractSwRenameXNamedDlg * CreateSwRenameXNamedDlg( Window* pParent, //add for SwRenameXNamedDlg STAR_REFERENCE( container::XNamed ) & xNamed, STAR_REFERENCE( container::XNameAccess ) & xNameAccess, int nResId ) = 0; @@ -413,86 +413,86 @@ public: virtual SfxAbstractTabDialog* CreateFrmTabDialog( int nResId, SfxViewFrame *pFrame, Window *pParent, const SfxItemSet& rCoreSet, - BOOL bNewFrm = TRUE, - USHORT nResType = DLG_FRM_STD, - BOOL bFmt = FALSE, - UINT16 nDefPage = 0, - const String* pFmtStr = 0) = 0; //add for SwFrmDlg - virtual SfxAbstractTabDialog* CreateTemplateDialog( int nResId, + BOOL bNewFrm = TRUE, + USHORT nResType = DLG_FRM_STD, + BOOL bFmt = FALSE, + UINT16 nDefPage = 0, + const String* pFmtStr = 0) = 0; //add for SwFrmDlg + virtual SfxAbstractTabDialog* CreateTemplateDialog( int nResId, Window* pParent, SfxStyleSheetBase& rBase, USHORT nRegion, - BOOL bColumn = FALSE, - SwWrtShell* pActShell = 0, - BOOL bNew = FALSE ) = 0; //add for SwTemplateDlg - virtual AbstractGlossaryDlg* CreateGlossaryDlg( int nResId, + BOOL bColumn = FALSE, + SwWrtShell* pActShell = 0, + BOOL bNew = FALSE ) = 0; //add for SwTemplateDlg + virtual AbstractGlossaryDlg* CreateGlossaryDlg( int nResId, SfxViewFrame* pViewFrame, SwGlossaryHdl* pGlosHdl, SwWrtShell *pWrtShell) = 0; //add for SwGlossaryDlg - virtual AbstractFldInputDlg* CreateFldInputDlg( int nResId, + virtual AbstractFldInputDlg* CreateFldInputDlg( int nResId, Window *pParent, SwWrtShell &rSh, SwField* pField, BOOL bNextButton = FALSE ) = 0; //add for SwFldInputDlg - virtual AbstractInsFootNoteDlg* CreateInsFootNoteDlg( int nResId, + virtual AbstractInsFootNoteDlg* CreateInsFootNoteDlg( int nResId, Window * pParent, SwWrtShell &rSh, BOOL bEd = FALSE) = 0; //add for SwInsFootNoteDlg virtual VclAbstractDialog* CreateTitlePageDlg ( Window * pParent ) = 0; - virtual VclAbstractDialog * CreateVclSwViewDialog( int nResId, + virtual VclAbstractDialog * CreateVclSwViewDialog( int nResId, SwView& rView, BOOL bCol = FALSE ) = 0; //add for SwInsRowColDlg, SwLineNumberingDlg - virtual AbstractInsertGrfRulerDlg* CreateInsertGrfRulerDlg( int nResId, + virtual AbstractInsertGrfRulerDlg* CreateInsertGrfRulerDlg( int nResId, Window * pParent ) = 0; //add for SwInsertGrfRulerDlg - virtual AbstractInsTableDlg* CreateInsTableDlg( int nResId, + virtual AbstractInsTableDlg* CreateInsTableDlg( int nResId, SwView& rView ) = 0; //add for SwInsTableDlg - virtual AbstractJavaEditDialog* CreateJavaEditDialog( int nResId, + virtual AbstractJavaEditDialog* CreateJavaEditDialog( int nResId, Window* pParent, SwWrtShell* pWrtSh ) = 0; //add for SwJavaEditDialog - virtual AbstractMailMergeDlg* CreateMailMergeDlg( int nResId, + virtual AbstractMailMergeDlg* CreateMailMergeDlg( int nResId, Window* pParent, SwWrtShell& rSh, const String& rSourceName, const String& rTblName, sal_Int32 nCommandType, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& xConnection, ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >* pSelection = 0 ) = 0; //add for SwMailMergeDlg - virtual AbstractMailMergeCreateFromDlg* CreateMailMergeCreateFromDlg( int nResId, + virtual AbstractMailMergeCreateFromDlg* CreateMailMergeCreateFromDlg( int nResId, Window* pParent ) = 0; //add for SwMailMergeCreateFromDlg - virtual AbstractMailMergeFieldConnectionsDlg* CreateMailMergeFieldConnectionsDlg( int nResId, + virtual AbstractMailMergeFieldConnectionsDlg* CreateMailMergeFieldConnectionsDlg( int nResId, Window* pParent ) = 0; //add for SwMailMergeFieldConnectionsDlg - virtual VclAbstractDialog* CreateMultiTOXMarkDlg( int nResId, + virtual VclAbstractDialog* CreateMultiTOXMarkDlg( int nResId, Window* pParent, SwTOXMgr &rTOXMgr ) = 0; //add for SwMultiTOXMarkDlg - virtual SfxAbstractTabDialog* CreateSwTabDialog( int nResId, + virtual SfxAbstractTabDialog* CreateSwTabDialog( int nResId, Window* pParent, const SfxItemSet* pSwItemSet, SwWrtShell &) = 0; //add for SwSvxNumBulletTabDialog, SwOutlineTabDialog - virtual AbstractMultiTOXTabDialog* CreateMultiTOXTabDialog( int nResId, + virtual AbstractMultiTOXTabDialog* CreateMultiTOXTabDialog( int nResId, Window* pParent, const SfxItemSet& rSet, SwWrtShell &rShell, SwTOXBase* pCurTOX, USHORT nToxType = USHRT_MAX, BOOL bGlobal = FALSE) = 0; //add for SwMultiTOXTabDialog - virtual AbstractEditRegionDlg* CreateEditRegionDlg( int nResId, + virtual AbstractEditRegionDlg* CreateEditRegionDlg( int nResId, Window* pParent, SwWrtShell& rWrtSh ) = 0; //add for SwEditRegionDlg - virtual AbstractInsertSectionTabDialog* CreateInsertSectionTabDialog( int nResId, + virtual AbstractInsertSectionTabDialog* CreateInsertSectionTabDialog( int nResId, Window* pParent, const SfxItemSet& rSet, SwWrtShell& rSh ) = 0; //add for SwInsertSectionTabDialog - virtual AbstractMarkFloatDlg* CreateIndexMarkFloatDlg( int nResId, + virtual AbstractMarkFloatDlg* CreateIndexMarkFloatDlg( int nResId, SfxBindings* pBindings, SfxChildWindow* pChild, Window *pParent, SfxChildWinInfo* pInfo, sal_Bool bNew=sal_True) = 0; //add for SwIndexMarkFloatDlg - virtual AbstractMarkFloatDlg* CreateAuthMarkFloatDlg( int nResId, + virtual AbstractMarkFloatDlg* CreateAuthMarkFloatDlg( int nResId, SfxBindings* pBindings, SfxChildWindow* pChild, Window *pParent, SfxChildWinInfo* pInfo, sal_Bool bNew=sal_True) = 0; //add for SwAuthMarkFloatDlg - virtual VclAbstractDialog * CreateIndexMarkModalDlg( int nResId, + virtual VclAbstractDialog * CreateIndexMarkModalDlg( int nResId, Window *pParent, SwWrtShell& rSh, SwTOXMark* pCurTOXMark ) = 0; //add for SwIndexMarkModalDlg virtual AbstractMailMergeWizard* CreateMailMergeWizard(SwView& rView, SwMailMergeConfigItem& rConfigItem) = 0; //add for static func in SwGlossaryDlg - virtual GlossaryGetCurrGroup GetGlossaryCurrGroupFunc( USHORT nId ) = 0; - virtual GlossarySetActGroup SetGlossaryActGroupFunc( USHORT nId ) = 0; + virtual GlossaryGetCurrGroup GetGlossaryCurrGroupFunc( USHORT nId ) = 0; + virtual GlossarySetActGroup SetGlossaryActGroupFunc( USHORT nId ) = 0; // for tabpage - virtual CreateTabPage GetTabPageCreatorFunc( USHORT nId ) = 0; - virtual GetTabPageRanges GetTabPageRangesFunc( USHORT nId ) = 0; + virtual CreateTabPage GetTabPageCreatorFunc( USHORT nId ) = 0; + virtual GetTabPageRanges GetTabPageRangesFunc( USHORT nId ) = 0; }; #endif diff --git a/sw/inc/swacorr.hxx b/sw/inc/swacorr.hxx index a3b29bfc39e6..9e0f287f8d3b 100644 --- a/sw/inc/swacorr.hxx +++ b/sw/inc/swacorr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -38,13 +38,13 @@ class SwAutoCorrect : public SvxAutoCorrect using SvxAutoCorrect::PutText; protected: - // - return den Ersetzungstext (nur fuer SWG-Format, alle anderen - // koennen aus der Wortliste herausgeholt werden!) - // rShort ist der Stream-Name - gecryptet! + // - return den Ersetzungstext (nur fuer SWG-Format, alle anderen + // koennen aus der Wortliste herausgeholt werden!) + // rShort ist der Stream-Name - gecryptet! virtual BOOL GetLongText( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& , const String& rFileName, const String& rShort, String& rLong ); - - // - Text mit Attributierung (kann nur der SWG - SWG-Format!) - // rShort ist der Stream-Name - gecryptet! + + // - Text mit Attributierung (kann nur der SWG - SWG-Format!) + // rShort ist der Stream-Name - gecryptet! virtual BOOL PutText( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&, const String& rFileName, const String& rShort, SfxObjectShell& , String& ); diff --git a/sw/inc/swatrset.hxx b/sw/inc/swatrset.hxx index abad91650b66..db67948986d0 100644 --- a/sw/inc/swatrset.hxx +++ b/sw/inc/swatrset.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -145,7 +145,7 @@ class SwTblBoxValue; class SwAttrPool : public SfxItemPool { - friend void _InitCore(); // fuers anlegen/zerstoeren der + friend void _InitCore(); // fuers anlegen/zerstoeren der friend void _FinitCore(); // Versionsmaps static USHORT* pVersionMap1; static USHORT* pVersionMap2; @@ -164,8 +164,8 @@ protected: virtual ~SwAttrPool(); public: - SwDoc* GetDoc() { return pDoc; } - const SwDoc* GetDoc() const { return pDoc; } + SwDoc* GetDoc() { return pDoc; } + const SwDoc* GetDoc() const { return pDoc; } static USHORT* GetVersionMap1() { return pVersionMap1; } static USHORT* GetVersionMap2() { return pVersionMap2; } @@ -201,9 +201,9 @@ public: int Intersect_BC( const SfxItemSet& rSet, SwAttrSet* pOld, SwAttrSet* pNew ); void GetPresentation( SfxItemPresentation ePres, - SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const; + SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const; - SwAttrPool* GetPool() const { return (SwAttrPool*)SfxItemSet::GetPool(); } + SwAttrPool* GetPool() const { return (SwAttrPool*)SfxItemSet::GetPool(); } // kopiere die Attribute ggfs. ueber Dokumentgrenzen void CopyToModify( SwModify& rMod ) const; @@ -211,8 +211,8 @@ public: // ---------------------------------------------------------------- // Sonderbehandlung fuer einige Attribute // Setze den Modify-Pointer (alten pDefinedIn) bei folgenden Attributen: - // - SwFmtDropCaps - // - SwFmtPageDesc + // - SwFmtDropCaps + // - SwFmtPageDesc // (Wird beim Einfuegen in Formate/Nodes gerufen) // Second version is for the SwAttrSet handles of SwCntntNode. bool SetModifyAtAttr( const SwModify* pModify ); @@ -220,12 +220,12 @@ public: // Das Doc wird jetzt am SwAttrPool gesetzt. Dadurch hat man es immer // im Zugriff. const SwDoc *GetDoc() const { return GetPool()->GetDoc(); } - SwDoc *GetDoc() { return GetPool()->GetDoc(); } + SwDoc *GetDoc() { return GetPool()->GetDoc(); } // GetMethoden: das Bool gibt an, ob nur im Set (FALSE) oder auch in - // den Parents gesucht werden soll. Wird nichts gefunden, - // wird das deflt. Attribut returnt. - // Charakter-Attribute - impl. steht im charatr.hxx + // den Parents gesucht werden soll. Wird nichts gefunden, + // wird das deflt. Attribut returnt. + // Charakter-Attribute - impl. steht im charatr.hxx // AMA 12.10.94: Umstellung von SwFmt... auf Svx... inline const SvxPostureItem &GetPosture( BOOL = TRUE ) const; inline const SvxWeightItem &GetWeight( BOOL = TRUE ) const; @@ -266,7 +266,7 @@ public: inline const SvxCharReliefItem &GetCharRelief( BOOL = TRUE ) const; inline const SvxCharHiddenItem &GetCharHidden( BOOL = TRUE ) const; - // Frame-Attribute - impl. steht im frmatr.hxx + // Frame-Attribute - impl. steht im frmatr.hxx inline const SwFmtFillOrder &GetFillOrder( BOOL = TRUE ) const; inline const SwFmtFrmSize &GetFrmSize( BOOL = TRUE ) const; inline const SvxPaperBinItem &GetPaperBin( BOOL = TRUE ) const; @@ -307,7 +307,7 @@ public: // OD 2004-05-05 #i28701# inline const SwFmtWrapInfluenceOnObjPos& GetWrapInfluenceOnObjPos(BOOL = TRUE) const; - // Grafik-Attribute - impl. steht im grfatr.hxx + // Grafik-Attribute - impl. steht im grfatr.hxx inline const SwMirrorGrf &GetMirrorGrf( BOOL = TRUE ) const; inline const SwCropGrf &GetCropGrf( BOOL = TRUE ) const; inline const SwRotationGrf &GetRotationGrf(BOOL = TRUE ) const; @@ -321,7 +321,7 @@ public: inline const SwTransparencyGrf &GetTransparencyGrf(BOOL = TRUE ) const; inline const SwDrawModeGrf &GetDrawModeGrf(BOOL = TRUE ) const; - // Paragraph-Attribute - impl. steht im paratr.hxx + // Paragraph-Attribute - impl. steht im paratr.hxx inline const SvxLineSpacingItem &GetLineSpacing( BOOL = TRUE ) const; inline const SvxAdjustItem &GetAdjust( BOOL = TRUE ) const; inline const SvxFmtSplitItem &GetSplit( BOOL = TRUE ) const; @@ -339,7 +339,7 @@ public: inline const SvxParaGridItem &GetParaGrid(BOOL = TRUE) const; inline const SwParaConnectBorderItem &GetParaConnectBorder(BOOL = TRUE ) const; - // TabellenBox-Attribute - impl. steht im cellatr.hxx + // TabellenBox-Attribute - impl. steht im cellatr.hxx inline const SwTblBoxNumFormat &GetTblBoxNumFmt( BOOL = TRUE ) const; inline const SwTblBoxFormula &GetTblBoxFormula( BOOL = TRUE ) const; inline const SwTblBoxValue &GetTblBoxValue( BOOL = TRUE ) const; diff --git a/sw/inc/swbaslnk.hxx b/sw/inc/swbaslnk.hxx index b3d5258863ee..de76532d2703 100644 --- a/sw/inc/swbaslnk.hxx +++ b/sw/inc/swbaslnk.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -80,15 +80,15 @@ public: BOOL Connect() { return 0 != SvBaseLink::GetRealObject(); } // nur fuer Grafik-Links ( zum Umschalten zwischen DDE / Grf-Link) - void SetObjType( USHORT nType ) { SvBaseLink::SetObjType( nType ); } + void SetObjType( USHORT nType ) { SvBaseLink::SetObjType( nType ); } BOOL IsRecursion( const SwBaseLink* pChkLnk ) const; virtual BOOL IsInRange( ULONG nSttNd, ULONG nEndNd, xub_StrLen nStt = 0, xub_StrLen nEnd = STRING_NOTFOUND ) const; - void SetNoDataFlag() { bNoDataFlag = TRUE; } - BOOL ChkNoDataFlag() { BOOL bRet = bNoDataFlag; bNoDataFlag = FALSE; return bRet; } - BOOL IsNoDataFlag() const { return bNoDataFlag; } + void SetNoDataFlag() { bNoDataFlag = TRUE; } + BOOL ChkNoDataFlag() { BOOL bRet = bNoDataFlag; bNoDataFlag = FALSE; return bRet; } + BOOL IsNoDataFlag() const { return bNoDataFlag; } }; diff --git a/sw/inc/swcalwrp.hxx b/sw/inc/swcalwrp.hxx index d6df4e36f512..f24e8fe07e65 100644 --- a/sw/inc/swcalwrp.hxx +++ b/sw/inc/swcalwrp.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/swcli.hxx b/sw/inc/swcli.hxx index 130f74125e3e..c4aa873af56d 100644 --- a/sw/inc/swcli.hxx +++ b/sw/inc/swcli.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -49,9 +49,9 @@ class SwOleClient : public SfxInPlaceClient public: SwOleClient( SwView *pView, SwEditWin *pWin, const svt::EmbeddedObjectRef& ); - void SetInDoVerb( BOOL bFlag ) { bInDoVerb = bFlag; } + void SetInDoVerb( BOOL bFlag ) { bInDoVerb = bFlag; } - BOOL IsCheckForOLEInCaption() const { return bOldCheckForOLEInCaption; } + BOOL IsCheckForOLEInCaption() const { return bOldCheckForOLEInCaption; } }; #endif diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx index 14878734d615..feea603d0a82 100644 --- a/sw/inc/swcrsr.hxx +++ b/sw/inc/swcrsr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -44,9 +44,9 @@ namespace com { namespace sun { namespace star { namespace util { // ein Basis-Struktur fuer die Parameter der Find-Methoden // return - Werte vom Found-Aufruf. -const int FIND_NOT_FOUND = 0; -const int FIND_FOUND = 1; -const int FIND_NO_RING = 2; +const int FIND_NOT_FOUND = 0; +const int FIND_FOUND = 1; +const int FIND_NO_RING = 2; struct SwFindParas { @@ -113,7 +113,7 @@ public: SwPaM* ) const; - ULONG Find( const com::sun::star::util::SearchOptions& rSearchOpt, + ULONG Find( const com::sun::star::util::SearchOptions& rSearchOpt, BOOL bSearchInNotes, SwDocPositions nStart, SwDocPositions nEnde, BOOL& bCancel, @@ -180,7 +180,7 @@ public: BOOL Right( USHORT nCnt, USHORT nMode, BOOL bAllowVisual, BOOL bSkipHidden ) { return LeftRight( FALSE, nCnt, nMode, bAllowVisual, bSkipHidden, FALSE ); } BOOL GoNextCell( USHORT nCnt = 1 ) { return GoPrevNextCell( TRUE, nCnt ); } - BOOL GoPrevCell( USHORT nCnt = 1 ) { return GoPrevNextCell( FALSE, nCnt ); } + BOOL GoPrevCell( USHORT nCnt = 1 ) { return GoPrevNextCell( FALSE, nCnt ); } virtual BOOL GotoTable( const String& rName ); BOOL GotoTblBox( const String& rName ); BOOL GotoRegion( const String& rName ); @@ -207,7 +207,7 @@ public: BOOL bChgCrsr = TRUE ); BOOL IsNoCntnt() const; - void RestoreSavePos(); // Point auf die SavePos setzen + void RestoreSavePos(); // Point auf die SavePos setzen // TRUE: an die Position kann der Cursor gesetzt werden virtual BOOL IsAtValidPos( BOOL bPoint = TRUE ) const; @@ -265,7 +265,7 @@ protected: xub_StrLen nTblPtCnt, nTblMkCnt; SwSelBoxes aSelBoxes; BOOL bChg : 1; - BOOL bParked : 1; // Tabellen-Cursor wurde geparkt + BOOL bParked : 1; // Tabellen-Cursor wurde geparkt virtual bool IsSelOvrCheck(int eFlags); @@ -294,7 +294,7 @@ public: // wurde der TabelleCursor veraendert ? BOOL IsCrsrMoved() const { - return nTblMkNd != GetMark()->nNode.GetIndex() || + return nTblMkNd != GetMark()->nNode.GetIndex() || nTblPtNd != GetPoint()->nNode.GetIndex() || nTblMkCnt != GetMark()->nContent.GetIndex() || nTblPtCnt != GetPoint()->nContent.GetIndex(); diff --git a/sw/inc/swdbdata.hxx b/sw/inc/swdbdata.hxx index 5b270b76837b..e9ff9f420929 100644 --- a/sw/inc/swdbdata.hxx +++ b/sw/inc/swdbdata.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -34,8 +34,8 @@ // contains the description of a data source struct SwDBData { - ::rtl::OUString sDataSource; - ::rtl::OUString sCommand; //table, query or statement + ::rtl::OUString sDataSource; + ::rtl::OUString sCommand; //table, query or statement sal_Int32 nCommandType; //com::sun::star::sdb::CommandType SwDBData() : nCommandType(0){} diff --git a/sw/inc/swdbtoolsclient.hxx b/sw/inc/swdbtoolsclient.hxx index ee4d59651f9f..f2e436984c35 100644 --- a/sw/inc/swdbtoolsclient.hxx +++ b/sw/inc/swdbtoolsclient.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,14 +39,14 @@ class SW_DLLPUBLIC SwDbtoolsClient { private: - ::rtl::Reference< ::connectivity::simple::IDataAccessTools > m_xDataAccessTools; - ::rtl::Reference< ::connectivity::simple::IDataAccessTypeConversion > m_xAccessTypeConversion; - ::rtl::Reference< ::connectivity::simple::IDataAccessToolsFactory > m_xDataAccessFactory; + ::rtl::Reference< ::connectivity::simple::IDataAccessTools > m_xDataAccessTools; + ::rtl::Reference< ::connectivity::simple::IDataAccessTypeConversion > m_xAccessTypeConversion; + ::rtl::Reference< ::connectivity::simple::IDataAccessToolsFactory > m_xDataAccessFactory; SW_DLLPRIVATE static void registerClient(); SW_DLLPRIVATE static void revokeClient(); SW_DLLPRIVATE void getFactory(); - + SW_DLLPRIVATE ::rtl::Reference< ::connectivity::simple::IDataAccessTools > getDataAccessTools(); SW_DLLPRIVATE ::rtl::Reference< ::connectivity::simple::IDataAccessTypeConversion > getAccessTypeConversion(); diff --git a/sw/inc/swddetbl.hxx b/sw/inc/swddetbl.hxx index 6d1a11ec0044..1b2e7f804088 100644 --- a/sw/inc/swddetbl.hxx +++ b/sw/inc/swddetbl.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,7 +39,7 @@ public: TYPEINFO(); // Constructor movet alle Lines/Boxen aus der SwTable zu sich. // Die SwTable ist danach Leer und muss geloescht werden. - SwDDETable( SwTable& rTable, SwDDEFieldType* pDDEType, + SwDDETable( SwTable& rTable, SwDDEFieldType* pDDEType, BOOL bUpdate = TRUE ); ~SwDDETable(); diff --git a/sw/inc/swdll.hxx b/sw/inc/swdll.hxx index a6b06c5ed50c..39e5b2d2ab0a 100644 --- a/sw/inc/swdll.hxx +++ b/sw/inc/swdll.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -39,7 +39,7 @@ class StatusBar; class SwDLL -/* [Description] +/* [Description] This class is a wrapper for a Load-On-Demand-DLL. One instance per SfxApplication will be created for the runtime of @@ -58,8 +58,8 @@ public: SwDLL(); ~SwDLL(); - static void Init(); // called directly after loading the DLL - static void Exit(); // called directly befor unloading the DLL + static void Init(); // called directly after loading the DLL + static void Exit(); // called directly befor unloading the DLL }; //------------------------------------------------------------------------- diff --git a/sw/inc/swerror.h b/sw/inc/swerror.h index 81a1309c91fb..cb11a5162a91 100644 --- a/sw/inc/swerror.h +++ b/sw/inc/swerror.h @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -31,49 +31,49 @@ #include <tools/errcode.hxx> -#define ERROR_SW_BASE (ERRCODE_AREA_SW) -#define ERROR_SW_READ_BASE (ERROR_SW_BASE | ERRCODE_CLASS_READ) -#define ERROR_SW_WRITE_BASE (ERROR_SW_BASE | ERRCODE_CLASS_WRITE) +#define ERROR_SW_BASE (ERRCODE_AREA_SW) +#define ERROR_SW_READ_BASE (ERROR_SW_BASE | ERRCODE_CLASS_READ) +#define ERROR_SW_WRITE_BASE (ERROR_SW_BASE | ERRCODE_CLASS_WRITE) -#define WARN_SW_BASE (ERRCODE_AREA_SW | ERRCODE_WARNING_MASK) -#define WARN_SW_READ_BASE (WARN_SW_BASE | ERRCODE_CLASS_READ ) -#define WARN_SW_WRITE_BASE (WARN_SW_BASE | ERRCODE_CLASS_WRITE ) +#define WARN_SW_BASE (ERRCODE_AREA_SW | ERRCODE_WARNING_MASK) +#define WARN_SW_READ_BASE (WARN_SW_BASE | ERRCODE_CLASS_READ ) +#define WARN_SW_WRITE_BASE (WARN_SW_BASE | ERRCODE_CLASS_WRITE ) // Import Fehler #define ERR_SWG_FILE_FORMAT_ERROR (ERROR_SW_READ_BASE | 1 ) #define ERR_SWG_READ_ERROR (ERROR_SW_READ_BASE | 2 ) -#define ERR_SW6_INPUT_FILE (ERROR_SW_READ_BASE | 4 ) -#define ERR_SW6_NOWRITER_FILE (ERROR_SW_READ_BASE | 5 ) -#define ERR_SW6_UNEXPECTED_EOF (ERROR_SW_READ_BASE | 6 ) -#define ERR_SW6_PASSWD (ERROR_SW_READ_BASE | 7 ) +#define ERR_SW6_INPUT_FILE (ERROR_SW_READ_BASE | 4 ) +#define ERR_SW6_NOWRITER_FILE (ERROR_SW_READ_BASE | 5 ) +#define ERR_SW6_UNEXPECTED_EOF (ERROR_SW_READ_BASE | 6 ) +#define ERR_SW6_PASSWD (ERROR_SW_READ_BASE | 7 ) -#define ERR_WW6_NO_WW6_FILE_ERR (ERROR_SW_READ_BASE | 8 ) +#define ERR_WW6_NO_WW6_FILE_ERR (ERROR_SW_READ_BASE | 8 ) #define ERR_WW6_FASTSAVE_ERR (ERROR_SW_READ_BASE | 9 ) #define ERR_FORMAT_ROWCOL (ERROR_SW_READ_BASE | 12) -#define ERR_SWG_NEW_VERSION (ERROR_SW_READ_BASE | 13) -#define ERR_WW8_NO_WW8_FILE_ERR (ERROR_SW_READ_BASE | 14) +#define ERR_SWG_NEW_VERSION (ERROR_SW_READ_BASE | 13) +#define ERR_WW8_NO_WW8_FILE_ERR (ERROR_SW_READ_BASE | 14) #define ERR_FORMAT_FILE_ROWCOL (ERROR_SW_READ_BASE | 15) // Export Fehler #define ERR_SWG_WRITE_ERROR (ERROR_SW_WRITE_BASE | 30 ) #define ERR_SWG_OLD_GLOSSARY (ERROR_SW_WRITE_BASE | 31 ) -#define ERR_WRITE_ERROR_FILE (ERROR_SW_WRITE_BASE | 35 ) +#define ERR_WRITE_ERROR_FILE (ERROR_SW_WRITE_BASE | 35 ) // Import/Export Fehler #define ERR_SWG_INTERNAL_ERROR (ERROR_SW_BASE | 50 ) -#define ERR_TXTBLOCK_NEWFILE_ERROR (ERROR_SW_BASE|ERRCODE_CLASS_LOCKING | 55 ) +#define ERR_TXTBLOCK_NEWFILE_ERROR (ERROR_SW_BASE|ERRCODE_CLASS_LOCKING | 55 ) // weitere Fehler und Fehlerklassen -#define ERR_AUTOPATH_ERROR (ERROR_SW_BASE|ERRCODE_CLASS_PATH | 55 ) -#define ERR_TBLSPLIT_ERROR (ERROR_SW_BASE|ERRCODE_CLASS_NONE| 56 ) -#define ERR_TBLINSCOL_ERROR (ERROR_SW_BASE|ERRCODE_CLASS_NONE| 57 ) -#define ERR_TBLDDECHG_ERROR (ERROR_SW_BASE|ERRCODE_CLASS_NONE| 58 ) +#define ERR_AUTOPATH_ERROR (ERROR_SW_BASE|ERRCODE_CLASS_PATH | 55 ) +#define ERR_TBLSPLIT_ERROR (ERROR_SW_BASE|ERRCODE_CLASS_NONE| 56 ) +#define ERR_TBLINSCOL_ERROR (ERROR_SW_BASE|ERRCODE_CLASS_NONE| 57 ) +#define ERR_TBLDDECHG_ERROR (ERROR_SW_BASE|ERRCODE_CLASS_NONE| 58 ) // ----- Warnings --------------------------- @@ -85,11 +85,11 @@ // Import & Export - Warnings #define WARN_SWG_FEATURES_LOST (WARN_SW_BASE | 72 ) #define WARN_SWG_OLE (WARN_SW_BASE | 73 ) -#define WARN_SWG_POOR_LOAD (WARN_SW_BASE | 74 ) +#define WARN_SWG_POOR_LOAD (WARN_SW_BASE | 74 ) // Export warnings -#define WARN_SWG_HTML_NO_MACROS (WARN_SW_WRITE_BASE |75) -#define WARN_WRITE_ERROR_FILE (WARN_SW_WRITE_BASE |76) +#define WARN_SWG_HTML_NO_MACROS (WARN_SW_WRITE_BASE |75) +#define WARN_WRITE_ERROR_FILE (WARN_SW_WRITE_BASE |76) // More Import & Export - Warnings #define WARN_FORMAT_FILE_ROWCOL (WARN_SW_READ_BASE | 77) diff --git a/sw/inc/swevent.hxx b/sw/inc/swevent.hxx index 8d8f69309e67..98f24e51ab8b 100644 --- a/sw/inc/swevent.hxx +++ b/sw/inc/swevent.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,11 +40,11 @@ #define SW_EVENT_FRM_KEYINPUT_NOALPHA ( EVENT_APP_START + 5 ) #define SW_EVENT_FRM_RESIZE ( EVENT_APP_START + 6 ) #define SW_EVENT_FRM_MOVE ( EVENT_APP_START + 7 ) -#define SW_EVENT_PAGE_COUNT ( EVENT_APP_START + 8 ) -#define SW_EVENT_MAIL_MERGE_END ( EVENT_APP_START + 9 ) +#define SW_EVENT_PAGE_COUNT ( EVENT_APP_START + 8 ) +#define SW_EVENT_MAIL_MERGE_END ( EVENT_APP_START + 9 ) #define SW_EVENT_FIELD_MERGE ( EVENT_APP_START + 10 ) #define SW_EVENT_FIELD_MERGE_FINISHED ( EVENT_APP_START + 11 ) -#define SW_EVENT_LAYOUT_FINISHED ( EVENT_APP_START + 12 ) +#define SW_EVENT_LAYOUT_FINISHED ( EVENT_APP_START + 12 ) #define STR_SW_EVENT_PAGE_COUNT 0 #define STR_SW_EVENT_MAIL_MERGE 1 @@ -67,7 +67,7 @@ class IMapObject; // enum fuer Objecte die Events ins Basic oder in JavaScript Callen enum SwCallEventObjectType { - EVENT_OBJECT_NONE = 0, // Null ist garnichts + EVENT_OBJECT_NONE = 0, // Null ist garnichts EVENT_OBJECT_IMAGE, EVENT_OBJECT_INETATTR, EVENT_OBJECT_URLITEM, @@ -115,7 +115,7 @@ struct SwCallMouseEvent PTR.IMAP.pIMapObj == rEvent.PTR.IMAP.pIMapObj; } int operator!=( const SwCallMouseEvent& rEvent ) const - { return !( *this == rEvent ); } + { return !( *this == rEvent ); } void Clear() { eType = EVENT_OBJECT_NONE; PTR.pFmt = 0; PTR.IMAP.pIMapObj = 0; } diff --git a/sw/inc/swfltopt.hxx b/sw/inc/swfltopt.hxx index 8049260f4a02..d9f35def68e0 100644 --- a/sw/inc/swfltopt.hxx +++ b/sw/inc/swfltopt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/swgstr.hxx b/sw/inc/swgstr.hxx index 9191e121e0f7..89c17fa6d0a2 100644 --- a/sw/inc/swgstr.hxx +++ b/sw/inc/swgstr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -30,10 +30,10 @@ #include <tools/stream.hxx> -typedef long long3; // Zur Dokumentation: 3-byte-Longs +typedef long long3; // Zur Dokumentation: 3-byte-Longs -#define MAX_BEGIN 64 // Maximale Blockschachtelung -#define PASSWDLEN 16 // Maximale Passwortlaenge +#define MAX_BEGIN 64 // Maximale Blockschachtelung +#define PASSWDLEN 16 // Maximale Passwortlaenge // Neue Version mit SvStreams @@ -41,13 +41,13 @@ typedef long long3; // Zur Dokumentation: 3-byte-Longs class swcrypter { protected: - sal_Char cPasswd[ PASSWDLEN ]; // Passwort-Puffer - BOOL bPasswd; // TRUE wenn mit Passwort - void encode( sal_Char*, USHORT ); // Puffer codieren/decodieren + sal_Char cPasswd[ PASSWDLEN ]; // Passwort-Puffer + BOOL bPasswd; // TRUE wenn mit Passwort + void encode( sal_Char*, USHORT ); // Puffer codieren/decodieren public: swcrypter(); - BOOL setpasswd( const String& ); // Passwort setzen - void copypasswd( const sal_Char* ); // Passwort direkt setzen + BOOL setpasswd( const String& ); // Passwort setzen + void copypasswd( const sal_Char* ); // Passwort direkt setzen const sal_Char* getpasswd() { return cPasswd; } }; @@ -56,12 +56,12 @@ public: class swstreambase : public swcrypter { protected: - SvStream* pStrm; // eigentlicher Stream - sal_Char* pBuf; // Zwischenpuffer - USHORT nBuflen; // Laenge des Zwischenpuffers - short nLong; // Long-Laenge (3 oder 4) - BOOL bTempStrm; // TRUE: Stream loeschen - void checkbuf( USHORT ); // Testen der Pufferlaenge + SvStream* pStrm; // eigentlicher Stream + sal_Char* pBuf; // Zwischenpuffer + USHORT nBuflen; // Laenge des Zwischenpuffers + short nLong; // Long-Laenge (3 oder 4) + BOOL bTempStrm; // TRUE: Stream loeschen + void checkbuf( USHORT ); // Testen der Pufferlaenge swstreambase( SvStream& ); @@ -69,19 +69,19 @@ protected: int operator=( const swstreambase& ); public: ~swstreambase(); - SvStream& Strm() { return *pStrm; } - void clear(); // Puffer loeschen + SvStream& Strm() { return *pStrm; } + void clear(); // Puffer loeschen // Zusatzfunktionen zur I/O von LONGs als 3-Byte-Zahlen - void long3() { nLong = 3; } - void long4() { nLong = 4; } + void long3() { nLong = 3; } + void long4() { nLong = 4; } // Alias- und Hilfsfunktionen - void seek( long nPos ) { pStrm->Seek( nPos ); } - long tell() { return pStrm->Tell(); } - long filesize(); // Dateigroesse + void seek( long nPos ) { pStrm->Seek( nPos ); } + long tell() { return pStrm->Tell(); } + long filesize(); // Dateigroesse void setbad(); int good() { return ( pStrm->GetError() == SVSTREAM_OK ); } @@ -89,7 +89,7 @@ public: int eof() { return pStrm->IsEof(); } BYTE get(); - void get( void* p, USHORT n ) { pStrm->Read( (sal_Char*) p, n ); } + void get( void* p, USHORT n ) { pStrm->Read( (sal_Char*) p, n ); } inline swstreambase& operator>>( sal_Char& ); inline swstreambase& operator>>( BYTE& ); @@ -125,20 +125,20 @@ inline swstreambase& swstreambase::operator>>( ULONG& c ) } class swistream : public swstreambase { - BYTE cType; // Record-Typ - ULONG nOffset; // Record-Offset-Portion + BYTE cType; // Record-Typ + ULONG nOffset; // Record-Offset-Portion public: swistream( SvStream& ); - BYTE peek(); // 1 Byte testen - BYTE next(); // Blockstart - BYTE cur() { return cType; } // aktueller Block - BYTE skipnext(); // Record ueberspringen - void undonext(); // next() rueckgaengig machen - long getskip() { return nOffset; } - void skip( long = -1L ); // Block ueberspringen - sal_Char* text(); // Textstring lesen (nach BEGIN) - long size(); // aktuelle Record-Laenge + BYTE peek(); // 1 Byte testen + BYTE next(); // Blockstart + BYTE cur() { return cType; } // aktueller Block + BYTE skipnext(); // Record ueberspringen + void undonext(); // next() rueckgaengig machen + long getskip() { return nOffset; } + void skip( long = -1L ); // Block ueberspringen + sal_Char* text(); // Textstring lesen (nach BEGIN) + long size(); // aktuelle Record-Laenge private: swistream( const swistream& ); diff --git a/sw/inc/swhints.hxx b/sw/inc/swhints.hxx index 47dda0d67fd1..b97a7941fcc0 100644 --- a/sw/inc/swhints.hxx +++ b/sw/inc/swhints.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -30,8 +30,8 @@ #include <svl/smplhint.hxx> -#define SW_BROADCASTID_START SFX_HINT_USER00 -#define SW_BROADCAST_DRAWVIEWS_CREATED SW_BROADCASTID_START +#define SW_BROADCASTID_START SFX_HINT_USER00 +#define SW_BROADCAST_DRAWVIEWS_CREATED SW_BROADCASTID_START #endif diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx index 420a9d2d9aa5..38f3c3a35962 100644 --- a/sw/inc/swmodule.hxx +++ b/sw/inc/swmodule.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -67,10 +67,10 @@ class SvtUserOptions; class SvtUndoOptions; struct SwDBData; -#define VIEWOPT_DEST_VIEW 0 -#define VIEWOPT_DEST_TEXT 1 -#define VIEWOPT_DEST_WEB 2 -#define VIEWOPT_DEST_VIEW_ONLY 3 //ViewOptions werden nur an der ::com::sun::star::sdbcx::View, nicht an der Appl. gesetzt +#define VIEWOPT_DEST_VIEW 0 +#define VIEWOPT_DEST_TEXT 1 +#define VIEWOPT_DEST_WEB 2 +#define VIEWOPT_DEST_VIEW_ONLY 3 //ViewOptions werden nur an der ::com::sun::star::sdbcx::View, nicht an der Appl. gesetzt namespace com{ namespace sun{ namespace star{ namespace scanner{ class XScannerManager; @@ -78,59 +78,59 @@ namespace com{ namespace sun{ namespace star{ namespace scanner{ class SW_DLLPUBLIC SwModule: public SfxModule, public SfxListener, public utl::ConfigurationListener { - String sActAuthor; + String sActAuthor; // ConfigItems SwModuleOptions* pModuleConfig; - SwMasterUsrPref* pUsrPref; - SwMasterUsrPref* pWebUsrPref; - SwPrintOptions* pPrtOpt; - SwPrintOptions* pWebPrtOpt; - SwChapterNumRules* pChapterNumRules; - SwStdFontConfig* pStdFontConfig; - SwNavigationConfig* pNavigationConfig; - SwToolbarConfigItem*pToolbarConfig; //fuer gestackte Toolbars, welche - SwToolbarConfigItem*pWebToolbarConfig; //war sichtbar? - SwDBConfig* pDBConfig; + SwMasterUsrPref* pUsrPref; + SwMasterUsrPref* pWebUsrPref; + SwPrintOptions* pPrtOpt; + SwPrintOptions* pWebPrtOpt; + SwChapterNumRules* pChapterNumRules; + SwStdFontConfig* pStdFontConfig; + SwNavigationConfig* pNavigationConfig; + SwToolbarConfigItem*pToolbarConfig; //fuer gestackte Toolbars, welche + SwToolbarConfigItem*pWebToolbarConfig; //war sichtbar? + SwDBConfig* pDBConfig; svtools::ColorConfig* pColorConfig; SvtAccessibilityOptions* pAccessibilityOptions; SvtCTLOptions* pCTLOptions; SvtUserOptions* pUserOptions; SvtUndoOptions* pUndoOptions; - SfxErrorHandler* pErrorHdl; + SfxErrorHandler* pErrorHdl; - SwAttrPool *pAttrPool; + SwAttrPool *pAttrPool; // Die aktuelle View wird hier gehalten um nicht ueber // GetActiveView arbeiten zu muessen // Die View ist solange gueltig bis Sie im Activate // zerstoert oder ausgetauscht wird - SwView* pView; + SwView* pView; // Liste aller Redline-Autoren - SvStringsDtor* pAuthorNames; + SvStringsDtor* pAuthorNames; // DictionaryList listener to trigger spellchecking or hyphenation ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XLinguServiceEventListener > xLngSvcEvtListener; ::com::sun::star::uno::Reference< - ::com::sun::star::scanner::XScannerManager > m_xScannerManager; + ::com::sun::star::scanner::XScannerManager > m_xScannerManager; ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XLanguageGuessing > m_xLanguageGuesser; - sal_Bool bAuthorInitialised : 1; - sal_Bool bEmbeddedLoadSave : 1; + sal_Bool bAuthorInitialised : 1; + sal_Bool bEmbeddedLoadSave : 1; // Hint abfangen fuer DocInfo - virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); + virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); virtual void ConfigurationChanged( utl::ConfigurationBroadcaster*, sal_uInt32 ); protected: // Briefumschlaege, Etiketten void InsertEnv(SfxRequest&); - void InsertLab(SfxRequest&, sal_Bool bLabel); + void InsertLab(SfxRequest&, sal_Bool bLabel); public: // public Data - used for internal Clipboard / Drag & Drop / XSelection @@ -149,18 +149,18 @@ public: // View setzen nur fuer internen Gebrauch, // aus techn. Gruenden public // - inline void SetView(SwView* pVw) { pView = pVw; } - inline SwView* GetView() { return pView; } + inline void SetView(SwView* pVw) { pView = pVw; } + inline SwView* GetView() { return pView; } //Die Handler fuer die Slots - void StateOther(SfxItemSet &); // andere + void StateOther(SfxItemSet &); // andere void ExecOther(SfxRequest &); // Felder, Formel .. // Benutzereinstellungen modifizieren const SwMasterUsrPref *GetUsrPref(sal_Bool bWeb) const; - const SwViewOption* GetViewOption(sal_Bool bWeb); - void ApplyUsrPref(const SwViewOption &, SwView*, + const SwViewOption* GetViewOption(sal_Bool bWeb); + void ApplyUsrPref(const SwViewOption &, SwView*, sal_uInt16 nDest = VIEWOPT_DEST_VIEW ); void ApplyUserMetric( FieldUnit eMetric, BOOL bWeb ); void ApplyRulerMetric( FieldUnit eMetric, BOOL bHorizontal, BOOL bWeb ); @@ -173,14 +173,14 @@ public: void ApplyUserCharUnit(BOOL bApplyChar, BOOL bWeb); // apply_char_unit // ConfigItems erzeugen - SwModuleOptions* GetModuleConfig() { return pModuleConfig;} - SwPrintOptions* GetPrtOptions(sal_Bool bWeb); - SwChapterNumRules* GetChapterNumRules(); - SwStdFontConfig* GetStdFontConfig() { return pStdFontConfig; } + SwModuleOptions* GetModuleConfig() { return pModuleConfig;} + SwPrintOptions* GetPrtOptions(sal_Bool bWeb); + SwChapterNumRules* GetChapterNumRules(); + SwStdFontConfig* GetStdFontConfig() { return pStdFontConfig; } SwNavigationConfig* GetNavigationConfig(); - SwToolbarConfigItem*GetToolbarConfig() { return pToolbarConfig; } + SwToolbarConfigItem*GetToolbarConfig() { return pToolbarConfig; } SwToolbarConfigItem*GetWebToolbarConfig() { return pWebToolbarConfig; } - SwDBConfig* GetDBConfig(); + SwDBConfig* GetDBConfig(); svtools::ColorConfig& GetColorConfig(); SvtAccessibilityOptions& GetAccessibilityOptions(); SvtCTLOptions& GetCTLOptions(); @@ -188,33 +188,33 @@ public: SvtUndoOptions& GetUndoOptions(); // Ueber Sichten iterieren - static SwView* GetFirstView(); - static SwView* GetNextView(SwView*); + static SwView* GetFirstView(); + static SwView* GetNextView(SwView*); - sal_Bool IsEmbeddedLoadSave() const { return bEmbeddedLoadSave; } - void SetEmbeddedLoadSave( sal_Bool bFlag ) { bEmbeddedLoadSave = bFlag; } + sal_Bool IsEmbeddedLoadSave() const { return bEmbeddedLoadSave; } + void SetEmbeddedLoadSave( sal_Bool bFlag ) { bEmbeddedLoadSave = bFlag; } void ShowDBObj( SwView& rView, const SwDBData& rData, BOOL bOnlyIfAvailable = FALSE); // Tabellenmodi - sal_Bool IsInsTblFormatNum(sal_Bool bHTML) const; - sal_Bool IsInsTblChangeNumFormat(sal_Bool bHTML) const; - sal_Bool IsInsTblAlignNum(sal_Bool bHTML) const; + sal_Bool IsInsTblFormatNum(sal_Bool bHTML) const; + sal_Bool IsInsTblChangeNumFormat(sal_Bool bHTML) const; + sal_Bool IsInsTblAlignNum(sal_Bool bHTML) const; // Redlining - sal_uInt16 GetRedlineAuthor(); - const String& GetRedlineAuthor(sal_uInt16 nPos); - sal_uInt16 InsertRedlineAuthor(const String& rAuthor); + sal_uInt16 GetRedlineAuthor(); + const String& GetRedlineAuthor(sal_uInt16 nPos); + sal_uInt16 InsertRedlineAuthor(const String& rAuthor); - void GetInsertAuthorAttr(sal_uInt16 nAuthor, SfxItemSet &rSet); - void GetDeletedAuthorAttr(sal_uInt16 nAuthor, SfxItemSet &rSet); - void GetFormatAuthorAttr(sal_uInt16 nAuthor, SfxItemSet &rSet); + void GetInsertAuthorAttr(sal_uInt16 nAuthor, SfxItemSet &rSet); + void GetDeletedAuthorAttr(sal_uInt16 nAuthor, SfxItemSet &rSet); + void GetFormatAuthorAttr(sal_uInt16 nAuthor, SfxItemSet &rSet); - sal_uInt16 GetRedlineMarkPos(); - const Color& GetRedlineMarkColor(); + sal_uInt16 GetRedlineMarkPos(); + const Color& GetRedlineMarkColor(); // returne den definierten DocStat - WordDelimiter - const String& GetDocStatWordDelim() const; + const String& GetDocStatWordDelim() const; // Durchreichen der Metric von der ModuleConfig (fuer HTML-Export) sal_uInt16 GetMetric( sal_Bool bWeb ) const; @@ -224,17 +224,17 @@ public: SwFldUpdateFlags GetFldUpdateFlags( sal_Bool bWeb ) const; //virtuelle Methoden fuer den Optionendialog - virtual SfxItemSet* CreateItemSet( sal_uInt16 nId ); - virtual void ApplyItemSet( sal_uInt16 nId, const SfxItemSet& rSet ); - virtual SfxTabPage* CreateTabPage( sal_uInt16 nId, Window* pParent, const SfxItemSet& rSet ); + virtual SfxItemSet* CreateItemSet( sal_uInt16 nId ); + virtual void ApplyItemSet( sal_uInt16 nId, const SfxItemSet& rSet ); + virtual SfxTabPage* CreateTabPage( sal_uInt16 nId, Window* pParent, const SfxItemSet& rSet ); //hier wird der Pool angelegt und an der SfxShell gesetzt - void InitAttrPool(); + void InitAttrPool(); //Pool loeschen bevor es zu spaet ist - void RemoveAttrPool(); + void RemoveAttrPool(); // Invalidiert ggf. OnlineSpell-WrongListen - void CheckSpellChanges( sal_Bool bOnlineSpelling, + void CheckSpellChanges( sal_Bool bOnlineSpelling, sal_Bool bIsSpellWrongAgain, sal_Bool bIsSpellAllAgain, sal_Bool bSmartTags ); inline ::com::sun::star::uno::Reference< @@ -275,7 +275,7 @@ inline void SwModule::SetLngSvcEvtListener( #define SW_MOD() ( *(SwModule**) GetAppData(SHL_WRITER)) -SW_DLLPUBLIC SwView* GetActiveView(); +SW_DLLPUBLIC SwView* GetActiveView(); SW_DLLPUBLIC SwWrtShell* GetActiveWrtShell(); #endif diff --git a/sw/inc/swprtopt.hxx b/sw/inc/swprtopt.hxx index 7cb8ccf6ecfc..180b1b781977 100644 --- a/sw/inc/swprtopt.hxx +++ b/sw/inc/swprtopt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -37,9 +37,9 @@ #include <vector> #include <utility> -#define POSTITS_NONE 0 -#define POSTITS_ONLY 1 -#define POSTITS_ENDDOC 2 +#define POSTITS_NONE 0 +#define POSTITS_ONLY 1 +#define POSTITS_ENDDOC 2 #define POSTITS_ENDPAGE 3 @@ -77,12 +77,12 @@ public: bJobStartet(FALSE) {} - const String& MakeNextJobName(); // steht in vprint.cxx - const String& GetJobName() const { return sJobName; } + const String& MakeNextJobName(); // steht in vprint.cxx + const String& GetJobName() const { return sJobName; } #if defined(TCPP) // seit neuestem (SV 223) kann der keinen mehr generieren - inline SwPrtOptions(const SwPrtOptions& rNew) {*this = rNew;} + inline SwPrtOptions(const SwPrtOptions& rNew) {*this = rNew;} #endif diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx index e398e4f1baab..2d210dfc7a56 100644 --- a/sw/inc/swrect.hxx +++ b/sw/inc/swrect.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -68,7 +68,7 @@ public: inline long Height() const; inline long Left() const; inline long Right() const; - inline long Top() const; + inline long Top() const; inline long Bottom() const; //Damit Layoutseitig per Memberpointer auf die Member von Pos und SSize @@ -109,8 +109,8 @@ public: inline Rectangle SVRect() const; //Zortech wuerde hier fehlerhaften Code erzeugen. -// inline operator SRectangle() const; -// inline operator Rectangle() const { return Rectangle( aPos, aSize ); } +// inline operator SRectangle() const; +// inline operator Rectangle() const { return Rectangle( aPos, aSize ); } // Ausgabeoperator fuer die Debugging-Gemeinde friend SvStream &operator<<( SvStream &rStream, const SwRect &rRect ); @@ -255,7 +255,7 @@ inline long SwRect::Right() const { return m_Size.getWidth() ? m_Point.getX() + m_Size.getWidth() - 1 : m_Point.getX(); } -inline long SwRect::Top() const +inline long SwRect::Top() const { return m_Point.Y(); } @@ -363,6 +363,6 @@ inline SwRect::SwRect( long X, long Y, long W, long H ) : } -#endif //_SWRECT_HXX +#endif //_SWRECT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/swregion.hxx b/sw/inc/swregion.hxx index df15d51d8225..811aa0d5e27e 100644 --- a/sw/inc/swregion.hxx +++ b/sw/inc/swregion.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -36,7 +36,7 @@ SV_DECL_VARARR( SwRects, SwRect, 20, 8 ) class SwRegionRects : public SwRects { - SwRect aOrigin; // die Kopie des StartRects + SwRect aOrigin; // die Kopie des StartRects inline void InsertRect( const SwRect &rRect, const USHORT nPos, BOOL &rDel); @@ -55,6 +55,6 @@ public: inline void ChangeOrigin( const SwRect &rRect ) { aOrigin = rRect; } }; -#endif //_SWREGION_HXX +#endif //_SWREGION_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/swserv.hxx b/sw/inc/swserv.hxx index 2e9c64083271..9a264a5cabcf 100644 --- a/sw/inc/swserv.hxx +++ b/sw/inc/swserv.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/swstyle.h b/sw/inc/swstyle.h index b93510c9abf0..d909b6454c5d 100644 --- a/sw/inc/swstyle.h +++ b/sw/inc/swstyle.h @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -34,7 +34,7 @@ #define SWSTYLEBIT_LIST 0x0004 #define SWSTYLEBIT_IDX 0x0008 #define SWSTYLEBIT_EXTRA 0x0010 -#define SWSTYLEBIT_HTML 0x0020 +#define SWSTYLEBIT_HTML 0x0020 #define SWSTYLEBIT_CONDCOLL 0x0040 diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx index 0dad43843d84..f4cedacda69d 100644 --- a/sw/inc/swtable.hxx +++ b/sw/inc/swtable.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -40,7 +40,7 @@ class SwStartNode; #include <memory> #include <boost/noncopyable.hpp> #else -#include <node.hxx> // fuer StartNode->GetMyIndex +#include <node.hxx> // fuer StartNode->GetMyIndex #endif class Color; @@ -84,14 +84,14 @@ typedef SwTableBox* SwTableBoxPtr; SV_DECL_PTRARR_SORT( SwTableSortBoxes, SwTableBoxPtr, 25, 50 ) typedef SwTableLine* SwTableLinePtr; -class SW_DLLPUBLIC SwTable: public SwClient //Client vom FrmFmt +class SW_DLLPUBLIC SwTable: public SwClient //Client vom FrmFmt { using SwClient::IsModifyLocked; protected: SwTableLines aLines; SwTableSortBoxes aSortCntBoxes; - SwServerObjectRef refObj; // falls DataServer -> Pointer gesetzt + SwServerObjectRef refObj; // falls DataServer -> Pointer gesetzt SwHTMLTableLayout *pHTMLLayout; @@ -102,13 +102,13 @@ protected: SwTableNode* pTableNode; //SOLL das fuer jede Tabelle einstellbar sein? - TblChgMode eTblChgMode; + TblChgMode eTblChgMode; - USHORT nGrfsThatResize; // Anzahl der Grfs, die beim HTML-Import + USHORT nGrfsThatResize; // Anzahl der Grfs, die beim HTML-Import // noch ein Resize der Tbl. anstossen USHORT nRowsToRepeat; // number of rows to repeat on every page - BOOL bModifyLocked :1; + BOOL bModifyLocked :1; BOOL bNewModel :1; // FALSE: old SubTableModel; TRUE: new RowSpanModel #if OSL_DEBUG_LEVEL > 1 bool bDontChangeModel; // This is set by functions (like Merge()) to forbid a laet model change @@ -120,7 +120,7 @@ public: enum SearchType { SEARCH_NONE, // Default: expand to rectangle - SEARCH_ROW, // row selection + SEARCH_ROW, // row selection SEARCH_COL // column selection }; @@ -131,7 +131,7 @@ public: virtual ~SwTable(); // @@@ public copy ctor, but no copy assignment? - SwTable( const SwTable& rTable ); // kein Copy der Lines !! + SwTable( const SwTable& rTable ); // kein Copy der Lines !! private: // @@@ public copy ctor, but no copy assignment? SwTable & operator= (const SwTable &); @@ -144,7 +144,7 @@ private: BOOL NewSplitRow( SwDoc*, const SwSelBoxes&, USHORT, BOOL ); SwBoxSelection* CollectBoxSelection( const SwPaM& rPam ) const; void InsertSpannedRow( SwDoc* pDoc, USHORT nIdx, USHORT nCnt ); - BOOL _InsertRow( SwDoc*, const SwSelBoxes&, USHORT nCnt, BOOL bBehind ); + BOOL _InsertRow( SwDoc*, const SwSelBoxes&, USHORT nCnt, BOOL bBehind ); BOOL NewInsertCol( SwDoc*, const SwSelBoxes& rBoxes, USHORT nCnt, BOOL ); void _FindSuperfluousRows( SwSelBoxes& rBoxes, SwTableLine*, SwTableLine* ); void AdjustWidths( const long nOld, const long nNew ); @@ -155,13 +155,13 @@ public: SwHTMLTableLayout *GetHTMLTableLayout() { return pHTMLLayout; } const SwHTMLTableLayout *GetHTMLTableLayout() const { return pHTMLLayout; } - void SetHTMLTableLayout( SwHTMLTableLayout *p ); //Eigentumsuebergang! + void SetHTMLTableLayout( SwHTMLTableLayout *p ); //Eigentumsuebergang! USHORT IncGrfsThatResize() { return ++nGrfsThatResize; } USHORT DecGrfsThatResize() { return nGrfsThatResize ? --nGrfsThatResize : 0; } - void LockModify() { bModifyLocked = TRUE; } //Muessen _immer_ paarig - void UnlockModify() { bModifyLocked = FALSE;} //benutzt werden! + void LockModify() { bModifyLocked = TRUE; } //Muessen _immer_ paarig + void UnlockModify() { bModifyLocked = FALSE;} //benutzt werden! void SetTableModel( BOOL bNew ){ bNewModel = bNew; } BOOL IsNewModel() const { return bNewModel; } @@ -175,8 +175,8 @@ public: SwTableLines &GetTabLines() { return aLines; } const SwTableLines &GetTabLines() const { return aLines; } - SwFrmFmt* GetFrmFmt() { return (SwFrmFmt*)pRegisteredIn; } - SwFrmFmt* GetFrmFmt() const { return (SwFrmFmt*)pRegisteredIn; } + SwFrmFmt* GetFrmFmt() { return (SwFrmFmt*)pRegisteredIn; } + SwFrmFmt* GetFrmFmt() const { return (SwFrmFmt*)pRegisteredIn; } virtual void Modify( SfxPoolItem* pOld, SfxPoolItem* pNew ); @@ -245,7 +245,7 @@ public: { _FindSuperfluousRows( rBoxes, 0, 0 ); } void CheckRowSpan( SwTableLinePtr &rpLine, bool bUp ) const; - SwTableSortBoxes& GetTabSortBoxes() { return aSortCntBoxes; } + SwTableSortBoxes& GetTabSortBoxes() { return aSortCntBoxes; } const SwTableSortBoxes& GetTabSortBoxes() const { return aSortCntBoxes; } // lese die 1. Nummer und loesche sie aus dem String @@ -279,7 +279,7 @@ public: // erfrage die Box, dessen Start-Index auf nBoxStt steht SwTableBox* GetTblBox( ULONG nSttIdx ); const SwTableBox* GetTblBox( ULONG nSttIdx ) const - { return ((SwTable*)this)->GetTblBox( nSttIdx ); } + { return ((SwTable*)this)->GetTblBox( nSttIdx ); } // returnt TRUE wenn sich in der Tabelle Verschachtelungen befinden BOOL IsTblComplex() const; @@ -291,7 +291,7 @@ public: // suche alle Inhaltstragenden-Boxen der Grundline in der diese Box // steht. rBoxes auch als Return-Wert, um es gleich weiter zu benutzen //JP 31.01.97: bToTop = TRUE -> hoch bis zur Grundline, - // FALSE-> sonst nur die Line der Box + // FALSE-> sonst nur die Line der Box SwSelBoxes& SelLineFromBox( const SwTableBox* pBox, SwSelBoxes& rBoxes, BOOL bToTop = TRUE ) const; // erfrage vom Client Informationen @@ -315,8 +315,8 @@ public: //Daten fuer das Chart fuellen. void UpdateCharts() const; - TblChgMode GetTblChgMode() const { return eTblChgMode; } - void SetTblChgMode( TblChgMode eMode ) { eTblChgMode = eMode; } + TblChgMode GetTblChgMode() const { return eTblChgMode; } + void SetTblChgMode( TblChgMode eMode ) { eTblChgMode = eMode; } BOOL SetColWidth( SwTableBox& rAktBox, USHORT eType, SwTwips nAbsDiff, SwTwips nRelDiff, SwUndo** ppUndo ); @@ -327,7 +327,7 @@ public: #endif }; -class SW_DLLPUBLIC SwTableLine: public SwClient // Client vom FrmFmt +class SW_DLLPUBLIC SwTableLine: public SwClient // Client vom FrmFmt { SwTableBoxes aBoxes; SwTableBox *pUpper; @@ -348,8 +348,8 @@ public: void SetUpper( SwTableBox *pNew ) { pUpper = pNew; } - SwFrmFmt* GetFrmFmt() { return (SwFrmFmt*)pRegisteredIn; } - SwFrmFmt* GetFrmFmt() const { return (SwFrmFmt*)pRegisteredIn; } + SwFrmFmt* GetFrmFmt() { return (SwFrmFmt*)pRegisteredIn; } + SwFrmFmt* GetFrmFmt() const { return (SwFrmFmt*)pRegisteredIn; } //Macht ein eingenes FrmFmt wenn noch mehr Lines von ihm abhaengen. SwFrmFmt* ClaimFrmFmt(); @@ -366,15 +366,15 @@ public: bool hasSoftPageBreak() const; }; -class SW_DLLPUBLIC SwTableBox: public SwClient //Client vom FrmFmt +class SW_DLLPUBLIC SwTableBox: public SwClient //Client vom FrmFmt { - friend class SwNodes; // um den Index umzusetzen ! + friend class SwNodes; // um den Index umzusetzen ! friend void DelBoxNode(SwTableSortBoxes&); // um den StartNode* zu loeschen ! friend class SwXMLTableContext; //nicht (mehr) implementiert. SwTableBox( const SwTableBox & ); - SwTableBox &operator=( const SwTableBox &); //gibts nicht. + SwTableBox &operator=( const SwTableBox &); //gibts nicht. SwTableLines aLines; const SwStartNode * pSttNd; @@ -402,8 +402,8 @@ public: const SwTableLine *GetUpper() const { return pUpper; } void SetUpper( SwTableLine *pNew ) { pUpper = pNew; } - SwFrmFmt* GetFrmFmt() { return (SwFrmFmt*)pRegisteredIn; } - SwFrmFmt* GetFrmFmt() const { return (SwFrmFmt*)pRegisteredIn; } + SwFrmFmt* GetFrmFmt() { return (SwFrmFmt*)pRegisteredIn; } + SwFrmFmt* GetFrmFmt() const { return (SwFrmFmt*)pRegisteredIn; } //Macht ein eingenes FrmFmt wenn noch mehr Boxen von ihm abhaengen. SwFrmFmt* ClaimFrmFmt(); @@ -449,7 +449,7 @@ public: DECL_FIXEDMEMPOOL_NEWDEL(SwTableBox) // zugriff auf interne Daten - z.Z. benutzt fuer den NumFormatter - inline const Color* GetSaveUserColor() const; + inline const Color* GetSaveUserColor() const; inline const Color* GetSaveNumFmtColor() const; inline void SetSaveUserColor(const Color* p ); inline void SetSaveNumFmtColor( const Color* p ); @@ -487,6 +487,6 @@ public: const SwTableBox * getTableBox() const; }; -#endif //_SWTABLE_HXX +#endif //_SWTABLE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/swtblfmt.hxx b/sw/inc/swtblfmt.hxx index fb7a63efb9b4..6f53714d3700 100644 --- a/sw/inc/swtblfmt.hxx +++ b/sw/inc/swtblfmt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -48,7 +48,7 @@ protected: public: - TYPEINFO(); //Bereits in Basisklasse Client drin. + TYPEINFO(); //Bereits in Basisklasse Client drin. DECL_FIXEDMEMPOOL_NEWDEL(SwTableFmt) }; @@ -68,7 +68,7 @@ protected: {} public: - TYPEINFO(); //Bereits in Basisklasse Client drin. + TYPEINFO(); //Bereits in Basisklasse Client drin. DECL_FIXEDMEMPOOL_NEWDEL(SwTableLineFmt) }; @@ -88,7 +88,7 @@ protected: {} public: - TYPEINFO(); //Bereits in Basisklasse Client drin. + TYPEINFO(); //Bereits in Basisklasse Client drin. // zum Erkennen von Veraenderungen (haupts. TableBoxAttribute) virtual void Modify( SfxPoolItem* pOldValue, SfxPoolItem* pNewValue ); diff --git a/sw/inc/swtypes.hxx b/sw/inc/swtypes.hxx index 23d3a2b0cd78..849fa9f6b0e6 100644 --- a/sw/inc/swtypes.hxx +++ b/sw/inc/swtypes.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -31,7 +31,7 @@ #include <SwGetPoolIdFromName.hxx> #ifndef INCLUDED_LIMITS_H -#include <limits.h> //fuer LONG_MAX +#include <limits.h> //fuer LONG_MAX #define INCLUDED_LIMITS_H #endif @@ -71,15 +71,15 @@ class LocaleDataWrapper; class CollatorWrapper; typedef long SwTwips; -#define INVALID_TWIPS LONG_MAX -#define TWIPS_MAX (LONG_MAX - 1) +#define INVALID_TWIPS LONG_MAX +#define TWIPS_MAX (LONG_MAX - 1) -#define MM50 283 // 1/2 cm in TWIPS +#define MM50 283 // 1/2 cm in TWIPS // --> OD 2004-06-18 #i19922# - constant for minimal page header/footer height of 1mm const SwTwips cMinHdFtHeight = 56; -#define MINFLY 23 //Minimalgroesse fuer FlyFrms -#define MINLAY 23 //Minimalgroesse anderer Frms +#define MINFLY 23 //Minimalgroesse fuer FlyFrms +#define MINLAY 23 //Minimalgroesse anderer Frms // Default-Spaltenabstand zweier Textspalten entspricht 0.3 cm #define DEF_GUTTER_WIDTH (MM50 / 5 * 3) @@ -101,31 +101,31 @@ const SwTwips lMinBorder = 1134; #define UNDO_ACTION_COUNT 20 // Konstante Strings -SW_DLLPUBLIC extern UniString aEmptyStr; // "" -extern ByteString aEmptyByteStr; // "" -SW_DLLPUBLIC extern UniString aDotStr; // '.' +SW_DLLPUBLIC extern UniString aEmptyStr; // "" +extern ByteString aEmptyByteStr; // "" +SW_DLLPUBLIC extern UniString aDotStr; // '.' //Zum Einfuegen von Beschriftungen (wie bzw. wo soll eingefuegt werden). //Hier weil ein eigenes hxx nicht lohnt und es sonst nirgendwo so recht //hinpasst. enum SwLabelType { - LTYPE_TABLE, //Beschriftung einer Tabelle - LTYPE_OBJECT, //Beschriftung von Grafik oder OLE - LTYPE_FLY, //Beschriftung eines (Text-)Rahmens - LTYPE_DRAW //Beschriftung eines Zeichen-Objektes + LTYPE_TABLE, //Beschriftung einer Tabelle + LTYPE_OBJECT, //Beschriftung von Grafik oder OLE + LTYPE_FLY, //Beschriftung eines (Text-)Rahmens + LTYPE_DRAW //Beschriftung eines Zeichen-Objektes }; const BYTE OLD_MAXLEVEL = 5; -const BYTE MAXLEVEL = 10; //Ehemals numrule.hxx -const BYTE NO_NUM = 200; //Ehemals numrule.hxx -//const BYTE NO_NUMBERING = 201; //Ehemals numrule.hxx //#outline level,removed by zhaojianwei -//const BYTE NO_INIT = 202; //Ehemals numrule.hxx +const BYTE MAXLEVEL = 10; //Ehemals numrule.hxx +const BYTE NO_NUM = 200; //Ehemals numrule.hxx +//const BYTE NO_NUMBERING = 201; //Ehemals numrule.hxx //#outline level,removed by zhaojianwei +//const BYTE NO_INIT = 202; //Ehemals numrule.hxx // fuer Absaetze mit NO_NUM aber auf unterschiedlichen Leveln // DAMIT entfaellt das NO_NUM !!!! -const BYTE NO_NUMLEVEL = 0x20; // wird mit den Levels verodert +const BYTE NO_NUMLEVEL = 0x20; // wird mit den Levels verodert /* @@ -143,7 +143,7 @@ extern SwPathFinder *pPathFinder; // Werte fuer die Einzuege an der Nummerierung und BulletListe // (fuer die weiteren Ebenen sind die Werte mit den Ebenen+1 zu -// multiplizieren; Ebenen 0..4 !!!) +// multiplizieren; Ebenen 0..4 !!!) // -> #i30312# const USHORT lBullIndent = 1440/4; @@ -154,10 +154,10 @@ const short lOutlineMinTextDistance = 216; // 0.15 inch = 0.38 cm // <- #i30312# // Anzahl der SystemField-Types vom SwDoc -#define INIT_FLDTYPES 32 +#define INIT_FLDTYPES 32 // Anzahl der vordefinierten Seq-Feldtypen. Es handelt sich dabei // immer um die letzen Felder vor INIT_FLDTYPES -#define INIT_SEQ_FLDTYPES 4 +#define INIT_SEQ_FLDTYPES 4 //Die ehemaligen Rendevouz-Ids leben weiter: //Es gibt Ids fuer die Anker (SwFmtAnchor) und ein paar weitere die nur fuer @@ -177,22 +177,22 @@ enum RndStdIds RND_STD_FOOTERL, RND_STD_FOOTERR, - RND_DRAW_OBJECT // ein Draw-Object !! nur fuer die SwDoc-Schnittstelle! + RND_DRAW_OBJECT // ein Draw-Object !! nur fuer die SwDoc-Schnittstelle! }; -extern ResMgr* pSwResMgr; // steht in swapp0.cxx -#define SW_RES(i) ResId(i,*pSwResMgr) -#define SW_RESSTR(i) UniString(ResId(i,*pSwResMgr)) +extern ResMgr* pSwResMgr; // steht in swapp0.cxx +#define SW_RES(i) ResId(i,*pSwResMgr) +#define SW_RESSTR(i) UniString(ResId(i,*pSwResMgr)) ::com::sun::star::uno::Reference< - ::com::sun::star::linguistic2::XSpellChecker1 > GetSpellChecker(); + ::com::sun::star::linguistic2::XSpellChecker1 > GetSpellChecker(); ::com::sun::star::uno::Reference< - ::com::sun::star::linguistic2::XHyphenator > GetHyphenator(); + ::com::sun::star::linguistic2::XHyphenator > GetHyphenator(); ::com::sun::star::uno::Reference< - ::com::sun::star::linguistic2::XThesaurus > GetThesaurus(); + ::com::sun::star::linguistic2::XThesaurus > GetThesaurus(); ::com::sun::star::uno::Reference< - ::com::sun::star::beans::XPropertySet > GetLinguPropertySet(); + ::com::sun::star::beans::XPropertySet > GetLinguPropertySet(); // reutns the twip size of this graphic SW_DLLPUBLIC Size GetGraphicSizeTwip( const Graphic&, OutputDevice* pOutDev ); @@ -200,7 +200,7 @@ SW_DLLPUBLIC Size GetGraphicSizeTwip( const Graphic&, OutputDevice* pOutDev ); // Seperator fuer Sprunge im Dokument auf verschiedene Inhalttype const sal_Unicode cMarkSeperator = '|'; -extern const sal_Char* __FAR_DATA pMarkToTable; // Strings stehen +extern const sal_Char* __FAR_DATA pMarkToTable; // Strings stehen extern const sal_Char* __FAR_DATA pMarkToFrame; // im Init.cxx extern const sal_Char* __FAR_DATA pMarkToRegion; SW_DLLPUBLIC extern const sal_Char* __FAR_DATA pMarkToOutline; @@ -208,8 +208,8 @@ extern const sal_Char* __FAR_DATA pMarkToText; extern const sal_Char* __FAR_DATA pMarkToGraphic; extern const sal_Char* __FAR_DATA pMarkToOLE; -#ifndef DB_DELIM // Ist in OFA definiert!!! -#define DB_DELIM ((sal_Unicode)0xff) // Datenbank <-> Tabellen-Trenner +#ifndef DB_DELIM // Ist in OFA definiert!!! +#define DB_DELIM ((sal_Unicode)0xff) // Datenbank <-> Tabellen-Trenner #endif @@ -217,15 +217,15 @@ typedef USHORT SetAttrMode; namespace nsSetAttrMode { - const SetAttrMode SETATTR_DEFAULT = 0x0000; // default - const SetAttrMode SETATTR_DONTEXPAND = 0x0001; // TextAttribute nicht weiter expand. - const SetAttrMode SETATTR_DONTREPLACE = 0x0002; // kein anderes TextAttrib verdraengen - - const SetAttrMode SETATTR_NOTXTATRCHR = 0x0004; // bei Attr ohne Ende kein 0xFF einfuegen - const SetAttrMode SETATTR_NOHINTADJUST = 0x0008; // keine Zusammenfassung von Bereichen. - const SetAttrMode SETATTR_NOFORMATATTR = 0x0010; // nicht zum FormatAttribut umwandeln - const SetAttrMode SETATTR_DONTCHGNUMRULE = 0x0020; // nicht die NumRule veraendern - const SetAttrMode SETATTR_APICALL = 0x0040; // called from API (all UI related + const SetAttrMode SETATTR_DEFAULT = 0x0000; // default + const SetAttrMode SETATTR_DONTEXPAND = 0x0001; // TextAttribute nicht weiter expand. + const SetAttrMode SETATTR_DONTREPLACE = 0x0002; // kein anderes TextAttrib verdraengen + + const SetAttrMode SETATTR_NOTXTATRCHR = 0x0004; // bei Attr ohne Ende kein 0xFF einfuegen + const SetAttrMode SETATTR_NOHINTADJUST = 0x0008; // keine Zusammenfassung von Bereichen. + const SetAttrMode SETATTR_NOFORMATATTR = 0x0010; // nicht zum FormatAttribut umwandeln + const SetAttrMode SETATTR_DONTCHGNUMRULE = 0x0020; // nicht die NumRule veraendern + const SetAttrMode SETATTR_APICALL = 0x0040; // called from API (all UI related // functionality will be disabled) /// force hint expand (only matters for hints with CH_TXTATR) const SetAttrMode SETATTR_FORCEHINTEXPAND= 0x0080; @@ -233,8 +233,8 @@ namespace nsSetAttrMode //Umrechnung Twip<-> 1/100 mm fuer UNO -#define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) -#define MM100_TO_TWIP(MM100) ((MM100) >= 0 ? (((MM100)*72L+63L)/127L) : (((MM100)*72L-63L)/127L)) +#define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) +#define MM100_TO_TWIP(MM100) ((MM100) >= 0 ? (((MM100)*72L+63L)/127L) : (((MM100)*72L-63L)/127L)) #define TWIP_TO_MM100_UNSIGNED(TWIP) ((((TWIP)*127L+36L)/72L)) #define MM100_TO_TWIP_UNSIGNED(MM100) ((((MM100)*72L+63L)/127L)) @@ -248,9 +248,9 @@ namespace nsSetAttrMode #endif -#define CHAR_HARDBLANK ((sal_Unicode)0x00A0) -#define CHAR_HARDHYPHEN ((sal_Unicode)0x2011) -#define CHAR_SOFTHYPHEN ((sal_Unicode)0x00AD) +#define CHAR_HARDBLANK ((sal_Unicode)0x00A0) +#define CHAR_HARDHYPHEN ((sal_Unicode)0x2011) +#define CHAR_SOFTHYPHEN ((sal_Unicode)0x00AD) #define CHAR_RLM ((sal_Unicode)0x200F) #define CHAR_LRM ((sal_Unicode)0x200E) #define CHAR_ZWSP ((sal_Unicode)0x200B) diff --git a/sw/inc/swundo.hxx b/sw/inc/swundo.hxx index f8d00a182f81..d4acc40d7190 100644 --- a/sw/inc/swundo.hxx +++ b/sw/inc/swundo.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -35,12 +35,12 @@ enum SwUndoId { UNDO_EMPTY = 0, UNDO_STD_BEGIN = 1, - UNDO_START = UNDO_STD_BEGIN, // 1 + UNDO_START = UNDO_STD_BEGIN, // 1 UNDO_END, // 2 - REPEAT_START, // alle UndoIds zwischen REPEAT_START und + REPEAT_START, // alle UndoIds zwischen REPEAT_START und // REPEAT_END sind Repeat-Faehig !! - UNDO_DELETE = REPEAT_START, // 3 - UNDO_INSERT, // 4 + UNDO_DELETE = REPEAT_START, // 3 + UNDO_INSERT, // 4 UNDO_OVERWRITE, // 5 UNDO_SPLITNODE, // 6 UNDO_INSATTR, // 7 @@ -73,8 +73,8 @@ enum SwUndoId UNDO_REJECT_REDLINE, // 34 UNDO_SPLIT_TABLE, // 35 UNDO_DONTEXPAND, // 36 - UNDO_AUTOCORRECT, // 37 - UNDO_MERGE_TABLE, // 38 + UNDO_AUTOCORRECT, // 37 + UNDO_MERGE_TABLE, // 38 UNDO_TRANSLITERATE, // 39 // -> #111827# @@ -126,7 +126,7 @@ enum SwUndoId UNDO_ENDNOTEINFO, // 82 UNDO_COMPAREDOC, // 83 UNDO_SETFLYFRMFMT, // 84 - UNDO_SETRUBYATTR, // 85 + UNDO_SETRUBYATTR, // 85 UNDO_TMPAUTOCORR, // 86 #102505# UNDO_TOXCHANGE, // 87 @@ -193,7 +193,7 @@ public: ~SwUndoIdAndName(); SwUndoId GetUndoId() const { return eUndoId; } - const String* GetUndoStr() const { return pUndoStr; } + const String* GetUndoStr() const { return pUndoStr; } }; typedef SwUndoIdAndName* SwUndoIdAndNamePtr; SV_DECL_PTRARR_DEL( SwUndoIds, SwUndoIdAndNamePtr, INIT_UNDOIDS, GROW_UNDOIDS ) diff --git a/sw/inc/swunodef.hxx b/sw/inc/swunodef.hxx index 011abcd95a06..842de9aa8a06 100644 --- a/sw/inc/swunodef.hxx +++ b/sw/inc/swunodef.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -28,11 +28,11 @@ #ifndef _SWUNODEF_HXX #define _SWUNODEF_HXX -#define STAR_NMSPC ::com::sun::star -#define UNO_NMSPC STAR_NMSPC::uno -#define CLIP_NMSPC STAR_NMSPC::datatransfer::clipboard +#define STAR_NMSPC ::com::sun::star +#define UNO_NMSPC STAR_NMSPC::uno +#define CLIP_NMSPC STAR_NMSPC::datatransfer::clipboard -#define STAR_REFERENCE(aType) UNO_NMSPC::Reference< STAR_NMSPC::aType > +#define STAR_REFERENCE(aType) UNO_NMSPC::Reference< STAR_NMSPC::aType > #endif diff --git a/sw/inc/swunohelper.hxx b/sw/inc/swunohelper.hxx index 0551ccfb8c87..8727eea1745d 100644 --- a/sw/inc/swunohelper.hxx +++ b/sw/inc/swunohelper.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,7 +41,7 @@ namespace com { namespace sun { namespace star { class String; class SvStrings; class SvPtrarr; - + namespace SWUnoHelper { // calls over the compherl the getEnumAsInt32 function and handle the @@ -65,7 +65,7 @@ SW_DLLPUBLIC BOOL UCB_IsReadOnlyFileName( const String& rURL ); // get a list of files from the folder of the URL // options: pExtension = 0 -> all, else this specific extension - // pDateTime != 0 -> returns also the modified date/time of + // pDateTime != 0 -> returns also the modified date/time of // the files in a SvPtrarr --> // !! objects must be deleted from the caller!! BOOL UCB_GetFileListOfFolder( const String& rURL, SvStrings& rList, diff --git a/sw/inc/swurl.hxx b/sw/inc/swurl.hxx index 73c1ce94029f..a17fdca0bd5f 100644 --- a/sw/inc/swurl.hxx +++ b/sw/inc/swurl.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -34,8 +34,8 @@ class UniString; class ViewShell; -#define URLLOAD_NOFILTER 0x0000 -#define URLLOAD_NEWVIEW 0x8000 +#define URLLOAD_NOFILTER 0x0000 +#define URLLOAD_NEWVIEW 0x8000 void LoadURL( const UniString& rName, ViewShell* pSh, diff --git a/sw/inc/swwait.hxx b/sw/inc/swwait.hxx index ad54933e9c7d..35940703cabb 100644 --- a/sw/inc/swwait.hxx +++ b/sw/inc/swwait.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -36,7 +36,7 @@ class SwDocShell; class SW_DLLPUBLIC SwWait { SwDocShell &rDoc; - BOOL bLock; + BOOL bLock; public: SwWait( SwDocShell &rDocShell, BOOL bLockDispatcher ); ~SwWait(); diff --git a/sw/inc/tabcol.hxx b/sw/inc/tabcol.hxx index e7176f6cfac2..b7c47f4289e7 100644 --- a/sw/inc/tabcol.hxx +++ b/sw/inc/tabcol.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -56,12 +56,12 @@ typedef std::vector< SwTabColsEntry > SwTabColsEntries; class SW_DLLPUBLIC SwTabCols { - long nLeftMin, //Linker aeusserer Rand (Bezugspunkt) in + long nLeftMin, //Linker aeusserer Rand (Bezugspunkt) in //Dokumentkordinaten. //Alle anderen Werte relativ zu diesem Punkt! - nLeft, //Linker Rand der Tabelle. - nRight, //Rechter Rand der Tabelle. - nRightMax; //Maximaler rechter Rand der Tabelle. + nLeft, //Linker Rand der Tabelle. + nRight, //Rechter Rand der Tabelle. + nRightMax; //Maximaler rechter Rand der Tabelle. bool bLastRowAllowedToChange; // if the last row of the table frame // is split across pages, it may not @@ -92,19 +92,19 @@ public: SwTabColsEntry& GetEntry( USHORT nPos ) { return aData[nPos]; } long GetLeftMin() const { return nLeftMin; } - long GetLeft() const { return nLeft; } - long GetRight() const { return nRight; } + long GetLeft() const { return nLeft; } + long GetRight() const { return nRight; } long GetRightMax()const { return nRightMax;} - void SetLeftMin ( long nNew ) { nLeftMin = nNew; } - void SetLeft ( long nNew ) { nLeft = nNew; } - void SetRight ( long nNew ) { nRight = nNew; } - void SetRightMax( long nNew ) { nRightMax = nNew;} + void SetLeftMin ( long nNew ) { nLeftMin = nNew; } + void SetLeft ( long nNew ) { nLeft = nNew; } + void SetRight ( long nNew ) { nRight = nNew; } + void SetRightMax( long nNew ) { nRightMax = nNew;} bool IsLastRowAllowedToChange() const { return bLastRowAllowedToChange; } void SetLastRowAllowedToChange( bool bNew ) { bLastRowAllowedToChange = bNew; } }; -#endif //_TABCOL_HXX +#endif //_TABCOL_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/tblafmt.hxx b/sw/inc/tblafmt.hxx index f391cb862d5a..b3ffb668868f 100644 --- a/sw/inc/tblafmt.hxx +++ b/sw/inc/tblafmt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -46,7 +46,7 @@ JP 20.07.95: **************************************************************************/ #include <svl/svarray.hxx> -#include "hintids.hxx" //_immmer_ vor den solar-items! +#include "hintids.hxx" //_immmer_ vor den solar-items! #include <svx/algitem.hxx> #include <editeng/fontitem.hxx> #include <editeng/fhgtitem.hxx> @@ -89,32 +89,32 @@ class SwBoxAutoFmt SvxWeightItem aCTLWeight; SvxPostureItem aCTLPosture; - SvxUnderlineItem aUnderline; - SvxOverlineItem aOverline; - SvxCrossedOutItem aCrossedOut; - SvxContourItem aContour; - SvxShadowedItem aShadowed; - SvxColorItem aColor; - SvxBoxItem aBox; + SvxUnderlineItem aUnderline; + SvxOverlineItem aOverline; + SvxCrossedOutItem aCrossedOut; + SvxContourItem aContour; + SvxShadowedItem aShadowed; + SvxColorItem aColor; + SvxBoxItem aBox; SvxLineItem aTLBR; SvxLineItem aBLTR; - SvxBrushItem aBackground; + SvxBrushItem aBackground; // Writer specific - SvxAdjustItem aAdjust; + SvxAdjustItem aAdjust; // Calc specific - SvxHorJustifyItem aHorJustify; - SvxVerJustifyItem aVerJustify; + SvxHorJustifyItem aHorJustify; + SvxVerJustifyItem aVerJustify; SfxBoolItem aStacked; - SvxMarginItem aMargin; - SfxBoolItem aLinebreak; - SfxInt32Item aRotateAngle; - SvxRotateModeItem aRotateMode; + SvxMarginItem aMargin; + SfxBoolItem aLinebreak; + SfxInt32Item aRotateAngle; + SvxRotateModeItem aRotateMode; // number format - String sNumFmtString; - LanguageType eSysLanguage, eNumFmtLanguage; + String sNumFmtString; + LanguageType eSysLanguage, eNumFmtLanguage; public: SwBoxAutoFmt(); @@ -125,10 +125,10 @@ public: SwBoxAutoFmt& operator=( const SwBoxAutoFmt& rNew ); // die Get-Methoden - const SvxFontItem &GetFont() const { return aFont; } - const SvxFontHeightItem &GetHeight() const { return aHeight; } - const SvxWeightItem &GetWeight() const { return aWeight; } - const SvxPostureItem &GetPosture() const { return aPosture; } + const SvxFontItem &GetFont() const { return aFont; } + const SvxFontHeightItem &GetHeight() const { return aHeight; } + const SvxWeightItem &GetWeight() const { return aWeight; } + const SvxPostureItem &GetPosture() const { return aPosture; } const SvxFontItem &GetCJKFont() const { return aCJKFont; } const SvxFontHeightItem &GetCJKHeight() const { return aCJKHeight; } const SvxWeightItem &GetCJKWeight() const { return aCJKWeight; } @@ -137,25 +137,25 @@ public: const SvxFontHeightItem &GetCTLHeight() const { return aCTLHeight; } const SvxWeightItem &GetCTLWeight() const { return aCTLWeight; } const SvxPostureItem &GetCTLPosture() const { return aCTLPosture; } - const SvxUnderlineItem &GetUnderline() const { return aUnderline; } - const SvxOverlineItem &GetOverline() const { return aOverline; } - const SvxCrossedOutItem &GetCrossedOut() const { return aCrossedOut; } - const SvxContourItem &GetContour() const { return aContour; } - const SvxShadowedItem &GetShadowed() const { return aShadowed; } - const SvxColorItem &GetColor() const { return aColor; } - const SvxAdjustItem &GetAdjust() const { return aAdjust; } - const SvxBoxItem &GetBox() const { return aBox; } + const SvxUnderlineItem &GetUnderline() const { return aUnderline; } + const SvxOverlineItem &GetOverline() const { return aOverline; } + const SvxCrossedOutItem &GetCrossedOut() const { return aCrossedOut; } + const SvxContourItem &GetContour() const { return aContour; } + const SvxShadowedItem &GetShadowed() const { return aShadowed; } + const SvxColorItem &GetColor() const { return aColor; } + const SvxAdjustItem &GetAdjust() const { return aAdjust; } + const SvxBoxItem &GetBox() const { return aBox; } const SvxLineItem &GetTLBR() const { return aTLBR; } const SvxLineItem &GetBLTR() const { return aBLTR; } - const SvxBrushItem &GetBackground() const { return aBackground; } + const SvxBrushItem &GetBackground() const { return aBackground; } void GetValueFormat( String& rFmt, LanguageType& rLng, LanguageType& rSys ) const { rFmt = sNumFmtString; rLng = eNumFmtLanguage; rSys = eSysLanguage; } // die SetMethoden - void SetFont( const SvxFontItem& rNew ) { aFont = rNew; } - void SetHeight( const SvxFontHeightItem& rNew ) { aHeight = rNew; } - void SetWeight( const SvxWeightItem& rNew ) { aWeight = rNew; } - void SetPosture( const SvxPostureItem& rNew ) { aPosture = rNew; } + void SetFont( const SvxFontItem& rNew ) { aFont = rNew; } + void SetHeight( const SvxFontHeightItem& rNew ) { aHeight = rNew; } + void SetWeight( const SvxWeightItem& rNew ) { aWeight = rNew; } + void SetPosture( const SvxPostureItem& rNew ) { aPosture = rNew; } void SetCJKFont( const SvxFontItem& rNew ) { aCJKFont = rNew; } void SetCJKHeight( const SvxFontHeightItem& rNew ) { aCJKHeight = rNew; } void SetCJKWeight( const SvxWeightItem& rNew ) { aCJKWeight = rNew; } @@ -164,19 +164,19 @@ public: void SetCTLHeight( const SvxFontHeightItem& rNew ) { aCTLHeight = rNew; } void SetCTLWeight( const SvxWeightItem& rNew ) { aCTLWeight = rNew; } void SetCTLPosture( const SvxPostureItem& rNew ) { aCTLPosture = rNew; } - void SetUnderline( const SvxUnderlineItem& rNew ) { aUnderline = rNew; } - void SetOverline( const SvxOverlineItem& rNew ) { aOverline = rNew; } - void SetCrossedOut( const SvxCrossedOutItem& rNew ) { aCrossedOut = rNew; } - void SetContour( const SvxContourItem& rNew ) { aContour = rNew; } - void SetShadowed( const SvxShadowedItem& rNew ) { aShadowed = rNew; } - void SetColor( const SvxColorItem& rNew ) { aColor = rNew; } + void SetUnderline( const SvxUnderlineItem& rNew ) { aUnderline = rNew; } + void SetOverline( const SvxOverlineItem& rNew ) { aOverline = rNew; } + void SetCrossedOut( const SvxCrossedOutItem& rNew ) { aCrossedOut = rNew; } + void SetContour( const SvxContourItem& rNew ) { aContour = rNew; } + void SetShadowed( const SvxShadowedItem& rNew ) { aShadowed = rNew; } + void SetColor( const SvxColorItem& rNew ) { aColor = rNew; } void SetAdjust( const SvxAdjustItem& rNew ) { aAdjust.SetAdjust( rNew.GetAdjust() ); aAdjust.SetOneWord( rNew.GetOneWord() ); aAdjust.SetLastBlock( rNew.GetLastBlock() ); } - void SetBox( const SvxBoxItem& rNew ) { aBox = rNew; } + void SetBox( const SvxBoxItem& rNew ) { aBox = rNew; } void SetBackground( const SvxBrushItem& rNew ) { aBackground = rNew; } void SetValueFormat( const String& rFmt, LanguageType eLng, LanguageType eSys ) { sNumFmtString = rFmt; eNumFmtLanguage = eLng; eSysLanguage = eSys; } @@ -193,7 +193,7 @@ public: class SW_DLLPUBLIC SwTableAutoFmt { - friend void _FinitCore(); // zum Zerstoeren des dflt. Pointers + friend void _FinitCore(); // zum Zerstoeren des dflt. Pointers static SwBoxAutoFmt* pDfltBoxAutoFmt; String aName; @@ -230,18 +230,18 @@ public: void UpdateToSet( BYTE nPos, SfxItemSet& rSet, UpdateFlags eFlags, SvNumberFormatter* ) const ; - BOOL IsFont() const { return bInclFont; } - BOOL IsJustify() const { return bInclJustify; } - BOOL IsFrame() const { return bInclFrame; } - BOOL IsBackground() const { return bInclBackground; } - BOOL IsValueFormat() const { return bInclValueFormat; } - - void SetFont( const BOOL bNew ) { bInclFont = bNew; } - void SetJustify( const BOOL bNew ) { bInclJustify = bNew; } - void SetFrame( const BOOL bNew ) { bInclFrame = bNew; } - void SetBackground( const BOOL bNew ) { bInclBackground = bNew; } - void SetValueFormat( const BOOL bNew ) { bInclValueFormat = bNew; } - void SetWidthHeight( const BOOL bNew ) { bInclWidthHeight = bNew; } + BOOL IsFont() const { return bInclFont; } + BOOL IsJustify() const { return bInclJustify; } + BOOL IsFrame() const { return bInclFrame; } + BOOL IsBackground() const { return bInclBackground; } + BOOL IsValueFormat() const { return bInclValueFormat; } + + void SetFont( const BOOL bNew ) { bInclFont = bNew; } + void SetJustify( const BOOL bNew ) { bInclJustify = bNew; } + void SetFrame( const BOOL bNew ) { bInclFrame = bNew; } + void SetBackground( const BOOL bNew ) { bInclBackground = bNew; } + void SetValueFormat( const BOOL bNew ) { bInclValueFormat = bNew; } + void SetWidthHeight( const BOOL bNew ) { bInclWidthHeight = bNew; } BOOL Load( SvStream& rStream, const SwAfVersions& ); BOOL Save( SvStream& rStream ) const; diff --git a/sw/inc/tblenum.hxx b/sw/inc/tblenum.hxx index 030857b2f1fe..9f731a75688c 100644 --- a/sw/inc/tblenum.hxx +++ b/sw/inc/tblenum.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -44,28 +44,28 @@ namespace nsTblChgWidthHeightType // folgende koennen hinein verodert werden - const TblChgWidthHeightType WH_FLAG_INSDEL = 0x4000; // Insert/Del-Modus: das Bigger-Flag + const TblChgWidthHeightType WH_FLAG_INSDEL = 0x4000; // Insert/Del-Modus: das Bigger-Flag // besagt was passiert: // bBigger -> Box wird entfernt // !bBigger-> Box wird eingefuegt - const TblChgWidthHeightType WH_FLAG_BIGGER = 0x8000; // Box wird groesser -> sonst kleiner + const TblChgWidthHeightType WH_FLAG_BIGGER = 0x8000; // Box wird groesser -> sonst kleiner } enum TblChgMode { - TBLFIX_CHGABS, // Tabelle feste Breite, den Nachbar andern - TBLFIX_CHGPROP, // Tabelle feste Breite, alle Nachbarn aendern - TBLVAR_CHGABS // Tabelle variable, alle Nachbarn aendern + TBLFIX_CHGABS, // Tabelle feste Breite, den Nachbar andern + TBLFIX_CHGPROP, // Tabelle feste Breite, alle Nachbarn aendern + TBLVAR_CHGABS // Tabelle variable, alle Nachbarn aendern }; enum SplitTbl_HeadlineOption { - HEADLINE_NONE = 0, // lasse alles wie es ist - HEADLINE_BORDERCOPY, // von der davor obere Line der vorhergehen Line - HEADLINE_CNTNTCOPY, // kopiere die 1. Line komplett mit Inhalt - HEADLINE_BOXATTRCOPY, // kopiere von der 1. Line die Box Attribute - HEADLINE_BOXATRCOLLCOPY // kopiere von der 1. Line die Box Attribute + HEADLINE_NONE = 0, // lasse alles wie es ist + HEADLINE_BORDERCOPY, // von der davor obere Line der vorhergehen Line + HEADLINE_CNTNTCOPY, // kopiere die 1. Line komplett mit Inhalt + HEADLINE_BOXATTRCOPY, // kopiere von der 1. Line die Box Attribute + HEADLINE_BOXATRCOLLCOPY // kopiere von der 1. Line die Box Attribute // und die Absatzvorlagen }; diff --git a/sw/inc/tblsel.hxx b/sw/inc/tblsel.hxx index 9c17d1cb0987..6d21f5b2c124 100644 --- a/sw/inc/tblsel.hxx +++ b/sw/inc/tblsel.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -60,11 +60,11 @@ typedef USHORT SwTblSearchType; namespace nsSwTblSearchType { const SwTblSearchType TBLSEARCH_NONE = 0x1; // keine Erweiterung - const SwTblSearchType TBLSEARCH_ROW = 0x2; // erweiter auf Zeilen + const SwTblSearchType TBLSEARCH_ROW = 0x2; // erweiter auf Zeilen const SwTblSearchType TBLSEARCH_COL = 0x3; // erweiter auf Spalten // als Flag zu den anderen Werten!! - const SwTblSearchType TBLSEARCH_PROTECT = 0x8; // auch geschuetzte Boxen einsammeln + const SwTblSearchType TBLSEARCH_PROTECT = 0x8; // auch geschuetzte Boxen einsammeln const SwTblSearchType TBLSEARCH_NO_UNION_CORRECT = 0x10; // die zusammenges. Union nicht korrigieren } @@ -126,17 +126,17 @@ BOOL CheckSplitCells( const SwCursor& rCrsr, USHORT nDiv, //Fuer das Arbeiten auf TabSelektion auch fuer aufgespaltene Tabellen. class SwSelUnion { - SwRect aUnion; //Das die Sel umschliessende Rechteck. - SwTabFrm *pTable; //Die (Follow-)Table zu der Union. + SwRect aUnion; //Das die Sel umschliessende Rechteck. + SwTabFrm *pTable; //Die (Follow-)Table zu der Union. public: SwSelUnion( const SwRect &rRect, SwTabFrm *pTab ) : aUnion( rRect ), pTable( pTab ) {} - const SwRect& GetUnion() const { return aUnion; } - SwRect& GetUnion() { return aUnion; } + const SwRect& GetUnion() const { return aUnion; } + SwRect& GetUnion() { return aUnion; } const SwTabFrm *GetTable() const { return pTable; } - SwTabFrm *GetTable() { return pTable; } + SwTabFrm *GetTable() { return pTable; } }; SV_DECL_PTRARR_DEL( SwSelUnions, SwSelUnion*, 10, 20 ) @@ -166,19 +166,19 @@ class _FndBox _FndLines aLines; _FndLine* pUpper; - SwTableLine *pLineBefore; //Zum Loeschen/Restaurieren des Layouts. + SwTableLine *pLineBefore; //Zum Loeschen/Restaurieren des Layouts. SwTableLine *pLineBehind; public: _FndBox( SwTableBox* pB, _FndLine* pFL ) : pBox(pB), pUpper(pFL), pLineBefore( 0 ), pLineBehind( 0 ) {} - const _FndLines& GetLines() const { return aLines; } - _FndLines& GetLines() { return aLines; } - const SwTableBox* GetBox() const { return pBox; } - SwTableBox* GetBox() { return pBox; } - const _FndLine* GetUpper() const { return pUpper; } - _FndLine* GetUpper() { return pUpper; } + const _FndLines& GetLines() const { return aLines; } + _FndLines& GetLines() { return aLines; } + const SwTableBox* GetBox() const { return pBox; } + SwTableBox* GetBox() { return pBox; } + const _FndLine* GetUpper() const { return pUpper; } + _FndLine* GetUpper() { return pUpper; } void SetTableLines( const SwSelBoxes &rBoxes, const SwTable &rTable ); void SetTableLines( const SwTable &rTable ); @@ -199,12 +199,12 @@ class _FndLine _FndBox* pUpper; public: _FndLine(SwTableLine* pL, _FndBox* pFB=0) : pLine(pL), pUpper(pFB) {} - const _FndBoxes& GetBoxes() const { return aBoxes; } - _FndBoxes& GetBoxes() { return aBoxes; } - const SwTableLine* GetLine() const { return pLine; } - SwTableLine* GetLine() { return pLine; } - const _FndBox* GetUpper() const { return pUpper; } - _FndBox* GetUpper() { return pUpper; } + const _FndBoxes& GetBoxes() const { return aBoxes; } + _FndBoxes& GetBoxes() { return aBoxes; } + const SwTableLine* GetLine() const { return pLine; } + SwTableLine* GetLine() { return pLine; } + const _FndBox* GetUpper() const { return pUpper; } + _FndBox* GetUpper() { return pUpper; } void SetUpper( _FndBox* pUp ) { pUpper = pUp; } }; @@ -228,6 +228,6 @@ BOOL _FndBoxCopyCol( const SwTableBox*& rpBox, void* pPara ); SW_DLLPUBLIC BOOL _FndLineCopyCol( const SwTableLine*& rpLine, void* pPara ); -#endif // _TBLSEL_HXX +#endif // _TBLSEL_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/tgrditem.hxx b/sw/inc/tgrditem.hxx index a00aa747a9ff..99a000905125 100644 --- a/sw/inc/tgrditem.hxx +++ b/sw/inc/tgrditem.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -58,19 +58,19 @@ public: // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText, const IntlWrapper* pIntl = 0 ) const; - virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; - virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); + virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; + virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); SwTextGridItem& operator=( const SwTextGridItem& ); const Color& GetColor() const { return aColor; } - void SetColor( const Color& rCol ) { aColor = rCol; } + void SetColor( const Color& rCol ) { aColor = rCol; } sal_uInt16 GetLines() const { return nLines; } void SetLines( sal_uInt16 nNew ) { nLines = nNew; } @@ -95,20 +95,20 @@ public: BOOL IsDisplayGrid() const { return bDisplayGrid; } BOOL GetDisplayGrid() const { return bDisplayGrid; } void SetDisplayGrid( BOOL bNew ) { bDisplayGrid = bNew; } - + //for textgrid enhancement sal_uInt16 GetBaseWidth() const { return nBaseWidth;} void SetBaseWidth( sal_uInt16 nNew ) { nBaseWidth = nNew; } - + BOOL IsSnapToChars() const { return bSnapToChars; } BOOL GetSnapToChars() const { return bSnapToChars; } void SetSnapToChars( BOOL bNew ) { bSnapToChars = bNew; } - + BOOL IsSquaredMode() const { return bSquaredMode; } BOOL GetSquaredMode() const { return bSquaredMode; } void SetSquaredMode( BOOL bNew ) { bSquaredMode = bNew; } void SwitchPaperMode(BOOL bNew ); - + void Init(); }; diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx index ac4a490fef11..ce31eca2231f 100644 --- a/sw/inc/tox.hxx +++ b/sw/inc/tox.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -74,7 +74,7 @@ class SW_DLLPUBLIC SwTOXMark friend void _InitCore(); friend class SwTxtTOXMark; - String aAltText; // Der Text des Eintrages ist unterschiedlich + String aAltText; // Der Text des Eintrages ist unterschiedlich String aPrimaryKey, aSecondaryKey; // three more strings for phonetic sorting @@ -84,9 +84,9 @@ class SW_DLLPUBLIC SwTOXMark SwTxtTOXMark* pTxtAttr; - USHORT nLevel; - BOOL bAutoGenerated : 1; // generated using a concordance file - BOOL bMainEntry : 1; // main entry emphasized by character style + USHORT nLevel; + BOOL bAutoGenerated : 1; // generated using a concordance file + BOOL bMainEntry : 1; // main entry emphasized by character style ::com::sun::star::uno::WeakReference< ::com::sun::star::text::XDocumentIndexMark> m_wXDocumentIndexMark; @@ -104,48 +104,48 @@ public: SwTOXMark& operator=( const SwTOXMark& rCopy ); // "pure virtual methods" of SfxPoolItem - virtual int operator==( const SfxPoolItem& ) const; - virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; + virtual int operator==( const SfxPoolItem& ) const; + virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const; // SwClient virtual void Modify( SfxPoolItem* pOld, SfxPoolItem* pNew ); void InvalidateTOXMark(); - String GetText() const; + String GetText() const; - inline BOOL IsAlternativeText() const; - inline const String& GetAlternativeText() const; + inline BOOL IsAlternativeText() const; + inline const String& GetAlternativeText() const; - inline void SetAlternativeText( const String& rAlt ); + inline void SetAlternativeText( const String& rAlt ); // content or user defined index inline void SetLevel(USHORT nLevel); - inline USHORT GetLevel() const; + inline USHORT GetLevel() const; // for alphabetical index only - inline void SetPrimaryKey(const String& rStr ); - inline void SetSecondaryKey(const String& rStr); + inline void SetPrimaryKey(const String& rStr ); + inline void SetSecondaryKey(const String& rStr); inline void SetTextReading(const String& rStr); inline void SetPrimaryKeyReading(const String& rStr ); inline void SetSecondaryKeyReading(const String& rStr); inline const String& GetPrimaryKey() const; - inline const String& GetSecondaryKey() const; + inline const String& GetSecondaryKey() const; inline const String& GetTextReading() const; inline const String& GetPrimaryKeyReading() const; inline const String& GetSecondaryKeyReading() const; - BOOL IsAutoGenerated() const {return bAutoGenerated;} - void SetAutoGenerated(BOOL bSet) {bAutoGenerated = bSet;} + BOOL IsAutoGenerated() const {return bAutoGenerated;} + void SetAutoGenerated(BOOL bSet) {bAutoGenerated = bSet;} - BOOL IsMainEntry() const {return bMainEntry;} - void SetMainEntry(BOOL bSet) { bMainEntry = bSet;} + BOOL IsMainEntry() const {return bMainEntry;} + void SetMainEntry(BOOL bSet) { bMainEntry = bSet;} inline const SwTOXType* GetTOXType() const; - const SwTxtTOXMark* GetTxtTOXMark() const { return pTxtAttr; } - SwTxtTOXMark* GetTxtTOXMark() { return pTxtAttr; } + const SwTxtTOXMark* GetTxtTOXMark() const { return pTxtAttr; } + SwTxtTOXMark* GetTxtTOXMark() { return pTxtAttr; } SW_DLLPRIVATE ::com::sun::star::uno::WeakReference< ::com::sun::star::text::XDocumentIndexMark> const& GetXTOXMark() const @@ -168,12 +168,12 @@ public: // @@@ public copy ctor, but no copy assignment? SwTOXType(const SwTOXType& rCopy); - inline const String& GetTypeName() const; + inline const String& GetTypeName() const; inline TOXTypes GetType() const; private: - String aName; - TOXTypes eType; + String aName; + TOXTypes eType; // @@@ public copy ctor, but no copy assignment? SwTOXType & operator= (const SwTOXType &); @@ -183,25 +183,25 @@ private: Description: Structure of the index lines --------------------------------------------------------------------*/ -#define FORM_TITLE 0 -#define FORM_ALPHA_DELIMITTER 1 -#define FORM_PRIMARY_KEY 2 -#define FORM_SECONDARY_KEY 3 -#define FORM_ENTRY 4 +#define FORM_TITLE 0 +#define FORM_ALPHA_DELIMITTER 1 +#define FORM_PRIMARY_KEY 2 +#define FORM_SECONDARY_KEY 3 +#define FORM_ENTRY 4 /* Pattern structure - <E#> - entry number <E# CharStyleName,PoolId> - <ET> - entry text <ET CharStyleName,PoolId> + <E#> - entry number <E# CharStyleName,PoolId> + <ET> - entry text <ET CharStyleName,PoolId> <E> - entry text and number <E CharStyleName,PoolId> <T> - tab stop <T,,Position,Adjust> <C> - chapter info n = {0, 1, 2, 3, 4 } values of SwChapterFormat <C CharStyleName,PoolId> - <TX> - text token <X CharStyleName,PoolId, TOX_STYLE_DELIMITERTextContentTOX_STYLE_DELIMITER> + <TX> - text token <X CharStyleName,PoolId, TOX_STYLE_DELIMITERTextContentTOX_STYLE_DELIMITER> <#> - Page number <# CharStyleName,PoolId> <LS> - Link start <LS> <LE> - Link end <LE> - <A00> - Authority entry field <A02 CharStyleName, PoolId> + <A00> - Authority entry field <A02 CharStyleName, PoolId> */ // These enum values are stored and must not be changed! @@ -222,16 +222,16 @@ enum FormTokenType struct SW_DLLPUBLIC SwFormToken { - String sText; - String sCharStyleName; - SwTwips nTabStopPosition; - FormTokenType eTokenType; - USHORT nPoolId; + String sText; + String sCharStyleName; + SwTwips nTabStopPosition; + FormTokenType eTokenType; + USHORT nPoolId; SvxTabAdjust eTabAlign; - USHORT nChapterFormat; //SwChapterFormat; + USHORT nChapterFormat; //SwChapterFormat; USHORT nOutlineLevel;//the maximum permitted outline level in numbering - USHORT nAuthorityField; //enum ToxAuthorityField - sal_Unicode cTabFillChar; + USHORT nAuthorityField; //enum ToxAuthorityField + sal_Unicode cTabFillChar; sal_Bool bWithTab; // TRUE: do generate tab // character only the tab stop // #i21237# @@ -359,67 +359,67 @@ public: class SW_DLLPUBLIC SwForm { - SwFormTokens aPattern[ AUTH_TYPE_END + 1 ]; // #i21237# - String aTemplate[ AUTH_TYPE_END + 1 ]; + SwFormTokens aPattern[ AUTH_TYPE_END + 1 ]; // #i21237# + String aTemplate[ AUTH_TYPE_END + 1 ]; TOXTypes eType; USHORT nFormMaxLevel; - //USHORT nFirstTabPos; -> Value in tab token -// BOOL bHasFirstTabPos : 1; - BOOL bGenerateTabPos : 1; - BOOL bIsRelTabPos : 1; - BOOL bCommaSeparated : 1; + //USHORT nFirstTabPos; -> Value in tab token +// BOOL bHasFirstTabPos : 1; + BOOL bGenerateTabPos : 1; + BOOL bIsRelTabPos : 1; + BOOL bCommaSeparated : 1; public: SwForm( TOXTypes eTOXType = TOX_CONTENT ); SwForm( const SwForm& rForm ); - SwForm& operator=( const SwForm& rForm ); + SwForm& operator=( const SwForm& rForm ); - inline void SetTemplate(USHORT nLevel, const String& rName); - inline const String& GetTemplate(USHORT nLevel) const; + inline void SetTemplate(USHORT nLevel, const String& rName); + inline const String& GetTemplate(USHORT nLevel) const; // #i21237# - void SetPattern(USHORT nLevel, const SwFormTokens& rName); - void SetPattern(USHORT nLevel, const String& rStr); - const SwFormTokens& GetPattern(USHORT nLevel) const; + void SetPattern(USHORT nLevel, const SwFormTokens& rName); + void SetPattern(USHORT nLevel, const String& rStr); + const SwFormTokens& GetPattern(USHORT nLevel) const; // fill tab stop positions from template to pattern // #i21237# - void AdjustTabStops(SwDoc& rDoc, + void AdjustTabStops(SwDoc& rDoc, BOOL bInsertNewTabStops = FALSE); inline TOXTypes GetTOXType() const; - inline USHORT GetFormMax() const; + inline USHORT GetFormMax() const; BOOL IsRelTabPos() const { return bIsRelTabPos; } - void SetRelTabPos( BOOL b ) { bIsRelTabPos = b; } + void SetRelTabPos( BOOL b ) { bIsRelTabPos = b; } - BOOL IsCommaSeparated() const { return bCommaSeparated;} - void SetCommaSeparated( BOOL b) { bCommaSeparated = b;} + BOOL IsCommaSeparated() const { return bCommaSeparated;} + void SetCommaSeparated( BOOL b) { bCommaSeparated = b;} static USHORT GetFormMaxLevel( TOXTypes eType ); - static const sal_Char* aFormEntry; // <E> + static const sal_Char* aFormEntry; // <E> static BYTE nFormEntryLen; // 3 characters - static const sal_Char* aFormTab; // <T> + static const sal_Char* aFormTab; // <T> static BYTE nFormTabLen; // 3 characters - static const sal_Char* aFormPageNums; // <P> + static const sal_Char* aFormPageNums; // <P> static BYTE nFormPageNumsLen; // 3 characters - static const sal_Char* aFormLinkStt; // <LS> + static const sal_Char* aFormLinkStt; // <LS> static BYTE nFormLinkSttLen; // 4 characters - static const sal_Char* aFormLinkEnd; // <LE> + static const sal_Char* aFormLinkEnd; // <LE> static BYTE nFormLinkEndLen; // 4 characters - static const sal_Char* aFormEntryNum; // <E#> + static const sal_Char* aFormEntryNum; // <E#> static BYTE nFormEntryNumLen; // 4 characters - static const sal_Char* aFormEntryTxt; // <ET> + static const sal_Char* aFormEntryTxt; // <ET> static BYTE nFormEntryTxtLen; // 4 characters - static const sal_Char* aFormChapterMark; // <C> + static const sal_Char* aFormChapterMark; // <C> static BYTE nFormChapterMarkLen; // 3 characters - static const sal_Char* aFormText; // <TX> + static const sal_Char* aFormText; // <TX> static BYTE nFormTextLen; // 4 characters - static const sal_Char* aFormAuth; // <Axx> xx - decimal enum value + static const sal_Char* aFormAuth; // <Axx> xx - decimal enum value static BYTE nFormAuthLen; // 3 characters }; @@ -471,7 +471,7 @@ namespace nsSwTOOElements const SwTOOElements TOO_OTHER = 0x80; } -#define TOX_STYLE_DELIMITER ((sal_Unicode)0x01) //JP 19.07.00: use a control char +#define TOX_STYLE_DELIMITER ((sal_Unicode)0x01) //JP 19.07.00: use a control char /*-------------------------------------------------------------------- Description: Class for all indexes @@ -480,13 +480,13 @@ namespace nsSwTOOElements class SW_DLLPUBLIC SwTOXBase : public SwClient { SwForm aForm; // description of the lines - String aName; // unique name + String aName; // unique name String aTitle; // title - String sMainEntryCharStyle; // name of the character style applied to main index entries + String sMainEntryCharStyle; // name of the character style applied to main index entries - String aStyleNames[MAXLEVEL]; // (additional) style names TOX_CONTENT, TOX_USER - String sSequenceName; // FieldTypeName of a caption sequence + String aStyleNames[MAXLEVEL]; // (additional) style names TOX_CONTENT, TOX_USER + String sSequenceName; // FieldTypeName of a caption sequence LanguageType eLanguage; String sSortAlgorithm; @@ -497,13 +497,13 @@ class SW_DLLPUBLIC SwTOXBase : public SwClient } aData; USHORT nCreateType; // sources to create the index from - USHORT nOLEOptions; // OLE sources - SwCaptionDisplay eCaptionDisplay; // - BOOL bProtected : 1; // index protected ? - BOOL bFromChapter : 1; // create from chapter or document - BOOL bFromObjectNames : 1; // create a table or object index + USHORT nOLEOptions; // OLE sources + SwCaptionDisplay eCaptionDisplay; // + BOOL bProtected : 1; // index protected ? + BOOL bFromChapter : 1; // create from chapter or document + BOOL bFromObjectNames : 1; // create a table or object index // from the names rather than the caption - BOOL bLevelFromChapter : 1; // User index: get the level from the source chapter + BOOL bLevelFromChapter : 1; // User index: get the level from the source chapter public: SwTOXBase( const SwTOXType* pTyp, const SwForm& rForm, USHORT nCreaType, const String& rTitle ); @@ -516,75 +516,75 @@ public: // If not, so create it an copy all other used things. The return is this SwTOXBase& CopyTOXBase( SwDoc*, const SwTOXBase& ); - const SwTOXType* GetTOXType() const; // + const SwTOXType* GetTOXType() const; // USHORT GetCreateType() const; // creation types - const String& GetTOXName() const {return aName;} - void SetTOXName(const String& rSet) {aName = rSet;} + const String& GetTOXName() const {return aName;} + void SetTOXName(const String& rSet) {aName = rSet;} const String& GetTitle() const; // Title const String& GetTypeName() const; // Name const SwForm& GetTOXForm() const; // description of the lines - void SetCreate(USHORT); - void SetTitle(const String& rTitle); - void SetTOXForm(const SwForm& rForm); + void SetCreate(USHORT); + void SetTitle(const String& rTitle); + void SetTOXForm(const SwForm& rForm); - TOXTypes GetType() const; + TOXTypes GetType() const; - const String& GetMainEntryCharStyle() const {return sMainEntryCharStyle;} - void SetMainEntryCharStyle(const String& rSet) {sMainEntryCharStyle = rSet;} + const String& GetMainEntryCharStyle() const {return sMainEntryCharStyle;} + void SetMainEntryCharStyle(const String& rSet) {sMainEntryCharStyle = rSet;} // content index only inline void SetLevel(USHORT); // consider outline level - inline USHORT GetLevel() const; + inline USHORT GetLevel() const; // alphabetical index only inline USHORT GetOptions() const; // alphabetical index options - inline void SetOptions(USHORT nOpt); + inline void SetOptions(USHORT nOpt); // index of objects - USHORT GetOLEOptions() const {return nOLEOptions;} - void SetOLEOptions(USHORT nOpt) {nOLEOptions = nOpt;} + USHORT GetOLEOptions() const {return nOLEOptions;} + void SetOLEOptions(USHORT nOpt) {nOLEOptions = nOpt;} // index of objects // user defined index only - inline void SetTemplateName(const String& rName); // Absatzlayout beachten + inline void SetTemplateName(const String& rName); // Absatzlayout beachten - const String& GetStyleNames(USHORT nLevel) const + const String& GetStyleNames(USHORT nLevel) const { DBG_ASSERT( nLevel < MAXLEVEL, "Which level?"); return aStyleNames[nLevel]; } - void SetStyleNames(const String& rSet, USHORT nLevel) + void SetStyleNames(const String& rSet, USHORT nLevel) { DBG_ASSERT( nLevel < MAXLEVEL, "Which level?"); aStyleNames[nLevel] = rSet; } - BOOL IsFromChapter() const { return bFromChapter;} - void SetFromChapter(BOOL bSet) { bFromChapter = bSet;} + BOOL IsFromChapter() const { return bFromChapter;} + void SetFromChapter(BOOL bSet) { bFromChapter = bSet;} - BOOL IsFromObjectNames() const {return bFromObjectNames;} - void SetFromObjectNames(BOOL bSet) {bFromObjectNames = bSet;} + BOOL IsFromObjectNames() const {return bFromObjectNames;} + void SetFromObjectNames(BOOL bSet) {bFromObjectNames = bSet;} - BOOL IsLevelFromChapter() const {return bLevelFromChapter;} - void SetLevelFromChapter(BOOL bSet) {bLevelFromChapter = bSet;} + BOOL IsLevelFromChapter() const {return bLevelFromChapter;} + void SetLevelFromChapter(BOOL bSet) {bLevelFromChapter = bSet;} - BOOL IsProtected() const { return bProtected; } - void SetProtected(BOOL bSet) { bProtected = bSet; } + BOOL IsProtected() const { return bProtected; } + void SetProtected(BOOL bSet) { bProtected = bSet; } - const String& GetSequenceName() const {return sSequenceName;} - void SetSequenceName(const String& rSet) {sSequenceName = rSet;} + const String& GetSequenceName() const {return sSequenceName;} + void SetSequenceName(const String& rSet) {sSequenceName = rSet;} - SwCaptionDisplay GetCaptionDisplay() const { return eCaptionDisplay;} - void SetCaptionDisplay(SwCaptionDisplay eSet) {eCaptionDisplay = eSet;} + SwCaptionDisplay GetCaptionDisplay() const { return eCaptionDisplay;} + void SetCaptionDisplay(SwCaptionDisplay eSet) {eCaptionDisplay = eSet;} - BOOL IsTOXBaseInReadonly() const; + BOOL IsTOXBaseInReadonly() const; - const SfxItemSet* GetAttrSet() const; - void SetAttrSet( const SfxItemSet& ); + const SfxItemSet* GetAttrSet() const; + void SetAttrSet( const SfxItemSet& ); LanguageType GetLanguage() const {return eLanguage;} void SetLanguage(LanguageType nLang) {eLanguage = nLang;} @@ -593,7 +593,7 @@ public: void SetSortAlgorithm(const String& rSet) {sSortAlgorithm = rSet;} // #i21237# void AdjustTabStops(SwDoc & rDoc, BOOL bDefaultRightTabStop); - SwTOXBase& operator=(const SwTOXBase& rSource); + SwTOXBase& operator=(const SwTOXBase& rSource); }; @@ -605,7 +605,7 @@ public: //SwTOXMark // inline const String& SwTOXMark::GetAlternativeText() const - { return aAltText; } + { return aAltText; } inline const SwTOXType* SwTOXMark::GetTOXType() const { return (SwTOXType*)GetRegisteredIn(); } @@ -720,10 +720,10 @@ inline USHORT SwForm::GetFormMax() const //SwTOXType // inline const String& SwTOXType::GetTypeName() const - { return aName; } + { return aName; } inline TOXTypes SwTOXType::GetType() const - { return eType; } + { return eType; } // // SwTOXBase @@ -741,7 +741,7 @@ inline const String& SwTOXBase::GetTypeName() const { return GetTOXType()->GetTypeName(); } inline const SwForm& SwTOXBase::GetTOXForm() const - { return aForm; } + { return aForm; } inline void SwTOXBase::AdjustTabStops(SwDoc & rDoc, BOOL bDefaultRightTabStop) { @@ -751,7 +751,7 @@ inline void SwTOXBase::AdjustTabStops(SwDoc & rDoc, BOOL bDefaultRightTabStop) inline void SwTOXBase::SetCreate(USHORT nCreate) { nCreateType = nCreate; } -inline void SwTOXBase::SetTOXForm(const SwForm& rForm) +inline void SwTOXBase::SetTOXForm(const SwForm& rForm) { aForm = rForm; } inline TOXTypes SwTOXBase::GetType() const @@ -773,7 +773,7 @@ inline void SwTOXBase::SetTemplateName(const String& rName) { // OSL_ENSURE(GetTOXType()->GetType() == TOX_USER, "Falscher Feldtyp"); // OSL_ENSURE(aData.pTemplateName, "pTemplateName == 0"); -// (*aData.pTemplateName) = rName; +// (*aData.pTemplateName) = rName; DBG_WARNING("SwTOXBase::SetTemplateName obsolete"); aStyleNames[0] = rName; diff --git a/sw/inc/toxe.hxx b/sw/inc/toxe.hxx index 2fee68929875..d2c790b00328 100644 --- a/sw/inc/toxe.hxx +++ b/sw/inc/toxe.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -98,7 +98,7 @@ enum ToxAuthorityField AUTH_FIELD_HOWPUBLISHED, AUTH_FIELD_INSTITUTION, AUTH_FIELD_JOURNAL, -// AUTH_FIELD_KEY, // BiBTeX - Field +// AUTH_FIELD_KEY, // BiBTeX - Field AUTH_FIELD_MONTH, AUTH_FIELD_NOTE, AUTH_FIELD_NUMBER, diff --git a/sw/inc/toxinit.hxx b/sw/inc/toxinit.hxx index 4c7fdbf2601d..44e981cb6307 100644 --- a/sw/inc/toxinit.hxx +++ b/sw/inc/toxinit.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/toxwrap.hxx b/sw/inc/toxwrap.hxx index facead6132b1..43f05cc82c83 100644 --- a/sw/inc/toxwrap.hxx +++ b/sw/inc/toxwrap.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/txatbase.hxx b/sw/inc/txatbase.hxx index 53851003620d..062dfaa17fdc 100644 --- a/sw/inc/txatbase.hxx +++ b/sw/inc/txatbase.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -88,7 +88,7 @@ public: const xub_StrLen* GetStart() const { return & m_nStart; } /// end position - virtual xub_StrLen* GetEnd(); + virtual xub_StrLen* GetEnd(); inline const xub_StrLen* GetEnd() const; /// end (if available), else start inline const xub_StrLen* GetAnyEnd() const; @@ -109,17 +109,17 @@ public: inline SfxPoolItem& GetAttr(); inline USHORT Which() const { return GetAttr().Which(); } - virtual int operator==( const SwTxtAttr& ) const; + virtual int operator==( const SwTxtAttr& ) const; - inline const SwFmtCharFmt &GetCharFmt() const; + inline const SwFmtCharFmt &GetCharFmt() const; inline const SwFmtAutoFmt &GetAutoFmt() const; - inline const SwFmtFld &GetFld() const; - inline const SwFmtFtn &GetFtn() const; - inline const SwFmtFlyCnt &GetFlyCnt() const; - inline const SwTOXMark &GetTOXMark() const; - inline const SwFmtRefMark &GetRefMark() const; - inline const SwFmtINetFmt &GetINetFmt() const; - inline const SwFmtRuby &GetRuby() const; + inline const SwFmtFld &GetFld() const; + inline const SwFmtFtn &GetFtn() const; + inline const SwFmtFlyCnt &GetFlyCnt() const; + inline const SwTOXMark &GetTOXMark() const; + inline const SwFmtRefMark &GetRefMark() const; + inline const SwFmtINetFmt &GetINetFmt() const; + inline const SwFmtRuby &GetRuby() const; inline const SwFmtMeta &GetMeta() const; }; diff --git a/sw/inc/txatritr.hxx b/sw/inc/txatritr.hxx index 13af67950275..79e998c540dd 100644 --- a/sw/inc/txatritr.hxx +++ b/sw/inc/txatritr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -53,9 +53,9 @@ public: sal_Bool Next(); - sal_uInt16 GetCurrScript() const { return nCurScript; } - xub_StrLen GetScriptChgPos() const { return nChgPos; } - const String& GetText() const { return rText; } + sal_uInt16 GetCurrScript() const { return nCurScript; } + xub_StrLen GetScriptChgPos() const { return nChgPos; } + const String& GetText() const { return rText; } }; @@ -78,8 +78,8 @@ public: sal_Bool Next(); - const SfxPoolItem& GetAttr() const { return *pCurItem; } - xub_StrLen GetChgPos() const { return nChgPos; } + const SfxPoolItem& GetAttr() const { return *pCurItem; } + xub_StrLen GetChgPos() const { return nChgPos; } }; diff --git a/sw/inc/txtatr.hxx b/sw/inc/txtatr.hxx index 2e14cf50377e..aa346e0e1d1c 100644 --- a/sw/inc/txtatr.hxx +++ b/sw/inc/txtatr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -32,7 +32,7 @@ #include <calbck.hxx> -class SwTxtNode; // fuer SwTxtFld +class SwTxtNode; // fuer SwTxtFld class SwCharFmt; // ATT_CHARFMT ********************************************* diff --git a/sw/inc/txtflcnt.hxx b/sw/inc/txtflcnt.hxx index f4fb06a8e2f0..b8c9543d685d 100644 --- a/sw/inc/txtflcnt.hxx +++ b/sw/inc/txtflcnt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -46,9 +46,9 @@ public: SwTxtFlyCnt( SwFmtFlyCnt& rAttr, xub_StrLen nStart ); // Setzt den Anker im pFmt und - void SetAnchor( const SwTxtNode *pNode ); + void SetAnchor( const SwTxtNode *pNode ); - inline SwFlyInCntFrm *GetFlyFrm( const SwFrm *pCurrFrm ); + inline SwFlyInCntFrm *GetFlyFrm( const SwFrm *pCurrFrm ); inline const SwFlyInCntFrm *GetFlyFrm( const SwFrm *pCurrFrm ) const; // erzeugt sich ein neues FlyFrameFormat diff --git a/sw/inc/txtfld.hxx b/sw/inc/txtfld.hxx index a155da15b9fa..d1cdf28e9585 100644 --- a/sw/inc/txtfld.hxx +++ b/sw/inc/txtfld.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/txtftn.hxx b/sw/inc/txtftn.hxx index 55eaa777b3c7..873ac6b8856f 100644 --- a/sw/inc/txtftn.hxx +++ b/sw/inc/txtftn.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/txtinet.hxx b/sw/inc/txtinet.hxx index 48096c4f5cb3..66790f4da23b 100644 --- a/sw/inc/txtinet.hxx +++ b/sw/inc/txtinet.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/txtrfmrk.hxx b/sw/inc/txtrfmrk.hxx index c7507798be87..ac941843407d 100644 --- a/sw/inc/txtrfmrk.hxx +++ b/sw/inc/txtrfmrk.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/txttxmrk.hxx b/sw/inc/txttxmrk.hxx index e70c28305082..ac2738bb30ef 100644 --- a/sw/inc/txttxmrk.hxx +++ b/sw/inc/txttxmrk.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/undobj.hxx b/sw/inc/undobj.hxx index 4811404a7517..f2eb3ea34c1f 100644 --- a/sw/inc/undobj.hxx +++ b/sw/inc/undobj.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -214,8 +214,8 @@ protected: // Inhalte in das UndoNodesArray verschoben. Diese Methoden fuegen // am Ende eines TextNodes ein Trenner fuer die Attribute. Damit werden // Attribute nicht expandiert. - // MoveTo.. verschiebt aus dem NodesArray in das UndoNodesArray - // MoveFrom.. verschiebt aus dem UndoNodesArray in das NodesArray + // MoveTo.. verschiebt aus dem NodesArray in das UndoNodesArray + // MoveFrom.. verschiebt aus dem UndoNodesArray in das NodesArray void MoveToUndoNds( SwPaM& rPam, SwNodeIndex* pNodeIdx = 0, SwIndex* pCntIdx = 0, ULONG* pEndNdIdx = 0, xub_StrLen * pEndCntIdx = 0 ); @@ -246,7 +246,7 @@ class SwUndoSaveSection : private SwUndoSaveCntnt { SwNodeIndex *pMvStt; SwRedlineSaveDatas* pRedlSaveData; - ULONG nMvLen; // Index ins UndoNodes-Array + ULONG nMvLen; // Index ins UndoNodes-Array ULONG nStartPos; protected: @@ -263,7 +263,7 @@ public: void RestoreSection( SwDoc* pDoc, const SwNodeIndex& rInsPos ); const SwHistory* GetHistory() const { return pHistory; } - SwHistory* GetHistory() { return pHistory; } + SwHistory* GetHistory() { return pHistory; } }; @@ -347,7 +347,7 @@ public: class SwUndoInsert: public SwUndo, private SwUndoSaveCntnt { - SwPosition *pPos; // Inhalt fuers Redo + SwPosition *pPos; // Inhalt fuers Redo String *pTxt, *pUndoTxt; SwRedlineData* pRedlData; ULONG nNode; @@ -357,7 +357,7 @@ class SwUndoInsert: public SwUndo, private SwUndoSaveCntnt const IDocumentContentOperations::InsertFlags m_nInsertFlags; - friend class SwDoc; // eigentlich nur SwDoc::Insert( String ) + friend class SwDoc; // eigentlich nur SwDoc::Insert( String ) BOOL CanGrouping( sal_Unicode cIns ); BOOL CanGrouping( const SwPosition& rPos ); @@ -398,7 +398,7 @@ public: class SwUndoDelete: public SwUndo, private SwUndRng, private SwUndoSaveCntnt { - SwNodeIndex* pMvStt; // Position der Nodes im UndoNodes-Array + SwNodeIndex* pMvStt; // Position der Nodes im UndoNodes-Array String *pSttStr, *pEndStr; SwRedlineData* pRedlData; SwRedlineSaveDatas* pRedlSaveData; @@ -408,18 +408,18 @@ class SwUndoDelete: public SwUndo, private SwUndRng, private SwUndoSaveCntnt String sTableName; ULONG nNode; - ULONG nNdDiff; // Differenz von Nodes vor-nach Delete - ULONG nSectDiff; // Diff. von Nodes vor/nach Move mit SectionNodes + ULONG nNdDiff; // Differenz von Nodes vor-nach Delete + ULONG nSectDiff; // Diff. von Nodes vor/nach Move mit SectionNodes ULONG nReplaceDummy; // Diff. to a temporary dummy object USHORT nSetPos; - BOOL bGroup : 1; // TRUE: ist schon eine Gruppe; wird in CanGrouping() ausgwertet !! - BOOL bBackSp : 1; // TRUE: wenn Gruppierung und der Inhalt davor geloescht wird - BOOL bJoinNext: 1; // TRUE: wenn der Bereich von Oben nach unten geht - BOOL bTblDelLastNd : 1; // TRUE: TextNode hinter der Tabelle einf./loeschen - BOOL bDelFullPara : 1; // TRUE: gesamte Nodes wurden geloescht - BOOL bResetPgDesc : 1; // TRUE: am nachfolgenden Node das PgDsc zuruecksetzen - BOOL bResetPgBrk : 1; // TRUE: am nachfolgenden Node das PgBreak zuruecksetzen + BOOL bGroup : 1; // TRUE: ist schon eine Gruppe; wird in CanGrouping() ausgwertet !! + BOOL bBackSp : 1; // TRUE: wenn Gruppierung und der Inhalt davor geloescht wird + BOOL bJoinNext: 1; // TRUE: wenn der Bereich von Oben nach unten geht + BOOL bTblDelLastNd : 1; // TRUE: TextNode hinter der Tabelle einf./loeschen + BOOL bDelFullPara : 1; // TRUE: gesamte Nodes wurden geloescht + BOOL bResetPgDesc : 1; // TRUE: am nachfolgenden Node das PgDsc zuruecksetzen + BOOL bResetPgBrk : 1; // TRUE: am nachfolgenden Node das PgBreak zuruecksetzen BOOL bFromTableCopy : 1; // TRUE: called by SwUndoTblCpyTbl BOOL SaveCntnt( const SwPosition* pStt, const SwPosition* pEnd, @@ -447,7 +447,7 @@ public: BOOL CanGrouping( SwDoc*, const SwPaM& ); - void SetTblDelLastNd() { bTblDelLastNd = TRUE; } + void SetTblDelLastNd() { bTblDelLastNd = TRUE; } // fuer die PageDesc/PageBreak Attribute einer Tabelle void SetPgBrkFlags( BOOL bPageBreak, BOOL bPageDesc ) @@ -470,9 +470,9 @@ class SwUndoOverwrite: public SwUndo, private SwUndoSaveCntnt SwRedlineSaveDatas* pRedlSaveData; ULONG nSttNode; xub_StrLen nSttCntnt; - BOOL bInsChar : 1; // kein Overwrite mehr; sondern Insert - BOOL bGroup : 1; // TRUE: ist schon eine Gruppe; wird in - // CanGrouping() ausgwertet !! + BOOL bInsChar : 1; // kein Overwrite mehr; sondern Insert + BOOL bGroup : 1; // TRUE: ist schon eine Gruppe; wird in + // CanGrouping() ausgwertet !! public: SwUndoOverwrite( SwDoc*, SwPosition&, sal_Unicode cIns ); virtual ~SwUndoOverwrite(); @@ -512,7 +512,7 @@ public: virtual void Undo( SwUndoIter& ); virtual void Redo( SwUndoIter& ); virtual void Repeat( SwUndoIter& ); - void SetTblFlag() { bTblFlag = TRUE; } + void SetTblFlag() { bTblFlag = TRUE; } }; @@ -524,7 +524,7 @@ class SwUndoMove : public SwUndo, private SwUndRng, private SwUndoSaveCntnt ULONG nDestSttNode, nDestEndNode, nInsPosNode, nMvDestNode; xub_StrLen nDestSttCntnt, nDestEndCntnt, nInsPosCntnt, nMvDestCntnt; - USHORT nFtnStt; // StartPos der Fussnoten in der History + USHORT nFtnStt; // StartPos der Fussnoten in der History BOOL bJoinNext : 1, bJoinPrev : 1, @@ -543,10 +543,10 @@ public: void SetDestRange( const SwNodeIndex& rStt, const SwNodeIndex& rEnd, const SwNodeIndex& rInsPos ); - BOOL IsMoveRange() const { return bMoveRange; } - ULONG GetEndNode() const { return nEndNode; } - ULONG GetDestSttNode() const { return nDestSttNode; } - xub_StrLen GetDestSttCntnt() const { return nDestSttCntnt; } + BOOL IsMoveRange() const { return bMoveRange; } + ULONG GetEndNode() const { return nEndNode; } + ULONG GetDestSttNode() const { return nDestSttNode; } + xub_StrLen GetDestSttCntnt() const { return nDestSttCntnt; } void SetMoveRedlines( bool b ) { bMoveRedlines = b; } @@ -765,8 +765,8 @@ class SwUndoInserts : public SwUndo, public SwUndRng, private SwUndoSaveCntnt BOOL bSttWasTxtNd; protected: ULONG nNdDiff; - SwPosition *pPos; // Inhalt fuers Redo - USHORT nSetPos; // Start in der History-Liste + SwPosition *pPos; // Inhalt fuers Redo + USHORT nSetPos; // Start in der History-Liste SwUndoInserts( SwUndoId nUndoId, const SwPaM& ); public: @@ -798,7 +798,7 @@ class SwUndoInsTbl : public SwUndo SwInsertTableOptions aInsTblOpts; SwDDEFieldType* pDDEFldType; SvUShorts* pColWidth; - SwRedlineData* pRedlData; + SwRedlineData* pRedlData; SwTableAutoFmt* pAutoFmt; ULONG nSttNode; USHORT nRows, nCols; @@ -838,7 +838,7 @@ public: virtual void Redo( SwUndoIter& ); virtual void Repeat( SwUndoIter& ); - SwHistory& GetHistory(); // wird ggfs. angelegt + SwHistory& GetHistory(); // wird ggfs. angelegt void AddFillBox( const SwTableBox& rBox ); }; @@ -905,7 +905,7 @@ class SwUndoTblNdsChg : public SwUndo SvULongs* pNewSttNds; SwUndoSaveSections* pDelSects; } Ptrs; - SvBools aMvBoxes; // fuers SplitRow (aufgeteilte Nodes einer Box) + SvBools aMvBoxes; // fuers SplitRow (aufgeteilte Nodes einer Box) long nMin, nMax; // for redo of delete column ULONG nSttNode, nCurrBox; USHORT nCount, nRelDiff, nAbsDiff, nSetColType; @@ -1031,7 +1031,7 @@ public: virtual void Undo( SwUndoIter& ); virtual void Redo( SwUndoIter& ); - void SetTableSttIdx( ULONG nIdx ) { nTblNode = nIdx; } + void SetTableSttIdx( ULONG nIdx ) { nTblNode = nIdx; } }; class SwUndoSplitTbl : public SwUndo @@ -1049,8 +1049,8 @@ public: virtual void Redo( SwUndoIter& ); virtual void Repeat( SwUndoIter& ); - void SetTblNodeOffset( ULONG nIdx ) { nOffset = nIdx - nTblNode; } - SwHistory* GetHistory() { return pHistory; } + void SetTblNodeOffset( ULONG nIdx ) { nOffset = nIdx - nTblNode; } + SwHistory* GetHistory() { return pHistory; } void SaveFormula( SwHistory& rHistory ); }; @@ -1148,11 +1148,11 @@ SV_DECL_PTRARR(SwUndoSortList, SwNodeIndex*, 10,30) class SwUndoSort : public SwUndo, private SwUndRng { - SwSortOptions* pSortOpt; // die Optionen mit den Sortier-Kriterien - SwSortList aSortList; - SwUndoAttrTbl* pUndoTblAttr; - SwRedlineData* pRedlData; - ULONG nTblNd; + SwSortOptions* pSortOpt; // die Optionen mit den Sortier-Kriterien + SwSortList aSortList; + SwUndoAttrTbl* pUndoTblAttr; + SwRedlineData* pRedlData; + ULONG nTblNd; void RemoveIdx( SwPaM& rPam ); public: @@ -1177,11 +1177,11 @@ public: class SwUndoFlyBase : public SwUndo, private SwUndoSaveSection { protected: - SwFrmFmt* pFrmFmt; // das gespeicherte FlyFormat + SwFrmFmt* pFrmFmt; // das gespeicherte FlyFormat ULONG nNdPgPos; - xub_StrLen nCntPos; // Seite/am Absatz/im Absatz + xub_StrLen nCntPos; // Seite/am Absatz/im Absatz USHORT nRndId; - BOOL bDelFmt; // loesche das gespeicherte Format + BOOL bDelFmt; // loesche das gespeicherte Format void InsFly( SwUndoIter&, BOOL bShowSel = TRUE ); void DelFly( SwDoc* ); @@ -1223,7 +1223,7 @@ public: virtual void Undo( SwUndoIter& ); virtual void Redo( SwUndoIter& ); - void Redo(); // Schnittstelle fuers Rollback + void Redo(); // Schnittstelle fuers Rollback void ChgShowSel( BOOL bNew ) { bShowSelFrm = bNew; } @@ -1234,10 +1234,10 @@ public: class SwUndoSetFlyFmt : public SwUndo, public SwClient { - SwFrmFmt* pFrmFmt; // das gespeicherte FlyFormat - SwFrmFmt* pOldFmt; // die alte Fly Vorlage - SwFrmFmt* pNewFmt; // die neue Fly Vorlage - SfxItemSet* pItemSet; // die zurueck-/ gesetzten Attribute + SwFrmFmt* pFrmFmt; // das gespeicherte FlyFormat + SwFrmFmt* pOldFmt; // die alte Fly Vorlage + SwFrmFmt* pNewFmt; // die neue Fly Vorlage + SfxItemSet* pItemSet; // die zurueck-/ gesetzten Attribute ULONG nOldNode, nNewNode; xub_StrLen nOldCntnt, nNewCntnt; USHORT nOldAnchorTyp, nNewAnchorTyp; @@ -1267,7 +1267,7 @@ class SwUndoReplace : public SwUndo friend class SwDoc; BOOL bOldIterFlag; // Status vom Undo-Iter vorm 1. Aufruf - USHORT nAktPos; // fuer GetUndoRange und Undo/Redo + USHORT nAktPos; // fuer GetUndoRange und Undo/Redo _UnReplaceDatas aArr; SwRedlineData* pRedlData; @@ -1375,7 +1375,7 @@ public: class SwUndoDefaultAttr : public SwUndo { - ::std::auto_ptr<SfxItemSet> m_pOldSet; // the old attributes + ::std::auto_ptr<SfxItemSet> m_pOldSet; // the old attributes ::std::auto_ptr<SvxTabStopItem> m_pTabStop; public: @@ -1409,7 +1409,7 @@ public: virtual void Repeat( SwUndoIter& ); virtual SwRewriter GetRewriter() const; - SwHistory* GetHistory(); // wird ggfs. neu angelegt! + SwHistory* GetHistory(); // wird ggfs. neu angelegt! void SetSttNum( ULONG nNdIdx ) { nSttSet = nNdIdx; } void SaveOldNumRule( const SwNumRule& rOld ); @@ -1490,7 +1490,7 @@ public: class SwSdrUndo : public SwUndo { SdrUndoAction* pSdrUndo; - SdrMarkList* pMarkList; // MarkList for all selected SdrObjects + SdrMarkList* pMarkList; // MarkList for all selected SdrObjects public: SwSdrUndo( SdrUndoAction* , const SdrMarkList* pMarkList ); virtual ~SwSdrUndo(); @@ -1564,7 +1564,7 @@ class SwUndoDrawUnGroupConnectToLayout : public SwUndo class SwUndoDrawDelete : public SwUndo { SwUndoGroupObjImpl* pObjArr; - SdrMarkList* pMarkLst; // MarkList for all selected SdrObjects + SdrMarkList* pMarkLst; // MarkList for all selected SdrObjects USHORT nSize; BOOL bDelFmt; @@ -1623,10 +1623,10 @@ class SwUndoInsertLabel : public SwUndo // OD 2004-04-15 #i26791# - re-store of drawing object position no longer needed USHORT nFldId; SwLabelType eType; - BYTE nLayerId; // fuer Zeichen-Objekte - BOOL bBefore :1; - BOOL bUndoKeep :1; - BOOL bCpyBrd :1; + BYTE nLayerId; // fuer Zeichen-Objekte + BOOL bBefore :1; + BOOL bUndoKeep :1; + BOOL bCpyBrd :1; public: SwUndoInsertLabel( const SwLabelType eTyp, const String &rText, @@ -1661,7 +1661,7 @@ public: void SetNodePos( ULONG nNd ) { if( LTYPE_OBJECT != eType ) NODE.nNode = nNd; } - void SetUndoKeep() { bUndoKeep = TRUE; } + void SetUndoKeep() { bUndoKeep = TRUE; } void SetFlys( SwFrmFmt& rOldFly, SfxItemSet& rChgSet, SwFrmFmt& rNewFly ); void SetDrawObj( BYTE nLayerId ); }; @@ -1832,7 +1832,7 @@ public: class SwUndoIter { - friend class SwDoc; // um im SwDoc::Undo bWeiter zu stezen + friend class SwDoc; // um im SwDoc::Undo bWeiter zu stezen friend void SwUndoEnd::Undo( SwUndoIter& ); friend void SwUndoStart::Undo( SwUndoIter& ); friend void SwUndoEnd::Redo( SwUndoIter& ); @@ -1845,25 +1845,25 @@ class SwUndoIter SwUndoId nUndoId; USHORT nEndCnt; BOOL bWeiter : 1; - BOOL bUpdateAttr : 1; // Setze das GCAttr an der CursorShell + BOOL bUpdateAttr : 1; // Setze das GCAttr an der CursorShell public: - SwPaM * pAktPam; // Member fuer das Undo - SwUndo* pLastUndoObj; // fuers Redo, das vorherige UndoObj. - SwFrmFmt* pSelFmt; // ggfs. das Format Rahmen/Object-Selektionen - SdrMarkList* pMarkList; // MarkList for all selected SdrObjects + SwPaM * pAktPam; // Member fuer das Undo + SwUndo* pLastUndoObj; // fuers Redo, das vorherige UndoObj. + SwFrmFmt* pSelFmt; // ggfs. das Format Rahmen/Object-Selektionen + SdrMarkList* pMarkList; // MarkList for all selected SdrObjects SwUndoIter( SwPaM * pPam, SwUndoId nId = UNDO_EMPTY ); - BOOL IsNextUndo() const { return bWeiter; } - BOOL IsUpdateAttr() const { return bUpdateAttr; } - void SetUpdateAttr( BOOL bNew ) { bUpdateAttr = bNew; } + BOOL IsNextUndo() const { return bWeiter; } + BOOL IsUpdateAttr() const { return bUpdateAttr; } + void SetUpdateAttr( BOOL bNew ) { bUpdateAttr = bNew; } inline SwDoc& GetDoc() const; SwUndoId GetId() const { return nUndoId; } SwUndoId GetLastUndoId() const { return pLastUndoObj ? pLastUndoObj->GetId() : UNDO_EMPTY ; } - void ClearSelections() { pSelFmt = 0; pMarkList = 0; } + void ClearSelections() { pSelFmt = 0; pMarkList = 0; } }; diff --git a/sw/inc/unoatxt.hxx b/sw/inc/unoatxt.hxx index 4e23effa5072..735678089781 100644 --- a/sw/inc/unoatxt.hxx +++ b/sw/inc/unoatxt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,10 +41,10 @@ #include <com/sun/star/document/XEventsSupplier.hpp> #include <svl/itemprop.hxx> #include <svl/lstner.hxx> -#include <cppuhelper/implbase3.hxx> // helper for implementations -#include <cppuhelper/implbase4.hxx> // helper for implementations -#include <cppuhelper/implbase5.hxx> // helper for implementations -#include <cppuhelper/implbase6.hxx> // helper for implementations +#include <cppuhelper/implbase3.hxx> // helper for implementations +#include <cppuhelper/implbase4.hxx> // helper for implementations +#include <cppuhelper/implbase5.hxx> // helper for implementations +#include <cppuhelper/implbase6.hxx> // helper for implementations #include <svtools/unoevent.hxx> class SwTextBlocks; class SwGlossaries; @@ -76,7 +76,7 @@ class SwXAutoTextContainer : public cppu::WeakImplHelper3 SwGlossaries *pGlossaries; protected: - virtual ~SwXAutoTextContainer(); // ref-counted objects are not to be deleted from outside -> protected dtor + virtual ~SwXAutoTextContainer(); // ref-counted objects are not to be deleted from outside -> protected dtor public: SwXAutoTextContainer(); @@ -119,15 +119,15 @@ class SwXAutoTextGroup : public cppu::WeakImplHelper6 > { const SfxItemPropertySet* pPropSet; - SwGlossaries* pGlossaries; - rtl::OUString sName; - String m_sGroupName; // prefix m_ to disambiguate from some local vars in the implementation + SwGlossaries* pGlossaries; + rtl::OUString sName; + String m_sGroupName; // prefix m_ to disambiguate from some local vars in the implementation protected: - virtual ~SwXAutoTextGroup(); // ref-counted objects are not to be deleted from outside -> protected dtor + virtual ~SwXAutoTextGroup(); // ref-counted objects are not to be deleted from outside -> protected dtor public: - SwXAutoTextGroup(const rtl::OUString& rName, SwGlossaries* pGloss/*SwTextBlocks* pGroup*/); + SwXAutoTextGroup(const rtl::OUString& rName, SwGlossaries* pGloss/*SwTextBlocks* pGroup*/); static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId(); @@ -173,7 +173,7 @@ public: virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); // - void Invalidate(); + void Invalidate(); }; /* -----------------17.06.98 12:03------------------- @@ -190,11 +190,11 @@ class SwXAutoTextEntry ::com::sun::star::document::XEventsSupplier > { - SwGlossaries* pGlossaries; - String sGroupName; - String sEntryName; - SwDocShellRef xDocSh; - SwXBodyText* pBodyText; + SwGlossaries* pGlossaries; + String sGroupName; + String sEntryName; + SwDocShellRef xDocSh; + SwXBodyText* pBodyText; com::sun::star::uno::Reference < com::sun::star::lang::XServiceInfo> xBodyText; void EnsureBodyText () @@ -216,13 +216,13 @@ protected: (in-memory) copy to disk.</p> */ - void implFlushDocument( bool _bCloseDoc = false ); + void implFlushDocument( bool _bCloseDoc = false ); // SfxListener overridables - virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); + virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); protected: - virtual ~SwXAutoTextEntry(); // ref-counted objects are not to be deleted from outside -> protected dtor + virtual ~SwXAutoTextEntry(); // ref-counted objects are not to be deleted from outside -> protected dtor public: SwXAutoTextEntry(SwGlossaries* , const String& rGroupName, const String& rEntryName); @@ -248,7 +248,7 @@ public: virtual void SAL_CALL setString(const rtl::OUString& aString) throw( ::com::sun::star::uno::RuntimeException ); //XAutoTextEntry - virtual void SAL_CALL applyTo(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xRange)throw( ::com::sun::star::uno::RuntimeException ); + virtual void SAL_CALL applyTo(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xRange)throw( ::com::sun::star::uno::RuntimeException ); //XServiceInfo virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); @@ -258,10 +258,10 @@ public: // XEventsSupplier virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > SAL_CALL getEvents( ) throw( ::com::sun::star::uno::RuntimeException ); - void Invalidate() {pGlossaries = 0;} + void Invalidate() {pGlossaries = 0;} const SwGlossaries* GetGlossaries() { return pGlossaries; } - const String& GetGroupName() {return sGroupName;} - const String& GetEntryName() {return sEntryName;} + const String& GetGroupName() {return sGroupName;} + const String& GetEntryName() {return sEntryName;} }; @@ -276,30 +276,30 @@ class SwAutoTextEventDescriptor : public SvBaseEventDescriptor using SvBaseEventDescriptor::getByName; public: - SwAutoTextEventDescriptor( SwXAutoTextEntry& rAutoText ); + SwAutoTextEventDescriptor( SwXAutoTextEntry& rAutoText ); ~SwAutoTextEventDescriptor(); - virtual rtl::OUString SAL_CALL getImplementationName(void) + virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); protected: - virtual void replaceByName( - const USHORT nEvent, /// item ID of event - const SvxMacro& rMacro) /// event (will be copied) + virtual void replaceByName( + const USHORT nEvent, /// item ID of event + const SvxMacro& rMacro) /// event (will be copied) throw( - ::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::container::NoSuchElementException, - ::com::sun::star::lang::WrappedTargetException, + ::com::sun::star::lang::IllegalArgumentException, + ::com::sun::star::container::NoSuchElementException, + ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); - virtual void getByName( - SvxMacro& rMacro, /// macro to be filled - const USHORT nEvent ) /// item ID of event + virtual void getByName( + SvxMacro& rMacro, /// macro to be filled + const USHORT nEvent ) /// item ID of event throw( - ::com::sun::star::container::NoSuchElementException, - ::com::sun::star::lang::WrappedTargetException, + ::com::sun::star::container::NoSuchElementException, + ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); }; diff --git a/sw/inc/unobaseclass.hxx b/sw/inc/unobaseclass.hxx index 28ea05d5a3cf..2821e277e7bf 100644 --- a/sw/inc/unobaseclass.hxx +++ b/sw/inc/unobaseclass.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -98,7 +98,7 @@ class UnoActionRemoveContext ::com::sun::star::uno::Sequence< sal_Int8 > CreateUnoTunnelId(); -/// helper function for implementing SwClient::Modify +/// helper function for implementing SwClient::Modify void ClientModify(SwClient* pClient, SfxPoolItem *pOld, SfxPoolItem *pNew); diff --git a/sw/inc/unobookmark.hxx b/sw/inc/unobookmark.hxx index 3fb7ea005f48..f21928631cea 100644 --- a/sw/inc/unobookmark.hxx +++ b/sw/inc/unobookmark.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx index 86c2df6bad22..ac28d85fcab2 100644 --- a/sw/inc/unochart.hxx +++ b/sw/inc/unochart.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -169,7 +169,7 @@ class SwChartDataProvider : ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDataSource > SAL_CALL Impl_createDataSource( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArguments, sal_Bool bTestOnly = sal_False ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDataSequence > SAL_CALL Impl_createDataSequenceByRangeRepresentation( const ::rtl::OUString& aRangeRepresentation, sal_Bool bTestOnly = sal_False ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); - + rtl::OUString GetBrokenCellRangeForExport( const rtl::OUString &rCellRangeRepresentation ); public: @@ -283,7 +283,7 @@ class SwChartDataSequence : SwChartDataProvider * pDataProvider; SwUnoCrsr* pTblCrsr; // cursor spanned over cells to use - SwDepend aCursorDepend; //the cursor is removed after the doc has been removed + SwDepend aCursorDepend; //the cursor is removed after the doc has been removed const SfxItemPropertySet* _pPropSet; @@ -391,7 +391,7 @@ class SwChartLabeledDataSequence : SwChartLabeledDataSequence( const SwChartLabeledDataSequence & ); SwChartLabeledDataSequence & operator = ( const SwChartLabeledDataSequence & ); - void SetDataSequence( ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDataSequence >& rxDest, const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDataSequence >& rxSource ); + void SetDataSequence( ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDataSequence >& rxDest, const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDataSequence >& rxSource ); public: diff --git a/sw/inc/unocoll.hxx b/sw/inc/unocoll.hxx index 8ac484dfe59d..230c0f335e39 100644 --- a/sw/inc/unocoll.hxx +++ b/sw/inc/unocoll.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -36,9 +36,9 @@ #include <com/sun/star/container/XIndexAccess.hpp> #include <tools/string.hxx> #include <cppuhelper/implbase1.hxx> // helper for implementations -#include <cppuhelper/implbase2.hxx> // helper for implementations -#include <cppuhelper/implbase3.hxx> // helper for implementations -#include <cppuhelper/implbase4.hxx> // helper for implementations +#include <cppuhelper/implbase2.hxx> // helper for implementations +#include <cppuhelper/implbase3.hxx> // helper for implementations +#include <cppuhelper/implbase4.hxx> // helper for implementations #include <IMark.hxx> #include <unobaseclass.hxx> #include "swdllapi.h" @@ -68,72 +68,72 @@ class SwXBookmark; --------------------------------------------------*/ class SwUnoCollection { - SwDoc* pDoc; - sal_Bool bObjectValid; + SwDoc* pDoc; + sal_Bool bObjectValid; public: SwUnoCollection(SwDoc* p) : pDoc(p), bObjectValid(sal_True){} - virtual void Invalidate(); - sal_Bool IsValid() const {return bObjectValid;} + virtual void Invalidate(); + sal_Bool IsValid() const {return bObjectValid;} - SwDoc* GetDoc() const {return pDoc;} + SwDoc* GetDoc() const {return pDoc;} }; /****************************************************************************** * ******************************************************************************/ -#define SW_SERVICE_TYPE_TEXTTABLE 0 -#define SW_SERVICE_TYPE_TEXTFRAME 1 -#define SW_SERVICE_TYPE_GRAPHIC 2 -#define SW_SERVICE_TYPE_OLE 3 -#define SW_SERVICE_TYPE_BOOKMARK 4 -#define SW_SERVICE_TYPE_FOOTNOTE 5 -#define SW_SERVICE_TYPE_ENDNOTE 6 -#define SW_SERVICE_TYPE_INDEXMARK 7 -#define SW_SERVICE_TYPE_INDEX 8 -#define SW_SERVICE_REFERENCE_MARK 9 -#define SW_SERVICE_STYLE_CHARACTER_STYLE 10 -#define SW_SERVICE_STYLE_PARAGRAPH_STYLE 11 -#define SW_SERVICE_STYLE_FRAME_STYLE 12 -#define SW_SERVICE_STYLE_PAGE_STYLE 13 -#define SW_SERVICE_STYLE_NUMBERING_STYLE 14 -#define SW_SERVICE_CONTENT_INDEX_MARK 15 -#define SW_SERVICE_CONTENT_INDEX 16 -#define SW_SERVICE_USER_INDEX_MARK 17 -#define SW_SERVICE_USER_INDEX 18 -#define SW_SERVICE_TEXT_SECTION 19 -#define SW_SERVICE_FIELDTYPE_DATETIME 20 -#define SW_SERVICE_FIELDTYPE_USER 21 -#define SW_SERVICE_FIELDTYPE_SET_EXP 22 -#define SW_SERVICE_FIELDTYPE_GET_EXP 23 -#define SW_SERVICE_FIELDTYPE_FILE_NAME 24 -#define SW_SERVICE_FIELDTYPE_PAGE_NUM 25 -#define SW_SERVICE_FIELDTYPE_AUTHOR 26 -#define SW_SERVICE_FIELDTYPE_CHAPTER 27 -#define SW_SERVICE_FIELDTYPE_DUMMY_0 28 -#define SW_SERVICE_FIELDTYPE_GET_REFERENCE 29 -#define SW_SERVICE_FIELDTYPE_CONDITIONED_TEXT 30 -#define SW_SERVICE_FIELDTYPE_ANNOTATION 31 -#define SW_SERVICE_FIELDTYPE_INPUT 32 -#define SW_SERVICE_FIELDTYPE_MACRO 33 -#define SW_SERVICE_FIELDTYPE_DDE 34 -#define SW_SERVICE_FIELDTYPE_HIDDEN_PARA 35 -#define SW_SERVICE_FIELDTYPE_DOC_INFO 36 -#define SW_SERVICE_FIELDTYPE_TEMPLATE_NAME 37 -#define SW_SERVICE_FIELDTYPE_USER_EXT 38 -#define SW_SERVICE_FIELDTYPE_REF_PAGE_SET 39 -#define SW_SERVICE_FIELDTYPE_REF_PAGE_GET 40 -#define SW_SERVICE_FIELDTYPE_JUMP_EDIT 41 -#define SW_SERVICE_FIELDTYPE_SCRIPT 42 -#define SW_SERVICE_FIELDTYPE_DATABASE_NEXT_SET 43 -#define SW_SERVICE_FIELDTYPE_DATABASE_NUM_SET 44 -#define SW_SERVICE_FIELDTYPE_DATABASE_SET_NUM 45 -#define SW_SERVICE_FIELDTYPE_DATABASE 46 -#define SW_SERVICE_FIELDTYPE_DATABASE_NAME 47 +#define SW_SERVICE_TYPE_TEXTTABLE 0 +#define SW_SERVICE_TYPE_TEXTFRAME 1 +#define SW_SERVICE_TYPE_GRAPHIC 2 +#define SW_SERVICE_TYPE_OLE 3 +#define SW_SERVICE_TYPE_BOOKMARK 4 +#define SW_SERVICE_TYPE_FOOTNOTE 5 +#define SW_SERVICE_TYPE_ENDNOTE 6 +#define SW_SERVICE_TYPE_INDEXMARK 7 +#define SW_SERVICE_TYPE_INDEX 8 +#define SW_SERVICE_REFERENCE_MARK 9 +#define SW_SERVICE_STYLE_CHARACTER_STYLE 10 +#define SW_SERVICE_STYLE_PARAGRAPH_STYLE 11 +#define SW_SERVICE_STYLE_FRAME_STYLE 12 +#define SW_SERVICE_STYLE_PAGE_STYLE 13 +#define SW_SERVICE_STYLE_NUMBERING_STYLE 14 +#define SW_SERVICE_CONTENT_INDEX_MARK 15 +#define SW_SERVICE_CONTENT_INDEX 16 +#define SW_SERVICE_USER_INDEX_MARK 17 +#define SW_SERVICE_USER_INDEX 18 +#define SW_SERVICE_TEXT_SECTION 19 +#define SW_SERVICE_FIELDTYPE_DATETIME 20 +#define SW_SERVICE_FIELDTYPE_USER 21 +#define SW_SERVICE_FIELDTYPE_SET_EXP 22 +#define SW_SERVICE_FIELDTYPE_GET_EXP 23 +#define SW_SERVICE_FIELDTYPE_FILE_NAME 24 +#define SW_SERVICE_FIELDTYPE_PAGE_NUM 25 +#define SW_SERVICE_FIELDTYPE_AUTHOR 26 +#define SW_SERVICE_FIELDTYPE_CHAPTER 27 +#define SW_SERVICE_FIELDTYPE_DUMMY_0 28 +#define SW_SERVICE_FIELDTYPE_GET_REFERENCE 29 +#define SW_SERVICE_FIELDTYPE_CONDITIONED_TEXT 30 +#define SW_SERVICE_FIELDTYPE_ANNOTATION 31 +#define SW_SERVICE_FIELDTYPE_INPUT 32 +#define SW_SERVICE_FIELDTYPE_MACRO 33 +#define SW_SERVICE_FIELDTYPE_DDE 34 +#define SW_SERVICE_FIELDTYPE_HIDDEN_PARA 35 +#define SW_SERVICE_FIELDTYPE_DOC_INFO 36 +#define SW_SERVICE_FIELDTYPE_TEMPLATE_NAME 37 +#define SW_SERVICE_FIELDTYPE_USER_EXT 38 +#define SW_SERVICE_FIELDTYPE_REF_PAGE_SET 39 +#define SW_SERVICE_FIELDTYPE_REF_PAGE_GET 40 +#define SW_SERVICE_FIELDTYPE_JUMP_EDIT 41 +#define SW_SERVICE_FIELDTYPE_SCRIPT 42 +#define SW_SERVICE_FIELDTYPE_DATABASE_NEXT_SET 43 +#define SW_SERVICE_FIELDTYPE_DATABASE_NUM_SET 44 +#define SW_SERVICE_FIELDTYPE_DATABASE_SET_NUM 45 +#define SW_SERVICE_FIELDTYPE_DATABASE 46 +#define SW_SERVICE_FIELDTYPE_DATABASE_NAME 47 #define SW_SERVICE_FIELDTYPE_TABLE_FORMULA 48 #define SW_SERVICE_FIELDTYPE_PAGE_COUNT 49 #define SW_SERVICE_FIELDTYPE_PARAGRAPH_COUNT 50 @@ -167,7 +167,7 @@ class SwUnoCollection #define SW_SERVICE_FIELDTYPE_DUMMY_5 78 #define SW_SERVICE_FIELDTYPE_DUMMY_6 79 #define SW_SERVICE_FIELDTYPE_DUMMY_7 80 -#define SW_SERVICE_FIELDMASTER_USER 81 +#define SW_SERVICE_FIELDMASTER_USER 81 #define SW_SERVICE_FIELDMASTER_DDE 82 #define SW_SERVICE_FIELDMASTER_SET_EXP 83 #define SW_SERVICE_FIELDMASTER_DATABASE 84 @@ -176,18 +176,18 @@ class SwUnoCollection #define SW_SERVICE_FIELDMASTER_DUMMY3 87 #define SW_SERVICE_FIELDMASTER_DUMMY4 88 #define SW_SERVICE_FIELDMASTER_DUMMY5 89 -#define SW_SERVICE_INDEX_ILLUSTRATIONS 90 +#define SW_SERVICE_INDEX_ILLUSTRATIONS 90 #define SW_SERVICE_INDEX_OBJECTS 91 #define SW_SERVICE_INDEX_TABLES 92 #define SW_SERVICE_INDEX_BIBLIOGRAPHY 93 -#define SW_SERVICE_PARAGRAPH 94 -#define SW_SERVICE_FIELDTYPE_INPUT_USER 95 -#define SW_SERVICE_FIELDTYPE_HIDDEN_TEXT 96 -#define SW_SERVICE_STYLE_CONDITIONAL_PARAGRAPH_STYLE 97 -#define SW_SERVICE_NUMBERING_RULES 98 -#define SW_SERVICE_TEXT_COLUMNS 99 -#define SW_SERVICE_INDEX_HEADER_SECTION 100 -#define SW_SERVICE_DEFAULTS 101 +#define SW_SERVICE_PARAGRAPH 94 +#define SW_SERVICE_FIELDTYPE_INPUT_USER 95 +#define SW_SERVICE_FIELDTYPE_HIDDEN_TEXT 96 +#define SW_SERVICE_STYLE_CONDITIONAL_PARAGRAPH_STYLE 97 +#define SW_SERVICE_NUMBERING_RULES 98 +#define SW_SERVICE_TEXT_COLUMNS 99 +#define SW_SERVICE_INDEX_HEADER_SECTION 100 +#define SW_SERVICE_DEFAULTS 101 #define SW_SERVICE_IMAP_RECTANGLE 102 #define SW_SERVICE_IMAP_CIRCLE 103 #define SW_SERVICE_IMAP_POLYGON 104 @@ -203,7 +203,7 @@ class SwUnoCollection #define SW_SERVICE_LAST SW_SERVICE_VBAGLOBALS -#define SW_SERVICE_INVALID USHRT_MAX +#define SW_SERVICE_INVALID USHRT_MAX // // case-corrected versions of service-names (see #i67811) @@ -270,10 +270,10 @@ class SwUnoCollection class SwXServiceProvider { public: - static rtl::OUString GetProviderName(sal_uInt16 nObjectType); - static sal_uInt16 GetProviderType(const rtl::OUString& rServiceName); - static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > MakeInstance(sal_uInt16 nObjectType, SwDoc* pDoc); - static ::com::sun::star::uno::Sequence<rtl::OUString> GetAllServiceNames(); + static rtl::OUString GetProviderName(sal_uInt16 nObjectType); + static sal_uInt16 GetProviderType(const rtl::OUString& rServiceName); + static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > MakeInstance(sal_uInt16 nObjectType, SwDoc* pDoc); + static ::com::sun::star::uno::Sequence<rtl::OUString> GetAllServiceNames(); }; /*-----------------11.12.97 09:38------------------- @@ -314,7 +314,7 @@ virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::st virtual BOOL SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException ); virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); - static ::com::sun::star::text::XTextTable* GetObject( SwFrmFmt& rFmt ); + static ::com::sun::star::text::XTextTable* GetObject( SwFrmFmt& rFmt ); }; typedef @@ -329,7 +329,7 @@ cppu::WeakImplHelper4 class SwXFrames : public SwXFramesBaseClass, public SwUnoCollection { - const FlyCntType eType; + const FlyCntType eType; protected: virtual ~SwXFrames(); public: @@ -357,7 +357,7 @@ public: virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); FlyCntType GetType()const{return eType;} - static SwXFrame* GetObject( SwFrmFmt& rFmt, FlyCntType eType ); + static SwXFrame* GetObject( SwFrmFmt& rFmt, FlyCntType eType ); }; @@ -372,7 +372,7 @@ public: SwXTextFrames(SwDoc* pDoc); -// SMART_UNO_DECLARATION( SwXTextFrames, UsrObject ); +// SMART_UNO_DECLARATION( SwXTextFrames, UsrObject ); //XServiceInfo virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); @@ -392,7 +392,7 @@ public: SwXTextGraphicObjects(SwDoc* pDoc); -// SMART_UNO_DECLARATION( SwXTextGraphicObjects, UsrObject ); +// SMART_UNO_DECLARATION( SwXTextGraphicObjects, UsrObject ); //XServiceInfo virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); @@ -412,7 +412,7 @@ public: SwXTextEmbeddedObjects(SwDoc* pDoc); -// SMART_UNO_DECLARATION( SwXTextEmbeddedObjects, UsrObject ); +// SMART_UNO_DECLARATION( SwXTextEmbeddedObjects, UsrObject ); //XServiceInfo virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); diff --git a/sw/inc/unocore.hrc b/sw/inc/unocore.hrc index 428229d88968..67ef961aa3e7 100644 --- a/sw/inc/unocore.hrc +++ b/sw/inc/unocore.hrc @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/unocrsr.hxx b/sw/inc/unocrsr.hxx index c0fc440ca5dd..a286ace5c998 100644 --- a/sw/inc/unocrsr.hxx +++ b/sw/inc/unocrsr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -56,7 +56,7 @@ protected: public: -// virtual SwCursor* Create( SwPaM* pRing = 0 ) const; +// virtual SwCursor* Create( SwPaM* pRing = 0 ) const; // gibt es eine Selection vom Content in die Tabelle // Return Wert gibt an, ob der Crsr auf der alten Position verbleibt @@ -67,8 +67,8 @@ public: virtual bool IsReadOnlyAvailable() const; - BOOL IsRemainInSection() const { return bRemainInSection; } - void SetRemainInSection( BOOL bFlag ) { bRemainInSection = bFlag; } + BOOL IsRemainInSection() const { return bRemainInSection; } + void SetRemainInSection( BOOL bFlag ) { bRemainInSection = bFlag; } virtual BOOL IsSkipOverProtectSections() const { return bSkipOverProtectSections; } @@ -101,7 +101,7 @@ public: SwUnoTableCrsr( const SwPosition& rPos ); virtual ~SwUnoTableCrsr(); -// virtual SwCursor* Create( SwPaM* pRing = 0 ) const; +// virtual SwCursor* Create( SwPaM* pRing = 0 ) const; // gibt es eine Selection vom Content in die Tabelle // Return Wert gibt an, ob der Crsr auf der alten Position verbleibt @@ -114,8 +114,8 @@ public: void MakeBoxSels(); - SwCursor& GetSelRing() { return aTblSel; } - const SwCursor& GetSelRing() const { return aTblSel; } + SwCursor& GetSelRing() { return aTblSel; } + const SwCursor& GetSelRing() const { return aTblSel; } }; diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx index 982f11834ff6..5e186ce782b7 100644 --- a/sw/inc/unocrsrhelper.hxx +++ b/sw/inc/unocrsrhelper.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -98,38 +98,38 @@ namespace SwUnoCursorHelper , com::sun::star::beans::PropertyState& eState , const SwTxtNode* pNode = 0 ); - void GetCurPageStyle(SwPaM& rPaM, String &rString); + void GetCurPageStyle(SwPaM& rPaM, String &rString); - inline sal_Bool IsStartOfPara(SwPaM& rUnoCrsr) + inline sal_Bool IsStartOfPara(SwPaM& rUnoCrsr) { return rUnoCrsr.GetPoint()->nContent == 0;} - inline sal_Bool IsEndOfPara(SwPaM& rUnoCrsr) + inline sal_Bool IsEndOfPara(SwPaM& rUnoCrsr) { return rUnoCrsr.GetCntntNode() && rUnoCrsr.GetPoint()->nContent == rUnoCrsr.GetCntntNode()->Len();} void resetCrsrPropertyValue(const SfxItemPropertySimpleEntry& rEntry, SwPaM& rPam); - void InsertFile(SwUnoCrsr* pUnoCrsr, + void InsertFile(SwUnoCrsr* pUnoCrsr, const String& rURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rOptions ) throw( com::sun::star::lang::IllegalArgumentException, com::sun::star::io::IOException, com::sun::star::uno::RuntimeException ); - void getNumberingProperty( + void getNumberingProperty( SwPaM& rPam, com::sun::star::beans::PropertyState& eState, com::sun::star::uno::Any *pAny ); - void setNumberingProperty( + void setNumberingProperty( const com::sun::star::uno::Any& rValue, SwPaM& rPam); - sal_Int16 IsNodeNumStart( + sal_Int16 IsNodeNumStart( SwPaM& rPam, com::sun::star::beans::PropertyState& eState); sal_Bool DocInsertStringSplitCR( SwDoc &rDoc, const SwPaM &rNewCursor, const String &rText, const bool bForceExpandHints ); - void makeRedline( SwPaM& rPaM, const ::rtl::OUString& RedlineType, - const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& RedlineProperties ) + void makeRedline( SwPaM& rPaM, const ::rtl::OUString& RedlineType, + const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& RedlineProperties ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); diff --git a/sw/inc/unodraw.hxx b/sw/inc/unodraw.hxx index 5dcaf6605b43..57b90c7a9e4f 100644 --- a/sw/inc/unodraw.hxx +++ b/sw/inc/unodraw.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -56,7 +56,7 @@ class SwDoc; ******************************************************************************/ class SwFmDrawPage : public SvxFmDrawPage { - SdrPageView* pPageView; + SdrPageView* pPageView; protected: // Erzeugen eines SdrObjects anhand einer Description. Kann von @@ -68,14 +68,14 @@ public: SwFmDrawPage( SdrPage* pPage ); virtual ~SwFmDrawPage() throw (); - const SdrMarkList& PreGroup(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes > & xShapes); - void PreUnGroup(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapeGroup > xShapeGroup); -// void PostGroup(); ?? wird es noch gebraucht ?? + const SdrMarkList& PreGroup(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes > & xShapes); + void PreUnGroup(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapeGroup > xShapeGroup); +// void PostGroup(); ?? wird es noch gebraucht ?? - SdrView* GetDrawView() {return mpView;} - SdrPageView* GetPageView(); - void RemovePageView(); - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > GetInterface( SdrObject* pObj ); + SdrView* GetDrawView() {return mpView;} + SdrPageView* GetPageView(); + void RemovePageView(); + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > GetInterface( SdrObject* pObj ); // Die folgende Methode wird gerufen, wenn ein SvxShape-Objekt angelegt // werden soll. abgeleitete Klassen koennen hier eine Ableitung oder @@ -93,8 +93,8 @@ typedef cppu::WeakAggImplHelper4 SwXDrawPageBaseClass; class SwXDrawPage : public SwXDrawPageBaseClass { - SwDoc* pDoc; - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation > xPageAgg; + SwDoc* pDoc; + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation > xPageAgg; SwFmDrawPage* pDrawPage; public: SwXDrawPage(SwDoc* pDoc); @@ -127,9 +127,9 @@ public: virtual BOOL SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException ); virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); - SwFmDrawPage* GetSvxPage(); + SwFmDrawPage* GetSvxPage(); // renamed and outlined to detect where it's called - void InvalidateSwDoc(); // {pDoc = 0;} + void InvalidateSwDoc(); // {pDoc = 0;} }; /* -----------------22.01.99 10:20------------------- * @@ -167,13 +167,13 @@ class SwXShape : public SwXShapeBaseClass, const SfxItemPropertyMapEntry* m_pPropertyMapEntries; com::sun::star::uno::Sequence< sal_Int8 >* pImplementationId; - SwShapeDescriptor_Impl* pImpl; + SwShapeDescriptor_Impl* pImpl; - sal_Bool m_bDescriptor; + sal_Bool m_bDescriptor; - SwFrmFmt* GetFrmFmt() const { return (SwFrmFmt*)GetRegisteredIn(); } + SwFrmFmt* GetFrmFmt() const { return (SwFrmFmt*)GetRegisteredIn(); } - SvxShape* GetSvxShape(); + SvxShape* GetSvxShape(); /** method to determine top group object @@ -314,8 +314,8 @@ public: //SwClient virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); - SwShapeDescriptor_Impl* GetDescImpl() {return pImpl;} - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation > GetAggregationInterface() {return xShapeAgg;} + SwShapeDescriptor_Impl* GetDescImpl() {return pImpl;} + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation > GetAggregationInterface() {return xShapeAgg;} // helper static void AddExistingShapeToFmt( SdrObject& _rObj ); diff --git a/sw/inc/unoevent.hxx b/sw/inc/unoevent.hxx index d99b926a646b..10f574307516 100644 --- a/sw/inc/unoevent.hxx +++ b/sw/inc/unoevent.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -48,7 +48,7 @@ class SwHyperlinkEventDescriptor : public SvDetachedEventDescriptor const ::rtl::OUString sImplName; //XServiceInfo - virtual rtl::OUString SAL_CALL getImplementationName(void) + virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); protected: virtual ~SwHyperlinkEventDescriptor(); @@ -56,7 +56,7 @@ public: SwHyperlinkEventDescriptor(); - + void copyMacrosFromINetFmt(const SwFmtINetFmt& aFmt); void copyMacrosIntoINetFmt(SwFmtINetFmt& aFmt); @@ -68,7 +68,7 @@ public: -// SwEventDescriptor for +// SwEventDescriptor for // 1) SwXTextFrame // 2) SwXGraphicObject // 3) SwXEmbeddedObject @@ -86,7 +86,7 @@ public: ~SwFrameEventDescriptor(); - virtual rtl::OUString SAL_CALL getImplementationName(void) + virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); protected: @@ -106,7 +106,7 @@ public: ~SwFrameStyleEventDescriptor(); - virtual rtl::OUString SAL_CALL getImplementationName(void) + virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); protected: diff --git a/sw/inc/unoevtlstnr.hxx b/sw/inc/unoevtlstnr.hxx index c66568dbee53..2ca329e04202 100644 --- a/sw/inc/unoevtlstnr.hxx +++ b/sw/inc/unoevtlstnr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -38,7 +38,7 @@ namespace com{namespace sun{namespace star{ } }}} /* -----------------22.04.99 11:18------------------- - * Verwaltung der EventListener + * Verwaltung der EventListener * --------------------------------------------------*/ typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > * XEventListenerPtr; SV_DECL_PTRARR(SwEvtLstnrArray, XEventListenerPtr, 4, 4) @@ -46,15 +46,15 @@ SV_DECL_PTRARR(SwEvtLstnrArray, XEventListenerPtr, 4, 4) class SwEventListenerContainer { protected: - SwEvtLstnrArray* pListenerArr; - ::com::sun::star::uno::XInterface* pxParent; + SwEvtLstnrArray* pListenerArr; + ::com::sun::star::uno::XInterface* pxParent; public: SwEventListenerContainer( ::com::sun::star::uno::XInterface* pxParent); ~SwEventListenerContainer(); - void AddListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & rxListener); - BOOL RemoveListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & rxListener); - void Disposing(); + void AddListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & rxListener); + BOOL RemoveListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & rxListener); + void Disposing(); }; #endif diff --git a/sw/inc/unofield.hxx b/sw/inc/unofield.hxx index f5adfba99cbf..b1ae9386cb74 100644 --- a/sw/inc/unofield.hxx +++ b/sw/inc/unofield.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -59,21 +59,21 @@ class SwXFieldMaster : public cppu::WeakImplHelper4 >, public SwClient { - SwEventListenerContainer aLstnrCntnr; + SwEventListenerContainer aLstnrCntnr; sal_uInt16 nResTypeId; - SwDoc* m_pDoc; + SwDoc* m_pDoc; sal_Bool m_bIsDescriptor; - String sParam1; //Content / Database / NumberingSeparator - String sParam2; // - /DataTablename - String sParam3; // - /DataFieldName + String sParam1; //Content / Database / NumberingSeparator + String sParam2; // - /DataTablename + String sParam3; // - /DataFieldName String sParam4; String sParam5; // - /DataBaseURL String sParam6; // - /DataBaseResource - double fParam1; // Value / - - sal_Int8 nParam1; // ChapterNumberingLevel - sal_Bool bParam1; // IsExpression + double fParam1; // Value / - + sal_Int8 nParam1; // ChapterNumberingLevel + sal_Bool bParam1; // IsExpression sal_Int32 nParam2; protected: @@ -82,7 +82,7 @@ public: SwXFieldMaster(SwDoc* pDoc, sal_uInt16 nResId); SwXFieldMaster(SwFieldType& rType, SwDoc* pDoc); - + TYPEINFO(); @@ -117,10 +117,10 @@ public: static rtl::OUString LocalizeFormula(const SwSetExpField& rFld, const rtl::OUString& rFormula, sal_Bool bQuery); SwFieldType* GetFldType(sal_Bool bDontCreate = sal_False) const; - SwDoc* GetDoc() {return m_pDoc;} + SwDoc* GetDoc() {return m_pDoc;} - sal_Bool IsDescriptor()const {return m_bIsDescriptor;} - sal_uInt16 GetResId() const {return nResTypeId;} + sal_Bool IsDescriptor()const {return m_bIsDescriptor;} + sal_uInt16 GetResId() const {return nResTypeId;} }; /* -----------------04.12.98 12:49------------------- @@ -137,27 +137,27 @@ class SwXTextField : public cppu::WeakImplHelper5 >, public SwClient { - SwEventListenerContainer aLstnrCntnr; - const SwFmtFld* pFmtFld; - SwDoc* m_pDoc; - SwTextAPIObject* m_pTextObject; + SwEventListenerContainer aLstnrCntnr; + const SwFmtFld* pFmtFld; + SwDoc* m_pDoc; + SwTextAPIObject* m_pTextObject; - sal_Bool m_bIsDescriptor; + sal_Bool m_bIsDescriptor; SwClient m_aFieldTypeClient; // required to access field master of not yet inserted fields sal_Bool m_bCallUpdate; sal_uInt16 m_nServiceId; - SwFieldProperties_Impl* m_pProps; - String m_sTypeName; + SwFieldProperties_Impl* m_pProps; + String m_sTypeName; //SwFieldType* GetFldType() const { return (SwFieldType*)GetRegisteredIn(); } - SwDoc* GetDoc() {return m_pDoc;} + SwDoc* GetDoc() {return m_pDoc;} protected: virtual ~SwXTextField(); public: SwXTextField(sal_uInt16 nServiceId, SwDoc* pDoc=0); SwXTextField(const SwFmtFld& rFmt, SwDoc* pDoc); - + TYPEINFO(); @@ -204,8 +204,8 @@ public: void attachToRange(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange)throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException ); - const SwField* GetField() const; - const SwFmtFld* GetFldFmt(){return GetField() ? pFmtFld : 0; }; + const SwField* GetField() const; + const SwFmtFld* GetFldFmt(){return GetField() ? pFmtFld : 0; }; void Invalidate(); }; @@ -231,7 +231,7 @@ protected: virtual ~SwXTextFieldMasters(); public: SwXTextFieldMasters(SwDoc* pDoc); - + //XNameAccess virtual ::com::sun::star::uno::Any SAL_CALL getByName(const rtl::OUString& Name) throw( ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException ); @@ -270,7 +270,7 @@ protected: virtual ~SwXTextFieldTypes(); public: SwXTextFieldTypes(SwDoc* pDoc); - + //XEnumerationAccess virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL createEnumeration(void) throw( ::com::sun::star::uno::RuntimeException ); @@ -323,7 +323,7 @@ public: virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); //SwClient - virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); + virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); }; #endif diff --git a/sw/inc/unoflatpara.hxx b/sw/inc/unoflatpara.hxx index ff18c5c3b543..b67c8a4a6ce5 100644 --- a/sw/inc/unoflatpara.hxx +++ b/sw/inc/unoflatpara.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -64,7 +64,7 @@ public: SwXFlatParagraph( SwTxtNode& rTxtNode, rtl::OUString aExpandText, const ModelToViewHelper::ConversionMap* pConversionMap ); virtual ~SwXFlatParagraph(); - virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL acquire( ) throw(); virtual void SAL_CALL release( ) throw(); diff --git a/sw/inc/unofootnote.hxx b/sw/inc/unofootnote.hxx index 63032d13807c..4f5c047e52a0 100644 --- a/sw/inc/unofootnote.hxx +++ b/sw/inc/unofootnote.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx index 59dd1d161b5d..4fa35369bb5d 100644 --- a/sw/inc/unoframe.hxx +++ b/sw/inc/unoframe.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -72,22 +72,22 @@ class SwXFrame : public cppu::WeakImplHelper6 >, public SwClient { - SwEventListenerContainer aLstnrCntnr; + SwEventListenerContainer aLstnrCntnr; const SfxItemPropertySet* m_pPropSet; SwDoc* m_pDoc; - const FlyCntType eType; + const FlyCntType eType; // Descriptor-interface - BaseFrameProperties_Impl* pProps; - sal_Bool bIsDescriptor; - String sName; + BaseFrameProperties_Impl* pProps; + sal_Bool bIsDescriptor; + String sName; SwPaM* m_pCopySource; protected: - com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxStyleData; - com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > mxStyleFamily; + com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxStyleData; + com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > mxStyleFamily; virtual ~SwXFrame(); public: @@ -96,7 +96,7 @@ public: SwDoc *pDoc ); //Descriptor-If SwXFrame(SwFrmFmt& rFrmFmt, FlyCntType eSet, const SfxItemPropertySet* pPropSet); - + static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId(); @@ -147,22 +147,22 @@ public: virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); //SwClient - virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); + virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); void attachToRange(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange)throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException ); void attach( const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange >& xTextRange ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); - SwFrmFmt* GetFrmFmt() const + SwFrmFmt* GetFrmFmt() const { return PTR_CAST ( SwFrmFmt, GetRegisteredIn() ); } - FlyCntType GetFlyCntType()const {return eType;} + FlyCntType GetFlyCntType()const {return eType;} - sal_Bool IsDescriptor() const {return bIsDescriptor;} - void ResetDescriptor(); + sal_Bool IsDescriptor() const {return bIsDescriptor;} + void ResetDescriptor(); //copy text from a given source PaM void SetSelection(SwPaM& rCopySource); - static SW_DLLPUBLIC SdrObject *GetOrCreateSdrObject( SwFlyFrmFmt *pFmt ); + static SW_DLLPUBLIC SdrObject *GetOrCreateSdrObject( SwFlyFrmFmt *pFmt ); }; /*-----------------20.02.98 11:28------------------- @@ -262,7 +262,7 @@ protected: public: SwXTextGraphicObject( SwDoc *pDoc ); SwXTextGraphicObject(SwFrmFmt& rFmt); - + virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL acquire( ) throw(); @@ -311,7 +311,7 @@ protected: public: SwXTextEmbeddedObject( SwDoc *pDoc ); SwXTextEmbeddedObject(SwFrmFmt& rFmt); - + virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL acquire( ) throw(); diff --git a/sw/inc/unoidx.hxx b/sw/inc/unoidx.hxx index 8d5a5b7c52bb..a9d215abb07d 100644 --- a/sw/inc/unoidx.hxx +++ b/sw/inc/unoidx.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/unomailmerge.hxx b/sw/inc/unomailmerge.hxx index 6539fcefec4c..27b85fd973f1 100644 --- a/sw/inc/unomailmerge.hxx +++ b/sw/inc/unomailmerge.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/unomap.hxx b/sw/inc/unomap.hxx index e87954c16180..4f6e736d1b45 100644 --- a/sw/inc/unomap.hxx +++ b/sw/inc/unomap.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -32,92 +32,92 @@ #define PROPERTY_NONE 0 -#define PROPERTY_MAP_TEXT_CURSOR 0 -#define PROPERTY_MAP_CHAR_STYLE 1 -#define PROPERTY_MAP_PARA_STYLE 2 -#define PROPERTY_MAP_FRAME_STYLE 3 -#define PROPERTY_MAP_PAGE_STYLE 4 -#define PROPERTY_MAP_NUM_STYLE 5 -#define PROPERTY_MAP_SECTION 6 -#define PROPERTY_MAP_TEXT_TABLE 7 -#define PROPERTY_MAP_TABLE_CELL 8 -#define PROPERTY_MAP_TABLE_RANGE 9 -#define PROPERTY_MAP_TEXT_SEARCH 10 -#define PROPERTY_MAP_TEXT_FRAME 11 -#define PROPERTY_MAP_TEXT_GRAPHIC 12 -#define PROPERTY_MAP_TEXT_SHAPE 13 -#define PROPERTY_MAP_INDEX_USER 14 -#define PROPERTY_MAP_INDEX_CNTNT 15 -#define PROPERTY_MAP_INDEX_IDX 16 -#define PROPERTY_MAP_USER_MARK 17 -#define PROPERTY_MAP_CNTIDX_MARK 18 -#define PROPERTY_MAP_INDEX_MARK 19 -#define PROPERTY_MAP_TEXT_TABLE_ROW 20 -#define PROPERTY_MAP_TEXT_SHAPE_DESCRIPTOR 21 -#define PROPERTY_MAP_TEXT_TABLE_CURSOR 22 +#define PROPERTY_MAP_TEXT_CURSOR 0 +#define PROPERTY_MAP_CHAR_STYLE 1 +#define PROPERTY_MAP_PARA_STYLE 2 +#define PROPERTY_MAP_FRAME_STYLE 3 +#define PROPERTY_MAP_PAGE_STYLE 4 +#define PROPERTY_MAP_NUM_STYLE 5 +#define PROPERTY_MAP_SECTION 6 +#define PROPERTY_MAP_TEXT_TABLE 7 +#define PROPERTY_MAP_TABLE_CELL 8 +#define PROPERTY_MAP_TABLE_RANGE 9 +#define PROPERTY_MAP_TEXT_SEARCH 10 +#define PROPERTY_MAP_TEXT_FRAME 11 +#define PROPERTY_MAP_TEXT_GRAPHIC 12 +#define PROPERTY_MAP_TEXT_SHAPE 13 +#define PROPERTY_MAP_INDEX_USER 14 +#define PROPERTY_MAP_INDEX_CNTNT 15 +#define PROPERTY_MAP_INDEX_IDX 16 +#define PROPERTY_MAP_USER_MARK 17 +#define PROPERTY_MAP_CNTIDX_MARK 18 +#define PROPERTY_MAP_INDEX_MARK 19 +#define PROPERTY_MAP_TEXT_TABLE_ROW 20 +#define PROPERTY_MAP_TEXT_SHAPE_DESCRIPTOR 21 +#define PROPERTY_MAP_TEXT_TABLE_CURSOR 22 #define PROPERTY_MAP_BOOKMARK 23 #define PROPERTY_MAP_PARAGRAPH_EXTENSIONS 24 #define PROPERTY_MAP_INDEX_ILLUSTRATIONS 25 #define PROPERTY_MAP_INDEX_OBJECTS 26 #define PROPERTY_MAP_INDEX_TABLES 27 #define PROPERTY_MAP_BIBLIOGRAPHY 28 -#define PROPERTY_MAP_TEXT_DOCUMENT 29 +#define PROPERTY_MAP_TEXT_DOCUMENT 29 #define PROPERTY_MAP_LINK_TARGET 30 -#define PROPERTY_MAP_AUTO_TEXT_GROUP 31 +#define PROPERTY_MAP_AUTO_TEXT_GROUP 31 #define PROPERTY_MAP_TEXTPORTION_EXTENSIONS 34 -#define PROPERTY_MAP_FOOTNOTE 35 -#define PROPERTY_MAP_TEXT_COLUMS 36 -#define PROPERTY_MAP_PARAGRAPH 37 +#define PROPERTY_MAP_FOOTNOTE 35 +#define PROPERTY_MAP_TEXT_COLUMS 36 +#define PROPERTY_MAP_PARAGRAPH 37 #define PROPERTY_MAP_EMBEDDED_OBJECT 38 #define PROPERTY_MAP_REDLINE 39 #define PROPERTY_MAP_TEXT_DEFAULT 40 -#define PROPERTY_MAP_FLDTYP_DATETIME 41 -#define PROPERTY_MAP_FLDTYP_USER 42 -#define PROPERTY_MAP_FLDTYP_SET_EXP 43 -#define PROPERTY_MAP_FLDTYP_GET_EXP 44 -#define PROPERTY_MAP_FLDTYP_FILE_NAME 45 -#define PROPERTY_MAP_FLDTYP_PAGE_NUM 46 -#define PROPERTY_MAP_FLDTYP_AUTHOR 47 -#define PROPERTY_MAP_FLDTYP_CHAPTER 48 -#define PROPERTY_MAP_FLDTYP_GET_REFERENCE 49 -#define PROPERTY_MAP_FLDTYP_CONDITIONED_TEXT 50 -#define PROPERTY_MAP_FLDTYP_HIDDEN_TEXT 51 -#define PROPERTY_MAP_FLDTYP_ANNOTATION 52 -#define PROPERTY_MAP_FLDTYP_INPUT 53 -#define PROPERTY_MAP_FLDTYP_MACRO 54 -#define PROPERTY_MAP_FLDTYP_DDE 55 -#define PROPERTY_MAP_FLDTYP_HIDDEN_PARA 56 -#define PROPERTY_MAP_FLDTYP_DOC_INFO 57 -#define PROPERTY_MAP_FLDTYP_TEMPLATE_NAME 58 -#define PROPERTY_MAP_FLDTYP_USER_EXT 59 -#define PROPERTY_MAP_FLDTYP_REF_PAGE_SET 60 -#define PROPERTY_MAP_FLDTYP_REF_PAGE_GET 61 -#define PROPERTY_MAP_FLDTYP_JUMP_EDIT 62 -#define PROPERTY_MAP_FLDTYP_SCRIPT 63 -#define PROPERTY_MAP_FLDTYP_DATABASE_NEXT_SET 64 -#define PROPERTY_MAP_FLDTYP_DATABASE_NUM_SET 65 -#define PROPERTY_MAP_FLDTYP_DATABASE_SET_NUM 66 -#define PROPERTY_MAP_FLDTYP_DATABASE 67 -#define PROPERTY_MAP_FLDTYP_DATABASE_NAME 68 -#define PROPERTY_MAP_FLDTYP_DOCSTAT 69 -#define PROPERTY_MAP_FLDTYP_DOCINFO_AUTHOR 70 -#define PROPERTY_MAP_FLDTYP_DOCINFO_DATE_TIME 71 -#define PROPERTY_MAP_FLDTYP_DOCINFO_CHANGE_DATE_TIME 72 -#define PROPERTY_MAP_FLDTYP_DOCINFO_CREATE_DATE_TIME 73 -#define PROPERTY_MAP_FLDTYP_DOCINFO_EDIT_TIME 74 -#define PROPERTY_MAP_FLDTYP_DOCINFO_MISC 75 -#define PROPERTY_MAP_FLDTYP_DOCINFO_REVISION 76 -#define PROPERTY_MAP_FLDTYP_COMBINED_CHARACTERS 77 -#define PROPERTY_MAP_FLDTYP_DUMMY_0 78 -#define PROPERTY_MAP_FLDTYP_TABLE_FORMULA 79 -#define PROPERTY_MAP_FLDMSTR_USER 80 -#define PROPERTY_MAP_FLDMSTR_DDE 81 -#define PROPERTY_MAP_FLDMSTR_SET_EXP 82 -#define PROPERTY_MAP_FLDMSTR_DATABASE 83 -#define PROPERTY_MAP_FLDMSTR_DUMMY0 84 -#define PROPERTY_MAP_FLDTYP_BIBLIOGRAPHY 85 -#define PROPERTY_MAP_FLDMSTR_BIBLIOGRAPHY 86 +#define PROPERTY_MAP_FLDTYP_DATETIME 41 +#define PROPERTY_MAP_FLDTYP_USER 42 +#define PROPERTY_MAP_FLDTYP_SET_EXP 43 +#define PROPERTY_MAP_FLDTYP_GET_EXP 44 +#define PROPERTY_MAP_FLDTYP_FILE_NAME 45 +#define PROPERTY_MAP_FLDTYP_PAGE_NUM 46 +#define PROPERTY_MAP_FLDTYP_AUTHOR 47 +#define PROPERTY_MAP_FLDTYP_CHAPTER 48 +#define PROPERTY_MAP_FLDTYP_GET_REFERENCE 49 +#define PROPERTY_MAP_FLDTYP_CONDITIONED_TEXT 50 +#define PROPERTY_MAP_FLDTYP_HIDDEN_TEXT 51 +#define PROPERTY_MAP_FLDTYP_ANNOTATION 52 +#define PROPERTY_MAP_FLDTYP_INPUT 53 +#define PROPERTY_MAP_FLDTYP_MACRO 54 +#define PROPERTY_MAP_FLDTYP_DDE 55 +#define PROPERTY_MAP_FLDTYP_HIDDEN_PARA 56 +#define PROPERTY_MAP_FLDTYP_DOC_INFO 57 +#define PROPERTY_MAP_FLDTYP_TEMPLATE_NAME 58 +#define PROPERTY_MAP_FLDTYP_USER_EXT 59 +#define PROPERTY_MAP_FLDTYP_REF_PAGE_SET 60 +#define PROPERTY_MAP_FLDTYP_REF_PAGE_GET 61 +#define PROPERTY_MAP_FLDTYP_JUMP_EDIT 62 +#define PROPERTY_MAP_FLDTYP_SCRIPT 63 +#define PROPERTY_MAP_FLDTYP_DATABASE_NEXT_SET 64 +#define PROPERTY_MAP_FLDTYP_DATABASE_NUM_SET 65 +#define PROPERTY_MAP_FLDTYP_DATABASE_SET_NUM 66 +#define PROPERTY_MAP_FLDTYP_DATABASE 67 +#define PROPERTY_MAP_FLDTYP_DATABASE_NAME 68 +#define PROPERTY_MAP_FLDTYP_DOCSTAT 69 +#define PROPERTY_MAP_FLDTYP_DOCINFO_AUTHOR 70 +#define PROPERTY_MAP_FLDTYP_DOCINFO_DATE_TIME 71 +#define PROPERTY_MAP_FLDTYP_DOCINFO_CHANGE_DATE_TIME 72 +#define PROPERTY_MAP_FLDTYP_DOCINFO_CREATE_DATE_TIME 73 +#define PROPERTY_MAP_FLDTYP_DOCINFO_EDIT_TIME 74 +#define PROPERTY_MAP_FLDTYP_DOCINFO_MISC 75 +#define PROPERTY_MAP_FLDTYP_DOCINFO_REVISION 76 +#define PROPERTY_MAP_FLDTYP_COMBINED_CHARACTERS 77 +#define PROPERTY_MAP_FLDTYP_DUMMY_0 78 +#define PROPERTY_MAP_FLDTYP_TABLE_FORMULA 79 +#define PROPERTY_MAP_FLDMSTR_USER 80 +#define PROPERTY_MAP_FLDMSTR_DDE 81 +#define PROPERTY_MAP_FLDMSTR_SET_EXP 82 +#define PROPERTY_MAP_FLDMSTR_DATABASE 83 +#define PROPERTY_MAP_FLDMSTR_DUMMY0 84 +#define PROPERTY_MAP_FLDTYP_BIBLIOGRAPHY 85 +#define PROPERTY_MAP_FLDMSTR_BIBLIOGRAPHY 86 #define PROPERTY_MAP_TEXT 87 #define PROPERTY_MAP_REDLINE_PORTION 88 #define PROPERTY_MAP_MAILMERGE 89 @@ -128,13 +128,13 @@ #define PROPERTY_MAP_CHAR_AUTO_STYLE 94 #define PROPERTY_MAP_RUBY_AUTO_STYLE 95 #define PROPERTY_MAP_PARA_AUTO_STYLE 96 -#define PROPERTY_MAP_FLDTYP_DOCINFO_CUSTOM 97 +#define PROPERTY_MAP_FLDTYP_DOCINFO_CUSTOM 97 #define PROPERTY_MAP_METAFIELD 98 #define PROPERTY_MAP_END 99 //S&E -#define WID_WORDS 0 +#define WID_WORDS 0 #define WID_BACKWARDS 1 #define WID_REGULAR_EXPRESSION 2 #define WID_CASE_SENSITIVE 3 @@ -145,34 +145,34 @@ #define WID_SIMILARITY_EXCHANGE 8 #define WID_SIMILARITY_ADD 9 #define WID_SIMILARITY_REMOVE 10 -#define WID_SEARCH_ALL 11 +#define WID_SEARCH_ALL 11 //Sections -#define WID_SECT_CONDITION 8000 +#define WID_SECT_CONDITION 8000 #define WID_SECT_DDE_TYPE 8001 #define WID_SECT_DDE_FILE 8002 #define WID_SECT_DDE_ELEMENT 8003 #define WID_SECT_LINK 8004 #define WID_SECT_VISIBLE 8005 #define WID_SECT_PROTECTED 8006 -#define WID_SECT_REGION 8007 -#define WID_SECT_DDE_AUTOUPDATE 8008 +#define WID_SECT_REGION 8007 +#define WID_SECT_DDE_AUTOUPDATE 8008 #define WID_SECT_DOCUMENT_INDEX 8009 #define WID_SECT_IS_GLOBAL_DOC_SECTION 8010 -#define WID_SECT_PASSWORD 8011 +#define WID_SECT_PASSWORD 8011 #define WID_SECT_CURRENTLY_VISIBLE 8012 #define WID_SECT_EDIT_IN_READONLY 8013 //Verzeichnisse -#define WID_PRIMARY_KEY 1000 -#define WID_SECONDARY_KEY 1001 -#define WID_ALT_TEXT 1002 -#define WID_IDX_TITLE 1003 +#define WID_PRIMARY_KEY 1000 +#define WID_SECONDARY_KEY 1001 +#define WID_ALT_TEXT 1002 +#define WID_IDX_TITLE 1003 #define WID_LEVEL 1004 #define WID_CREATE_FROM_MARKS 1005 #define WID_CREATE_FROM_OUTLINE 1006 -#define WID_MAIN_ENTRY 1007 +#define WID_MAIN_ENTRY 1007 #define WID_CREATE_FROM_CHAPTER 1008 #define WID_CREATE_FROM_LABELS 1009 #define WID_USE_ALPHABETICAL_SEPARATORS 1010 @@ -202,7 +202,7 @@ #define WID_CREATE_FROM_STAR_CALC 1033 #define WID_CREATE_FROM_STAR_DRAW 1034 #define WID_CREATE_FROM_OTHER_EMBEDDED_OBJECTS 1035 -#define WID_USER_IDX_NAME 1036 +#define WID_USER_IDX_NAME 1036 #define WID_PARA_HEAD 1037 #define WID_PARA_SEP 1038 #define WID_PARA_LEV1 1039 @@ -217,39 +217,39 @@ #define WID_PARA_LEV10 1048 #define WID_IS_COMMA_SEPARATED 1049 #define WID_INDEX_MARKS 1050 -#define WID_IS_RELATIVE_TABSTOPS 1051 -#define WID_CREATE_FROM_PARAGRAPH_STYLES 1052 -#define WID_IDX_CONTENT_SECTION 1053 +#define WID_IS_RELATIVE_TABSTOPS 1051 +#define WID_CREATE_FROM_PARAGRAPH_STYLES 1052 +#define WID_IDX_CONTENT_SECTION 1053 #define WID_IDX_HEADER_SECTION 1054 #define WID_IDX_LOCALE 1055 #define WID_IDX_SORT_ALGORITHM 1056 -#define WID_IDX_NAME 1057 +#define WID_IDX_NAME 1057 #define WID_TEXT_READING 1058 #define WID_PRIMARY_KEY_READING 1059 #define WID_SECONDARY_KEY_READING 1060 //text document -#define WID_DOC_CHAR_COUNT 1000 -#define WID_DOC_PARA_COUNT 1001 -#define WID_DOC_WORD_COUNT 1002 -#define WID_DOC_WORD_SEPARATOR 1003 -#define WID_DOC_CHANGES_SHOW 1004 -#define WID_DOC_CHANGES_RECORD 1005 -#define WID_DOC_AUTO_MARK_URL 1006 -#define WID_DOC_HIDE_TIPS 1007 -#define WID_DOC_REDLINE_DISPLAY 1008 +#define WID_DOC_CHAR_COUNT 1000 +#define WID_DOC_PARA_COUNT 1001 +#define WID_DOC_WORD_COUNT 1002 +#define WID_DOC_WORD_SEPARATOR 1003 +#define WID_DOC_CHANGES_SHOW 1004 +#define WID_DOC_CHANGES_RECORD 1005 +#define WID_DOC_AUTO_MARK_URL 1006 +#define WID_DOC_HIDE_TIPS 1007 +#define WID_DOC_REDLINE_DISPLAY 1008 #define WID_DOC_FORBIDDEN_CHARS 1009 #define WID_DOC_CHANGES_PASSWORD 1010 #define WID_DOC_TWO_DIGIT_YEAR 1011 -#define WID_DOC_AUTOMATIC_CONTROL_FOCUS 1012 -#define WID_DOC_APPLY_FORM_DESIGN_MODE 1013 +#define WID_DOC_AUTOMATIC_CONTROL_FOCUS 1012 +#define WID_DOC_APPLY_FORM_DESIGN_MODE 1013 #define WID_DOC_BASIC_LIBRARIES 1014 #define WID_DOC_RUNTIME_UID 1015 #define WID_DOC_LOCK_UPDATES 1016 #define WID_DOC_HAS_VALID_SIGNATURES 1017 -#define WID_DOC_BUILDID 1024 -#define WID_DOC_ISTEMPLATEID 1025 +#define WID_DOC_BUILDID 1024 +#define WID_DOC_ISTEMPLATEID 1025 // --> OD 2006-03-21 #b6375613# #define WID_APPLY_WORKAROUND_FOR_B6375613 1070 // <-- @@ -298,19 +298,19 @@ //AutoText -#define WID_GROUP_PATH 0 -#define WID_GROUP_TITLE 1 +#define WID_GROUP_PATH 0 +#define WID_GROUP_TITLE 1 //NumberingRules -#define WID_IS_AUTOMATIC 0 -#define WID_CONTINUOUS 1 -#define WID_RULE_NAME 2 -#define WID_IS_ABS_MARGINS 3 +#define WID_IS_AUTOMATIC 0 +#define WID_CONTINUOUS 1 +#define WID_RULE_NAME 2 +#define WID_IS_ABS_MARGINS 3 #define WID_IS_OUTLINE 4 #define WID_DEFAULT_LIST_ID 5 //TextColumns -#define WID_TXTCOL_LINE_WIDTH 0 +#define WID_TXTCOL_LINE_WIDTH 0 #define WID_TXTCOL_LINE_COLOR 1 #define WID_TXTCOL_LINE_REL_HGT 2 #define WID_TXTCOL_LINE_ALIGN 3 @@ -324,7 +324,7 @@ class SwItemPropertySet : public SfxItemPropertySet { protected: - virtual sal_Bool FillItem(SfxItemSet& rSet, sal_uInt16 nWhich, sal_Bool bGetProperty) const; + virtual sal_Bool FillItem(SfxItemSet& rSet, sal_uInt16 nWhich, sal_Bool bGetProperty) const; public: SwItemPropertySet( const SfxItemPropertyMapEntry *pMap ) : SfxItemPropertySet( pMap ){} diff --git a/sw/inc/unomid.h b/sw/inc/unomid.h index 7533de2526ef..0fe5dcb26a8e 100644 --- a/sw/inc/unomid.h +++ b/sw/inc/unomid.h @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -31,55 +31,55 @@ #define C2S(cChar) String::CreateFromAscii( cChar ) #define C2U(cChar) rtl::OUString::createFromAscii( cChar ) -#define MID_MIRROR_VERT 0 -#define MID_MIRROR_HORZ_EVEN_PAGES 1 -#define MID_MIRROR_HORZ_ODD_PAGES 2 +#define MID_MIRROR_VERT 0 +#define MID_MIRROR_HORZ_EVEN_PAGES 1 +#define MID_MIRROR_HORZ_ODD_PAGES 2 -#define MID_PAGEDESC_PAGEDESCNAME 0 -#define MID_PAGEDESC_PAGENUMOFFSET 1 +#define MID_PAGEDESC_PAGEDESCNAME 0 +#define MID_PAGEDESC_PAGENUMOFFSET 1 -#define MID_SURROUND_SURROUNDTYPE 0 -#define MID_SURROUND_ANCHORONLY 1 -#define MID_SURROUND_CONTOUR 2 -#define MID_SURROUND_CONTOUROUTSIDE 3 +#define MID_SURROUND_SURROUNDTYPE 0 +#define MID_SURROUND_ANCHORONLY 1 +#define MID_SURROUND_CONTOUR 2 +#define MID_SURROUND_CONTOUROUTSIDE 3 -#define MID_VERTORIENT_ORIENT 0 -#define MID_VERTORIENT_RELATION 1 -#define MID_VERTORIENT_POSITION 2 +#define MID_VERTORIENT_ORIENT 0 +#define MID_VERTORIENT_RELATION 1 +#define MID_VERTORIENT_POSITION 2 -#define MID_HORIORIENT_ORIENT 0 -#define MID_HORIORIENT_RELATION 1 -#define MID_HORIORIENT_POSITION 2 -#define MID_HORIORIENT_PAGETOGGLE 3 +#define MID_HORIORIENT_ORIENT 0 +#define MID_HORIORIENT_RELATION 1 +#define MID_HORIORIENT_POSITION 2 +#define MID_HORIORIENT_PAGETOGGLE 3 -#define MID_ANCHOR_ANCHORTYPE 0 -#define MID_ANCHOR_PAGENUM 1 +#define MID_ANCHOR_ANCHORTYPE 0 +#define MID_ANCHOR_PAGENUM 1 #define MID_ANCHOR_ANCHORFRAME 2 -#define MID_URL_HYPERLINKFORMAT 0 -#define MID_URL_HYPERLINKNAME 1 -#define MID_URL_CLIENTMAP 2 -#define MID_URL_SERVERMAP 3 -#define MID_URL_URL 4 -#define MID_URL_TARGET 5 -#define MID_URL_VISITED_FMT 6 -#define MID_URL_UNVISITED_FMT 7 -#define MID_URL_HYPERLINKEVENTS 8 +#define MID_URL_HYPERLINKFORMAT 0 +#define MID_URL_HYPERLINKNAME 1 +#define MID_URL_CLIENTMAP 2 +#define MID_URL_SERVERMAP 3 +#define MID_URL_URL 4 +#define MID_URL_TARGET 5 +#define MID_URL_VISITED_FMT 6 +#define MID_URL_UNVISITED_FMT 7 +#define MID_URL_HYPERLINKEVENTS 8 -#define MID_CHAIN_PREVNAME 0 -#define MID_CHAIN_NEXTNAME 1 +#define MID_CHAIN_PREVNAME 0 +#define MID_CHAIN_NEXTNAME 1 -#define MID_LINENUMBER_COUNT 0 -#define MID_LINENUMBER_STARTVALUE 1 +#define MID_LINENUMBER_COUNT 0 +#define MID_LINENUMBER_STARTVALUE 1 #define MID_DROPCAP_FORMAT 0 #define MID_DROPCAP_WHOLE_WORD 1 -#define MID_DROPCAP_CHAR_STYLE_NAME 2 +#define MID_DROPCAP_CHAR_STYLE_NAME 2 #define MID_DROPCAP_LINES 3 #define MID_DROPCAP_COUNT 4 #define MID_DROPCAP_DISTANCE 5 -#define MID_FRMSIZE_SIZE 0 +#define MID_FRMSIZE_SIZE 0 #define MID_FRMSIZE_REL_HEIGHT 1 #define MID_FRMSIZE_REL_WIDTH 2 @@ -90,18 +90,18 @@ /* XML only */ #define MID_FRMSIZE_MIN_HEIGHT 8 #define MID_FRMSIZE_FIX_HEIGHT 9 -#define MID_FRMSIZE_COL_WIDTH 10 -#define MID_FRMSIZE_REL_COL_WIDTH 11 +#define MID_FRMSIZE_COL_WIDTH 10 +#define MID_FRMSIZE_REL_COL_WIDTH 11 /* UNO */ #define MID_FRMSIZE_IS_SYNC_WIDTH_TO_HEIGHT 12 #define MID_FRMSIZE_IS_SYNC_HEIGHT_TO_WIDTH 13 #define MID_FRMSIZE_WIDTH_TYPE 14 -#define MID_COLUMNS 0 -#define MID_COLUMN_SEPARATOR_LINE 1 +#define MID_COLUMNS 0 +#define MID_COLUMN_SEPARATOR_LINE 1 //SwFmtFtnAtTxtEnd -#define MID_COLLECT 0 +#define MID_COLLECT 0 #define MID_RESTART_NUM 1 #define MID_NUM_START_AT 2 #define MID_OWN_NUM 3 @@ -110,7 +110,7 @@ #define MID_SUFFIX 6 //page style footnote -#define MID_FTN_HEIGHT 0 +#define MID_FTN_HEIGHT 0 #define MID_LINE_WEIGHT 1 #define MID_LINE_COLOR 2 #define MID_LINE_RELWIDTH 3 @@ -119,7 +119,7 @@ #define MID_LINE_FOOTNOTE_DIST 6 //SwFmtRuby -#define MID_RUBY_TEXT 0 +#define MID_RUBY_TEXT 0 #define MID_RUBY_ADJUST 1 #define MID_RUBY_CHARSTYLE 2 #define MID_RUBY_ABOVE 3 diff --git a/sw/inc/unomod.hxx b/sw/inc/unomod.hxx index deae3934d03d..a3bebda7f6eb 100644 --- a/sw/inc/unomod.hxx +++ b/sw/inc/unomod.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -34,9 +34,9 @@ #include <com/sun/star/view/XViewSettingsSupplier.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <cppuhelper/implbase2.hxx> // helper for implementations -#include <cppuhelper/implbase3.hxx> // helper for implementations -#include <cppuhelper/implbase4.hxx> // helper for implementations +#include <cppuhelper/implbase2.hxx> // helper for implementations +#include <cppuhelper/implbase3.hxx> // helper for implementations +#include <cppuhelper/implbase4.hxx> // helper for implementations #include <comphelper/ChainablePropertySet.hxx> #include <comphelper/SettingsHelper.hxx> #include <usrpref.hxx> @@ -64,29 +64,29 @@ class SwXModule : public cppu::WeakImplHelper4 > { - ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > * pxViewSettings; - ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > * pxPrintSettings; + ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > * pxViewSettings; + ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > * pxPrintSettings; protected: virtual ~SwXModule(); public: SwXModule(); - + //XViewSettings - virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getViewSettings(void) + virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getViewSettings(void) throw( ::com::sun::star::uno::RuntimeException ); //XPrintSettings - virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getPrintSettings(void) + virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getPrintSettings(void) throw( ::com::sun::star::uno::RuntimeException ); //XServiceInfo - virtual rtl::OUString SAL_CALL getImplementationName(void) + virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); - virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) + virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException ); - virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) + virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); }; @@ -107,14 +107,14 @@ protected: virtual void _preSetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); - virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) + virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); virtual void _postSetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); virtual void _preGetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); - virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) + virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException ); virtual void _postGetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); @@ -123,14 +123,14 @@ protected: throw(); public: SwXPrintSettings( SwXPrintSettingsType eType, SwDoc * pDoc = NULL ); - + //XServiceInfo - virtual rtl::OUString SAL_CALL getImplementationName(void) + virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); - virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) + virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException ); - virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) + virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); }; /*-----------------15.03.98 13:21------------------- @@ -141,10 +141,10 @@ class SwXViewSettings : public comphelper::ChainableHelperNoState friend class SwXDocumentSettings; protected: - SwView* pView; - SwViewOption* mpViewOption; - const SwViewOption* mpConstViewOption; - sal_Bool bObjectValid:1, bWeb:1, mbApplyZoom; + SwView* pView; + SwViewOption* mpViewOption; + const SwViewOption* mpConstViewOption; + sal_Bool bObjectValid:1, bWeb:1, mbApplyZoom; sal_Int32 eHRulerUnit; sal_Bool mbApplyHRulerMetric; @@ -153,14 +153,14 @@ protected: virtual void _preSetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); - virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) + virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const ::com::sun::star::uno::Any &rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); virtual void _postSetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); virtual void _preGetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); - virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) + virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, ::com::sun::star::uno::Any & rValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException ); virtual void _postGetValues () throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException ); @@ -168,16 +168,16 @@ protected: virtual ~SwXViewSettings() throw(); public: - SwXViewSettings(sal_Bool bWeb, SwView* pView); - + SwXViewSettings(sal_Bool bWeb, SwView* pView); + //XServiceInfo virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException ); virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); - sal_Bool IsValid() const {return bObjectValid;} - void Invalidate() {bObjectValid = sal_False;} + sal_Bool IsValid() const {return bObjectValid;} + void Invalidate() {bObjectValid = sal_False;} }; /* -----------------24.09.98 10:47------------------- * @@ -191,12 +191,12 @@ public: SMART_UNO_DECLARATION( SwXTerminateListener, UsrObject ); - virtual UString getClassName(); + virtual UString getClassName(); // automatisch auskommentiert - [getIdlClass or queryInterface] - Bitte XTypeProvider benutzen! -// virtual ::com::sun::star::uno::XInterface * queryInterface( ::com::sun::star::uno::Uik aUik); +// virtual ::com::sun::star::uno::XInterface * queryInterface( ::com::sun::star::uno::Uik aUik); // automatisch auskommentiert - [getIdlClass or queryInterface] - Bitte XTypeProvider benutzen! -// virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > > getIdlClasses(void); +// virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > > getIdlClasses(void); //XTerminateListener diff --git a/sw/inc/unoparaframeenum.hxx b/sw/inc/unoparaframeenum.hxx index a49efeb1fc56..052ed48331e0 100644 --- a/sw/inc/unoparaframeenum.hxx +++ b/sw/inc/unoparaframeenum.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/unoparagraph.hxx b/sw/inc/unoparagraph.hxx index 629de6e54fb7..e17517414e14 100644 --- a/sw/inc/unoparagraph.hxx +++ b/sw/inc/unoparagraph.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/unoport.hxx b/sw/inc/unoport.hxx index 7498b353f8b6..50020b37ac10 100644 --- a/sw/inc/unoport.hxx +++ b/sw/inc/unoport.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -71,7 +71,7 @@ enum SwTextPortionType PORTION_FIELD, PORTION_FRAME, PORTION_FOOTNOTE, -// obsolete! PORTION_CONTROL_CHAR, +// obsolete! PORTION_CONTROL_CHAR, PORTION_REFMARK_START, PORTION_REFMARK_END, PORTION_TOXMARK_START, @@ -138,12 +138,12 @@ protected: //SfxItemPropertySet& GetPropSet() { return aPropSet; } - void SAL_CALL SetPropertyValues_Impl( - const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames, - const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aValues ) + void SAL_CALL SetPropertyValues_Impl( + const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames, + const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aValues ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); - ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL GetPropertyValues_Impl( - const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames ) + ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL GetPropertyValues_Impl( + const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); // ::com::sun::star::uno::Any GetPropertyValue( const SfxItemPropertyMap *pEntry, @@ -163,7 +163,7 @@ protected: virtual ~SwXTextPortion(); public: - SwXTextPortion(const SwUnoCrsr* pPortionCrsr, ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > const& rParent, SwTextPortionType eType ); + SwXTextPortion(const SwUnoCrsr* pPortionCrsr, ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > const& rParent, SwTextPortionType eType ); SwXTextPortion(const SwUnoCrsr* pPortionCrsr, ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > const& rParent, SwFrmFmt& rFmt ); // for Ruby @@ -231,7 +231,7 @@ public: virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getAvailableServiceNames() throw( ::com::sun::star::uno::RuntimeException ); //SwClient - virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); + virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); void SetRefMark( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextContent > xMark) diff --git a/sw/inc/unoprnms.hxx b/sw/inc/unoprnms.hxx index d9cf68de8d29..44bb65af8bf8 100644 --- a/sw/inc/unoprnms.hxx +++ b/sw/inc/unoprnms.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -35,625 +35,625 @@ enum SwPropNameIds { -/* 0001 */ SW_PROPNAME_BEGIN = 1, +/* 0001 */ SW_PROPNAME_BEGIN = 1, -/* 0001 */ UNO_NAME_FOLLOW_STYLE = SW_PROPNAME_BEGIN, -/* 0002 */ UNO_NAME_IS_PHYSICAL, -/* 0003 */ UNO_NAME_IS_AUTO_UPDATE, -/* 0004 */ UNO_NAME_DISPLAY_NAME, -/* 0005 */ UNO_NAME_PARA_GRAPHIC_URL, -/* 0006 */ UNO_NAME_PARA_GRAPHIC_FILTER, -/* 0007 */ UNO_NAME_HEADER_GRAPHIC_URL, -/* 0008 */ UNO_NAME_HEADER_GRAPHIC_FILTER, -/* 0009 */ UNO_NAME_FOOTER_GRAPHIC_URL, -/* 0010 */ UNO_NAME_FOOTER_GRAPHIC_FILTER, -/* 0011 */ UNO_NAME_BACK_GRAPHIC_URL, -/* 0012 */ UNO_NAME_BACK_GRAPHIC_FILTER, -/* 0013 */ UNO_NAME_BACK_GRAPHIC_LOCATION, -/* 0014 */ UNO_NAME_BACK_GRAPHIC_BITMAP, -/* 0015 */ UNO_NAME_GRAPHIC_URL, -/* 0016 */ UNO_NAME_GRAPHIC_FILTER, -/* 0017 */ UNO_NAME_GRAPHIC_LOCATION, -/* 0018 */ UNO_NAME_GRAPHIC_SIZE, -/* 0019 */ UNO_NAME_GRAPHIC_BITMAP, -/* 0020 */ UNO_NAME_BULLET_FONT, -/* 0021 */ UNO_NAME_PARA_GRAPHIC_LOCATION, -/* 0022 */ UNO_NAME_HEADER_GRAPHIC_LOCATION, -/* 0023 */ UNO_NAME_FOOTER_GRAPHIC_LOCATION, -/* 0024 */ UNO_NAME_PARA_LEFT_PARA_MARGIN, -/* 0025 */ UNO_NAME_PARA_RIGHT_PARA_MARGIN, -/* 0026 */ UNO_NAME_PARA_LEFT_MARGIN, -/* 0027 */ UNO_NAME_PARA_RIGHT_MARGIN, -/* 0028 */ UNO_NAME_PARA_LEFT_MARGIN_RELATIVE, -/* 0029 */ UNO_NAME_PARA_RIGHT_MARGIN_RELATIVE, -/* 0030 */ UNO_NAME_PARA_IS_AUTO_FIRST_LINE_INDENT, -/* 0031 */ UNO_NAME_PARA_FIRST_LINE_INDENT, -/* 0032 */ UNO_NAME_PARA_FIRST_LINE_INDENT_RELATIVE, -/* 0033 */ UNO_NAME_PARA_IS_HYPHENATION, -/* 0034 */ UNO_NAME_PARA_HYPHENATION_MAX_LEADING_CHARS, -/* 0035 */ UNO_NAME_PARA_HYPHENATION_MAX_TRAILING_CHARS, -/* 0036 */ UNO_NAME_PARA_HYPHENATION_MAX_HYPHENS, -/* 0037 */ UNO_NAME_LEFT_MARGIN, -/* 0038 */ UNO_NAME_RIGHT_MARGIN, -/* 0039 */ UNO_NAME_HEADER_LEFT_MARGIN, -/* 0040 */ UNO_NAME_HEADER_RIGHT_MARGIN, -/* 0041 */ UNO_NAME_FOOTER_LEFT_MARGIN, -/* 0042 */ UNO_NAME_FOOTER_RIGHT_MARGIN, -/* 0043 */ UNO_NAME_TEXT_RANGE, -/* 0044 */ UNO_NAME_NAME, -/* 0045 */ UNO_NAME_NUMBERING_ALIGNMENT, -/* 0046 */ UNO_NAME_BULLET_FONT_NAME, -/* 0047 */ UNO_NAME_BULLET_ID, -/* 0048 */ UNO_NAME_CHAR_STYLE_NAME, -/* 0049 */ UNO_NAME_ANCHOR_CHAR_STYLE_NAME, -/* 0050 */ UNO_NAME_SUFFIX, -/* 0051 */ UNO_NAME_PREFIX, -/* 0052 */ UNO_NAME_PARENT_NUMBERING, -/* 0053 */ UNO_NAME_START_WITH, -/* 0054 */ UNO_NAME_CHAR_FONT_NAME, -/* 0055 */ UNO_NAME_CHAR_FONT_STYLE_NAME, -/* 0056 */ UNO_NAME_CHAR_FONT_FAMILY, -/* 0057 */ UNO_NAME_CHAR_FONT_CHAR_SET, -/* 0058 */ UNO_NAME_CHAR_FONT_PITCH, -/* 0059 */ UNO_NAME_CHAR_POSTURE, -/* 0060 */ UNO_NAME_CHAR_WEIGHT, -/* 0061 */ UNO_NAME_CHAR_HEIGHT, -/* 0062 */ UNO_NAME_CHAR_LOCALE, -/* 0063 */ UNO_NAME_CHAR_FONT_NAME_ASIAN, -/* 0064 */ UNO_NAME_CHAR_FONT_STYLE_NAME_ASIAN, -/* 0065 */ UNO_NAME_CHAR_FONT_FAMILY_ASIAN, -/* 0066 */ UNO_NAME_CHAR_FONT_CHAR_SET_ASIAN, -/* 0067 */ UNO_NAME_CHAR_FONT_PITCH_ASIAN, -/* 0068 */ UNO_NAME_CHAR_POSTURE_ASIAN, -/* 0069 */ UNO_NAME_CHAR_WEIGHT_ASIAN, -/* 0070 */ UNO_NAME_CHAR_HEIGHT_ASIAN, -/* 0071 */ UNO_NAME_CHAR_LOCALE_ASIAN, -/* 0072 */ UNO_NAME_CHAR_FONT_NAME_COMPLEX, -/* 0073 */ UNO_NAME_CHAR_FONT_STYLE_NAME_COMPLEX, -/* 0074 */ UNO_NAME_CHAR_FONT_FAMILY_COMPLEX, -/* 0075 */ UNO_NAME_CHAR_FONT_CHAR_SET_COMPLEX, -/* 0076 */ UNO_NAME_CHAR_FONT_PITCH_COMPLEX, -/* 0077 */ UNO_NAME_CHAR_POSTURE_COMPLEX, -/* 0078 */ UNO_NAME_CHAR_WEIGHT_COMPLEX, -/* 0079 */ UNO_NAME_CHAR_HEIGHT_COMPLEX, -/* 0080 */ UNO_NAME_CHAR_LOCALE_COMPLEX, -/* 0081 */ UNO_NAME_CHAR_AUTO_KERNING, -/* 0082 */ UNO_NAME_CHAR_UNDERLINE, -/* 0083 */ UNO_NAME_CHAR_UNDERLINE_COLOR, -/* 0084 */ UNO_NAME_CHAR_UNDERLINE_HAS_COLOR, -/* 0085 */ UNO_NAME_CHAR_ESCAPEMENT, -/* 0086 */ UNO_NAME_CHAR_CASE_MAP, -/* 0087 */ UNO_NAME_CHAR_SHADOWED, -/* 0088 */ UNO_NAME_CHAR_STRIKEOUT, -/* 0089 */ UNO_NAME_CHAR_CROSSED_OUT, -/* 0090 */ UNO_NAME_CHAR_NO_HYPHENATION, -/* 0091 */ UNO_NAME_CHAR_AUTO_ESCAPEMENT, -/* 0092 */ UNO_NAME_CHAR_PROP_HEIGHT, -/* 0093 */ UNO_NAME_CHAR_DIFF_HEIGHT, -/* 0094 */ UNO_NAME_CHAR_PROP_HEIGHT_ASIAN, -/* 0095 */ UNO_NAME_CHAR_DIFF_HEIGHT_ASIAN, -/* 0096 */ UNO_NAME_CHAR_PROP_HEIGHT_COMPLEX, -/* 0097 */ UNO_NAME_CHAR_DIFF_HEIGHT_COMPLEX, -/* 0098 */ UNO_NAME_CHAR_ESCAPEMENT_HEIGHT, -/* 0099 */ UNO_NAME_CHAR_COLOR, +/* 0001 */ UNO_NAME_FOLLOW_STYLE = SW_PROPNAME_BEGIN, +/* 0002 */ UNO_NAME_IS_PHYSICAL, +/* 0003 */ UNO_NAME_IS_AUTO_UPDATE, +/* 0004 */ UNO_NAME_DISPLAY_NAME, +/* 0005 */ UNO_NAME_PARA_GRAPHIC_URL, +/* 0006 */ UNO_NAME_PARA_GRAPHIC_FILTER, +/* 0007 */ UNO_NAME_HEADER_GRAPHIC_URL, +/* 0008 */ UNO_NAME_HEADER_GRAPHIC_FILTER, +/* 0009 */ UNO_NAME_FOOTER_GRAPHIC_URL, +/* 0010 */ UNO_NAME_FOOTER_GRAPHIC_FILTER, +/* 0011 */ UNO_NAME_BACK_GRAPHIC_URL, +/* 0012 */ UNO_NAME_BACK_GRAPHIC_FILTER, +/* 0013 */ UNO_NAME_BACK_GRAPHIC_LOCATION, +/* 0014 */ UNO_NAME_BACK_GRAPHIC_BITMAP, +/* 0015 */ UNO_NAME_GRAPHIC_URL, +/* 0016 */ UNO_NAME_GRAPHIC_FILTER, +/* 0017 */ UNO_NAME_GRAPHIC_LOCATION, +/* 0018 */ UNO_NAME_GRAPHIC_SIZE, +/* 0019 */ UNO_NAME_GRAPHIC_BITMAP, +/* 0020 */ UNO_NAME_BULLET_FONT, +/* 0021 */ UNO_NAME_PARA_GRAPHIC_LOCATION, +/* 0022 */ UNO_NAME_HEADER_GRAPHIC_LOCATION, +/* 0023 */ UNO_NAME_FOOTER_GRAPHIC_LOCATION, +/* 0024 */ UNO_NAME_PARA_LEFT_PARA_MARGIN, +/* 0025 */ UNO_NAME_PARA_RIGHT_PARA_MARGIN, +/* 0026 */ UNO_NAME_PARA_LEFT_MARGIN, +/* 0027 */ UNO_NAME_PARA_RIGHT_MARGIN, +/* 0028 */ UNO_NAME_PARA_LEFT_MARGIN_RELATIVE, +/* 0029 */ UNO_NAME_PARA_RIGHT_MARGIN_RELATIVE, +/* 0030 */ UNO_NAME_PARA_IS_AUTO_FIRST_LINE_INDENT, +/* 0031 */ UNO_NAME_PARA_FIRST_LINE_INDENT, +/* 0032 */ UNO_NAME_PARA_FIRST_LINE_INDENT_RELATIVE, +/* 0033 */ UNO_NAME_PARA_IS_HYPHENATION, +/* 0034 */ UNO_NAME_PARA_HYPHENATION_MAX_LEADING_CHARS, +/* 0035 */ UNO_NAME_PARA_HYPHENATION_MAX_TRAILING_CHARS, +/* 0036 */ UNO_NAME_PARA_HYPHENATION_MAX_HYPHENS, +/* 0037 */ UNO_NAME_LEFT_MARGIN, +/* 0038 */ UNO_NAME_RIGHT_MARGIN, +/* 0039 */ UNO_NAME_HEADER_LEFT_MARGIN, +/* 0040 */ UNO_NAME_HEADER_RIGHT_MARGIN, +/* 0041 */ UNO_NAME_FOOTER_LEFT_MARGIN, +/* 0042 */ UNO_NAME_FOOTER_RIGHT_MARGIN, +/* 0043 */ UNO_NAME_TEXT_RANGE, +/* 0044 */ UNO_NAME_NAME, +/* 0045 */ UNO_NAME_NUMBERING_ALIGNMENT, +/* 0046 */ UNO_NAME_BULLET_FONT_NAME, +/* 0047 */ UNO_NAME_BULLET_ID, +/* 0048 */ UNO_NAME_CHAR_STYLE_NAME, +/* 0049 */ UNO_NAME_ANCHOR_CHAR_STYLE_NAME, +/* 0050 */ UNO_NAME_SUFFIX, +/* 0051 */ UNO_NAME_PREFIX, +/* 0052 */ UNO_NAME_PARENT_NUMBERING, +/* 0053 */ UNO_NAME_START_WITH, +/* 0054 */ UNO_NAME_CHAR_FONT_NAME, +/* 0055 */ UNO_NAME_CHAR_FONT_STYLE_NAME, +/* 0056 */ UNO_NAME_CHAR_FONT_FAMILY, +/* 0057 */ UNO_NAME_CHAR_FONT_CHAR_SET, +/* 0058 */ UNO_NAME_CHAR_FONT_PITCH, +/* 0059 */ UNO_NAME_CHAR_POSTURE, +/* 0060 */ UNO_NAME_CHAR_WEIGHT, +/* 0061 */ UNO_NAME_CHAR_HEIGHT, +/* 0062 */ UNO_NAME_CHAR_LOCALE, +/* 0063 */ UNO_NAME_CHAR_FONT_NAME_ASIAN, +/* 0064 */ UNO_NAME_CHAR_FONT_STYLE_NAME_ASIAN, +/* 0065 */ UNO_NAME_CHAR_FONT_FAMILY_ASIAN, +/* 0066 */ UNO_NAME_CHAR_FONT_CHAR_SET_ASIAN, +/* 0067 */ UNO_NAME_CHAR_FONT_PITCH_ASIAN, +/* 0068 */ UNO_NAME_CHAR_POSTURE_ASIAN, +/* 0069 */ UNO_NAME_CHAR_WEIGHT_ASIAN, +/* 0070 */ UNO_NAME_CHAR_HEIGHT_ASIAN, +/* 0071 */ UNO_NAME_CHAR_LOCALE_ASIAN, +/* 0072 */ UNO_NAME_CHAR_FONT_NAME_COMPLEX, +/* 0073 */ UNO_NAME_CHAR_FONT_STYLE_NAME_COMPLEX, +/* 0074 */ UNO_NAME_CHAR_FONT_FAMILY_COMPLEX, +/* 0075 */ UNO_NAME_CHAR_FONT_CHAR_SET_COMPLEX, +/* 0076 */ UNO_NAME_CHAR_FONT_PITCH_COMPLEX, +/* 0077 */ UNO_NAME_CHAR_POSTURE_COMPLEX, +/* 0078 */ UNO_NAME_CHAR_WEIGHT_COMPLEX, +/* 0079 */ UNO_NAME_CHAR_HEIGHT_COMPLEX, +/* 0080 */ UNO_NAME_CHAR_LOCALE_COMPLEX, +/* 0081 */ UNO_NAME_CHAR_AUTO_KERNING, +/* 0082 */ UNO_NAME_CHAR_UNDERLINE, +/* 0083 */ UNO_NAME_CHAR_UNDERLINE_COLOR, +/* 0084 */ UNO_NAME_CHAR_UNDERLINE_HAS_COLOR, +/* 0085 */ UNO_NAME_CHAR_ESCAPEMENT, +/* 0086 */ UNO_NAME_CHAR_CASE_MAP, +/* 0087 */ UNO_NAME_CHAR_SHADOWED, +/* 0088 */ UNO_NAME_CHAR_STRIKEOUT, +/* 0089 */ UNO_NAME_CHAR_CROSSED_OUT, +/* 0090 */ UNO_NAME_CHAR_NO_HYPHENATION, +/* 0091 */ UNO_NAME_CHAR_AUTO_ESCAPEMENT, +/* 0092 */ UNO_NAME_CHAR_PROP_HEIGHT, +/* 0093 */ UNO_NAME_CHAR_DIFF_HEIGHT, +/* 0094 */ UNO_NAME_CHAR_PROP_HEIGHT_ASIAN, +/* 0095 */ UNO_NAME_CHAR_DIFF_HEIGHT_ASIAN, +/* 0096 */ UNO_NAME_CHAR_PROP_HEIGHT_COMPLEX, +/* 0097 */ UNO_NAME_CHAR_DIFF_HEIGHT_COMPLEX, +/* 0098 */ UNO_NAME_CHAR_ESCAPEMENT_HEIGHT, +/* 0099 */ UNO_NAME_CHAR_COLOR, -/* 0100 */ UNO_NAME_CHAR_FLASH, -/* 0101 */ UNO_NAME_CHAR_KERNING, -/* 0102 */ UNO_NAME_CHAR_BACK_COLOR, -/* 0103 */ UNO_NAME_CHAR_BACK_TRANSPARENT, -/* 0104 */ UNO_NAME_CHAR_COMBINE_IS_ON, -/* 0105 */ UNO_NAME_CHAR_COMBINE_PREFIX, -/* 0106 */ UNO_NAME_CHAR_COMBINE_SUFFIX, -/* 0107 */ UNO_NAME_CHAR_EMPHASIS, -/* 0108 */ UNO_NAME_PARA_LINE_SPACING, -/* 0109 */ UNO_NAME_PARA_TOP_MARGIN, -/* 0110 */ UNO_NAME_PARA_BOTTOM_MARGIN, -/* 0111 */ UNO_NAME_PARA_TOP_MARGIN_RELATIVE, -/* 0112 */ UNO_NAME_PARA_BOTTOM_MARGIN_RELATIVE, -/* 0113 */ UNO_NAME_PARA_EXPAND_SINGLE_WORD, -/* 0114 */ UNO_NAME_END_NOTICE, -/* 0115 */ UNO_NAME_EMBEDDED_OBJECTS, -/* 0116 */ UNO_NAME_ALPHABETICAL_SEPARATORS, -/* 0117 */ UNO_NAME_BACKGROUND_COLOR, -/* 0118 */ UNO_NAME_BEGIN_NOTICE, -/* 0119 */ UNO_NAME_CASE_SENSITIVE, -/* 0120 */ UNO_NAME_FRAME_STYLE_NAME, -/* 0121 */ UNO_NAME_NUMBERING_STYLE_NAME, -/* 0122 */ UNO_NAME_NUMBERING_LEVEL, -/* 0123 */ UNO_NAME_NUMBERING_START_VALUE, -/* 0124 */ UNO_NAME_NUMBERING_IS_NUMBER, -/* 0125 */ UNO_NAME_COMBINE_ENTRIES, -/* 0126 */ UNO_NAME_COUNT_LINES_IN_FRAMES, -/* 0127 */ UNO_NAME_DDE_COMMAND_TYPE, -/* 0128 */ UNO_NAME_DDE_COMMAND_FILE, -/* 0129 */ UNO_NAME_DDE_COMMAND_ELEMENT, -/* 0130 */ UNO_NAME_IS_AUTOMATIC_UPDATE, -/* 0131 */ UNO_NAME_DEFAULT_TABSTOP_DISTANCE, -/* 0132 */ UNO_NAME_DISTANCE, -/* 0133 */ UNO_NAME_DROP_CAP_FORMAT, -/* 0134 */ UNO_NAME_DROP_CAP_WHOLE_WORD, -/* 0135 */ UNO_NAME_DROP_CAP_CHAR_STYLE_NAME, -/* 0136 */ UNO_NAME_FILE_LINK, -/* 0137 */ UNO_NAME_GRAPHIC, -/* 0138 */ UNO_NAME_GRAPHICS, -/* 0139 */ UNO_NAME_IS_PROTECTED, -/* 0140 */ UNO_NAME_KEY_AS_ENTRY, -/* 0141 */ UNO_NAME_PARA_KEEP_TOGETHER, -/* 0142 */ UNO_NAME_KEEP_TOGETHER, -/* 0143 */ UNO_NAME_IS_LANDSCAPE, -/* 0144 */ UNO_NAME_SEPARATOR_TEXT, -/* 0145 */ UNO_NAME_MARKS, -/* 0146 */ UNO_NAME_NUMBER_POSITION, -/* 0147 */ UNO_NAME_OUTLINES, -/* 0148 */ UNO_NAME_PAGE_STYLE_NAME, -/* 0149 */ UNO_NAME_PAGE_STYLE_LAYOUT, -/* 0150 */ UNO_NAME_PARA_STYLES, -/* 0151 */ UNO_NAME_PARA_ADJUST, -/* 0152 */ UNO_NAME_PARA_REGISTER_MODE_ACTIVE, -/* 0153 */ UNO_NAME_PARA_STYLE_NAME, -/* 0154 */ UNO_NAME_PARA_LAST_LINE_ADJUST, -/* 0155 */ UNO_NAME_PARA_LINE_NUMBER_COUNT, -/* 0156 */ UNO_NAME_PARA_LINE_NUMBER_START_VALUE, -/* 0157 */ UNO_NAME_BACK_COLOR, -/* 0158 */ UNO_NAME_PARA_BACK_COLOR, -/* 0159 */ UNO_NAME_PARA_WIDOWS, -/* 0160 */ UNO_NAME_PARA_ORPHANS, -/* 0161 */ UNO_NAME_PARA_BACK_TRANSPARENT, -/* 0162 */ UNO_NAME_POSITION_END_OF_DOC, -/* 0163 */ UNO_NAME_POSITION_PROTECTED, +/* 0100 */ UNO_NAME_CHAR_FLASH, +/* 0101 */ UNO_NAME_CHAR_KERNING, +/* 0102 */ UNO_NAME_CHAR_BACK_COLOR, +/* 0103 */ UNO_NAME_CHAR_BACK_TRANSPARENT, +/* 0104 */ UNO_NAME_CHAR_COMBINE_IS_ON, +/* 0105 */ UNO_NAME_CHAR_COMBINE_PREFIX, +/* 0106 */ UNO_NAME_CHAR_COMBINE_SUFFIX, +/* 0107 */ UNO_NAME_CHAR_EMPHASIS, +/* 0108 */ UNO_NAME_PARA_LINE_SPACING, +/* 0109 */ UNO_NAME_PARA_TOP_MARGIN, +/* 0110 */ UNO_NAME_PARA_BOTTOM_MARGIN, +/* 0111 */ UNO_NAME_PARA_TOP_MARGIN_RELATIVE, +/* 0112 */ UNO_NAME_PARA_BOTTOM_MARGIN_RELATIVE, +/* 0113 */ UNO_NAME_PARA_EXPAND_SINGLE_WORD, +/* 0114 */ UNO_NAME_END_NOTICE, +/* 0115 */ UNO_NAME_EMBEDDED_OBJECTS, +/* 0116 */ UNO_NAME_ALPHABETICAL_SEPARATORS, +/* 0117 */ UNO_NAME_BACKGROUND_COLOR, +/* 0118 */ UNO_NAME_BEGIN_NOTICE, +/* 0119 */ UNO_NAME_CASE_SENSITIVE, +/* 0120 */ UNO_NAME_FRAME_STYLE_NAME, +/* 0121 */ UNO_NAME_NUMBERING_STYLE_NAME, +/* 0122 */ UNO_NAME_NUMBERING_LEVEL, +/* 0123 */ UNO_NAME_NUMBERING_START_VALUE, +/* 0124 */ UNO_NAME_NUMBERING_IS_NUMBER, +/* 0125 */ UNO_NAME_COMBINE_ENTRIES, +/* 0126 */ UNO_NAME_COUNT_LINES_IN_FRAMES, +/* 0127 */ UNO_NAME_DDE_COMMAND_TYPE, +/* 0128 */ UNO_NAME_DDE_COMMAND_FILE, +/* 0129 */ UNO_NAME_DDE_COMMAND_ELEMENT, +/* 0130 */ UNO_NAME_IS_AUTOMATIC_UPDATE, +/* 0131 */ UNO_NAME_DEFAULT_TABSTOP_DISTANCE, +/* 0132 */ UNO_NAME_DISTANCE, +/* 0133 */ UNO_NAME_DROP_CAP_FORMAT, +/* 0134 */ UNO_NAME_DROP_CAP_WHOLE_WORD, +/* 0135 */ UNO_NAME_DROP_CAP_CHAR_STYLE_NAME, +/* 0136 */ UNO_NAME_FILE_LINK, +/* 0137 */ UNO_NAME_GRAPHIC, +/* 0138 */ UNO_NAME_GRAPHICS, +/* 0139 */ UNO_NAME_IS_PROTECTED, +/* 0140 */ UNO_NAME_KEY_AS_ENTRY, +/* 0141 */ UNO_NAME_PARA_KEEP_TOGETHER, +/* 0142 */ UNO_NAME_KEEP_TOGETHER, +/* 0143 */ UNO_NAME_IS_LANDSCAPE, +/* 0144 */ UNO_NAME_SEPARATOR_TEXT, +/* 0145 */ UNO_NAME_MARKS, +/* 0146 */ UNO_NAME_NUMBER_POSITION, +/* 0147 */ UNO_NAME_OUTLINES, +/* 0148 */ UNO_NAME_PAGE_STYLE_NAME, +/* 0149 */ UNO_NAME_PAGE_STYLE_LAYOUT, +/* 0150 */ UNO_NAME_PARA_STYLES, +/* 0151 */ UNO_NAME_PARA_ADJUST, +/* 0152 */ UNO_NAME_PARA_REGISTER_MODE_ACTIVE, +/* 0153 */ UNO_NAME_PARA_STYLE_NAME, +/* 0154 */ UNO_NAME_PARA_LAST_LINE_ADJUST, +/* 0155 */ UNO_NAME_PARA_LINE_NUMBER_COUNT, +/* 0156 */ UNO_NAME_PARA_LINE_NUMBER_START_VALUE, +/* 0157 */ UNO_NAME_BACK_COLOR, +/* 0158 */ UNO_NAME_PARA_BACK_COLOR, +/* 0159 */ UNO_NAME_PARA_WIDOWS, +/* 0160 */ UNO_NAME_PARA_ORPHANS, +/* 0161 */ UNO_NAME_PARA_BACK_TRANSPARENT, +/* 0162 */ UNO_NAME_POSITION_END_OF_DOC, +/* 0163 */ UNO_NAME_POSITION_PROTECTED, /* 0164 */ UNO_NAME_ALTERNATIVE_TEXT, -/* 0165 */ UNO_NAME_PRIMARY_KEY, -/* 0166 */ UNO_NAME_PRINT_TABLES, -/* 0167 */ UNO_NAME_PRINT_GRAPHICS, -/* 0168 */ UNO_NAME_PRINT_REVERSED, -/* 0169 */ UNO_NAME_PRINT_PROSPECT, -/* 0170 */ UNO_NAME_PRINT_CONTROLS, -/* 0171 */ UNO_NAME_PRINT_DRAWINGS, -/* 0172 */ UNO_NAME_PRINT_RIGHT_PAGES, -/* 0173 */ UNO_NAME_PRINT_LEFT_PAGES, -/* 0174 */ UNO_NAME_PRINT_BLACK_FONTS, -/* 0175 */ UNO_NAME_PRINTER_PAPER_TRAY, -/* 0176 */ UNO_NAME_PRINT_PAGE_BACKGROUND, -/* 0177 */ UNO_NAME_PRINT_ANNOTATION_MODE, -/* 0178 */ UNO_NAME_PRINT_FAX_NAME, -/* 0179 */ UNO_NAME_PRINT_PAPER_FROM_SETUP, -/* 0180 */ UNO_NAME_REGISTER_MODE_ACTIVE, -/* 0181 */ UNO_NAME_RELATIVE_WIDTH, -/* 0182 */ UNO_NAME_RELATIVE_HEIGHT, -/* 0183 */ UNO_NAME_REPEAT_HEADLINE, -/* 0184 */ UNO_NAME_SEARCH_STYLES, -/* 0185 */ UNO_NAME_SEARCH_BACKWARDS, -/* 0186 */ UNO_NAME_SEARCH_SIMILARITY, -/* 0187 */ UNO_NAME_SEARCH_IN_SELECTION, -/* 0188 */ UNO_NAME_SEARCH_CASE_SENSITIVE, -/* 0189 */ UNO_NAME_SEARCH_SIMILARITY_ADD, -/* 0190 */ UNO_NAME_SEARCH_SIMILARITY_RELAX, -/* 0191 */ UNO_NAME_SEARCH_SIMILARITY_REMOVE, -/* 0192 */ UNO_NAME_SEARCH_REGULAR_EXPRESSION, -/* 0193 */ UNO_NAME_SEARCH_SIMILARITY_EXCHANGE, -/* 0194 */ UNO_NAME_SECONDARY_KEY, -/* 0195 */ UNO_NAME_SEPARATOR_INTERVAL, -/* 0196 */ UNO_NAME_SHOW_BREAKS, -/* 0197 */ UNO_NAME_SHOW_SPACES, -/* 0198 */ UNO_NAME_SHOW_TABLES, -/* 0199 */ UNO_NAME_SHOW_GRAPHICS, +/* 0165 */ UNO_NAME_PRIMARY_KEY, +/* 0166 */ UNO_NAME_PRINT_TABLES, +/* 0167 */ UNO_NAME_PRINT_GRAPHICS, +/* 0168 */ UNO_NAME_PRINT_REVERSED, +/* 0169 */ UNO_NAME_PRINT_PROSPECT, +/* 0170 */ UNO_NAME_PRINT_CONTROLS, +/* 0171 */ UNO_NAME_PRINT_DRAWINGS, +/* 0172 */ UNO_NAME_PRINT_RIGHT_PAGES, +/* 0173 */ UNO_NAME_PRINT_LEFT_PAGES, +/* 0174 */ UNO_NAME_PRINT_BLACK_FONTS, +/* 0175 */ UNO_NAME_PRINTER_PAPER_TRAY, +/* 0176 */ UNO_NAME_PRINT_PAGE_BACKGROUND, +/* 0177 */ UNO_NAME_PRINT_ANNOTATION_MODE, +/* 0178 */ UNO_NAME_PRINT_FAX_NAME, +/* 0179 */ UNO_NAME_PRINT_PAPER_FROM_SETUP, +/* 0180 */ UNO_NAME_REGISTER_MODE_ACTIVE, +/* 0181 */ UNO_NAME_RELATIVE_WIDTH, +/* 0182 */ UNO_NAME_RELATIVE_HEIGHT, +/* 0183 */ UNO_NAME_REPEAT_HEADLINE, +/* 0184 */ UNO_NAME_SEARCH_STYLES, +/* 0185 */ UNO_NAME_SEARCH_BACKWARDS, +/* 0186 */ UNO_NAME_SEARCH_SIMILARITY, +/* 0187 */ UNO_NAME_SEARCH_IN_SELECTION, +/* 0188 */ UNO_NAME_SEARCH_CASE_SENSITIVE, +/* 0189 */ UNO_NAME_SEARCH_SIMILARITY_ADD, +/* 0190 */ UNO_NAME_SEARCH_SIMILARITY_RELAX, +/* 0191 */ UNO_NAME_SEARCH_SIMILARITY_REMOVE, +/* 0192 */ UNO_NAME_SEARCH_REGULAR_EXPRESSION, +/* 0193 */ UNO_NAME_SEARCH_SIMILARITY_EXCHANGE, +/* 0194 */ UNO_NAME_SECONDARY_KEY, +/* 0195 */ UNO_NAME_SEPARATOR_INTERVAL, +/* 0196 */ UNO_NAME_SHOW_BREAKS, +/* 0197 */ UNO_NAME_SHOW_SPACES, +/* 0198 */ UNO_NAME_SHOW_TABLES, +/* 0199 */ UNO_NAME_SHOW_GRAPHICS, -/* 0200 */ UNO_NAME_SHOW_DRAWINGS, -/* 0201 */ UNO_NAME_SHOW_TABSTOPS, -/* 0202 */ UNO_NAME_SHOW_VERT_RULER, -/* 0203 */ UNO_NAME_SHOW_PARA_BREAKS, -/* 0204 */ UNO_NAME_SHOW_HIDDEN_TEXT, -/* 0205 */ UNO_NAME_SHOW_ANNOTATIONS, -/* 0206 */ UNO_NAME_SHOW_SOFT_HYPHENS, -/* 0207 */ UNO_NAME_SHOW_VERT_SCROLL_BAR, -/* 0208 */ UNO_NAME_SHOW_HORI_SCROLL_BAR, -/* 0209 */ UNO_NAME_SHOW_FIELD_COMMANDS, -/* 0210 */ UNO_NAME_SHOW_TEXT_BOUNDARIES, -/* 0211 */ UNO_NAME_SHOW_PROTECTED_SPACES, -/* 0212 */ UNO_NAME_SHOW_TABLE_BOUNDARIES, -/* 0213 */ UNO_NAME_SHOW_HIDDEN_PARAGRAPHS, -/* 0214 */ UNO_NAME_SHOW_INDEX_MARK_BACKGROUND, -/* 0215 */ UNO_NAME_SHOW_FOOTNOTE_BACKGROUND, -/* 0216 */ UNO_NAME_SHOW_TEXT_FIELD_BACKGROUND, -/* 0217 */ UNO_NAME_IS_SYNC_WIDTH_TO_HEIGHT, -/* 0218 */ UNO_NAME_IS_SYNC_HEIGHT_TO_WIDTH, -/* 0219 */ UNO_NAME_SIZE_PROTECTED, -/* 0220 */ UNO_NAME_SMOOTH_SCROLLING, -/* 0221 */ UNO_NAME_SOLID_MARK_HANDLES, -/* 0222 */ UNO_NAME_TABLES, -/* 0223 */ UNO_NAME_TEXT_FRAMES, -/* 0224 */ UNO_NAME_TEXT_COLUMNS, -/* 0225 */ UNO_NAME_BACK_TRANSPARENT, -/* 0226 */ UNO_NAME_USE_PP, -/* 0227 */ UNO_NAME_USER_METRIC, -/* 0228 */ UNO_NAME_ANCHOR_TYPE, -/* 0229 */ UNO_NAME_ANCHOR_TYPES, -/* 0230 */ UNO_NAME_ANCHOR_PAGE_NO, -/* 0231 */ UNO_NAME_ANCHOR_FRAME, -/* 0232 */ UNO_NAME_AUTHOR, -/* 0233 */ UNO_NAME_BREAK_TYPE, -/* 0234 */ UNO_NAME_CHAIN_NEXT_NAME, -/* 0235 */ UNO_NAME_CHAIN_PREV_NAME, -/* 0236 */ UNO_NAME_CHAPTER_FORMAT, -/* 0237 */ UNO_NAME_CLIENT_MAP, -/* 0238 */ UNO_NAME_CONDITION, -/* 0239 */ UNO_NAME_CONTENT, -/* 0240 */ UNO_NAME_CHAR_CONTOURED, -/* 0241 */ UNO_NAME_CONTOUR_OUTSIDE, -/* 0242 */ UNO_NAME_CONTENT_PROTECTED, -/* 0243 */ UNO_NAME_COUNT_EMPTY_LINES, -/* 0244 */ UNO_NAME_RESTART_AT_EACH_PAGE, -/* 0245 */ UNO_NAME_DATA_BASE_NAME, -/* 0246 */ UNO_NAME_DATA_TABLE_NAME, -/* 0247 */ UNO_NAME_DATA_COMMAND_TYPE, -/* 0248 */ UNO_NAME_DATA_COLUMN_NAME, -/* 0249 */ UNO_NAME_IS_DATA_BASE_FORMAT, -/* 0250 */ UNO_NAME_DATE, -/* 0251 */ UNO_NAME_IS_DATE, -/* 0252 */ UNO_NAME_EDIT_IN_READONLY, -/* 0253 */ UNO_NAME_FALSE_CONTENT, -/* 0254 */ UNO_NAME_FILE_FORMAT, -/* 0255 */ UNO_NAME_IS_FIXED, -/* 0256 */ UNO_NAME_FOOTNOTE_COUNTING, -/* 0257 */ UNO_NAME_FORMULA, -/* 0258 */ UNO_NAME_FRAME_NAME, -/* 0259 */ UNO_NAME_GRAPHIC_NAME, -/* 0260 */ UNO_NAME_FULL_NAME, -/* 0261 */ UNO_NAME_HEIGHT, -/* 0262 */ UNO_NAME_IS_AUTO_HEIGHT, -/* 0263 */ UNO_NAME_SIZE_TYPE, -/* 0264 */ UNO_NAME_HINT, -/* 0265 */ UNO_NAME_HORI_ORIENT, -/* 0266 */ UNO_NAME_HORI_MIRRORED_ON_EVEN_PAGES, -/* 0267 */ UNO_NAME_HORI_MIRRORED_ON_ODD_PAGES, -/* 0268 */ UNO_NAME_HORI_ORIENT_RELATION, -/* 0269 */ UNO_NAME_HORI_ORIENT_POSITION, -/* 0270 */ UNO_NAME_HYPER_LINK_U_R_L, -/* 0271 */ UNO_NAME_HYPER_LINK_TARGET, -/* 0272 */ UNO_NAME_HYPER_LINK_NAME, -/* 0273 */ UNO_NAME_HYPER_LINK_EVENTS, -/* 0274 */ UNO_NAME_INFO_TYPE, -/* 0275 */ UNO_NAME_INFO_FORMAT, -/* 0276 */ UNO_NAME_IS_INPUT, -/* 0277 */ UNO_NAME_LEVEL, -/* 0278 */ UNO_NAME_INTERVAL, -/* 0279 */ UNO_NAME_LINK_REGION, -/* 0280 */ UNO_NAME_MACRO_NAME, -/* 0281 */ UNO_NAME_SPLIT, -/* 0282 */ UNO_NAME_PARA_SPLIT, -/* 0283 */ UNO_NAME_NUMBER_FORMAT, -/* 0284 */ UNO_NAME_NUMBERING_TYPE, -/* 0285 */ UNO_NAME_NUMBERING_RULES, -/* 0286 */ UNO_NAME_OFFSET, -/* 0287 */ UNO_NAME_ON, -/* 0288 */ UNO_NAME_OPAQUE, -/* 0289 */ UNO_NAME_PAGE_TOGGLE, -/* 0290 */ UNO_NAME_PAGE_DESC_NAME, -/* 0291 */ UNO_NAME_PAGE_NUMBER_OFFSET, -/* 0292 */ UNO_NAME_PLACEHOLDER, -/* 0293 */ UNO_NAME_PLACEHOLDER_TYPE, -/* 0294 */ UNO_NAME_PRINT, -/* 0295 */ UNO_NAME_REFERENCE_FIELD_PART, -/* 0296 */ UNO_NAME_REFERENCE_FIELD_SOURCE, -/* 0297 */ UNO_NAME_REGISTER_PARAGRAPH_STYLE, -/* 0298 */ UNO_NAME_SCRIPT_TYPE, -/* 0299 */ UNO_NAME_SEARCH_ALL, +/* 0200 */ UNO_NAME_SHOW_DRAWINGS, +/* 0201 */ UNO_NAME_SHOW_TABSTOPS, +/* 0202 */ UNO_NAME_SHOW_VERT_RULER, +/* 0203 */ UNO_NAME_SHOW_PARA_BREAKS, +/* 0204 */ UNO_NAME_SHOW_HIDDEN_TEXT, +/* 0205 */ UNO_NAME_SHOW_ANNOTATIONS, +/* 0206 */ UNO_NAME_SHOW_SOFT_HYPHENS, +/* 0207 */ UNO_NAME_SHOW_VERT_SCROLL_BAR, +/* 0208 */ UNO_NAME_SHOW_HORI_SCROLL_BAR, +/* 0209 */ UNO_NAME_SHOW_FIELD_COMMANDS, +/* 0210 */ UNO_NAME_SHOW_TEXT_BOUNDARIES, +/* 0211 */ UNO_NAME_SHOW_PROTECTED_SPACES, +/* 0212 */ UNO_NAME_SHOW_TABLE_BOUNDARIES, +/* 0213 */ UNO_NAME_SHOW_HIDDEN_PARAGRAPHS, +/* 0214 */ UNO_NAME_SHOW_INDEX_MARK_BACKGROUND, +/* 0215 */ UNO_NAME_SHOW_FOOTNOTE_BACKGROUND, +/* 0216 */ UNO_NAME_SHOW_TEXT_FIELD_BACKGROUND, +/* 0217 */ UNO_NAME_IS_SYNC_WIDTH_TO_HEIGHT, +/* 0218 */ UNO_NAME_IS_SYNC_HEIGHT_TO_WIDTH, +/* 0219 */ UNO_NAME_SIZE_PROTECTED, +/* 0220 */ UNO_NAME_SMOOTH_SCROLLING, +/* 0221 */ UNO_NAME_SOLID_MARK_HANDLES, +/* 0222 */ UNO_NAME_TABLES, +/* 0223 */ UNO_NAME_TEXT_FRAMES, +/* 0224 */ UNO_NAME_TEXT_COLUMNS, +/* 0225 */ UNO_NAME_BACK_TRANSPARENT, +/* 0226 */ UNO_NAME_USE_PP, +/* 0227 */ UNO_NAME_USER_METRIC, +/* 0228 */ UNO_NAME_ANCHOR_TYPE, +/* 0229 */ UNO_NAME_ANCHOR_TYPES, +/* 0230 */ UNO_NAME_ANCHOR_PAGE_NO, +/* 0231 */ UNO_NAME_ANCHOR_FRAME, +/* 0232 */ UNO_NAME_AUTHOR, +/* 0233 */ UNO_NAME_BREAK_TYPE, +/* 0234 */ UNO_NAME_CHAIN_NEXT_NAME, +/* 0235 */ UNO_NAME_CHAIN_PREV_NAME, +/* 0236 */ UNO_NAME_CHAPTER_FORMAT, +/* 0237 */ UNO_NAME_CLIENT_MAP, +/* 0238 */ UNO_NAME_CONDITION, +/* 0239 */ UNO_NAME_CONTENT, +/* 0240 */ UNO_NAME_CHAR_CONTOURED, +/* 0241 */ UNO_NAME_CONTOUR_OUTSIDE, +/* 0242 */ UNO_NAME_CONTENT_PROTECTED, +/* 0243 */ UNO_NAME_COUNT_EMPTY_LINES, +/* 0244 */ UNO_NAME_RESTART_AT_EACH_PAGE, +/* 0245 */ UNO_NAME_DATA_BASE_NAME, +/* 0246 */ UNO_NAME_DATA_TABLE_NAME, +/* 0247 */ UNO_NAME_DATA_COMMAND_TYPE, +/* 0248 */ UNO_NAME_DATA_COLUMN_NAME, +/* 0249 */ UNO_NAME_IS_DATA_BASE_FORMAT, +/* 0250 */ UNO_NAME_DATE, +/* 0251 */ UNO_NAME_IS_DATE, +/* 0252 */ UNO_NAME_EDIT_IN_READONLY, +/* 0253 */ UNO_NAME_FALSE_CONTENT, +/* 0254 */ UNO_NAME_FILE_FORMAT, +/* 0255 */ UNO_NAME_IS_FIXED, +/* 0256 */ UNO_NAME_FOOTNOTE_COUNTING, +/* 0257 */ UNO_NAME_FORMULA, +/* 0258 */ UNO_NAME_FRAME_NAME, +/* 0259 */ UNO_NAME_GRAPHIC_NAME, +/* 0260 */ UNO_NAME_FULL_NAME, +/* 0261 */ UNO_NAME_HEIGHT, +/* 0262 */ UNO_NAME_IS_AUTO_HEIGHT, +/* 0263 */ UNO_NAME_SIZE_TYPE, +/* 0264 */ UNO_NAME_HINT, +/* 0265 */ UNO_NAME_HORI_ORIENT, +/* 0266 */ UNO_NAME_HORI_MIRRORED_ON_EVEN_PAGES, +/* 0267 */ UNO_NAME_HORI_MIRRORED_ON_ODD_PAGES, +/* 0268 */ UNO_NAME_HORI_ORIENT_RELATION, +/* 0269 */ UNO_NAME_HORI_ORIENT_POSITION, +/* 0270 */ UNO_NAME_HYPER_LINK_U_R_L, +/* 0271 */ UNO_NAME_HYPER_LINK_TARGET, +/* 0272 */ UNO_NAME_HYPER_LINK_NAME, +/* 0273 */ UNO_NAME_HYPER_LINK_EVENTS, +/* 0274 */ UNO_NAME_INFO_TYPE, +/* 0275 */ UNO_NAME_INFO_FORMAT, +/* 0276 */ UNO_NAME_IS_INPUT, +/* 0277 */ UNO_NAME_LEVEL, +/* 0278 */ UNO_NAME_INTERVAL, +/* 0279 */ UNO_NAME_LINK_REGION, +/* 0280 */ UNO_NAME_MACRO_NAME, +/* 0281 */ UNO_NAME_SPLIT, +/* 0282 */ UNO_NAME_PARA_SPLIT, +/* 0283 */ UNO_NAME_NUMBER_FORMAT, +/* 0284 */ UNO_NAME_NUMBERING_TYPE, +/* 0285 */ UNO_NAME_NUMBERING_RULES, +/* 0286 */ UNO_NAME_OFFSET, +/* 0287 */ UNO_NAME_ON, +/* 0288 */ UNO_NAME_OPAQUE, +/* 0289 */ UNO_NAME_PAGE_TOGGLE, +/* 0290 */ UNO_NAME_PAGE_DESC_NAME, +/* 0291 */ UNO_NAME_PAGE_NUMBER_OFFSET, +/* 0292 */ UNO_NAME_PLACEHOLDER, +/* 0293 */ UNO_NAME_PLACEHOLDER_TYPE, +/* 0294 */ UNO_NAME_PRINT, +/* 0295 */ UNO_NAME_REFERENCE_FIELD_PART, +/* 0296 */ UNO_NAME_REFERENCE_FIELD_SOURCE, +/* 0297 */ UNO_NAME_REGISTER_PARAGRAPH_STYLE, +/* 0298 */ UNO_NAME_SCRIPT_TYPE, +/* 0299 */ UNO_NAME_SEARCH_ALL, -/* 0300 */ UNO_NAME_SEARCH_WORDS, -/* 0301 */ UNO_NAME_SEQUENCE_VALUE, -/* 0302 */ UNO_NAME_SERVER_MAP, -/* 0303 */ UNO_NAME_IMAGE_MAP, -/* 0304 */ UNO_NAME_SET_NUMBER, -/* 0305 */ UNO_NAME_SHADOW_FORMAT, -/* 0306 */ UNO_NAME_SHOW_HORI_RULER, -/* 0307 */ UNO_NAME_SIZE, -/* 0308 */ UNO_NAME_ACTUAL_SIZE, -/* 0309 */ UNO_NAME_SOURCE_NAME, -/* 0310 */ UNO_NAME_START_AT, -/* 0311 */ UNO_NAME_STATISTIC_TYPE_ID, -/* 0312 */ UNO_NAME_SUB_TYPE, -/* 0313 */ UNO_NAME_SURROUND, -/* 0314 */ UNO_NAME_IS_EXPRESSION, -/* 0315 */ UNO_NAME_IS_SHOW_FORMULA, -/* 0316 */ UNO_NAME_TEXT_WRAP, -/* 0317 */ UNO_NAME_SURROUND_CONTOUR, -/* 0318 */ UNO_NAME_SURROUND_ANCHORONLY, -/* 0319 */ UNO_NAME_TABLE_NAME, -/* 0320 */ UNO_NAME_TABSTOPS, -/* 0321 */ UNO_NAME_TITLE, -/* 0322 */ UNO_NAME_TOP_MARGIN, -/* 0323 */ UNO_NAME_BOTTOM_MARGIN, -/* 0324 */ UNO_NAME_TRUE_CONTENT, -/* 0325 */ UNO_NAME_URL_CONTENT, -/* 0326 */ UNO_NAME_USERTEXT, -/* 0327 */ UNO_NAME_USER_DATA_TYPE, -/* 0328 */ UNO_NAME_VALUE, -/* 0329 */ UNO_NAME_VARIABLE_NAME, -/* 0330 */ UNO_NAME_VARIABLE_SUBTYPE, +/* 0300 */ UNO_NAME_SEARCH_WORDS, +/* 0301 */ UNO_NAME_SEQUENCE_VALUE, +/* 0302 */ UNO_NAME_SERVER_MAP, +/* 0303 */ UNO_NAME_IMAGE_MAP, +/* 0304 */ UNO_NAME_SET_NUMBER, +/* 0305 */ UNO_NAME_SHADOW_FORMAT, +/* 0306 */ UNO_NAME_SHOW_HORI_RULER, +/* 0307 */ UNO_NAME_SIZE, +/* 0308 */ UNO_NAME_ACTUAL_SIZE, +/* 0309 */ UNO_NAME_SOURCE_NAME, +/* 0310 */ UNO_NAME_START_AT, +/* 0311 */ UNO_NAME_STATISTIC_TYPE_ID, +/* 0312 */ UNO_NAME_SUB_TYPE, +/* 0313 */ UNO_NAME_SURROUND, +/* 0314 */ UNO_NAME_IS_EXPRESSION, +/* 0315 */ UNO_NAME_IS_SHOW_FORMULA, +/* 0316 */ UNO_NAME_TEXT_WRAP, +/* 0317 */ UNO_NAME_SURROUND_CONTOUR, +/* 0318 */ UNO_NAME_SURROUND_ANCHORONLY, +/* 0319 */ UNO_NAME_TABLE_NAME, +/* 0320 */ UNO_NAME_TABSTOPS, +/* 0321 */ UNO_NAME_TITLE, +/* 0322 */ UNO_NAME_TOP_MARGIN, +/* 0323 */ UNO_NAME_BOTTOM_MARGIN, +/* 0324 */ UNO_NAME_TRUE_CONTENT, +/* 0325 */ UNO_NAME_URL_CONTENT, +/* 0326 */ UNO_NAME_USERTEXT, +/* 0327 */ UNO_NAME_USER_DATA_TYPE, +/* 0328 */ UNO_NAME_VALUE, +/* 0329 */ UNO_NAME_VARIABLE_NAME, +/* 0330 */ UNO_NAME_VARIABLE_SUBTYPE, /* 0331 */ UNO_NAME_VERT_ORIENT, -/* 0332 */ UNO_NAME_VERT_MIRRORED, -/* 0333 */ UNO_NAME_VERT_ORIENT_POSITION, -/* 0334 */ UNO_NAME_VERT_ORIENT_RELATION, -/* 0335 */ UNO_NAME_IS_VISIBLE, -/* 0336 */ UNO_NAME_WIDTH, -/* 0337 */ UNO_NAME_CHAR_WORD_MODE, -/* 0338 */ UNO_NAME_GRAPHIC_CROP, -/* 0339 */ UNO_NAME_CHARACTER_FORMAT_NONE, -/* 0340 */ UNO_NAME_TEXT_POSITION, -/* 0341 */ UNO_NAME_DOCUMENT_INDEX_MARK, -/* 0342 */ UNO_NAME_DOCUMENT_INDEX, -/* 0343 */ UNO_NAME_IS_GLOBAL_DOCUMENT_SECTION, -/* 0344 */ UNO_NAME_TEXT_FIELD, -/* 0345 */ UNO_NAME_BOOKMARK, -/* 0346 */ UNO_NAME_TEXT_TABLE, -/* 0347 */ UNO_NAME_CELL, -/* 0348 */ UNO_NAME_TEXT_FRAME, -/* 0349 */ UNO_NAME_REFERENCE_MARK, -/* 0350 */ UNO_NAME_TEXT_SECTION, -/* 0351 */ UNO_NAME_FOOTNOTE, -/* 0352 */ UNO_NAME_ENDNOTE, -/* 0353 */ UNO_NAME_CHART_ROW_AS_LABEL, -/* 0354 */ UNO_NAME_CHART_COLUMN_AS_LABEL, -/* 0355 */ UNO_NAME_TABLE_COLUMS, -/* 0356 */ UNO_NAME_LEFT_BORDER, -/* 0357 */ UNO_NAME_RIGHT_BORDER, -/* 0358 */ UNO_NAME_TOP_BORDER, -/* 0359 */ UNO_NAME_BOTTOM_BORDER, -/* 0360 */ UNO_NAME_BORDER_DISTANCE, -/* 0361 */ UNO_NAME_LEFT_BORDER_DISTANCE, -/* 0362 */ UNO_NAME_RIGHT_BORDER_DISTANCE, -/* 0363 */ UNO_NAME_TOP_BORDER_DISTANCE, -/* 0364 */ UNO_NAME_BOTTOM_BORDER_DISTANCE, -/* 0365 */ UNO_NAME_TABLE_BORDER, -/* 0366 */ UNO_NAME_TABLE_COLUMN_SEPARATORS, -/* 0367 */ UNO_NAME_TABLE_COLUMN_RELATIVE_SUM, -/* 0368 */ UNO_NAME_HEADER_TEXT, -/* 0369 */ UNO_NAME_HEADER_TEXT_LEFT, -/* 0370 */ UNO_NAME_HEADER_TEXT_RIGHT, -/* 0371 */ UNO_NAME_FOOTER_TEXT, -/* 0372 */ UNO_NAME_FOOTER_TEXT_LEFT, -/* 0373 */ UNO_NAME_FOOTER_TEXT_RIGHT, -/* 0374 */ UNO_NAME_HEADER_BACK_COLOR, -/* 0375 */ UNO_NAME_HEADER_GRAPHIC, -/* 0376 */ UNO_NAME_HEADER_BACK_TRANSPARENT, -/* 0377 */ UNO_NAME_HEADER_LEFT_BORDER, -/* 0378 */ UNO_NAME_HEADER_RIGHT_BORDER, -/* 0379 */ UNO_NAME_HEADER_TOP_BORDER, -/* 0380 */ UNO_NAME_HEADER_BOTTOM_BORDER, -/* 0381 */ UNO_NAME_HEADER_BORDER_DISTANCE, -/* 0382 */ UNO_NAME_HEADER_SHADOW_FORMAT, -/* 0383 */ UNO_NAME_HEADER_BODY_DISTANCE, -/* 0384 */ UNO_NAME_HEADER_IS_DYNAMIC_HEIGHT, -/* 0385 */ UNO_NAME_HEADER_IS_SHARED, -/* 0386 */ UNO_NAME_HEADER_HEIGHT, -/* 0387 */ UNO_NAME_HEADER_IS_ON, -/* 0388 */ UNO_NAME_FOOTER_BACK_COLOR, -/* 0389 */ UNO_NAME_FOOTER_GRAPHIC, -/* 0390 */ UNO_NAME_FOOTER_BACK_TRANSPARENT, -/* 0391 */ UNO_NAME_FOOTER_LEFT_BORDER, -/* 0392 */ UNO_NAME_FOOTER_RIGHT_BORDER, -/* 0393 */ UNO_NAME_FOOTER_TOP_BORDER, -/* 0394 */ UNO_NAME_FOOTER_BOTTOM_BORDER, -/* 0395 */ UNO_NAME_FOOTER_BORDER_DISTANCE, -/* 0396 */ UNO_NAME_FOOTER_SHADOW_FORMAT, -/* 0397 */ UNO_NAME_FOOTER_BODY_DISTANCE, -/* 0398 */ UNO_NAME_FOOTER_IS_DYNAMIC_HEIGHT, -/* 0399 */ UNO_NAME_FOOTER_IS_SHARED, +/* 0332 */ UNO_NAME_VERT_MIRRORED, +/* 0333 */ UNO_NAME_VERT_ORIENT_POSITION, +/* 0334 */ UNO_NAME_VERT_ORIENT_RELATION, +/* 0335 */ UNO_NAME_IS_VISIBLE, +/* 0336 */ UNO_NAME_WIDTH, +/* 0337 */ UNO_NAME_CHAR_WORD_MODE, +/* 0338 */ UNO_NAME_GRAPHIC_CROP, +/* 0339 */ UNO_NAME_CHARACTER_FORMAT_NONE, +/* 0340 */ UNO_NAME_TEXT_POSITION, +/* 0341 */ UNO_NAME_DOCUMENT_INDEX_MARK, +/* 0342 */ UNO_NAME_DOCUMENT_INDEX, +/* 0343 */ UNO_NAME_IS_GLOBAL_DOCUMENT_SECTION, +/* 0344 */ UNO_NAME_TEXT_FIELD, +/* 0345 */ UNO_NAME_BOOKMARK, +/* 0346 */ UNO_NAME_TEXT_TABLE, +/* 0347 */ UNO_NAME_CELL, +/* 0348 */ UNO_NAME_TEXT_FRAME, +/* 0349 */ UNO_NAME_REFERENCE_MARK, +/* 0350 */ UNO_NAME_TEXT_SECTION, +/* 0351 */ UNO_NAME_FOOTNOTE, +/* 0352 */ UNO_NAME_ENDNOTE, +/* 0353 */ UNO_NAME_CHART_ROW_AS_LABEL, +/* 0354 */ UNO_NAME_CHART_COLUMN_AS_LABEL, +/* 0355 */ UNO_NAME_TABLE_COLUMS, +/* 0356 */ UNO_NAME_LEFT_BORDER, +/* 0357 */ UNO_NAME_RIGHT_BORDER, +/* 0358 */ UNO_NAME_TOP_BORDER, +/* 0359 */ UNO_NAME_BOTTOM_BORDER, +/* 0360 */ UNO_NAME_BORDER_DISTANCE, +/* 0361 */ UNO_NAME_LEFT_BORDER_DISTANCE, +/* 0362 */ UNO_NAME_RIGHT_BORDER_DISTANCE, +/* 0363 */ UNO_NAME_TOP_BORDER_DISTANCE, +/* 0364 */ UNO_NAME_BOTTOM_BORDER_DISTANCE, +/* 0365 */ UNO_NAME_TABLE_BORDER, +/* 0366 */ UNO_NAME_TABLE_COLUMN_SEPARATORS, +/* 0367 */ UNO_NAME_TABLE_COLUMN_RELATIVE_SUM, +/* 0368 */ UNO_NAME_HEADER_TEXT, +/* 0369 */ UNO_NAME_HEADER_TEXT_LEFT, +/* 0370 */ UNO_NAME_HEADER_TEXT_RIGHT, +/* 0371 */ UNO_NAME_FOOTER_TEXT, +/* 0372 */ UNO_NAME_FOOTER_TEXT_LEFT, +/* 0373 */ UNO_NAME_FOOTER_TEXT_RIGHT, +/* 0374 */ UNO_NAME_HEADER_BACK_COLOR, +/* 0375 */ UNO_NAME_HEADER_GRAPHIC, +/* 0376 */ UNO_NAME_HEADER_BACK_TRANSPARENT, +/* 0377 */ UNO_NAME_HEADER_LEFT_BORDER, +/* 0378 */ UNO_NAME_HEADER_RIGHT_BORDER, +/* 0379 */ UNO_NAME_HEADER_TOP_BORDER, +/* 0380 */ UNO_NAME_HEADER_BOTTOM_BORDER, +/* 0381 */ UNO_NAME_HEADER_BORDER_DISTANCE, +/* 0382 */ UNO_NAME_HEADER_SHADOW_FORMAT, +/* 0383 */ UNO_NAME_HEADER_BODY_DISTANCE, +/* 0384 */ UNO_NAME_HEADER_IS_DYNAMIC_HEIGHT, +/* 0385 */ UNO_NAME_HEADER_IS_SHARED, +/* 0386 */ UNO_NAME_HEADER_HEIGHT, +/* 0387 */ UNO_NAME_HEADER_IS_ON, +/* 0388 */ UNO_NAME_FOOTER_BACK_COLOR, +/* 0389 */ UNO_NAME_FOOTER_GRAPHIC, +/* 0390 */ UNO_NAME_FOOTER_BACK_TRANSPARENT, +/* 0391 */ UNO_NAME_FOOTER_LEFT_BORDER, +/* 0392 */ UNO_NAME_FOOTER_RIGHT_BORDER, +/* 0393 */ UNO_NAME_FOOTER_TOP_BORDER, +/* 0394 */ UNO_NAME_FOOTER_BOTTOM_BORDER, +/* 0395 */ UNO_NAME_FOOTER_BORDER_DISTANCE, +/* 0396 */ UNO_NAME_FOOTER_SHADOW_FORMAT, +/* 0397 */ UNO_NAME_FOOTER_BODY_DISTANCE, +/* 0398 */ UNO_NAME_FOOTER_IS_DYNAMIC_HEIGHT, +/* 0399 */ UNO_NAME_FOOTER_IS_SHARED, -/* 0400 */ UNO_NAME_FOOTER_HEIGHT, -/* 0401 */ UNO_NAME_FOOTER_IS_ON, -/* 0402 */ UNO_NAME_OVERWRITE_STYLES, -/* 0403 */ UNO_NAME_LOAD_NUMBERING_STYLES, -/* 0404 */ UNO_NAME_LOAD_PAGE_STYLES, -/* 0405 */ UNO_NAME_LOAD_FRAME_STYLES, -/* 0406 */ UNO_NAME_LOAD_TEXT_STYLES, -/* 0407 */ UNO_NAME_FILE_NAME, -/* 0408 */ UNO_NAME_FILTER_NAME, -/* 0409 */ UNO_NAME_FILTER_OPTION, -/* 0410 */ UNO_NAME_PASSWORD, -/* 0411 */ UNO_NAME_COPY_COUNT, -/* 0412 */ UNO_NAME_COLLATE, -/* 0413 */ UNO_NAME_SORT, -/* 0414 */ UNO_NAME_PAGES, -/* 0415 */ UNO_NAME_FIRST_LINE_OFFSET, -/* 0416 */ UNO_NAME_SYMBOL_TEXT_DISTANCE, -/* 0417 */ UNO_NAME_USER_INDEX_NAME, -/* 0418 */ UNO_NAME_REVISION, -/* 0419 */ UNO_NAME_UNVISITED_CHAR_STYLE_NAME, -/* 0420 */ UNO_NAME_VISITED_CHAR_STYLE_NAME, -/* 0421 */ UNO_NAME_PARAGRAPH_COUNT, -/* 0422 */ UNO_NAME_WORD_COUNT, -/* 0423 */ UNO_NAME_WORD_SEPARATOR, -/* 0424 */ UNO_NAME_CHARACTER_COUNT, -/* 0425 */ UNO_NAME_ZOOM_VALUE, -/* 0426 */ UNO_NAME_ZOOM_TYPE, -/* 0427 */ UNO_NAME_CREATE_FROM_MARKS, -/* 0428 */ UNO_NAME_CREATE_FROM_OUTLINE, -/* 0429 */ UNO_NAME_PARAGRAPH_STYLE_NAMES, -/* 0430 */ UNO_NAME_CREATE_FROM_CHAPTER, -/* 0431 */ UNO_NAME_CREATE_FROM_LABELS, -/* 0432 */ UNO_NAME_USE_ALPHABETICAL_SEPARATORS, -/* 0433 */ UNO_NAME_USE_KEY_AS_ENTRY, -/* 0434 */ UNO_NAME_USE_COMBINED_ENTRIES, -/* 0435 */ UNO_NAME_IS_CASE_SENSITIVE, -/* 0436 */ UNO_NAME_USE_P_P, -/* 0437 */ UNO_NAME_USE_DASH, -/* 0438 */ UNO_NAME_USE_UPPER_CASE, -/* 0439 */ UNO_NAME_LABEL_CATEGORY, -/* 0440 */ UNO_NAME_LABEL_DISPLAY_TYPE, -/* 0441 */ UNO_NAME_USE_LEVEL_FROM_SOURCE, -/* 0442 */ UNO_NAME_LEVEL_FORMAT, -/* 0443 */ UNO_NAME_LEVEL_PARAGRAPH_STYLES, -/* 0444 */ UNO_NAME_RECALC_TAB_STOPS, -/* 0445 */ UNO_NAME_MAIN_ENTRY_CHARACTER_STYLE_NAME, -/* 0446 */ UNO_NAME_CREATE_FROM_TABLES, -/* 0447 */ UNO_NAME_CREATE_FROM_TEXT_FRAMES, -/* 0448 */ UNO_NAME_CREATE_FROM_GRAPHIC_OBJECTS, -/* 0449 */ UNO_NAME_CREATE_FROM_EMBEDDED_OBJECTS, -/* 0450 */ UNO_NAME_CREATE_FROM_STAR_MATH, -/* 0451 */ UNO_NAME_CREATE_FROM_STAR_CHART, -/* 0452 */ UNO_NAME_CREATE_FROM_STAR_CALC, -/* 0453 */ UNO_NAME_CREATE_FROM_STAR_DRAW, -/* 0454 */ UNO_NAME_CREATE_FROM_OTHER_EMBEDDED_OBJECTS, -/* 0455 */ UNO_NAME_INDEX_AUTO_MARK_FILE_U_R_L, -/* 0456 */ UNO_NAME_IS_COMMA_SEPARATED, -/* 0457 */ UNO_NAME_IS_RELATIVE_TABSTOPS, -/* 0458 */ UNO_NAME_CREATE_FROM_LEVEL_PARAGRAPH_STYLES, -/* 0459 */ UNO_NAME_SHOW_CHANGES, -/* 0460 */ UNO_NAME_RECORD_CHANGES, -/* 0461 */ UNO_LINK_DISPLAY_NAME, -/* 0462 */ UNO_LINK_DISPLAY_BITMAP, -/* 0463 */ UNO_NAME_HEADING_STYLE_NAME, -/* 0464 */ UNO_NAME_SHOW_ONLINE_LAYOUT, -/* 0465 */ UNO_NAME_USER_DEFINED_ATTRIBUTES, -/* 0466 */ UNO_NAME_TEXT_USER_DEFINED_ATTRIBUTES, -/* 0467 */ UNO_NAME_FILE_PATH, -/* 0468 */ UNO_NAME_PARA_CHAPTER_NUMBERING_LEVEL, -/* 0469 */ UNO_NAME_PARA_CONDITIONAL_STYLE_NAME, -/* 0470 */ UNO_NAME_CHAPTER_NUMBERING_LEVEL, -/* 0471 */ UNO_NAME_NUMBERING_SEPARATOR, -/* 0472 */ UNO_NAME_IS_CONTINUOUS_NUMBERING, -/* 0473 */ UNO_NAME_IS_AUTOMATIC, -/* 0474 */ UNO_NAME_IS_ABSOLUTE_MARGINS, -/* 0475 */ UNO_NAME_CATEGORY, -/* 0476 */ UNO_NAME_DEPENDENT_TEXT_FIELDS, -/* 0477 */ UNO_NAME_CURRENT_PRESENTATION, -/* 0478 */ UNO_NAME_ADJUST, -/* 0479 */ UNO_NAME_INSTANCE_NAME, -/* 0480 */ UNO_NAME_TEXT_PORTION_TYPE, -/* 0481 */ UNO_NAME_CONTROL_CHARACTER, -/* 0482 */ UNO_NAME_IS_COLLAPSED, -/* 0483 */ UNO_NAME_IS_START, -/* 0484 */ UNO_NAME_SEQUENCE_NUMBER, -/* 0485 */ UNO_NAME_REFERENCE_ID, -/* 0486 */ UNO_NAME_HEADER_LEFT_BORDER_DISTANCE, -/* 0487 */ UNO_NAME_HEADER_RIGHT_BORDER_DISTANCE, -/* 0488 */ UNO_NAME_HEADER_TOP_BORDER_DISTANCE, -/* 0489 */ UNO_NAME_HEADER_BOTTOM_BORDER_DISTANCE, -/* 0490 */ UNO_NAME_FOOTER_LEFT_BORDER_DISTANCE, -/* 0491 */ UNO_NAME_FOOTER_RIGHT_BORDER_DISTANCE, -/* 0492 */ UNO_NAME_FOOTER_TOP_BORDER_DISTANCE, -/* 0493 */ UNO_NAME_FOOTER_BOTTOM_BORDER_DISTANCE, -/* 0494 */ UNO_NAME_PARA_IS_NUMBERING_RESTART, -/* 0495 */ UNO_NAME_HIDE_FIELD_TIPS, -/* 0496 */ UNO_NAME_HEADER_USER_DEFINED_ATTRIBUTES, -/* 0497 */ UNO_NAME_FOOTER_USER_DEFINED_ATTRIBUTES, -/* 0498 */ UNO_NAME_PARA_SHADOW_FORMAT, -/* 0499 */ UNO_NAME_CONTOUR_POLY_POLYGON, +/* 0400 */ UNO_NAME_FOOTER_HEIGHT, +/* 0401 */ UNO_NAME_FOOTER_IS_ON, +/* 0402 */ UNO_NAME_OVERWRITE_STYLES, +/* 0403 */ UNO_NAME_LOAD_NUMBERING_STYLES, +/* 0404 */ UNO_NAME_LOAD_PAGE_STYLES, +/* 0405 */ UNO_NAME_LOAD_FRAME_STYLES, +/* 0406 */ UNO_NAME_LOAD_TEXT_STYLES, +/* 0407 */ UNO_NAME_FILE_NAME, +/* 0408 */ UNO_NAME_FILTER_NAME, +/* 0409 */ UNO_NAME_FILTER_OPTION, +/* 0410 */ UNO_NAME_PASSWORD, +/* 0411 */ UNO_NAME_COPY_COUNT, +/* 0412 */ UNO_NAME_COLLATE, +/* 0413 */ UNO_NAME_SORT, +/* 0414 */ UNO_NAME_PAGES, +/* 0415 */ UNO_NAME_FIRST_LINE_OFFSET, +/* 0416 */ UNO_NAME_SYMBOL_TEXT_DISTANCE, +/* 0417 */ UNO_NAME_USER_INDEX_NAME, +/* 0418 */ UNO_NAME_REVISION, +/* 0419 */ UNO_NAME_UNVISITED_CHAR_STYLE_NAME, +/* 0420 */ UNO_NAME_VISITED_CHAR_STYLE_NAME, +/* 0421 */ UNO_NAME_PARAGRAPH_COUNT, +/* 0422 */ UNO_NAME_WORD_COUNT, +/* 0423 */ UNO_NAME_WORD_SEPARATOR, +/* 0424 */ UNO_NAME_CHARACTER_COUNT, +/* 0425 */ UNO_NAME_ZOOM_VALUE, +/* 0426 */ UNO_NAME_ZOOM_TYPE, +/* 0427 */ UNO_NAME_CREATE_FROM_MARKS, +/* 0428 */ UNO_NAME_CREATE_FROM_OUTLINE, +/* 0429 */ UNO_NAME_PARAGRAPH_STYLE_NAMES, +/* 0430 */ UNO_NAME_CREATE_FROM_CHAPTER, +/* 0431 */ UNO_NAME_CREATE_FROM_LABELS, +/* 0432 */ UNO_NAME_USE_ALPHABETICAL_SEPARATORS, +/* 0433 */ UNO_NAME_USE_KEY_AS_ENTRY, +/* 0434 */ UNO_NAME_USE_COMBINED_ENTRIES, +/* 0435 */ UNO_NAME_IS_CASE_SENSITIVE, +/* 0436 */ UNO_NAME_USE_P_P, +/* 0437 */ UNO_NAME_USE_DASH, +/* 0438 */ UNO_NAME_USE_UPPER_CASE, +/* 0439 */ UNO_NAME_LABEL_CATEGORY, +/* 0440 */ UNO_NAME_LABEL_DISPLAY_TYPE, +/* 0441 */ UNO_NAME_USE_LEVEL_FROM_SOURCE, +/* 0442 */ UNO_NAME_LEVEL_FORMAT, +/* 0443 */ UNO_NAME_LEVEL_PARAGRAPH_STYLES, +/* 0444 */ UNO_NAME_RECALC_TAB_STOPS, +/* 0445 */ UNO_NAME_MAIN_ENTRY_CHARACTER_STYLE_NAME, +/* 0446 */ UNO_NAME_CREATE_FROM_TABLES, +/* 0447 */ UNO_NAME_CREATE_FROM_TEXT_FRAMES, +/* 0448 */ UNO_NAME_CREATE_FROM_GRAPHIC_OBJECTS, +/* 0449 */ UNO_NAME_CREATE_FROM_EMBEDDED_OBJECTS, +/* 0450 */ UNO_NAME_CREATE_FROM_STAR_MATH, +/* 0451 */ UNO_NAME_CREATE_FROM_STAR_CHART, +/* 0452 */ UNO_NAME_CREATE_FROM_STAR_CALC, +/* 0453 */ UNO_NAME_CREATE_FROM_STAR_DRAW, +/* 0454 */ UNO_NAME_CREATE_FROM_OTHER_EMBEDDED_OBJECTS, +/* 0455 */ UNO_NAME_INDEX_AUTO_MARK_FILE_U_R_L, +/* 0456 */ UNO_NAME_IS_COMMA_SEPARATED, +/* 0457 */ UNO_NAME_IS_RELATIVE_TABSTOPS, +/* 0458 */ UNO_NAME_CREATE_FROM_LEVEL_PARAGRAPH_STYLES, +/* 0459 */ UNO_NAME_SHOW_CHANGES, +/* 0460 */ UNO_NAME_RECORD_CHANGES, +/* 0461 */ UNO_LINK_DISPLAY_NAME, +/* 0462 */ UNO_LINK_DISPLAY_BITMAP, +/* 0463 */ UNO_NAME_HEADING_STYLE_NAME, +/* 0464 */ UNO_NAME_SHOW_ONLINE_LAYOUT, +/* 0465 */ UNO_NAME_USER_DEFINED_ATTRIBUTES, +/* 0466 */ UNO_NAME_TEXT_USER_DEFINED_ATTRIBUTES, +/* 0467 */ UNO_NAME_FILE_PATH, +/* 0468 */ UNO_NAME_PARA_CHAPTER_NUMBERING_LEVEL, +/* 0469 */ UNO_NAME_PARA_CONDITIONAL_STYLE_NAME, +/* 0470 */ UNO_NAME_CHAPTER_NUMBERING_LEVEL, +/* 0471 */ UNO_NAME_NUMBERING_SEPARATOR, +/* 0472 */ UNO_NAME_IS_CONTINUOUS_NUMBERING, +/* 0473 */ UNO_NAME_IS_AUTOMATIC, +/* 0474 */ UNO_NAME_IS_ABSOLUTE_MARGINS, +/* 0475 */ UNO_NAME_CATEGORY, +/* 0476 */ UNO_NAME_DEPENDENT_TEXT_FIELDS, +/* 0477 */ UNO_NAME_CURRENT_PRESENTATION, +/* 0478 */ UNO_NAME_ADJUST, +/* 0479 */ UNO_NAME_INSTANCE_NAME, +/* 0480 */ UNO_NAME_TEXT_PORTION_TYPE, +/* 0481 */ UNO_NAME_CONTROL_CHARACTER, +/* 0482 */ UNO_NAME_IS_COLLAPSED, +/* 0483 */ UNO_NAME_IS_START, +/* 0484 */ UNO_NAME_SEQUENCE_NUMBER, +/* 0485 */ UNO_NAME_REFERENCE_ID, +/* 0486 */ UNO_NAME_HEADER_LEFT_BORDER_DISTANCE, +/* 0487 */ UNO_NAME_HEADER_RIGHT_BORDER_DISTANCE, +/* 0488 */ UNO_NAME_HEADER_TOP_BORDER_DISTANCE, +/* 0489 */ UNO_NAME_HEADER_BOTTOM_BORDER_DISTANCE, +/* 0490 */ UNO_NAME_FOOTER_LEFT_BORDER_DISTANCE, +/* 0491 */ UNO_NAME_FOOTER_RIGHT_BORDER_DISTANCE, +/* 0492 */ UNO_NAME_FOOTER_TOP_BORDER_DISTANCE, +/* 0493 */ UNO_NAME_FOOTER_BOTTOM_BORDER_DISTANCE, +/* 0494 */ UNO_NAME_PARA_IS_NUMBERING_RESTART, +/* 0495 */ UNO_NAME_HIDE_FIELD_TIPS, +/* 0496 */ UNO_NAME_HEADER_USER_DEFINED_ATTRIBUTES, +/* 0497 */ UNO_NAME_FOOTER_USER_DEFINED_ATTRIBUTES, +/* 0498 */ UNO_NAME_PARA_SHADOW_FORMAT, +/* 0499 */ UNO_NAME_CONTOUR_POLY_POLYGON, -/* 0500 */ UNO_NAME_IS_PIXEL_CONTOUR, -/* 0501 */ UNO_NAME_IS_AUTOMATIC_CONTOUR, -/* 0502 */ UNO_NAME_SEPARATOR_LINE_WIDTH, -/* 0503 */ UNO_NAME_SEPARATOR_LINE_COLOR, -/* 0504 */ UNO_NAME_SEPARATOR_LINE_RELATIVE_HEIGHT, -/* 0505 */ UNO_NAME_SEPARATOR_LINE_VERTIVAL_ALIGNMENT, -/* 0506 */ UNO_NAME_SEPARATOR_LINE_IS_ON, -/* 0507 */ UNO_NAME_IS_SKIP_HIDDEN_TEXT, -/* 0508 */ UNO_NAME_IS_SKIP_PROTECTED_TEXT, -/* 0509 */ UNO_NAME_DOCUMENT_INDEX_MARKS, -/* 0510 */ UNO_NAME_FOOTNOTE_IS_COLLECT_AT_TEXT_END, -/* 0511 */ UNO_NAME_FOOTNOTE_IS_RESTART_NUMBERING, -/* 0512 */ UNO_NAME_FOOTNOTE_RESTART_NUMBERING_AT, -/* 0513 */ UNO_NAME_FOOTNOTE_IS_OWN_NUMBERING, -/* 0514 */ UNO_NAME_FOOTNOTE_NUMBERING_TYPE, -/* 0515 */ UNO_NAME_FOOTNOTE_NUMBERING_PREFIX, -/* 0516 */ UNO_NAME_FOOTNOTE_NUMBERING_SUFFIX, -/* 0517 */ UNO_NAME_ENDNOTE_IS_COLLECT_AT_TEXT_END, -/* 0518 */ UNO_NAME_ENDNOTE_IS_RESTART_NUMBERING, -/* 0519 */ UNO_NAME_ENDNOTE_RESTART_NUMBERING_AT, -/* 0520 */ UNO_NAME_ENDNOTE_IS_OWN_NUMBERING, -/* 0521 */ UNO_NAME_ENDNOTE_NUMBERING_TYPE, -/* 0522 */ UNO_NAME_ENDNOTE_NUMBERING_PREFIX, -/* 0523 */ UNO_NAME_ENDNOTE_NUMBERING_SUFFIX, -/* 0524 */ UNO_NAME_BRACKET_BEFORE, -/* 0525 */ UNO_NAME_BRACKET_AFTER, -/* 0526 */ UNO_NAME_IS_NUMBER_ENTRIES, -/* 0527 */ UNO_NAME_IS_SORT_BY_POSITION, -/* 0528 */ UNO_NAME_SORT_KEYS, -/* 0529 */ UNO_NAME_IS_SORT_ASCENDING, -/* 0530 */ UNO_NAME_SORT_KEY, -/* 0531 */ UNO_NAME_FIELDS, -/* 0532 */ UNO_NAME_DATE_TIME_VALUE, -/* 0533 */ UNO_NAME_IS_ON, -/* 0534 */ UNO_NAME_Z_ORDER, -/* 0535 */ UNO_NAME_CONTENT_SECTION, -/* 0536 */ UNO_NAME_HEADER_SECTION, -/* 0537 */ UNO_NAME_PARA_IS_HANGING_PUNCTUATION, -/* 0538 */ UNO_NAME_PARA_IS_CHARACTER_DISTANCE, -/* 0539 */ UNO_NAME_PARA_IS_FORBIDDEN_RULES, -/* 0540 */ UNO_NAME_PARA_VERT_ALIGNMENT, -/* 0541 */ UNO_NAME_IS_MAIN_ENTRY, -/* 0542 */ UNO_NAME_GRAPHIC_ROTATION, -/* 0543 */ UNO_NAME_ADJUST_LUMINANCE, -/* 0544 */ UNO_NAME_ADJUST_CONTRAST, -/* 0545 */ UNO_NAME_ADJUST_RED, -/* 0546 */ UNO_NAME_ADJUST_GREEN, -/* 0547 */ UNO_NAME_ADJUST_BLUE, -/* 0548 */ UNO_NAME_GAMMA, -/* 0549 */ UNO_NAME_GRAPHIC_IS_INVERTED, -/* 0550 */ UNO_NAME_TRANSPARENCY, -/* 0551 */ UNO_NAME_GRAPHIC_COLOR_MODE, -/* 0552 */ UNO_NAME_REDLINE_AUTHOR, -/* 0553 */ UNO_NAME_REDLINE_DATE_TIME, -/* 0554 */ UNO_NAME_REDLINE_COMMENT, -/* 0555 */ UNO_NAME_REDLINE_TYPE, -/* 0556 */ UNO_NAME_REDLINE_SUCCESSOR_DATA, -/* 0557 */ UNO_NAME_REDLINE_IDENTIFIER, -/* 0558 */ UNO_NAME_IS_IN_HEADER_FOOTER, -/* 0559 */ UNO_NAME_START_REDLINE, -/* 0560 */ UNO_NAME_END_REDLINE, -/* 0561 */ UNO_NAME_REDLINE_START, -/* 0562 */ UNO_NAME_REDLINE_END, -/* 0563 */ UNO_NAME_REDLINE_TEXT, -/* 0564 */ UNO_NAME_REDLINE_DISPLAY_TYPE, -/* 0565 */ UNO_NAME_FORBIDDEN_CHARACTERS, -/* 0566 */ UNO_NAME_RUBY_BASE_TEXT, -/* 0567 */ UNO_NAME_RUBY_TEXT, -/* 0568 */ UNO_NAME_RUBY_ADJUST, -/* 0569 */ UNO_NAME_RUBY_CHAR_STYLE_NAME, -/* 0570 */ UNO_NAME_RUBY_IS_ABOVE, -/* 0571 */ UNO_NAME_FOOTNOTE_HEIGHT, -/* 0572 */ UNO_NAME_FOOTNOTE_LINE_WEIGHT, -/* 0573 */ UNO_NAME_FOOTNOTE_LINE_COLOR, -/* 0574 */ UNO_NAME_FOOTNOTE_LINE_RELATIVE_WIDTH, -/* 0575 */ UNO_NAME_FOOTNOTE_LINE_ADJUST, -/* 0576 */ UNO_NAME_FOOTNOTE_LINE_TEXT_DISTANCE, -/* 0577 */ UNO_NAME_FOOTNOTE_LINE_DISTANCE, -/* 0578 */ UNO_NAME_CHAR_ROTATION, -/* 0579 */ UNO_NAME_CHAR_ROTATION_IS_FIT_TO_LINE, -/* 0580 */ UNO_NAME_CHAR_SCALE_WIDTH, -/* 0581 */ UNO_NAME_TAB_STOP_DISTANCE, -/* 0582 */ UNO_NAME_IS_WIDTH_RELATIVE, -/* 0583 */ UNO_NAME_CHAR_RELIEF, -/* 0584 */ UNO_NAME_IS_HIDDEN, -/* 0585 */ UNO_NAME_IS_CONDITION_TRUE, -/* 0586 */ UNO_NAME_TWO_DIGIT_YEAR, -/* 0587 */ UNO_NAME_PROTECTION_KEY, -/* 0588 */ UNO_NAME_REDLINE_PROTECTION_KEY, -/* 0589 */ UNO_NAME_AUTOMATIC_DISTANCE, -/* 0590 */ UNO_NAME_AUTOMATIC_CONTROL_FOCUS, -/* 0591 */ UNO_NAME_APPLY_FORM_DESIGN_MODE, -/* 0592 */ UNO_NAME_LOCALE, -/* 0593 */ UNO_NAME_SORT_ALGORITHM, -/* 0594 */ UNO_NAME_FRAME_HEIGHT_ABSOLUTE, -/* 0596 */ UNO_NAME_FRAME_HEIGHT_PERCENT, -/* 0597 */ UNO_NAME_FRAME_ISAUTOMATIC_HEIGHT, -/* 0598 */ UNO_NAME_FRAME_WIDTH_ABSOLUTE, -/* 0599 */ UNO_NAME_FRAME_WIDTH_PERCENT, -/* 0600 */ UNO_NAME_PARA_STYLEHEADING, -/* 0601 */ UNO_NAME_PARA_STYLELEVEL1, -/* 0602 */ UNO_NAME_PARA_STYLELEVEL10, -/* 0603 */ UNO_NAME_PARA_STYLELEVEL2, -/* 0604 */ UNO_NAME_PARA_STYLELEVEL3, -/* 0605 */ UNO_NAME_PARA_STYLELEVEL4, -/* 0606 */ UNO_NAME_PARA_STYLELEVEL5, -/* 0607 */ UNO_NAME_PARA_STYLELEVEL6, -/* 0608 */ UNO_NAME_PARA_STYLELEVEL7, -/* 0609 */ UNO_NAME_PARA_STYLELEVEL8, -/* 0610 */ UNO_NAME_PARA_STYLELEVEL9, -/* 0611 */ UNO_NAME_PARA_STYLESEPARATOR, -/* 0612 */ UNO_NAME_MACRO_LIBRARY, -/* 0613 */ UNO_NAME_CELL_NAME, +/* 0500 */ UNO_NAME_IS_PIXEL_CONTOUR, +/* 0501 */ UNO_NAME_IS_AUTOMATIC_CONTOUR, +/* 0502 */ UNO_NAME_SEPARATOR_LINE_WIDTH, +/* 0503 */ UNO_NAME_SEPARATOR_LINE_COLOR, +/* 0504 */ UNO_NAME_SEPARATOR_LINE_RELATIVE_HEIGHT, +/* 0505 */ UNO_NAME_SEPARATOR_LINE_VERTIVAL_ALIGNMENT, +/* 0506 */ UNO_NAME_SEPARATOR_LINE_IS_ON, +/* 0507 */ UNO_NAME_IS_SKIP_HIDDEN_TEXT, +/* 0508 */ UNO_NAME_IS_SKIP_PROTECTED_TEXT, +/* 0509 */ UNO_NAME_DOCUMENT_INDEX_MARKS, +/* 0510 */ UNO_NAME_FOOTNOTE_IS_COLLECT_AT_TEXT_END, +/* 0511 */ UNO_NAME_FOOTNOTE_IS_RESTART_NUMBERING, +/* 0512 */ UNO_NAME_FOOTNOTE_RESTART_NUMBERING_AT, +/* 0513 */ UNO_NAME_FOOTNOTE_IS_OWN_NUMBERING, +/* 0514 */ UNO_NAME_FOOTNOTE_NUMBERING_TYPE, +/* 0515 */ UNO_NAME_FOOTNOTE_NUMBERING_PREFIX, +/* 0516 */ UNO_NAME_FOOTNOTE_NUMBERING_SUFFIX, +/* 0517 */ UNO_NAME_ENDNOTE_IS_COLLECT_AT_TEXT_END, +/* 0518 */ UNO_NAME_ENDNOTE_IS_RESTART_NUMBERING, +/* 0519 */ UNO_NAME_ENDNOTE_RESTART_NUMBERING_AT, +/* 0520 */ UNO_NAME_ENDNOTE_IS_OWN_NUMBERING, +/* 0521 */ UNO_NAME_ENDNOTE_NUMBERING_TYPE, +/* 0522 */ UNO_NAME_ENDNOTE_NUMBERING_PREFIX, +/* 0523 */ UNO_NAME_ENDNOTE_NUMBERING_SUFFIX, +/* 0524 */ UNO_NAME_BRACKET_BEFORE, +/* 0525 */ UNO_NAME_BRACKET_AFTER, +/* 0526 */ UNO_NAME_IS_NUMBER_ENTRIES, +/* 0527 */ UNO_NAME_IS_SORT_BY_POSITION, +/* 0528 */ UNO_NAME_SORT_KEYS, +/* 0529 */ UNO_NAME_IS_SORT_ASCENDING, +/* 0530 */ UNO_NAME_SORT_KEY, +/* 0531 */ UNO_NAME_FIELDS, +/* 0532 */ UNO_NAME_DATE_TIME_VALUE, +/* 0533 */ UNO_NAME_IS_ON, +/* 0534 */ UNO_NAME_Z_ORDER, +/* 0535 */ UNO_NAME_CONTENT_SECTION, +/* 0536 */ UNO_NAME_HEADER_SECTION, +/* 0537 */ UNO_NAME_PARA_IS_HANGING_PUNCTUATION, +/* 0538 */ UNO_NAME_PARA_IS_CHARACTER_DISTANCE, +/* 0539 */ UNO_NAME_PARA_IS_FORBIDDEN_RULES, +/* 0540 */ UNO_NAME_PARA_VERT_ALIGNMENT, +/* 0541 */ UNO_NAME_IS_MAIN_ENTRY, +/* 0542 */ UNO_NAME_GRAPHIC_ROTATION, +/* 0543 */ UNO_NAME_ADJUST_LUMINANCE, +/* 0544 */ UNO_NAME_ADJUST_CONTRAST, +/* 0545 */ UNO_NAME_ADJUST_RED, +/* 0546 */ UNO_NAME_ADJUST_GREEN, +/* 0547 */ UNO_NAME_ADJUST_BLUE, +/* 0548 */ UNO_NAME_GAMMA, +/* 0549 */ UNO_NAME_GRAPHIC_IS_INVERTED, +/* 0550 */ UNO_NAME_TRANSPARENCY, +/* 0551 */ UNO_NAME_GRAPHIC_COLOR_MODE, +/* 0552 */ UNO_NAME_REDLINE_AUTHOR, +/* 0553 */ UNO_NAME_REDLINE_DATE_TIME, +/* 0554 */ UNO_NAME_REDLINE_COMMENT, +/* 0555 */ UNO_NAME_REDLINE_TYPE, +/* 0556 */ UNO_NAME_REDLINE_SUCCESSOR_DATA, +/* 0557 */ UNO_NAME_REDLINE_IDENTIFIER, +/* 0558 */ UNO_NAME_IS_IN_HEADER_FOOTER, +/* 0559 */ UNO_NAME_START_REDLINE, +/* 0560 */ UNO_NAME_END_REDLINE, +/* 0561 */ UNO_NAME_REDLINE_START, +/* 0562 */ UNO_NAME_REDLINE_END, +/* 0563 */ UNO_NAME_REDLINE_TEXT, +/* 0564 */ UNO_NAME_REDLINE_DISPLAY_TYPE, +/* 0565 */ UNO_NAME_FORBIDDEN_CHARACTERS, +/* 0566 */ UNO_NAME_RUBY_BASE_TEXT, +/* 0567 */ UNO_NAME_RUBY_TEXT, +/* 0568 */ UNO_NAME_RUBY_ADJUST, +/* 0569 */ UNO_NAME_RUBY_CHAR_STYLE_NAME, +/* 0570 */ UNO_NAME_RUBY_IS_ABOVE, +/* 0571 */ UNO_NAME_FOOTNOTE_HEIGHT, +/* 0572 */ UNO_NAME_FOOTNOTE_LINE_WEIGHT, +/* 0573 */ UNO_NAME_FOOTNOTE_LINE_COLOR, +/* 0574 */ UNO_NAME_FOOTNOTE_LINE_RELATIVE_WIDTH, +/* 0575 */ UNO_NAME_FOOTNOTE_LINE_ADJUST, +/* 0576 */ UNO_NAME_FOOTNOTE_LINE_TEXT_DISTANCE, +/* 0577 */ UNO_NAME_FOOTNOTE_LINE_DISTANCE, +/* 0578 */ UNO_NAME_CHAR_ROTATION, +/* 0579 */ UNO_NAME_CHAR_ROTATION_IS_FIT_TO_LINE, +/* 0580 */ UNO_NAME_CHAR_SCALE_WIDTH, +/* 0581 */ UNO_NAME_TAB_STOP_DISTANCE, +/* 0582 */ UNO_NAME_IS_WIDTH_RELATIVE, +/* 0583 */ UNO_NAME_CHAR_RELIEF, +/* 0584 */ UNO_NAME_IS_HIDDEN, +/* 0585 */ UNO_NAME_IS_CONDITION_TRUE, +/* 0586 */ UNO_NAME_TWO_DIGIT_YEAR, +/* 0587 */ UNO_NAME_PROTECTION_KEY, +/* 0588 */ UNO_NAME_REDLINE_PROTECTION_KEY, +/* 0589 */ UNO_NAME_AUTOMATIC_DISTANCE, +/* 0590 */ UNO_NAME_AUTOMATIC_CONTROL_FOCUS, +/* 0591 */ UNO_NAME_APPLY_FORM_DESIGN_MODE, +/* 0592 */ UNO_NAME_LOCALE, +/* 0593 */ UNO_NAME_SORT_ALGORITHM, +/* 0594 */ UNO_NAME_FRAME_HEIGHT_ABSOLUTE, +/* 0596 */ UNO_NAME_FRAME_HEIGHT_PERCENT, +/* 0597 */ UNO_NAME_FRAME_ISAUTOMATIC_HEIGHT, +/* 0598 */ UNO_NAME_FRAME_WIDTH_ABSOLUTE, +/* 0599 */ UNO_NAME_FRAME_WIDTH_PERCENT, +/* 0600 */ UNO_NAME_PARA_STYLEHEADING, +/* 0601 */ UNO_NAME_PARA_STYLELEVEL1, +/* 0602 */ UNO_NAME_PARA_STYLELEVEL10, +/* 0603 */ UNO_NAME_PARA_STYLELEVEL2, +/* 0604 */ UNO_NAME_PARA_STYLELEVEL3, +/* 0605 */ UNO_NAME_PARA_STYLELEVEL4, +/* 0606 */ UNO_NAME_PARA_STYLELEVEL5, +/* 0607 */ UNO_NAME_PARA_STYLELEVEL6, +/* 0608 */ UNO_NAME_PARA_STYLELEVEL7, +/* 0609 */ UNO_NAME_PARA_STYLELEVEL8, +/* 0610 */ UNO_NAME_PARA_STYLELEVEL9, +/* 0611 */ UNO_NAME_PARA_STYLESEPARATOR, +/* 0612 */ UNO_NAME_MACRO_LIBRARY, +/* 0613 */ UNO_NAME_CELL_NAME, /* 0614 */ UNO_NAME_PARA_USER_DEFINED_ATTRIBUTES, /* 0615 */ UNO_NAME_MERGE_LAST_PARA, /* 0616 */ UNO_NAME_WRITING_MODE, @@ -694,7 +694,7 @@ enum SwPropNameIds /* 0651 */ UNO_NAME_FILE_NAME_FROM_COLUMN, /* 0652 */ UNO_NAME_FILE_NAME_PREFIX, /* 0653 */ UNO_NAME_CHAR_STYLE_NAMES, -/* 0654 */ UNO_NAME_DAD_COMMAND, /* DAD = DataAccessDescriptor (see com.sun.star.sdb.DataAccessDescriptor) */ +/* 0654 */ UNO_NAME_DAD_COMMAND, /* DAD = DataAccessDescriptor (see com.sun.star.sdb.DataAccessDescriptor) */ /* 0655 */ UNO_NAME_DAD_COMMAND_TYPE, /* 0656 */ UNO_NAME_CLSID, /* 0657 */ UNO_NAME_COMPONENT, @@ -720,7 +720,7 @@ enum SwPropNameIds /* 0674 */ UNO_NAME_POSITION_LAYOUT_DIR, // <-- /* 0675 */ UNO_NAME_NUMBERING_IS_OUTLINE, -///* 0676 */ UNO_NAME_DEFAULT_OUTLINE_LEVEL, //#outline level, removed by zhaojianwei +///* 0676 */ UNO_NAME_DEFAULT_OUTLINE_LEVEL, //#outline level, removed by zhaojianwei // --> OD 2004-10-28 #i36248# /* 0677 */ UNO_NAME_STARTPOSITION_IN_HORI_L2R, /* 0678 */ UNO_NAME_ENDPOSITION_IN_HORI_L2R, @@ -752,7 +752,7 @@ enum SwPropNameIds // <-- /* 0700 */ UNO_NAME_IS_FIELD_USED, /* 0701 */ UNO_NAME_IS_FIELD_DISPLAYED, -/* 0702 */ UNO_NAME_BUILDID, +/* 0702 */ UNO_NAME_BUILDID, /* 0703 */ UNO_NAME_PARA_STYLE_CONDITIONS, // --> FME 2005-12-13 #b6354161# Print empty pages /* 0704 */ UNO_NAME_PRINT_EMPTY_PAGES, @@ -816,7 +816,7 @@ enum SwPropNameIds struct SwPropNameLen { const char* pName; - USHORT nNameLen; + USHORT nNameLen; operator const char*() const { return pName; } }; diff --git a/sw/inc/unoredline.hxx b/sw/inc/unoredline.hxx index c3b6ae51f648..4b8c338f0f73 100644 --- a/sw/inc/unoredline.hxx +++ b/sw/inc/unoredline.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -54,7 +54,7 @@ class SwXRedlineText : public: SwXRedlineText(SwDoc* pDoc, SwNodeIndex aNodeIndex); - virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL acquire( ) throw(){OWeakObject::acquire();} virtual void SAL_CALL release( ) throw(){OWeakObject::release();} @@ -77,14 +77,14 @@ public: ---------------------------------------------------------------------------*/ class SwXRedlinePortion : public SwXTextPortion { - const SwRedline* pRedline; + const SwRedline* pRedline; void Validate() throw( ::com::sun::star::uno::RuntimeException ); using SwXTextPortion::GetPropertyValue; public: - SwXRedlinePortion( const SwRedline* pRed, + SwXRedlinePortion( const SwRedline* pRed, const SwUnoCrsr* pPortionCrsr, ::com::sun::star::uno::Reference< ::com::sun::star::text::XText > xParent, BOOL bIsStart); @@ -114,15 +114,15 @@ class SwXRedline : public SwXText, public SwClient { - SwDoc* pDoc; - SwRedline* pRedline; + SwDoc* pDoc; + SwRedline* pRedline; public: SwXRedline(SwRedline& rRedline, SwDoc& rDoc); ~SwXRedline(); TYPEINFO(); - virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL acquire( ) throw(){OWeakObject::acquire();} virtual void SAL_CALL release( ) throw(){OWeakObject::release();} @@ -150,9 +150,9 @@ public: virtual sal_Bool SAL_CALL hasElements( ) throw(::com::sun::star::uno::RuntimeException); //SwClient - virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); + virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); - const SwRedline* GetRedline() const {return pRedline;} + const SwRedline* GetRedline() const {return pRedline;} }; #endif diff --git a/sw/inc/unoredlines.hxx b/sw/inc/unoredlines.hxx index 37763f1a028f..ff5eaf7b4925 100644 --- a/sw/inc/unoredlines.hxx +++ b/sw/inc/unoredlines.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -53,7 +53,7 @@ protected: virtual ~SwXRedlines(); public: SwXRedlines(SwDoc* pDoc); - + //XIndexAccess virtual sal_Int32 SAL_CALL getCount( ) throw(::com::sun::star::uno::RuntimeException); @@ -71,7 +71,7 @@ public: virtual BOOL SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException ); virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); - static ::com::sun::star::beans::XPropertySet* GetObject( SwRedline& rRedline, SwDoc& rDoc ); + static ::com::sun::star::beans::XPropertySet* GetObject( SwRedline& rRedline, SwDoc& rDoc ); }; /* -----------------------------12.01.01 14:58-------------------------------- @@ -86,7 +86,7 @@ protected: virtual ~SwXRedlineEnumeration(); public: SwXRedlineEnumeration(SwDoc& rDoc); - + //XEnumeration virtual BOOL SAL_CALL hasMoreElements(void) throw( ::com::sun::star::uno::RuntimeException ); @@ -98,7 +98,7 @@ public: virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); //SwClient - virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); + virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); }; diff --git a/sw/inc/unorefmark.hxx b/sw/inc/unorefmark.hxx index 900f561c2424..0343f841a061 100644 --- a/sw/inc/unorefmark.hxx +++ b/sw/inc/unorefmark.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/unosection.hxx b/sw/inc/unosection.hxx index 4cf88ce54773..17727dd96313 100644 --- a/sw/inc/unosection.hxx +++ b/sw/inc/unosection.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/unosett.hxx b/sw/inc/unosett.hxx index e04b2e17d80e..76ae89a3a817 100644 --- a/sw/inc/unosett.hxx +++ b/sw/inc/unosett.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -60,13 +60,13 @@ class SwXFootnoteProperties : public cppu::WeakAggImplHelper2 ::com::sun::star::lang::XServiceInfo > { - SwDoc* pDoc; + SwDoc* pDoc; const SfxItemPropertySet* m_pPropertySet; protected: virtual ~SwXFootnoteProperties(); public: SwXFootnoteProperties(SwDoc* pDoc); - + //XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException); @@ -82,7 +82,7 @@ public: virtual BOOL SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException ); virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); - void Invalidate() {pDoc = 0;} + void Invalidate() {pDoc = 0;} }; /* -----------------04.05.98 12:28------------------- @@ -94,13 +94,13 @@ class SwXEndnoteProperties : public cppu::WeakAggImplHelper2 ::com::sun::star::lang::XServiceInfo > { - SwDoc* pDoc; + SwDoc* pDoc; const SfxItemPropertySet* m_pPropertySet; protected: virtual ~SwXEndnoteProperties(); public: SwXEndnoteProperties(SwDoc* pDoc); - + //XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException); @@ -116,7 +116,7 @@ public: virtual BOOL SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException ); virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); - void Invalidate() {pDoc = 0;} + void Invalidate() {pDoc = 0;} }; /* -----------------04.05.98 12:28------------------- @@ -128,13 +128,13 @@ class SwXLineNumberingProperties : public cppu::WeakAggImplHelper2 ::com::sun::star::lang::XServiceInfo > { - SwDoc* pDoc; + SwDoc* pDoc; const SfxItemPropertySet* m_pPropertySet; protected: virtual ~SwXLineNumberingProperties(); public: SwXLineNumberingProperties(SwDoc* pDoc); - + //XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException); @@ -150,7 +150,7 @@ public: virtual BOOL SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException ); virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); - void Invalidate() {pDoc = 0;} + void Invalidate() {pDoc = 0;} }; /* -----------------25.05.98 08:21------------------- @@ -166,22 +166,22 @@ class SwXNumberingRules : public cppu::WeakAggImplHelper5 >, public SwClient { - String sNewCharStyleNames[MAXLEVEL]; - String sNewBulletFontNames[MAXLEVEL]; - String sCreatedNumRuleName; //connects to a numbering in SwDoc - SwDoc* pDoc; // wird nur fuers anmelden gebraucht - SwDocShell* pDocShell; //nur, wenn als ChapterNumbering verwendet - SwNumRule* pNumRule; + String sNewCharStyleNames[MAXLEVEL]; + String sNewBulletFontNames[MAXLEVEL]; + String sCreatedNumRuleName; //connects to a numbering in SwDoc + SwDoc* pDoc; // wird nur fuers anmelden gebraucht + SwDocShell* pDocShell; //nur, wenn als ChapterNumbering verwendet + SwNumRule* pNumRule; const SfxItemPropertySet* m_pPropertySet; - sal_Bool bOwnNumRuleCreated; - static String sInvalidStyle; + sal_Bool bOwnNumRuleCreated; + static String sInvalidStyle; protected: virtual ~SwXNumberingRules(); public: - SwXNumberingRules(SwDocShell& rDocSh); // chapter numbering + SwXNumberingRules(SwDocShell& rDocSh); // chapter numbering SwXNumberingRules(const SwNumRule& rRule); // NumRule for paragraphs, numbering styles SwXNumberingRules(SwDoc& rDoc); //create a new instance - + static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId(); @@ -217,23 +217,23 @@ public: virtual BOOL SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException ); virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); - ::com::sun::star::uno::Sequence< - ::com::sun::star::beans::PropertyValue> + ::com::sun::star::uno::Sequence< + ::com::sun::star::beans::PropertyValue> GetNumberingRuleByIndex(const SwNumRule& rNumRule, sal_Int32 nIndex)const; - void SetNumberingRuleByIndex(SwNumRule& rNumRule, + void SetNumberingRuleByIndex(SwNumRule& rNumRule, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& rProperties, sal_Int32 nIndex) throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException ); //SwClient virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); - const String* GetNewCharStyleNames() const {return sNewCharStyleNames;} - const String* GetBulletFontNames() const {return sNewBulletFontNames;} - const SwNumRule* GetNumRule() {return pNumRule;} + const String* GetNewCharStyleNames() const {return sNewCharStyleNames;} + const String* GetBulletFontNames() const {return sNewBulletFontNames;} + const SwNumRule* GetNumRule() {return pNumRule;} - static const String& GetInvalidStyle(); - void Invalidate() {pDocShell = 0;} - const String& GetCreatedNumRuleName() const{return sCreatedNumRuleName; } + static const String& GetInvalidStyle(); + void Invalidate() {pDocShell = 0;} + const String& GetCreatedNumRuleName() const{return sCreatedNumRuleName; } }; /*-----------------12.02.98 08:27------------------- @@ -244,9 +244,9 @@ protected: virtual ~SwXChapterNumbering(); public: SwXChapterNumbering(SwDocShell& rDocSh); + - - void Invalidate() {SwXNumberingRules::Invalidate();} + void Invalidate() {SwXNumberingRules::Invalidate();} //XServiceInfo virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); @@ -267,25 +267,25 @@ class SwXTextColumns : public cppu::WeakAggImplHelper4 ::com::sun::star::lang::XServiceInfo > { - sal_Int32 nReference; - ::com::sun::star::uno::Sequence< ::com::sun::star::text::TextColumn> aTextColumns; + sal_Int32 nReference; + ::com::sun::star::uno::Sequence< ::com::sun::star::text::TextColumn> aTextColumns; sal_Bool bIsAutomaticWidth; sal_Int32 nAutoDistance; const SfxItemPropertySet* m_pPropSet; //separator line - sal_Int32 nSepLineWidth; - sal_Int32 nSepLineColor; - sal_Int8 nSepLineHeightRelative; - sal_Int8 nSepLineVertAlign;//style::VerticalAlignment - sal_Bool bSepLineIsOn; + sal_Int32 nSepLineWidth; + sal_Int32 nSepLineColor; + sal_Int8 nSepLineHeightRelative; + sal_Int8 nSepLineVertAlign;//style::VerticalAlignment + sal_Bool bSepLineIsOn; protected: virtual ~SwXTextColumns(); public: SwXTextColumns(sal_uInt16 nColCount); SwXTextColumns(const SwFmtCol& rFmtCol); - + static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId(); @@ -314,11 +314,11 @@ public: virtual BOOL SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException ); virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); - sal_Int32 GetSepLineWidth() const {return nSepLineWidth;} - sal_Int32 GetSepLineColor() const {return nSepLineColor;} - sal_Int8 GetSepLineHeightRelative() const {return nSepLineHeightRelative;} - sal_Int8 GetSepLineVertAlign() const {return nSepLineVertAlign;} - sal_Bool GetSepLineIsOn() const {return bSepLineIsOn;} + sal_Int32 GetSepLineWidth() const {return nSepLineWidth;} + sal_Int32 GetSepLineColor() const {return nSepLineColor;} + sal_Int8 GetSepLineHeightRelative() const {return nSepLineHeightRelative;} + sal_Int8 GetSepLineVertAlign() const {return nSepLineVertAlign;} + sal_Bool GetSepLineIsOn() const {return bSepLineIsOn;} sal_Bool IsAutomaticWidth() const {return bIsAutomaticWidth;} }; diff --git a/sw/inc/unosrch.hxx b/sw/inc/unosrch.hxx index d298ae54b56f..6a2606649d03 100644 --- a/sw/inc/unosrch.hxx +++ b/sw/inc/unosrch.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -31,7 +31,7 @@ #include <com/sun/star/util/XPropertyReplace.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XUnoTunnel.hpp> -#include <cppuhelper/implbase3.hxx> // helper for implementations +#include <cppuhelper/implbase3.hxx> // helper for implementations #include <tools/string.hxx> /****************************************************************************** @@ -59,33 +59,33 @@ class SwXTextSearch : public cppu::WeakImplHelper3 { friend class SwXTextDocument; - String sSearchText; - String sReplaceText; + String sSearchText; + String sReplaceText; - SwSearchProperties_Impl* pSearchProperties; - SwSearchProperties_Impl* pReplaceProperties; + SwSearchProperties_Impl* pSearchProperties; + SwSearchProperties_Impl* pReplaceProperties; const SfxItemPropertySet* m_pPropSet; - sal_Bool bAll : 1; - sal_Bool bWord : 1; - sal_Bool bBack : 1; - sal_Bool bExpr : 1; - sal_Bool bCase : 1; -// sal_Bool bInSel: 1; // wie geht Suchen in Selektionen? - sal_Bool bStyles:1; - sal_Bool bSimilarity : 1; - sal_Bool bLevRelax :1; - sal_Int16 nLevExchange; - sal_Int16 nLevAdd; - sal_Int16 nLevRemove; - - sal_Bool bIsValueSearch :1; + sal_Bool bAll : 1; + sal_Bool bWord : 1; + sal_Bool bBack : 1; + sal_Bool bExpr : 1; + sal_Bool bCase : 1; +// sal_Bool bInSel: 1; // wie geht Suchen in Selektionen? + sal_Bool bStyles:1; + sal_Bool bSimilarity : 1; + sal_Bool bLevRelax :1; + sal_Int16 nLevExchange; + sal_Int16 nLevAdd; + sal_Int16 nLevRemove; + + sal_Bool bIsValueSearch :1; protected: virtual ~SwXTextSearch(); public: SwXTextSearch(); - + static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId(); @@ -123,13 +123,13 @@ public: virtual BOOL SAL_CALL supportsService(const ::rtl::OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException ); virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); - void FillSearchItemSet(SfxItemSet& rSet) const; - void FillReplaceItemSet(SfxItemSet& rSet) const; + void FillSearchItemSet(SfxItemSet& rSet) const; + void FillReplaceItemSet(SfxItemSet& rSet) const; - sal_Bool HasSearchAttributes() const; - sal_Bool HasReplaceAttributes() const; + sal_Bool HasSearchAttributes() const; + sal_Bool HasReplaceAttributes() const; - void FillSearchOptions( ::com::sun::star::util::SearchOptions& + void FillSearchOptions( ::com::sun::star::util::SearchOptions& rSearchOpt ) const; }; diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx index 971f9881d2d4..ff4f08056c3e 100644 --- a/sw/inc/unostyle.hxx +++ b/sw/inc/unostyle.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -76,13 +76,13 @@ class SwXStyleFamilies : public cppu::WeakImplHelper4 >, public SwUnoCollection { - SwDocShell* pDocShell; + SwDocShell* pDocShell; - ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > * pxCharStyles; - ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > * pxParaStyles; - ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > * pxFrameStyles; - ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > * pxPageStyles; - ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > * pxNumberingStyles; + ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > * pxCharStyles; + ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > * pxParaStyles; + ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > * pxFrameStyles; + ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > * pxPageStyles; + ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > * pxNumberingStyles; protected: virtual ~SwXStyleFamilies(); public: @@ -125,12 +125,12 @@ class SwXStyleFamily : public cppu::WeakImplHelper4 >, public SfxListener { - SfxStyleFamily eFamily; // Familie - SfxStyleSheetBasePool* pBasePool; -// const SfxItemPropertyMap* _pPropMap; - SwDocShell* pDocShell; + SfxStyleFamily eFamily; // Familie + SfxStyleSheetBasePool* pBasePool; +// const SfxItemPropertyMap* _pPropMap; + SwDocShell* pDocShell; - SwXStyle* _FindStyle(const String& rStyleName) const; + SwXStyle* _FindStyle(const String& rStyleName) const; public: SwXStyleFamily(SwDocShell* pDocShell, sal_uInt16 nFamily); ~SwXStyleFamily(); @@ -163,7 +163,7 @@ public: virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); //SfxListener - virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); + virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); //XServiceInfo virtual rtl::OUString SAL_CALL getImplementationName(void) throw( ::com::sun::star::uno::RuntimeException ); @@ -187,27 +187,27 @@ class SwXStyle : public cppu::WeakImplHelper7 public SwClient { friend class SwXStyleFamily; - SwDoc* m_pDoc; - String sStyleName; - SfxStyleSheetBasePool* pBasePool; - SfxStyleFamily eFamily; // fuer Notify + SwDoc* m_pDoc; + String sStyleName; + SfxStyleSheetBasePool* pBasePool; + SfxStyleFamily eFamily; // fuer Notify - sal_Bool bIsDescriptor : 1; - sal_Bool bIsConditional : 1; - String sParentStyleName; - SwStyleProperties_Impl* pPropImpl; + sal_Bool bIsDescriptor : 1; + sal_Bool bIsConditional : 1; + String sParentStyleName; + SwStyleProperties_Impl* pPropImpl; - void ApplyDescriptorProperties(); + void ApplyDescriptorProperties(); protected: - void Invalidate(); + void Invalidate(); - const SfxStyleSheetBasePool* GetBasePool() const {return pBasePool;} - SfxStyleSheetBasePool* GetBasePool() {return pBasePool;} + const SfxStyleSheetBasePool* GetBasePool() const {return pBasePool;} + SfxStyleSheetBasePool* GetBasePool() {return pBasePool;} - void SetStyleName(const String& rSet){ sStyleName = rSet;} + void SetStyleName(const String& rSet){ sStyleName = rSet;} SwStyleProperties_Impl* GetPropImpl(){return pPropImpl;} - com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxStyleData; - com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > mxStyleFamily; + com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxStyleData; + com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > mxStyleFamily; void SAL_CALL SetPropertyValues_Impl( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aValues ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL GetPropertyValues_Impl( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); @@ -215,7 +215,7 @@ protected: public: SwXStyle(SwDoc* pDoc, SfxStyleFamily eFam = SFX_STYLE_FAMILY_PARA, BOOL bConditional = FALSE); SwXStyle(SfxStyleSheetBasePool& rPool, SfxStyleFamily eFam, - SwDoc* pDoc, + SwDoc* pDoc, const String& rStyleName);//, //const SfxItemPropertyMap* _pMap); ~SwXStyle(); @@ -272,22 +272,22 @@ public: virtual ::com::sun::star::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException ); //SfxListener - virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); + virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); - const String& GetStyleName() const { return sStyleName;} - SfxStyleFamily GetFamily() const {return eFamily;} + const String& GetStyleName() const { return sStyleName;} + SfxStyleFamily GetFamily() const {return eFamily;} - sal_Bool IsDescriptor() const {return bIsDescriptor;} - sal_Bool IsConditional() const { return bIsConditional;} - const String& GetParentStyleName() const { return sParentStyleName;} - void SetDoc(SwDoc* pDc, SfxStyleSheetBasePool* pPool) + sal_Bool IsDescriptor() const {return bIsDescriptor;} + sal_Bool IsConditional() const { return bIsConditional;} + const String& GetParentStyleName() const { return sParentStyleName;} + void SetDoc(SwDoc* pDc, SfxStyleSheetBasePool* pPool) { bIsDescriptor = sal_False; m_pDoc = pDc; pBasePool = pPool; StartListening(*pBasePool); } SwDoc* GetDoc() const { return m_pDoc; } - virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); + virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); }; /* -----------------------------15.12.00 14:25-------------------------------- @@ -297,7 +297,7 @@ class SwXFrameStyle : public SwXStyle, { public: SwXFrameStyle(SfxStyleSheetBasePool& rPool, - SwDoc* pDoc, + SwDoc* pDoc, const String& rStyleName) : SwXStyle(rPool, SFX_STYLE_FAMILY_FRAME, pDoc, rStyleName){} SwXFrameStyle( SwDoc *pDoc ); @@ -318,7 +318,7 @@ public: * --------------------------------------------------*/ class SwXPageStyle : public SwXStyle { - SwDocShell* pDocShell; + SwDocShell* pDocShell; protected: void SAL_CALL SetPropertyValues_Impl( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aValues ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx index 6cefbe95188e..b2ff5e85ac61 100644 --- a/sw/inc/unotbl.hxx +++ b/sw/inc/unotbl.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -99,7 +99,7 @@ class SwXCell : public SwXCellBaseClass, const SfxItemPropertySet* m_pPropSet; SwTableBox* pBox; // only set in non-XML import - const SwStartNode* pStartNode; // only set in XML import + const SwStartNode* pStartNode; // only set in XML import // table position where pBox was found last sal_uInt16 nFndPos; @@ -115,7 +115,7 @@ protected: bool IsValid() const; virtual ~SwXCell(); - + public: SwXCell(SwFrmFmt* pTblFmt, SwTableBox* pBox, sal_uInt16 nPos=USHRT_MAX ); SwXCell(SwFrmFmt* pTblFmt, const SwStartNode& rStartNode); // XML import interface @@ -174,8 +174,8 @@ public: virtual sal_Bool SAL_CALL hasElements( ) throw(::com::sun::star::uno::RuntimeException); SwTableBox* GetTblBox()const {return pBox;} - static SwXCell* CreateXCell(SwFrmFmt* pTblFmt, SwTableBox* pBox, SwTable *pTbl = 0 ); - SwTableBox* FindBox(SwTable* pTable, SwTableBox* pBox); + static SwXCell* CreateXCell(SwFrmFmt* pTblFmt, SwTableBox* pBox, SwTable *pTbl = 0 ); + SwTableBox* FindBox(SwTable* pTable, SwTableBox* pBox); SwFrmFmt* GetFrmFmt() const { return (SwFrmFmt*)GetRegisteredIn(); } }; @@ -190,7 +190,7 @@ class SwXTextTableRow : public cppu::WeakImplHelper2 public SwClient { const SfxItemPropertySet* m_pPropSet; - SwTableLine* pLine; + SwTableLine* pLine; SwFrmFmt* GetFrmFmt() const { return (SwFrmFmt*)GetRegisteredIn(); } protected: @@ -218,7 +218,7 @@ public: //SwClient virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); - const SwTableLine* GetTblRow() const {return pLine;} + const SwTableLine* GetTblRow() const {return pLine;} static SwTableLine* FindLine(SwTable* pTable, SwTableLine* pLine); }; /* -----------------20.07.98 13:03------------------- @@ -233,10 +233,10 @@ class SW_DLLPUBLIC SwXTextTableCursor : public SwXTextTableCursor_Base ,public SwClient ,public OTextCursorHelper { - SwDepend aCrsrDepend; + SwDepend aCrsrDepend; const SfxItemPropertySet* m_pPropSet; - // SwUnoCrsr* GetCrsr() const { return (SwUnoCrsr*)aCrsrDepend.GetRegisteredIn(); } + // SwUnoCrsr* GetCrsr() const { return (SwUnoCrsr*)aCrsrDepend.GetRegisteredIn(); } protected: virtual ~SwXTextTableCursor(); @@ -247,7 +247,7 @@ public: DECLARE_XINTERFACE() - + //XTextTableCursor virtual ::rtl::OUString SAL_CALL getRangeName( ) throw(::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL gotoCellByName( const ::rtl::OUString& aCellName, sal_Bool bExpand ) throw(::com::sun::star::uno::RuntimeException); @@ -278,14 +278,14 @@ public: virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); // ITextCursorHelper - virtual const SwPaM* GetPaM() const; - virtual SwPaM* GetPaM(); - virtual const SwDoc* GetDoc() const; - virtual SwDoc* GetDoc(); - - const SwUnoCrsr* GetCrsr() const; - SwUnoCrsr* GetCrsr(); - SwFrmFmt* GetFrmFmt() const { return (SwFrmFmt*)GetRegisteredIn(); } + virtual const SwPaM* GetPaM() const; + virtual SwPaM* GetPaM(); + virtual const SwDoc* GetDoc() const; + virtual SwDoc* GetDoc(); + + const SwUnoCrsr* GetCrsr() const; + SwUnoCrsr* GetCrsr(); + SwFrmFmt* GetFrmFmt() const { return (SwFrmFmt*)GetRegisteredIn(); } }; /*-----------------11.12.97 09:38------------------- @@ -317,20 +317,20 @@ class SwXTextTable : public cppu::WeakImplHelper10 >, public SwClient { - SwEventListenerContainer aLstnrCntnr; - SwChartEventListenerContainer aChartLstnrCntnr; + SwEventListenerContainer aLstnrCntnr; + SwChartEventListenerContainer aChartLstnrCntnr; const SfxItemPropertySet* m_pPropSet; // Descriptor-interface - SwTableProperties_Impl* pTableProps; - String m_sTableName; - sal_Bool bIsDescriptor; - unsigned short nRows; - unsigned short nColumns; + SwTableProperties_Impl* pTableProps; + String m_sTableName; + sal_Bool bIsDescriptor; + unsigned short nRows; + unsigned short nColumns; - sal_Bool bFirstRowAsLabel :1; - sal_Bool bFirstColumnAsLabel :1; + sal_Bool bFirstRowAsLabel :1; + sal_Bool bFirstColumnAsLabel :1; protected: virtual ~SwXTextTable(); public: @@ -412,9 +412,9 @@ public: void attachToRange(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange)throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException ); - sal_uInt16 getRowCount(void); - sal_uInt16 getColumnCount(void); - ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > GetRangeByName(SwFrmFmt* pFmt, SwTable* pTable, + sal_uInt16 getRowCount(void); + sal_uInt16 getColumnCount(void); + ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > GetRangeByName(SwFrmFmt* pFmt, SwTable* pTable, const String& sTLName, const String& sBRName, SwRangeDescriptor& rDesc); @@ -439,16 +439,16 @@ class SwXCellRange : public cppu::WeakImplHelper7 >, public SwClient { - SwDepend aCursorDepend; //the cursor is removed after the doc has been removed - SwChartEventListenerContainer aChartLstnrCntnr; + SwDepend aCursorDepend; //the cursor is removed after the doc has been removed + SwChartEventListenerContainer aChartLstnrCntnr; - SwRangeDescriptor aRgDesc; + SwRangeDescriptor aRgDesc; const SfxItemPropertySet* m_pPropSet; - SwUnoCrsr* pTblCrsr; + SwUnoCrsr* pTblCrsr; - sal_Bool bFirstRowAsLabel :1; - sal_Bool bFirstColumnAsLabel :1; + sal_Bool bFirstRowAsLabel :1; + sal_Bool bFirstColumnAsLabel :1; public: SwXCellRange(SwUnoCrsr* pCrsr, SwFrmFmt& rFrmFmt, SwRangeDescriptor& rDesc); @@ -506,9 +506,9 @@ public: //SwClient virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); - SwFrmFmt* GetFrmFmt() const { return (SwFrmFmt*)GetRegisteredIn(); } - sal_uInt16 getRowCount(void); - sal_uInt16 getColumnCount(void); + SwFrmFmt* GetFrmFmt() const { return (SwFrmFmt*)GetRegisteredIn(); } + sal_uInt16 getRowCount(void); + sal_uInt16 getColumnCount(void); const SwUnoCrsr* GetTblCrsr() const; @@ -518,7 +518,7 @@ public: ::com::sun::star::uno::Sequence< ::rtl::OUString > *pTxtSeq, ::com::sun::star::uno::Sequence< double > *pDblSeq, sal_Bool bForceNumberResults = sal_False ) throw (::com::sun::star::uno::RuntimeException); - + }; /* -----------------03.02.99 07:31------------------- * @@ -536,17 +536,17 @@ protected: virtual ~SwXTableRows(); public: SwXTableRows(SwFrmFmt& rFrmFmt); - + TYPEINFO(); // automatisch auskommentiert - [getIdlClass or queryInterface] - Bitte XTypeProvider benutzen! -// virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > > getIdlClasses(void) throw( ::com::sun::star::uno::RuntimeException ); +// virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > > getIdlClasses(void) throw( ::com::sun::star::uno::RuntimeException ); // automatisch auskommentiert - [getIdlClass or queryInterface] - Bitte XTypeProvider benutzen! -// virtual sal_Bool queryInterface( ::com::sun::star::uno::Uik aUik, ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rOut ); +// virtual sal_Bool queryInterface( ::com::sun::star::uno::Uik aUik, ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rOut ); -// SMART_UNO_DECLARATION( SwXTableRows, UsrObject ); +// SMART_UNO_DECLARATION( SwXTableRows, UsrObject ); //XIndexAccess virtual sal_Int32 SAL_CALL getCount(void) throw( ::com::sun::star::uno::RuntimeException ); @@ -585,16 +585,16 @@ protected: virtual ~SwXTableColumns(); public: SwXTableColumns(SwFrmFmt& rFrmFmt); - + TYPEINFO(); // automatisch auskommentiert - [getIdlClass or queryInterface] - Bitte XTypeProvider benutzen! -// virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > > getIdlClasses(void) throw( ::com::sun::star::uno::RuntimeException ); +// virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > > getIdlClasses(void) throw( ::com::sun::star::uno::RuntimeException ); // automatisch auskommentiert - [getIdlClass or queryInterface] - Bitte XTypeProvider benutzen! -// virtual sal_Bool queryInterface( ::com::sun::star::uno::Uik aUik, ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rOut ); +// virtual sal_Bool queryInterface( ::com::sun::star::uno::Uik aUik, ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & rOut ); -// SMART_UNO_DECLARATION( SwXTableColumns, UsrObject ); +// SMART_UNO_DECLARATION( SwXTableColumns, UsrObject ); //XIndexAccess virtual sal_Int32 SAL_CALL getCount(void) throw( ::com::sun::star::uno::RuntimeException ); diff --git a/sw/inc/unotext.hxx b/sw/inc/unotext.hxx index b1d17b187f88..0db4244c55f8 100644 --- a/sw/inc/unotext.hxx +++ b/sw/inc/unotext.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -337,8 +337,8 @@ public: ::com::sun::star::uno::RuntimeException); // XTextCopy - virtual void SAL_CALL copyText( - const ::com::sun::star::uno::Reference< + virtual void SAL_CALL copyText( + const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextCopy >& xSource ) throw (::com::sun::star::uno::RuntimeException); }; diff --git a/sw/inc/unotextbodyhf.hxx b/sw/inc/unotextbodyhf.hxx index e08b8eac4850..6be1408f2a56 100644 --- a/sw/inc/unotextbodyhf.hxx +++ b/sw/inc/unotextbodyhf.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/unotextcursor.hxx b/sw/inc/unotextcursor.hxx index 8d51aef6420b..a9a6264b3dac 100644 --- a/sw/inc/unotextcursor.hxx +++ b/sw/inc/unotextcursor.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/unotextrange.hxx b/sw/inc/unotextrange.hxx index a581814ea9de..9dabdf0b7dae 100644 --- a/sw/inc/unotextrange.hxx +++ b/sw/inc/unotextrange.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx index 7b5ffaefbf71..e182c5fb20fd 100644 --- a/sw/inc/unotxdoc.hxx +++ b/sw/inc/unotxdoc.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -75,8 +75,8 @@ #include <svx/fmdmod.hxx> #include <editeng/UnoForbiddenCharsTable.hxx> #include <cppuhelper/weak.hxx> -#include <cppuhelper/implbase2.hxx> // helper for implementations -#include <cppuhelper/implbase4.hxx> // helper for implementations +#include <cppuhelper/implbase2.hxx> // helper for implementations +#include <cppuhelper/implbase4.hxx> // helper for implementations #include <RefreshListenerContainer.hxx> #include <viewopt.hxx> @@ -184,62 +184,62 @@ class SW_DLLPUBLIC SwXTextDocument : public SwXTextDocumentBaseClass, public SvxFmMSFactory, public SfxBaseModel { - ActionContextArr aActionArr; - SwRefreshListenerContainer aRefreshCont; + ActionContextArr aActionArr; + SwRefreshListenerContainer aRefreshCont; const SfxItemPropertySet* pPropSet; - SwDocShell* pDocShell; - sal_Bool bObjectValid; + SwDocShell* pDocShell; + sal_Bool bObjectValid; - SwXDrawPage* pDrawPage; - css::uno::Reference< css::drawing::XDrawPage > * pxXDrawPage; + SwXDrawPage* pDrawPage; + css::uno::Reference< css::drawing::XDrawPage > * pxXDrawPage; - css::uno::Reference< css::text::XText > xBodyText; - SwXBodyText* pBodyText; - css::uno::Reference< css::uno::XAggregation > xNumFmtAgg; + css::uno::Reference< css::text::XText > xBodyText; + SwXBodyText* pBodyText; + css::uno::Reference< css::uno::XAggregation > xNumFmtAgg; css::uno::Reference< css::container::XIndexAccess > * pxXNumberingRules; css::uno::Reference< css::container::XIndexAccess > * pxXFootnotes; css::uno::Reference< css::beans::XPropertySet > * pxXFootnoteSettings; - css::uno::Reference< css::container::XIndexAccess > * pxXEndnotes; + css::uno::Reference< css::container::XIndexAccess > * pxXEndnotes; css::uno::Reference< css::beans::XPropertySet > * pxXEndnoteSettings; - css::uno::Reference< css::container::XNameAccess > * pxXReferenceMarks; - css::uno::Reference< css::container::XEnumerationAccess > * pxXTextFieldTypes; - css::uno::Reference< css::container::XNameAccess > * pxXTextFieldMasters; - css::uno::Reference< css::container::XNameAccess > * pxXTextSections; - css::uno::Reference< css::container::XNameAccess > * pxXBookmarks; - css::uno::Reference< css::container::XNameAccess > * pxXTextTables; - css::uno::Reference< css::container::XNameAccess > * pxXTextFrames; - css::uno::Reference< css::container::XNameAccess > * pxXGraphicObjects; - css::uno::Reference< css::container::XNameAccess > * pxXEmbeddedObjects; - css::uno::Reference< css::container::XNameAccess > * pxXStyleFamilies; + css::uno::Reference< css::container::XNameAccess > * pxXReferenceMarks; + css::uno::Reference< css::container::XEnumerationAccess > * pxXTextFieldTypes; + css::uno::Reference< css::container::XNameAccess > * pxXTextFieldMasters; + css::uno::Reference< css::container::XNameAccess > * pxXTextSections; + css::uno::Reference< css::container::XNameAccess > * pxXBookmarks; + css::uno::Reference< css::container::XNameAccess > * pxXTextTables; + css::uno::Reference< css::container::XNameAccess > * pxXTextFrames; + css::uno::Reference< css::container::XNameAccess > * pxXGraphicObjects; + css::uno::Reference< css::container::XNameAccess > * pxXEmbeddedObjects; + css::uno::Reference< css::container::XNameAccess > * pxXStyleFamilies; mutable css::uno::Reference< css::style::XAutoStyles > * pxXAutoStyles; css::uno::Reference< css::container::XIndexReplace > * pxXChapterNumbering; - css::uno::Reference< css::container::XIndexAccess > * pxXDocumentIndexes; + css::uno::Reference< css::container::XIndexAccess > * pxXDocumentIndexes; - css::uno::Reference< css::beans::XPropertySet > * pxXLineNumberingProperties; - css::uno::Reference< css::container::XNameAccess > * pxLinkTargetSupplier; - css::uno::Reference< css::container::XEnumerationAccess >* pxXRedlines; - css::uno::Reference< css::container::XNameContainer> xXFormsContainer; + css::uno::Reference< css::beans::XPropertySet > * pxXLineNumberingProperties; + css::uno::Reference< css::container::XNameAccess > * pxLinkTargetSupplier; + css::uno::Reference< css::container::XEnumerationAccess >* pxXRedlines; + css::uno::Reference< css::container::XNameContainer> xXFormsContainer; //temporary frame to enable PDF export if no valid view is available SfxViewFrame* m_pHiddenViewFrame; css::uno::Reference< css::uno::XInterface> xPropertyHelper; SwXDocumentPropertyHelper* pPropertyHelper; - + SwPrintUIOptions * m_pPrintUIOptions; SwRenderData * m_pRenderData; - void GetBodyText(); - void GetNumberFormatter(); + void GetBodyText(); + void GetNumberFormatter(); // used for XRenderable implementation SfxViewShell * GuessViewShell( /* out */ bool &rbIsSwSrcView, const css::uno::Reference< css::frame::XController > xController = css::uno::Reference< css::frame::XController >() ); SwDoc * GetRenderDoc( SfxViewShell *&rpView, const css::uno::Any& rSelection, bool bIsPDFExport ); SfxViewShell * GetRenderView( bool &rbIsSwSrcView, const css::uno::Sequence< css::beans::PropertyValue >& rxOptions, bool bIsPDFExport ); - rtl::OUString maBuildId; + rtl::OUString maBuildId; using SfxBaseModel::addEventListener; using SfxBaseModel::removeEventListener; @@ -250,7 +250,7 @@ public: SwXTextDocument(SwDocShell* pShell); inline void notifyRefreshListeners() { aRefreshCont.Refreshed(); } - virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw(css::uno::RuntimeException); + virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw(css::uno::RuntimeException); virtual void SAL_CALL acquire( ) throw(); virtual void SAL_CALL release( ) throw(); @@ -331,7 +331,7 @@ public: // css::text::XTextEmbeddedObjectsSupplier virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getEmbeddedObjects(void) throw( css::uno::RuntimeException ); -// // css::text::XTextShapesSupplier +// // css::text::XTextShapesSupplier // virtual css::uno::Reference< css::container::XIndexAccess > getShapes(void) throw( css::uno::RuntimeException ); // css::text::XBookmarksSupplier @@ -420,26 +420,26 @@ public: // ::com::sun::star::util::XCloneable virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloneable > SAL_CALL createClone( ) throw (::com::sun::star::uno::RuntimeException); - - + + // - void Invalidate(); - void Reactivate(SwDocShell* pNewDocShell); + void Invalidate(); + void Reactivate(SwDocShell* pNewDocShell); SwXDocumentPropertyHelper * GetPropertyHelper (); - sal_Bool IsValid() const {return bObjectValid;} + sal_Bool IsValid() const {return bObjectValid;} - void InitNewDoc(); + void InitNewDoc(); - SwUnoCrsr* CreateCursorForSearch(css::uno::Reference< css::text::XTextCursor > & xCrsr); - SwUnoCrsr* FindAny(const css::uno::Reference< css::util::XSearchDescriptor > & xDesc, + SwUnoCrsr* CreateCursorForSearch(css::uno::Reference< css::text::XTextCursor > & xCrsr); + SwUnoCrsr* FindAny(const css::uno::Reference< css::util::XSearchDescriptor > & xDesc, css::uno::Reference< css::text::XTextCursor > & xCrsr, sal_Bool bAll, sal_Int32& nResult, css::uno::Reference< css::uno::XInterface > xLastResult); - SwXDrawPage* GetDrawPage(); - SwDocShell* GetDocShell() {return pDocShell;} - + SwXDrawPage* GetDrawPage(); + SwDocShell* GetDocShell() {return pDocShell;} + void * SAL_CALL operator new( size_t ) throw(); void SAL_CALL operator delete( void * ) throw(); @@ -481,7 +481,7 @@ public: virtual css::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( css::uno::RuntimeException ); // - void Invalidate() {pxDoc = 0;} + void Invalidate() {pxDoc = 0;} }; /* -----------------26.10.99 09:05------------------- @@ -498,7 +498,7 @@ class SwXLinkNameAccessWrapper : public cppu::WeakImplHelper4 const SfxItemPropertySet* pPropSet; const String sLinkSuffix; const String sLinkDisplayName; - css::uno::Reference< css::text::XTextDocument > xDoc; + css::uno::Reference< css::text::XTextDocument > xDoc; SwXTextDocument* pxDoc; @@ -606,11 +606,11 @@ class SwViewOptionAdjust_Impl public: SwViewOptionAdjust_Impl( SwWrtShell& rSh, const SwViewOption &rViewOptions ); ~SwViewOptionAdjust_Impl(); - + void AdjustViewOptions( const SwPrtOptions *pPrtOptions ); - + bool checkShell( const SwWrtShell& rCompare ) const - { return &rCompare == &m_rShell; } + { return &rCompare == &m_rShell; } }; diff --git a/sw/inc/usrfld.hxx b/sw/inc/usrfld.hxx index 8ad0112ecd50..d341cfa65dad 100644 --- a/sw/inc/usrfld.hxx +++ b/sw/inc/usrfld.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -41,9 +41,9 @@ class SwDoc; class SW_DLLPUBLIC SwUserFieldType : public SwValueFieldType { - BOOL bValidValue : 1; - BOOL bDeleted : 1; - double nValue; + BOOL bValidValue : 1; + BOOL bDeleted : 1; + double nValue; String aName; String aContent; USHORT nType; @@ -51,28 +51,28 @@ class SW_DLLPUBLIC SwUserFieldType : public SwValueFieldType public: SwUserFieldType( SwDoc* pDocPtr, const String& ); - virtual const String& GetName() const; - virtual SwFieldType* Copy() const; + virtual const String& GetName() const; + virtual SwFieldType* Copy() const; - String Expand(sal_uInt32 nFmt, USHORT nSubType, USHORT nLng); + String Expand(sal_uInt32 nFmt, USHORT nSubType, USHORT nLng); - String GetContent( sal_uInt32 nFmt = 0 ); - void SetContent( const String& rStr, sal_uInt32 nFmt = 0 ); + String GetContent( sal_uInt32 nFmt = 0 ); + void SetContent( const String& rStr, sal_uInt32 nFmt = 0 ); - inline BOOL IsValid() const; - inline void ChgValid( BOOL bNew ); + inline BOOL IsValid() const; + inline void ChgValid( BOOL bNew ); - virtual void Modify( SfxPoolItem* pOld, SfxPoolItem* pNew ); + virtual void Modify( SfxPoolItem* pOld, SfxPoolItem* pNew ); - double GetValue(SwCalc& rCalc); // Member nValue neu berrechnen - inline double GetValue() const; - inline void SetValue(const double nVal); + double GetValue(SwCalc& rCalc); // Member nValue neu berrechnen + inline double GetValue() const; + inline void SetValue(const double nVal); - inline USHORT GetType() const; - inline void SetType(USHORT); + inline USHORT GetType() const; + inline void SetType(USHORT); - BOOL IsDeleted() const { return bDeleted; } - void SetDeleted( BOOL b ) { bDeleted = b; } + BOOL IsDeleted() const { return bDeleted; } + void SetDeleted( BOOL b ) { bDeleted = b; } virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nMId ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nMId ); @@ -110,22 +110,22 @@ class SW_DLLPUBLIC SwUserField : public SwValueField public: SwUserField(SwUserFieldType*, USHORT nSub = 0, sal_uInt32 nFmt = 0); - virtual USHORT GetSubType() const; - virtual void SetSubType(USHORT nSub); + virtual USHORT GetSubType() const; + virtual void SetSubType(USHORT nSub); - virtual double GetValue() const; - virtual void SetValue( const double& rVal ); + virtual double GetValue() const; + virtual void SetValue( const double& rVal ); - virtual String Expand() const; - virtual SwField* Copy() const; - virtual String GetCntnt(BOOL bName = FALSE) const; + virtual String Expand() const; + virtual SwField* Copy() const; + virtual String GetCntnt(BOOL bName = FALSE) const; // Name kann nicht geaendert werden - virtual const String& GetPar1() const; + virtual const String& GetPar1() const; // Inhalt - virtual String GetPar2() const; - virtual void SetPar2(const String& rStr); + virtual String GetPar2() const; + virtual void SetPar2(const String& rStr); virtual bool QueryValue( com::sun::star::uno::Any& rVal, USHORT nWhichId ) const; virtual bool PutValue( const com::sun::star::uno::Any& rVal, USHORT nWhichId ); }; diff --git a/sw/inc/viewopt.hxx b/sw/inc/viewopt.hxx index fbf374b6d80b..cfd89da8e1ce 100644 --- a/sw/inc/viewopt.hxx +++ b/sw/inc/viewopt.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -46,54 +46,54 @@ namespace svtools{ class ColorConfig;} #define VIEWOPT_1_TAB 0x00000002L #define VIEWOPT_1_BLANK 0x00000004L #define VIEWOPT_1_HARDBLANK 0x00000008L -#define VIEWOPT_1_PARAGRAPH 0x00000010L -#define VIEWOPT_1_LINEBREAK 0x00000020L -#define VIEWOPT_1_PAGEBREAK 0x00000040L +#define VIEWOPT_1_PARAGRAPH 0x00000010L +#define VIEWOPT_1_LINEBREAK 0x00000020L +#define VIEWOPT_1_PAGEBREAK 0x00000040L #define VIEWOPT_1_COLUMNBREAK 0x00000080L #define VIEWOPT_1_SOFTHYPH 0x00000100L -#define VIEWOPT_1_REF 0x00000400L -#define VIEWOPT_1_FLDNAME 0x00000800L +#define VIEWOPT_1_REF 0x00000400L +#define VIEWOPT_1_FLDNAME 0x00000800L //#define 0x00001000L //#define 0x00002000L -#define VIEWOPT_1_POSTITS 0x00004000L +#define VIEWOPT_1_POSTITS 0x00004000L #define VIEWOPT_1_FLD_HIDDEN 0x00008000L #define VIEWOPT_1_CHAR_HIDDEN 0x00010000L #define VIEWOPT_1_GRAPHIC 0x00020000L -#define VIEWOPT_1_TABLE 0x00040000L -#define VIEWOPT_1_DRAW 0x00080000L -#define VIEWOPT_1_CONTROL 0x00100000L +#define VIEWOPT_1_TABLE 0x00040000L +#define VIEWOPT_1_DRAW 0x00080000L +#define VIEWOPT_1_CONTROL 0x00100000L //#define 0x00200000L #define VIEWOPT_1_CROSSHAIR 0x00400000L -#define VIEWOPT_1_SNAP 0x00800000L -#define VIEWOPT_1_SYNCHRONIZE 0x01000000L -#define VIEWOPT_1_GRIDVISIBLE 0x02000000L +#define VIEWOPT_1_SNAP 0x00800000L +#define VIEWOPT_1_SYNCHRONIZE 0x01000000L +#define VIEWOPT_1_GRIDVISIBLE 0x02000000L #define VIEWOPT_1_ONLINESPELL 0x04000000L //#define VIEWOPT_1_HIDESPELL 0x08000000L /* removed #i91949 */ -#define VIEWOPT_1_RESERVED1 0x10000000L +#define VIEWOPT_1_RESERVED1 0x10000000L #define VIEWOPT_1_VIEWMETACHARS 0x20000000L #define VIEWOPT_1_PAGEBACK 0x40000000L #define VIEWOPT_1_SOLIDMARKHDL 0x80000000L -#define VIEWOPT_CORE2_BLACKFONT 0x00000001L -#define VIEWOPT_CORE2_HIDDENPARA 0x00000002L -#define VIEWOPT_CORE2_SMOOTHSCROLL 0x00000004L -#define VIEWOPT_CORE2_CRSR_IN_PROT 0x00000008L +#define VIEWOPT_CORE2_BLACKFONT 0x00000001L +#define VIEWOPT_CORE2_HIDDENPARA 0x00000002L +#define VIEWOPT_CORE2_SMOOTHSCROLL 0x00000004L +#define VIEWOPT_CORE2_CRSR_IN_PROT 0x00000008L #define VIEWOPT_CORE2_PDF_EXPORT 0x00000010L #define VIEWOPT_CORE2_PRINTING 0x00000020L -#define VIEWOPT_CORE2_BIGMARKHDL 0x00000040L +#define VIEWOPT_CORE2_BIGMARKHDL 0x00000040L #define VIEWOPT_2_UNUSED1 0x00000100L #define VIEWOPT_2_UNUSED2 0x00000200L #define VIEWOPT_2_H_RULER 0x00000400L -#define VIEWOPT_2_VSCROLLBAR 0x00000800L -#define VIEWOPT_2_HSCROLLBAR 0x00001000L -#define VIEWOPT_2_STATUSLINE 0x00002000L +#define VIEWOPT_2_VSCROLLBAR 0x00000800L +#define VIEWOPT_2_HSCROLLBAR 0x00001000L +#define VIEWOPT_2_STATUSLINE 0x00002000L #define VIEWOPT_2_V_RULER 0x00004000L #define VIEWOPT_2_ANY_RULER 0x00008000L -#define VIEWOPT_2_MODIFIED 0x00010000L +#define VIEWOPT_2_MODIFIED 0x00010000L #define VIEWOPT_2_KEEPASPECTRATIO 0x00020000L -#define VIEWOPT_2_GRFKEEPZOOM 0x00040000L +#define VIEWOPT_2_GRFKEEPZOOM 0x00040000L #define VIEWOPT_2_PREVENT_TIPS 0x00100000L #define VIEWOPT_2_RESERVED3 0x00200000L #define VIEWOPT_2_RESERVED4 0x00400000L @@ -102,9 +102,9 @@ namespace svtools{ class ColorConfig;} #define VIEWOPT_2_V_RULER_RIGHT 0x02000000L //Tabellenhintergrund -#define TBL_DEST_CELL 0 -#define TBL_DEST_ROW 1 -#define TBL_DEST_TBL 2 +#define TBL_DEST_CELL 0 +#define TBL_DEST_ROW 1 +#define TBL_DEST_TBL 2 //Appearance flags #define VIEWOPT_DOC_BOUNDARIES 0x0001 @@ -141,22 +141,22 @@ class SwViewOption static sal_Int32 nAppearanceFlags; // protected: - static USHORT nPixelTwips;// 1 Pixel == ? Twips + static USHORT nPixelTwips;// 1 Pixel == ? Twips - String sSymbolFont; // Symbolzeichensatz - UINT32 nCoreOptions; // Bits fuer die ViewShell - UINT32 nCore2Options; // Bits fuer die ViewShell - UINT32 nUIOptions; // UI-Bits - Color aRetoucheColor; // DefaultBackground fuer BrowseView + String sSymbolFont; // Symbolzeichensatz + UINT32 nCoreOptions; // Bits fuer die ViewShell + UINT32 nCore2Options; // Bits fuer die ViewShell + UINT32 nUIOptions; // UI-Bits + Color aRetoucheColor; // DefaultBackground fuer BrowseView Size aSnapSize; // Beschreibt hori. wie vert. Snap USHORT mnViewLayoutColumns;// # columns for edit view - short nDivisionX; // Rasterunterteilung - short nDivisionY; - BYTE nPagePrevRow; // Page Preview Row/Columns - BYTE nPagePrevCol; // Page Preview Row/Columns - BYTE nShdwCrsrFillMode; // FillMode fuer den ShadowCrsr - BOOL bReadonly : 1; // Readonly-Doc - BOOL bStarOneSetting : 1;// prevent from UI automatics (no scrollbars in readonly documents) + short nDivisionX; // Rasterunterteilung + short nDivisionY; + BYTE nPagePrevRow; // Page Preview Row/Columns + BYTE nPagePrevCol; // Page Preview Row/Columns + BYTE nShdwCrsrFillMode; // FillMode fuer den ShadowCrsr + BOOL bReadonly : 1; // Readonly-Doc + BOOL bStarOneSetting : 1;// prevent from UI automatics (no scrollbars in readonly documents) BOOL bIsPagePreview : 1; // the preview mustn't print field/footnote/... shadings BOOL bSelectionInReadonly : 1; //determines whether selection is switched on in readonly documents // --> FME 2004-06-29 #114856# Formular view @@ -168,35 +168,35 @@ protected: mutable bool bIdle; // Maszstab - USHORT nZoom; // Angaben in Prozent + USHORT nZoom; // Angaben in Prozent SvxZoomType eZoom; // 'enum' fuer Zoom BYTE nTblDest; // Ziel fuer Tabellenhintergrund #if OSL_DEBUG_LEVEL > 1 // korrespondieren zu den Angaben in ui/config/cfgvw.src - BOOL bTest1 :1; // Test-Flag "Layout not loading" - BOOL bTest2 :1; // Test-Flag "WYSIWYG++" - BOOL bTest3 :1; // Test-Flag "" - BOOL bTest4 :1; // Test-Flag "WYSIWYG debug" - BOOL bTest5 :1; // Test-Flag "No idle format" - BOOL bTest6 :1; // Test-Flag "No screen adj" - BOOL bTest7 :1; // Test-Flag "win format" - BOOL bTest8 :1; // Test-Flag "" - static BOOL bTest9; // Test-Flag "DrawingLayerNotLoading" - BOOL bTest10 :1; // Test-Flag "Format by Input" + BOOL bTest1 :1; // Test-Flag "Layout not loading" + BOOL bTest2 :1; // Test-Flag "WYSIWYG++" + BOOL bTest3 :1; // Test-Flag "" + BOOL bTest4 :1; // Test-Flag "WYSIWYG debug" + BOOL bTest5 :1; // Test-Flag "No idle format" + BOOL bTest6 :1; // Test-Flag "No screen adj" + BOOL bTest7 :1; // Test-Flag "win format" + BOOL bTest8 :1; // Test-Flag "" + static BOOL bTest9; // Test-Flag "DrawingLayerNotLoading" + BOOL bTest10 :1; // Test-Flag "Format by Input" #endif public: - SwViewOption(); // CTOR - SwViewOption(const SwViewOption&); // - ~SwViewOption(); // + SwViewOption(); // CTOR + SwViewOption(const SwViewOption&); // + ~SwViewOption(); // - void Init( Window *pWin ); // Initialisierung der statischen Daten + void Init( Window *pWin ); // Initialisierung der statischen Daten USHORT GetPixelTwips() const { return nPixelTwips; } - inline UINT32 GetCoreOptions() const {return nCoreOptions;} + inline UINT32 GetCoreOptions() const {return nCoreOptions;} inline void SetUIOptions( const SwViewOption& ); /*--------------------------------------------------------------------------- @@ -217,7 +217,7 @@ public: { return !bReadonly && (nCoreOptions & VIEWOPT_1_TAB) && ((nCoreOptions & VIEWOPT_1_VIEWMETACHARS)||bHard) ? TRUE : FALSE; } - inline void SetTab( BOOL b ) { + inline void SetTab( BOOL b ) { (b != 0) ? (nCoreOptions |= VIEWOPT_1_TAB ) : ( nCoreOptions &= ~VIEWOPT_1_TAB); } inline BOOL IsBlank(BOOL bHard = FALSE) const @@ -257,7 +257,7 @@ public: inline void SetSoftHyph( BOOL b ) { (b != 0) ? (nCoreOptions |= VIEWOPT_1_SOFTHYPH ) : ( nCoreOptions &= ~VIEWOPT_1_SOFTHYPH); } - inline BOOL IsFldName() const { return !bReadonly && (nCoreOptions & VIEWOPT_1_FLDNAME) ? TRUE : FALSE; } + inline BOOL IsFldName() const { return !bReadonly && (nCoreOptions & VIEWOPT_1_FLDNAME) ? TRUE : FALSE; } inline void SetFldName( BOOL b ) { (b != 0) ? (nCoreOptions |= VIEWOPT_1_FLDNAME ) : ( nCoreOptions &= ~VIEWOPT_1_FLDNAME); } @@ -323,7 +323,7 @@ public: inline void SetSnap( BOOL b ) { (b != 0) ? (nCoreOptions |= VIEWOPT_1_SNAP ) : ( nCoreOptions &= ~VIEWOPT_1_SNAP); } - inline void SetSnapSize( Size &rSz ){ aSnapSize = rSz; } + inline void SetSnapSize( Size &rSz ){ aSnapSize = rSz; } inline const Size &GetSnapSize() const { return aSnapSize; } inline BOOL IsGridVisible() const @@ -354,25 +354,25 @@ public: /*--------------------------------------------------------------------------- Optionen aus nCore2Options ----------------------------------------------------------------------------*/ - inline BOOL IsBlackFont() const + inline BOOL IsBlackFont() const {return nCore2Options & VIEWOPT_CORE2_BLACKFONT ? TRUE : FALSE;} inline void SetBlackFont(BOOL b) { (b != 0) ? (nCore2Options |= VIEWOPT_CORE2_BLACKFONT) : (nCore2Options &= ~VIEWOPT_CORE2_BLACKFONT);} - inline BOOL IsShowHiddenPara() const + inline BOOL IsShowHiddenPara() const {return nCore2Options & VIEWOPT_CORE2_HIDDENPARA ? TRUE : FALSE;} inline void SetShowHiddenPara(BOOL b) { (b != 0) ? (nCore2Options |= VIEWOPT_CORE2_HIDDENPARA) : (nCore2Options &= ~VIEWOPT_CORE2_HIDDENPARA);} - inline BOOL IsSmoothScroll() const + inline BOOL IsSmoothScroll() const {return nCore2Options & VIEWOPT_CORE2_SMOOTHSCROLL ? TRUE : FALSE;} inline void SetSmoothScroll(BOOL b) { (b != 0) ? (nCore2Options |= VIEWOPT_CORE2_SMOOTHSCROLL) : (nCore2Options &= ~VIEWOPT_CORE2_SMOOTHSCROLL);} - inline BOOL IsCursorInProtectedArea() const + inline BOOL IsCursorInProtectedArea() const {return nCore2Options & VIEWOPT_CORE2_CRSR_IN_PROT ? TRUE : FALSE;} inline void SetCursorInProtectedArea(BOOL b) @@ -395,17 +395,17 @@ public: ----------------------------------------------------------------------------*/ - inline short GetDivisionX() const { return nDivisionX; } + inline short GetDivisionX() const { return nDivisionX; } inline void SetDivisionX( short n ){ nDivisionX = n; } - inline short GetDivisionY() const { return nDivisionY; } + inline short GetDivisionY() const { return nDivisionY; } inline void SetDivisionY( short n ){ nDivisionY = n; } - inline BYTE GetPagePrevRow() const { return nPagePrevRow; } + inline BYTE GetPagePrevRow() const { return nPagePrevRow; } inline void SetPagePrevRow( BYTE n ) { nPagePrevRow = n; } - inline BYTE GetPagePrevCol() const { return nPagePrevCol; } + inline BYTE GetPagePrevCol() const { return nPagePrevCol; } inline void SetPagePrevCol( BYTE n ) { nPagePrevCol = n; } - BOOL IsReadonly() const { return bReadonly; } - void SetReadonly(BOOL bSet) { bReadonly = bSet; } + BOOL IsReadonly() const { return bReadonly; } + void SetReadonly(BOOL bSet) { bReadonly = bSet; } BOOL IsSelectionInReadonly() const {return bSelectionInReadonly;} void SetSelectionInReadonly(BOOL bSet) {bSelectionInReadonly = bSet;} @@ -428,29 +428,29 @@ public: #if OSL_DEBUG_LEVEL > 1 // korrespondieren zu den Angaben in ui/config/cfgvw.src - inline BOOL IsTest1() const { return bTest1; } - inline void SetTest1( BOOL b ) { bTest1 = b; } - inline BOOL IsTest2() const { return bTest2; } - inline void SetTest2( BOOL b ) { bTest2 = b; } - inline BOOL IsTest3() const { return bTest3; } - inline void SetTest3( BOOL b ) { bTest3 = b; } - inline BOOL IsTest4() const { return bTest4; } - inline void SetTest4( BOOL b ) { bTest4 = b; } - inline BOOL IsTest5() const { return bTest5; } - inline void SetTest5( BOOL b ) { bTest5 = b; } - inline BOOL IsTest6() const { return bTest6; } - inline void SetTest6( BOOL b ) { bTest6 = b; } - inline BOOL IsTest7() const { return bTest7; } - inline void SetTest7( BOOL b ) { bTest7 = b; } - inline BOOL IsTest8() const { return bTest8; } - inline void SetTest8( BOOL b ) { bTest8 = b; } - static inline BOOL IsTest9() { return bTest9; } - static inline void SetTest9( BOOL b ) { bTest9 = b; } - inline BOOL IsTest10() const { return bTest10; } - inline void SetTest10( BOOL b ) { bTest10 = b; } + inline BOOL IsTest1() const { return bTest1; } + inline void SetTest1( BOOL b ) { bTest1 = b; } + inline BOOL IsTest2() const { return bTest2; } + inline void SetTest2( BOOL b ) { bTest2 = b; } + inline BOOL IsTest3() const { return bTest3; } + inline void SetTest3( BOOL b ) { bTest3 = b; } + inline BOOL IsTest4() const { return bTest4; } + inline void SetTest4( BOOL b ) { bTest4 = b; } + inline BOOL IsTest5() const { return bTest5; } + inline void SetTest5( BOOL b ) { bTest5 = b; } + inline BOOL IsTest6() const { return bTest6; } + inline void SetTest6( BOOL b ) { bTest6 = b; } + inline BOOL IsTest7() const { return bTest7; } + inline void SetTest7( BOOL b ) { bTest7 = b; } + inline BOOL IsTest8() const { return bTest8; } + inline void SetTest8( BOOL b ) { bTest8 = b; } + static inline BOOL IsTest9() { return bTest9; } + static inline void SetTest9( BOOL b ) { bTest9 = b; } + inline BOOL IsTest10() const { return bTest10; } + inline void SetTest10( BOOL b ) { bTest10 = b; } #endif - inline USHORT GetZoom() const { return nZoom; } + inline USHORT GetZoom() const { return nZoom; } inline void SetZoom( USHORT n ){ nZoom = n; } void DrawRect( OutputDevice* pOut, const SwRect &rRect, long nCol ) const; @@ -468,29 +468,29 @@ public: ----------------------------------------------------------------------------*/ BOOL IsViewVScrollBar() const - { return nUIOptions & VIEWOPT_2_VSCROLLBAR ? TRUE : FALSE; } - BOOL IsViewHScrollBar() const - { return nUIOptions & VIEWOPT_2_HSCROLLBAR ? TRUE : FALSE; } + { return nUIOptions & VIEWOPT_2_VSCROLLBAR ? TRUE : FALSE; } + BOOL IsViewHScrollBar() const + { return nUIOptions & VIEWOPT_2_HSCROLLBAR ? TRUE : FALSE; } BOOL IsKeepRatio() const - { return nUIOptions & VIEWOPT_2_KEEPASPECTRATIO ? TRUE : FALSE; } - BOOL IsGrfKeepZoom() const - { return nUIOptions & VIEWOPT_2_GRFKEEPZOOM ? TRUE : FALSE; } + { return nUIOptions & VIEWOPT_2_KEEPASPECTRATIO ? TRUE : FALSE; } + BOOL IsGrfKeepZoom() const + { return nUIOptions & VIEWOPT_2_GRFKEEPZOOM ? TRUE : FALSE; } BOOL IsPreventTips() const { return nUIOptions & VIEWOPT_2_PREVENT_TIPS ? TRUE : FALSE; } - BOOL IsPrtFormat() const + BOOL IsPrtFormat() const { return nUIOptions & VIEWOPT_2_PRTFORMAT ? TRUE : FALSE; } SvxZoomType GetZoomType() const { return eZoom; } - BYTE GetTblDest() const { return nTblDest; } + BYTE GetTblDest() const { return nTblDest; } void SetViewVScrollBar(BOOL b) { b ? (nUIOptions |= VIEWOPT_2_VSCROLLBAR ) : ( nUIOptions &= ~VIEWOPT_2_VSCROLLBAR); } void SetViewHScrollBar(BOOL b) { b ? (nUIOptions |= VIEWOPT_2_HSCROLLBAR ) : ( nUIOptions &= ~VIEWOPT_2_HSCROLLBAR); } - void SetKeepRatio (BOOL b) + void SetKeepRatio (BOOL b) { b ? (nUIOptions |= VIEWOPT_2_KEEPASPECTRATIO ) : ( nUIOptions &= ~VIEWOPT_2_KEEPASPECTRATIO); } - void SetGrfKeepZoom (BOOL b) + void SetGrfKeepZoom (BOOL b) { b ? (nUIOptions |= VIEWOPT_2_GRFKEEPZOOM ) : ( nUIOptions &= ~VIEWOPT_2_GRFKEEPZOOM); } void SetPreventTips( BOOL b) { b ? (nUIOptions |= VIEWOPT_2_PREVENT_TIPS) : (nUIOptions &= ~VIEWOPT_2_PREVENT_TIPS); } @@ -498,13 +498,13 @@ public: { b ? (nUIOptions |= VIEWOPT_2_PRTFORMAT) : (nUIOptions &= ~VIEWOPT_2_PRTFORMAT); } void SetZoomType (SvxZoomType eZoom_){ eZoom = eZoom_; } - void SetTblDest( BYTE nNew ) { nTblDest = nNew; } + void SetTblDest( BYTE nNew ) { nTblDest = nNew; } - const String& GetSymbolFont() const {return sSymbolFont;} - void SetSymbolFont(const String& sSet) {sSymbolFont = sSet;} + const String& GetSymbolFont() const {return sSymbolFont;} + void SetSymbolFont(const String& sSet) {sSymbolFont = sSet;} - const Color& GetRetoucheColor() const { return aRetoucheColor;} - void SetRetoucheColor(const Color&r) { aRetoucheColor = r; } + const Color& GetRetoucheColor() const { return aRetoucheColor;} + void SetRetoucheColor(const Color&r) { aRetoucheColor = r; } BOOL IsViewAnyRuler() const {return 0 != (nUIOptions & VIEWOPT_2_ANY_RULER);} void SetViewAnyRuler(BOOL bSet) @@ -537,7 +537,7 @@ public: { b ? (nUIOptions |= VIEWOPT_2_V_RULER ) : ( nUIOptions &= ~VIEWOPT_2_V_RULER);} // ShadowCursor ein schalten/abfragen/Farbe setzen/Modus setzen - BOOL IsShadowCursor() const + BOOL IsShadowCursor() const { return nUIOptions & VIEWOPT_2_SHADOWCRSR ? TRUE : FALSE; } void SetShadowCursor(BOOL b) { b ? (nUIOptions |= VIEWOPT_2_SHADOWCRSR ) : ( nUIOptions &= ~VIEWOPT_2_SHADOWCRSR); } @@ -548,14 +548,14 @@ public: void SetVRulerRight(BOOL b) { b ? (nUIOptions |= VIEWOPT_2_V_RULER_RIGHT ) : ( nUIOptions &= ~VIEWOPT_2_V_RULER_RIGHT); } - BOOL IsStarOneSetting() const {return bStarOneSetting; } - void SetStarOneSetting(BOOL bSet) {bStarOneSetting = bSet; } + BOOL IsStarOneSetting() const {return bStarOneSetting; } + void SetStarOneSetting(BOOL bSet) {bStarOneSetting = bSet; } BOOL IsPagePreview() const {return bIsPagePreview; } void SetPagePreview(BOOL bSet) { bIsPagePreview= bSet; } - BYTE GetShdwCrsrFillMode() const { return nShdwCrsrFillMode; } - void SetShdwCrsrFillMode( BYTE nMode ) { nShdwCrsrFillMode = nMode; }; + BYTE GetShdwCrsrFillMode() const { return nShdwCrsrFillMode; } + void SetShdwCrsrFillMode( BYTE nMode ) { nShdwCrsrFillMode = nMode; }; sal_Bool IsShowPlaceHolderFields() const { return bShowPlaceHolderFields; } void SetShowPlaceHolderFields(sal_Bool bSet) { bShowPlaceHolderFields = bSet; } @@ -610,7 +610,7 @@ inline void SwViewOption::SetUIOptions( const SwViewOption& rVOpt ) // Hilfsfunktion zur Ermittlung der HTML-Faehigkeiten -SW_DLLPUBLIC USHORT GetHtmlMode(const SwDocShell*); +SW_DLLPUBLIC USHORT GetHtmlMode(const SwDocShell*); #endif diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx index 9160c33917ba..1f35b865c410 100644 --- a/sw/inc/viewsh.hxx +++ b/sw/inc/viewsh.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -98,7 +98,7 @@ namespace vcl // define fuer Flags, die im CTOR oder den darunter liegenden Schichten // benoetigt werden. // Zur Zeit wird fuer die DrawPage das PreView Flag benoetigt -#define VSHELLFLAG_ISPREVIEW ((long)0x1) +#define VSHELLFLAG_ISPREVIEW ((long)0x1) class SW_DLLPUBLIC ViewShell : public Ring @@ -122,18 +122,18 @@ class SW_DLLPUBLIC ViewShell : public Ring static BitmapEx* pErrorBmp; // error display of missed images // <-- - static sal_Bool bLstAct; // sal_True wenn Das EndAction der letzten Shell + static sal_Bool bLstAct; // sal_True wenn Das EndAction der letzten Shell // laeuft; also die EndActions der // anderen Shells auf das Dokument // abgearbeitet sind. - Point aPrtOffst; //Ofst fuer den Printer, + Point aPrtOffst; //Ofst fuer den Printer, //nicht bedruckbarer Rand. - Size aBrowseBorder; //Rand fuer Framedokumente - SwRect aInvalidRect; + Size aBrowseBorder; //Rand fuer Framedokumente + SwRect aInvalidRect; SfxViewShell *pSfxViewShell; - SwViewImp *pImp; //Core-Interna der ViewShell. + SwViewImp *pImp; //Core-Interna der ViewShell. //Der Pointer ist niemals 0. Window *pWin; // = 0 during printing or pdf export @@ -148,19 +148,19 @@ class SW_DLLPUBLIC ViewShell : public Ring SwAccessibilityOptions* pAccOptions; - sal_Bool bDocSizeChgd :1; //Fuer DocChgNotify(): Neue DocGroesse bei + sal_Bool bDocSizeChgd :1; //Fuer DocChgNotify(): Neue DocGroesse bei //EndAction an das DocMDI melden. - sal_Bool bPaintWorks :1; //Normal Painten wenn sal_True, + sal_Bool bPaintWorks :1; //Normal Painten wenn sal_True, //Paint merken wenn sal_False - sal_Bool bPaintInProgress :1; //Kein zweifaches Paint durchlassen. - sal_Bool bViewLocked :1; //Lockt den sichtbaren Bereich, + sal_Bool bPaintInProgress :1; //Kein zweifaches Paint durchlassen. + sal_Bool bViewLocked :1; //Lockt den sichtbaren Bereich, //MakeVisible laeuft dann in's leere. - sal_Bool bInEndAction :1; //Fiese unstaende vermeiden, siehe viewsh.cxx - sal_Bool bPreView :1; //Ist sal_True wenns eine PreView-ViewShell ist. - sal_Bool bFrameView :1; //sal_True wenn es ein (HTML-)Frame ist. - sal_Bool bEnableSmooth :1; //Disable des SmoothScroll z.B. fuer + sal_Bool bInEndAction :1; //Fiese unstaende vermeiden, siehe viewsh.cxx + sal_Bool bPreView :1; //Ist sal_True wenns eine PreView-ViewShell ist. + sal_Bool bFrameView :1; //sal_True wenn es ein (HTML-)Frame ist. + sal_Bool bEnableSmooth :1; //Disable des SmoothScroll z.B. fuer //Drag der Scrollbars. - sal_Bool bEndActionByVirDev:1; //Paints aus der EndAction immer ueber virtuelles + sal_Bool bEndActionByVirDev:1; //Paints aus der EndAction immer ueber virtuelles //Device (etwa beim Browsen) @@ -168,17 +168,17 @@ class SW_DLLPUBLIC ViewShell : public Ring bool mbInConstructor:1; // #i74769# - SdrPaintWindow* mpTargetPaintWindow; - OutputDevice* mpBufferedOut; + SdrPaintWindow* mpTargetPaintWindow; + OutputDevice* mpBufferedOut; //Initialisierung, wird von den verschiedenen Konstruktoren gerufen. SW_DLLPRIVATE void Init( const SwViewOption *pNewOpt ); inline void ResetInvalidRect(); - SW_DLLPRIVATE void Reformat(); //Invalidert das ges. Layout (ApplyViewOption) + SW_DLLPRIVATE void Reformat(); //Invalidert das ges. Layout (ApplyViewOption) - SW_DLLPRIVATE void PaintDesktop( const SwRect & ); // sammeln der Werte fuers + SW_DLLPRIVATE void PaintDesktop( const SwRect & ); // sammeln der Werte fuers // Malen der Wiese und rufen // PaintDesktop gesplittet, dieser Teil wird auch von PreViewPage benutzt SW_DLLPRIVATE void _PaintDesktop( const SwRegionRects &rRegion ); @@ -191,14 +191,14 @@ class SW_DLLPUBLIC ViewShell : public Ring SW_DLLPRIVATE void ImplApplyViewOptions( const SwViewOption &rOpt ); protected: - static ShellResource* pShellRes; // Resourcen fuer die Shell - static Window* pCareWindow; // diesem Fenster ausweichen + static ShellResource* pShellRes; // Resourcen fuer die Shell + static Window* pCareWindow; // diesem Fenster ausweichen - SwRect aVisArea; //Die moderne Ausfuerung der VisArea - SwDoc *pDoc; //Das Dokument, niemals 0 + SwRect aVisArea; //Die moderne Ausfuerung der VisArea + SwDoc *pDoc; //Das Dokument, niemals 0 sal_uInt16 nStartAction; //ist != 0 wenn mindestens eine ::com::sun::star::chaos::Action laeuft - sal_uInt16 nLockPaint; //ist != 0 wenn das Paint gelocked ist. + sal_uInt16 nLockPaint; //ist != 0 wenn das Paint gelocked ist. public: TYPEINFO(); @@ -220,13 +220,13 @@ public: sal_Bool ActionPend() const { return nStartAction != 0; } sal_Bool IsInEndAction() const { return bInEndAction; } - void SetEndActionByVirDev( sal_Bool b ) { bEndActionByVirDev = b; } + void SetEndActionByVirDev( sal_Bool b ) { bEndActionByVirDev = b; } sal_Bool IsEndActionByVirDev() { return bEndActionByVirDev; } - // Per UNO wird am RootFrame fuer alle shells der ActionCount kurzfristig + // Per UNO wird am RootFrame fuer alle shells der ActionCount kurzfristig // auf Null gesetzt und wieder restauriert - void SetRestoreActions(sal_uInt16 nSet); - sal_uInt16 GetRestoreActions() const; + void SetRestoreActions(sal_uInt16 nSet); + sal_uInt16 GetRestoreActions() const; inline sal_Bool HasInvalidRect() const { return aInvalidRect.HasArea(); } void ChgHyphenation() { Reformat(); } @@ -239,9 +239,9 @@ public: ////////////////////////////////////////////////////////////////////////////// // #i72754# set of Pre/PostPaints with lock counter and initial target OutDev protected: - sal_uInt32 mnPrePostPaintCount; - OutputDevice* mpPrePostOutDev; - MapMode maPrePostMapMode; + sal_uInt32 mnPrePostPaintCount; + OutputDevice* mpPrePostOutDev; + MapMode maPrePostMapMode; public: void PrePaint(); void DLPrePaint2(const Region& rRegion); @@ -268,25 +268,25 @@ public: //Bei naechster Gelegenheit die neue Dokuemntgroesse an das UI weiterreichen. void SizeChgNotify(); - void UISizeNotify(); //Das weiterreichen der aktuellen groesse. + void UISizeNotify(); //Das weiterreichen der aktuellen groesse. Point GetPagePos( sal_uInt16 nPageNum ) const; - sal_uInt16 GetNumPages(); //Anzahl der aktuellen Seiten Layout erfragen. + sal_uInt16 GetNumPages(); //Anzahl der aktuellen Seiten Layout erfragen. sal_Bool IsDummyPage( USHORT nPageNum ) const; // An empty page? //Invalidierung der ersten Sichtbaren Seite fuer alle Shells im Ring. void SetFirstVisPageInvalid(); - SwRootFrm *GetLayout() const; - sal_Bool IsNewLayout() const; //Wurde das Layout geladen oder neu + SwRootFrm *GetLayout() const; + sal_Bool IsNewLayout() const; //Wurde das Layout geladen oder neu //erzeugt? Size GetDocSize() const;// erfrage die Groesse des Dokuments - void CalcLayout(); //Durchformatierung des Layouts erzwingen. + void CalcLayout(); //Durchformatierung des Layouts erzwingen. - inline SwDoc *GetDoc() const { return pDoc; } //niemals 0. + inline SwDoc *GetDoc() const { return pDoc; } //niemals 0. /** Provides access to the document setting interface */ @@ -446,7 +446,7 @@ public: static void SetCareWin( Window* pNew ); static Window* GetCareWin(ViewShell& rVSh) { return pCareWindow ? pCareWindow : CareChildWin(rVSh); } - static Window* CareChildWin(ViewShell& rVSh); + static Window* CareChildWin(ViewShell& rVSh); inline SfxViewShell *GetSfxViewShell() { return pSfxViewShell; } inline void SetSfxViewShell(SfxViewShell *pNew) { pSfxViewShell = pNew; } @@ -471,7 +471,7 @@ public: void AdjustOptionsForPagePreview( const SwPrtOptions &_rPrintOptions ); sal_Bool IsViewLocked() const { return bViewLocked; } - void LockView( sal_Bool b ) { bViewLocked = b; } + void LockView( sal_Bool b ) { bViewLocked = b; } inline void LockPaint(); void ImplLockPaint(); diff --git a/sw/inc/viscrs.hxx b/sw/inc/viscrs.hxx index b9fbb6068b04..42213d27b991 100644 --- a/sw/inc/viscrs.hxx +++ b/sw/inc/viscrs.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -97,7 +97,7 @@ class SwSelPaintRects : public SwRects virtual void FillRects() = 0; // #i75172# - sdr::overlay::OverlayObject* mpCursorOverlay; + sdr::overlay::OverlayObject* mpCursorOverlay; // #i75172# access to mpCursorOverlay for swapContent sdr::overlay::OverlayObject* getCursorOverlay() const { return mpCursorOverlay; } @@ -127,9 +127,9 @@ class SwShellCrsr : public virtual SwCursor, public SwSelPaintRects { // Dokument-Positionen der Start/End-Charakter einer SSelection Point aMkPt, aPtPt; - const SwPosition* pPt; // fuer Zuordung vom GetPoint() zum aPtPt + const SwPosition* pPt; // fuer Zuordung vom GetPoint() zum aPtPt - virtual void FillRects(); // fuer Table- und normalen Crsr + virtual void FillRects(); // fuer Table- und normalen Crsr using SwCursor::UpDown; @@ -140,18 +140,18 @@ public: SwShellCrsr( SwShellCrsr& ); virtual ~SwShellCrsr(); - void Show(); // Update und zeige alle Selektionen an - void Hide(); // verstecke alle Selektionen + void Show(); // Update und zeige alle Selektionen an + void Hide(); // verstecke alle Selektionen void Invalidate( const SwRect& rRect ); - const Point& GetPtPos() const { return( SwPaM::GetPoint() == pPt ? aPtPt : aMkPt ); } - Point& GetPtPos() { return( SwPaM::GetPoint() == pPt ? aPtPt : aMkPt ); } - const Point& GetMkPos() const { return( SwPaM::GetMark() == pPt ? aPtPt : aMkPt ); } - Point& GetMkPos() { return( SwPaM::GetMark() == pPt ? aPtPt : aMkPt ); } - const Point& GetSttPos() const { return( SwPaM::Start() == pPt ? aPtPt : aMkPt ); } - Point& GetSttPos() { return( SwPaM::Start() == pPt ? aPtPt : aMkPt ); } - const Point& GetEndPos() const { return( SwPaM::End() == pPt ? aPtPt : aMkPt ); } - Point& GetEndPos() { return( SwPaM::End() == pPt ? aPtPt : aMkPt ); } + const Point& GetPtPos() const { return( SwPaM::GetPoint() == pPt ? aPtPt : aMkPt ); } + Point& GetPtPos() { return( SwPaM::GetPoint() == pPt ? aPtPt : aMkPt ); } + const Point& GetMkPos() const { return( SwPaM::GetMark() == pPt ? aPtPt : aMkPt ); } + Point& GetMkPos() { return( SwPaM::GetMark() == pPt ? aPtPt : aMkPt ); } + const Point& GetSttPos() const { return( SwPaM::Start() == pPt ? aPtPt : aMkPt ); } + Point& GetSttPos() { return( SwPaM::Start() == pPt ? aPtPt : aMkPt ); } + const Point& GetEndPos() const { return( SwPaM::End() == pPt ? aPtPt : aMkPt ); } + Point& GetEndPos() { return( SwPaM::End() == pPt ? aPtPt : aMkPt ); } virtual void SetMark(); @@ -167,7 +167,7 @@ public: #if OSL_DEBUG_LEVEL > 1 // JP 05.03.98: zum Testen des UNO-Crsr Verhaltens hier die Implementierung -// am sichtbaren Cursor +// am sichtbaren Cursor virtual BOOL IsSelOvr( int eFlags = ( nsSwCursorSelOverFlags::SELOVER_CHECKNODESSECTION | nsSwCursorSelOverFlags::SELOVER_TOGGLE | @@ -195,7 +195,7 @@ public: const SwPosition &rPtPos, const Point& rPtPt ); virtual ~SwShellTableCrsr(); - virtual void FillRects(); // fuer Table- und normalen Crsr + virtual void FillRects(); // fuer Table- und normalen Crsr // Pruefe, ob sich der SPoint innerhalb der Tabellen-SSelection befindet BOOL IsInside( const Point& rPt ) const; @@ -211,7 +211,7 @@ public: #if OSL_DEBUG_LEVEL > 1 // JP 05.03.98: zum Testen des UNO-Crsr Verhaltens hier die Implementierung -// am sichtbaren Cursor +// am sichtbaren Cursor virtual BOOL IsSelOvr( int eFlags = ( nsSwCursorSelOverFlags::SELOVER_CHECKNODESSECTION | nsSwCursorSelOverFlags::SELOVER_TOGGLE | @@ -221,6 +221,6 @@ public: -#endif // _VISCRS_HXX +#endif // _VISCRS_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/wdocsh.hxx b/sw/inc/wdocsh.hxx index 8b1e6a68cd60..41694193916e 100644 --- a/sw/inc/wdocsh.hxx +++ b/sw/inc/wdocsh.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -33,7 +33,7 @@ class SW_DLLPUBLIC SwWebDocShell: public SwDocShell { - USHORT nSourcePara; // aktive Zeile in der SourceView + USHORT nSourcePara; // aktive Zeile in der SourceView public: @@ -47,14 +47,14 @@ public: SwWebDocShell(SfxObjectCreateMode eMode = SFX_CREATE_MODE_EMBEDDED); ~SwWebDocShell(); - virtual void FillClass( SvGlobalName * pClassName, + virtual void FillClass( SvGlobalName * pClassName, sal_uInt32 * pClipFormat, String * pAppName, String * pLongUserName, String * pUserName, sal_Int32 nFileFormat, sal_Bool bTemplate = sal_False ) const; - USHORT GetSourcePara()const + USHORT GetSourcePara()const {return nSourcePara;} void SetSourcePara(USHORT nSet) {nSourcePara = nSet;} }; |