diff options
Diffstat (limited to 'sw/inc/frmfmt.hxx')
-rw-r--r-- | sw/inc/frmfmt.hxx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx index 5becae28b4a8..67fd68a1a096 100644 --- a/sw/inc/frmfmt.hxx +++ b/sw/inc/frmfmt.hxx @@ -48,11 +48,17 @@ class SW_DLLPUBLIC SwFrmFmt: public SwFmt ::com::sun::star::uno::XInterface> m_wXObject; protected: + //IAccessibility2 Implementation 2009----- + SwFrmFmt* pCaptionFmt; + //-----IAccessibility2 Implementation 2009 SwFrmFmt( SwAttrPool& rPool, const sal_Char* pFmtNm, SwFrmFmt *pDrvdFrm, sal_uInt16 nFmtWhich = RES_FRMFMT, const sal_uInt16* pWhichRange = 0 ) : SwFmt( rPool, pFmtNm, (pWhichRange ? pWhichRange : aFrmFmtSetRange), pDrvdFrm, nFmtWhich ) + //IAccessibility2 Implementation 2009----- + ,pCaptionFmt( NULL ) + //-----IAccessibility2 Implementation 2009 {} SwFrmFmt( SwAttrPool& rPool, const String &rFmtNm, @@ -60,6 +66,9 @@ protected: const sal_uInt16* pWhichRange = 0 ) : SwFmt( rPool, rFmtNm, (pWhichRange ? pWhichRange : aFrmFmtSetRange), pDrvdFrm, nFmtWhich ) + //IAccessibility2 Implementation 2009----- + ,pCaptionFmt( NULL ) + //-----IAccessibility2 Implementation 2009 {} virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNewValue ); @@ -126,6 +135,11 @@ public: // <-- virtual String GetDescription() const; + //IAccessibility2 Implementation 2009----- + sal_Bool HasCaption() const; + void SetCaptionFmt(SwFrmFmt* pFmt); + SwFrmFmt* GetCaptionFmt() const; + //-----IAccessibility2 Implementation 2009 SW_DLLPRIVATE ::com::sun::star::uno::WeakReference< ::com::sun::star::uno::XInterface> const& GetXObject() const @@ -143,6 +157,10 @@ public: class SW_DLLPUBLIC SwFlyFrmFmt: public SwFrmFmt { friend class SwDoc; + //IAccessibility2 Implementation 2009----- + String msTitle; + String msDesc; + //-----IAccessibility2 Implementation 2009 // #i972: // it stores the previous position of Prt rectangle from RequestObjectResize |