diff options
Diffstat (limited to 'sw/inc/unosett.hxx')
-rw-r--r-- | sw/inc/unosett.hxx | 88 |
1 files changed, 44 insertions, 44 deletions
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;} }; |