summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-02-19 14:38:53 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-02-23 10:10:28 +0100
commit40e3569a08d89fc6cf91cfc3a88d1049f25533c9 (patch)
treef3944bb088e7ff6b695964216c80f4f5a1b20ac0 /include
parent8632db588d405f10506925ffd2db369691e5bc71 (diff)
ImpEditEngine::UpdateViews: need to go via Invalidate() for tiled rendering
This makes typed characters appear as you type it (and not only after the editing of the shape text is finished) in Impress. Change-Id: Id47efe8223ddfdbad36f436366c9c8c8e0cb45f4
Diffstat (limited to 'include')
-rw-r--r--include/editeng/editview.hxx3
-rw-r--r--include/editeng/outliner.hxx3
-rw-r--r--include/svx/svdmodel.hxx6
3 files changed, 12 insertions, 0 deletions
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx
index 3f7c637f153f..439f63b3fb78 100644
--- a/include/editeng/editview.hxx
+++ b/include/editeng/editview.hxx
@@ -169,6 +169,9 @@ public:
void SetBackgroundColor( const Color& rColor );
Color GetBackgroundColor() const;
+ void setTiledRendering(bool bTiledRendering);
+ bool isTiledRendering();
+
void SetControlWord( sal_uInt32 nWord );
sal_uInt32 GetControlWord() const;
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index 075fdebf148f..d63d884b7ea4 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -257,6 +257,9 @@ public:
void SetBackgroundColor( const Color& rColor );
Color GetBackgroundColor();
+ /// Set if we are doing tiled rendering.
+ void setTiledRendering(bool bTiledRendering);
+
SfxItemSet GetAttribs();
void Cut();
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index ddc3f8e788f9..a8a185acd9bd 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -169,6 +169,8 @@ protected:
SdrOutliner* pHitTestOutliner;// an Outliner for the HitTest
sal_uIntPtr nDefTextHgt; // Default text heigth in logical units
OutputDevice* pRefOutDev; // ReferenceDevice for the EditEngine
+ /// Set if we are doing tiled rendering.
+ bool mbTiledRendering;
sal_uIntPtr nProgressAkt; // for the
sal_uIntPtr nProgressMax; // ProgressBar-
sal_uIntPtr nProgressOfs; // -Handler
@@ -332,6 +334,10 @@ public:
// ReferenceDevice for the EditEngine
void SetRefDevice(OutputDevice* pDev);
OutputDevice* GetRefDevice() const { return pRefOutDev; }
+ /// Set if we are doing tiled rendering.
+ void setTiledRendering(bool bTiledRendering);
+ /// Are we doing tiled rendering?
+ bool isTiledRendering() const;
// If a new MapMode is set on the RefDevice (or similar)
void RefDeviceChanged(); // not yet implemented
// default font heigth in logical units