diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-11-26 17:12:22 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-11-26 17:12:22 +0000 |
commit | 248d56a7717036272c21208477080ce07bae1dac (patch) | |
tree | 3c7c74f7d625a1f81b8c63647b72d8f181721713 /svx/source/editeng | |
parent | a4c3d86bda3ce44534b99ad0048409cfe3adb486 (diff) |
INTEGRATION: CWS presentationengine01 (1.64.148); FILE MERGED
2004/10/12 17:17:08 thb 1.64.148.3: RESYNC: (1.65-1.67); FILE MERGED
2004/07/06 16:46:15 thb 1.64.148.2: RESYNC: (1.64-1.65); FILE MERGED
2004/04/05 17:00:46 thb 1.64.148.1: #110496# Added verbose metafile comments for EditEngine. This is needed for preseng text effects
Diffstat (limited to 'svx/source/editeng')
-rw-r--r-- | svx/source/editeng/impedit.hxx | 38 |
1 files changed, 32 insertions, 6 deletions
diff --git a/svx/source/editeng/impedit.hxx b/svx/source/editeng/impedit.hxx index 36c6af658b23..281aecc19cf2 100644 --- a/svx/source/editeng/impedit.hxx +++ b/svx/source/editeng/impedit.hxx @@ -2,9 +2,9 @@ * * $RCSfile: impedit.hxx,v $ * - * $Revision: 1.67 $ + * $Revision: 1.68 $ * - * last change: $Author: rt $ $Date: 2004-09-17 14:15:48 $ + * last change: $Author: rt $ $Date: 2004-11-26 18:12:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -73,6 +73,10 @@ #include <vcl/virdev.hxx> #endif +#ifndef _SV_GDIMTF_HXX //autogen +#include <vcl/gdimtf.hxx> +#endif + #ifndef _SV_CURSOR_HXX //autogen #include <vcl/cursor.hxx> #endif @@ -520,7 +524,7 @@ private: ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XHyphenator > xHyphenator; SpellInfo* pSpellInfo; - ::com::sun::star::uno::Reference < ::com::sun::star::i18n::XBreakIterator > xBI; + mutable ::com::sun::star::uno::Reference < ::com::sun::star::i18n::XBreakIterator > xBI; ConvInfo * pConvInfo; @@ -541,6 +545,9 @@ private: sal_Bool bUseAutoColor; sal_Bool bForceAutoColor; sal_Bool bCallParaInsertedOrDeleted; + sal_Bool bVerboseTextComments; // #110496# Optional mtf + // comments for text + // layout (paras, lines etc) sal_Bool bImpConvertFirstCall; // specifies if ImpConvert is called the very first time after Convert was called // Fuer Formatierung / Update.... @@ -733,9 +740,24 @@ private: void SetValidPaperSize( const Size& rSz ); - ::com::sun::star::uno::Reference < ::com::sun::star::i18n::XBreakIterator > ImplGetBreakIterator(); - - + ::com::sun::star::uno::Reference < ::com::sun::star::i18n::XBreakIterator > ImplGetBreakIterator() const; + + /** Decorate metafile output with verbose text comments + + This method is used to call SvxFont::QuickDrawText + character-by-character wise, adding informational metafile + comments after logical text units like characters, words and + sentences. This is necessary for slideshow text effects. + */ + void ImplDrawWithComments( SvxFont& rFont, + const ::com::sun::star::lang::Locale& rLocale, + OutputDevice& rOut, + GDIMetaFile& rMtf, + const Point& rPos, + const String& rTxt, + const USHORT nIdx, + const USHORT nLen, + const long* pDXArray ) const; protected: virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); @@ -1037,6 +1059,10 @@ public: vos::ORef<SvxForbiddenCharactersTable> GetForbiddenCharsTable( BOOL bGetInternal = TRUE ) const; void SetForbiddenCharsTable( vos::ORef<SvxForbiddenCharactersTable> xForbiddenChars ); + + // #110496# + void EnableVerboseTextComments( BOOL bEnable ) { bVerboseTextComments=bEnable; } + BOOL IsVerboseTextComments() const { return bVerboseTextComments; } }; inline EPaM ImpEditEngine::CreateEPaM( const EditPaM& rPaM ) |