diff options
author | Niklas Nebel <nn@openoffice.org> | 2001-05-21 17:19:05 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2001-05-21 17:19:05 +0000 |
commit | 823a3289266ad07c528685ea9539bf54a9b1c9e5 (patch) | |
tree | 4282ae0723214156e1db2ff19eb717c7330136da /sc/source/ui/view | |
parent | 2ae6c0eb709ed2ffdbb5229f822a3183afca67ff (diff) |
#44993# hyphenation in drawing objects
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/drawview.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/view/output3.cxx | 9 |
2 files changed, 11 insertions, 4 deletions
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx index cbe3aea4a..c80c8a286 100644 --- a/sc/source/ui/view/drawview.cxx +++ b/sc/source/ui/view/drawview.cxx @@ -2,9 +2,9 @@ * * $RCSfile: drawview.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: nn $ $Date: 2001-05-11 08:37:53 $ + * last change: $Author: nn $ $Date: 2001-05-21 18:17:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -284,6 +284,8 @@ void ScDrawView::InvalidateAttribs() rBindings.Invalidate( SID_GRFFILTER_POPART ); rBindings.Invalidate( SID_GRFFILTER_SEPIA ); rBindings.Invalidate( SID_GRFFILTER_SOLARIZE ); + + rBindings.Invalidate( SID_ENABLE_HYPHENATION ); } void ScDrawView::InvalidateDrawTextAttrs() diff --git a/sc/source/ui/view/output3.cxx b/sc/source/ui/view/output3.cxx index 8d6020983..adf7f02e8 100644 --- a/sc/source/ui/view/output3.cxx +++ b/sc/source/ui/view/output3.cxx @@ -2,9 +2,9 @@ * * $RCSfile: output3.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: nn $ $Date: 2001-05-14 08:43:38 $ + * last change: $Author: nn $ $Date: 2001-05-21 18:17:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -67,6 +67,7 @@ // INCLUDE --------------------------------------------------------------- +#include <svx/eeitem.hxx> #include <svx/svdograf.hxx> #include <svx/svdoole2.hxx> #include <svx/svdpage.hxx> @@ -292,6 +293,10 @@ void ScOutputData::DrawSelectiveObjects( USHORT nLayer, const Rectangle& rRect, if (bDraw) { + // set model's hyphenator on demand + if ( ((const SfxBoolItem&)pObject->GetItemSet().Get(EE_PARA_HYPHENATE)).GetValue() ) + pModel->UseHyphenator(); + if (pObject == pEditObj) { aInfoRec.nPaintMode|=SDRPAINTMODE_TEXTEDIT; |