diff options
Diffstat (limited to 'sw/inc/section.hxx')
-rw-r--r-- | sw/inc/section.hxx | 30 |
1 files changed, 15 insertions, 15 deletions
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, |