diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2015-05-20 13:05:49 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2015-05-20 13:05:49 +0200 |
commit | ab465b90f6c6da5595393a0ba73f33a1e71a2b65 (patch) | |
tree | 36b77192de2799a11b4bf0b269cb3f74d0a0bb1f /sw/source/core/text/porftn.hxx | |
parent | 0db96caf0fcce09b87621c11b584a6d81cc7df86 (diff) |
bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-point
renames the most annoying abbreviations in Writer (and partially
in the shared code too).
Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
Diffstat (limited to 'sw/source/core/text/porftn.hxx')
-rw-r--r-- | sw/source/core/text/porftn.hxx | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/sw/source/core/text/porftn.hxx b/sw/source/core/text/porftn.hxx index 51d5f755008b..2a532022c386 100644 --- a/sw/source/core/text/porftn.hxx +++ b/sw/source/core/text/porftn.hxx @@ -21,58 +21,58 @@ #include "porfld.hxx" -class SwTxtFrm; -class SwTxtFtn; +class SwTextFrm; +class SwTextFootnote; -class SwFtnPortion : public SwFldPortion +class SwFootnotePortion : public SwFieldPortion { - SwTxtFtn *pFtn; + SwTextFootnote *pFootnote; sal_uInt16 nOrigHeight; // #i98418# bool mbPreferredScriptTypeSet; sal_uInt8 mnPreferredScriptType; public: - SwFtnPortion( const OUString &rExpand, SwTxtFtn *pFtn, + SwFootnotePortion( const OUString &rExpand, SwTextFootnote *pFootnote, sal_uInt16 nOrig = USHRT_MAX ); sal_uInt16& Orig() { return nOrigHeight; } - virtual void Paint( const SwTxtPaintInfo &rInf ) const SAL_OVERRIDE; - virtual bool GetExpTxt( const SwTxtSizeInfo &rInf, OUString &rTxt ) const SAL_OVERRIDE; - virtual SwPosSize GetTxtSize( const SwTxtSizeInfo &rInfo ) const SAL_OVERRIDE; - virtual bool Format( SwTxtFormatInfo &rInf ) SAL_OVERRIDE; + virtual void Paint( const SwTextPaintInfo &rInf ) const SAL_OVERRIDE; + virtual bool GetExpText( const SwTextSizeInfo &rInf, OUString &rText ) const SAL_OVERRIDE; + virtual SwPosSize GetTextSize( const SwTextSizeInfo &rInfo ) const SAL_OVERRIDE; + virtual bool Format( SwTextFormatInfo &rInf ) SAL_OVERRIDE; // #i98418# void SetPreferredScriptType( sal_uInt8 nPreferredScriptType ); - const SwTxtFtn* GetTxtFtn() const { return pFtn; }; + const SwTextFootnote* GetTextFootnote() const { return pFootnote; }; OUTPUT_OPERATOR_OVERRIDE }; -class SwFtnNumPortion : public SwNumberPortion +class SwFootnoteNumPortion : public SwNumberPortion { public: - SwFtnNumPortion( const OUString &rExpand, SwFont *pFntL ) + SwFootnoteNumPortion( const OUString &rExpand, SwFont *pFntL ) : SwNumberPortion( rExpand, pFntL, true, false, 0, false ) { SetWhichPor( POR_FTNNUM ); } OUTPUT_OPERATOR_OVERRIDE }; -class SwQuoVadisPortion : public SwFldPortion +class SwQuoVadisPortion : public SwFieldPortion { OUString aErgo; public: SwQuoVadisPortion( const OUString &rExp, const OUString& rStr ); - virtual bool Format( SwTxtFormatInfo &rInf ) SAL_OVERRIDE; - virtual void Paint( const SwTxtPaintInfo &rInf ) const SAL_OVERRIDE; - virtual bool GetExpTxt( const SwTxtSizeInfo &rInf, OUString &rTxt ) const SAL_OVERRIDE; + virtual bool Format( SwTextFormatInfo &rInf ) SAL_OVERRIDE; + virtual void Paint( const SwTextPaintInfo &rInf ) const SAL_OVERRIDE; + virtual bool GetExpText( const SwTextSizeInfo &rInf, OUString &rText ) const SAL_OVERRIDE; void SetNumber( const OUString& rStr ) { aErgo = rStr; } - const OUString GetQuoTxt() const { return aExpand; } - const OUString &GetContTxt() const { return aErgo; } + const OUString GetQuoText() const { return aExpand; } + const OUString &GetContText() const { return aErgo; } // Field cloner for SplitGlue - virtual SwFldPortion *Clone( const OUString &rExpand ) const SAL_OVERRIDE; + virtual SwFieldPortion *Clone( const OUString &rExpand ) const SAL_OVERRIDE; // Accessibility: pass information about this portion to the PortionHandler virtual void HandlePortion( SwPortionHandler& rPH ) const SAL_OVERRIDE; @@ -80,15 +80,15 @@ public: OUTPUT_OPERATOR_OVERRIDE }; -class SwErgoSumPortion : public SwFldPortion +class SwErgoSumPortion : public SwFieldPortion { public: SwErgoSumPortion( const OUString &rExp, const OUString& rStr ); virtual sal_Int32 GetCrsrOfst( const sal_uInt16 nOfst ) const SAL_OVERRIDE; - virtual bool Format( SwTxtFormatInfo &rInf ) SAL_OVERRIDE; + virtual bool Format( SwTextFormatInfo &rInf ) SAL_OVERRIDE; // Field cloner for SplitGlue - virtual SwFldPortion *Clone( const OUString &rExpand ) const SAL_OVERRIDE; + virtual SwFieldPortion *Clone( const OUString &rExpand ) const SAL_OVERRIDE; OUTPUT_OPERATOR_OVERRIDE }; |