summaryrefslogtreecommitdiffstats
path: root/sw/source/ui/inc/view.hxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-06-13 15:35:35 +0200
committerMathias Bauer <mba@openoffice.org>2010-06-13 15:35:35 +0200
commitd854960f9ee36760fa49bd6de97d9e01aa087900 (patch)
treee26b6b82a8328b050e738eda1a2bab1389294bed /sw/source/ui/inc/view.hxx
parentCWS swlayoutrefactoring: #i81480#: enable sw code to use multiple layouts (diff)
parentmasterfix: #i10000# disable assertions, sSymbols + aTmpSymbolName not defined (diff)
downloadcore-d854960f9ee36760fa49bd6de97d9e01aa087900.tar.gz
core-d854960f9ee36760fa49bd6de97d9e01aa087900.zip
CWS swlayoutrefactoring: resync to m82
Diffstat (limited to 'sw/source/ui/inc/view.hxx')
-rw-r--r--sw/source/ui/inc/view.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/source/ui/inc/view.hxx b/sw/source/ui/inc/view.hxx
index 186564185899..9b9620c5d8f2 100644
--- a/sw/source/ui/inc/view.hxx
+++ b/sw/source/ui/inc/view.hxx
@@ -437,6 +437,12 @@ public:
virtual USHORT PrepareClose( BOOL bUI = TRUE, BOOL bForBrowsing = FALSE );
virtual void MarginChanged();
+ // replace word/selection with text from the thesaurus
+ // (this code has special handling for "in word" character)
+ void InsertThesaurusSynonym( const String &rSynonmText, const String &rLookUpText, bool bValidSelection );
+ bool IsValidSelectionForThesaurus() const;
+ String GetThesaurusLookUpText( bool bSelection ) const;
+
// Shell sofort wechseln -> fuer GetSelectionObject
void StopShellTimer();
@@ -600,6 +606,7 @@ public:
SwDocShell *GetDocShell();
inline const SwDocShell *GetDocShell() const;
inline FmFormShell *GetFormShell() { return pFormShell; }
+ inline const FmFormShell *GetFormShell() const { return pFormShell; }
//damit in DToren der SubShells ggf. pShell zurueckgesetzt werden kann
void ResetSubShell() { pShell = 0; }