diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-01-14 14:19:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-01-20 21:15:25 +0100 |
commit | 4ed26badfd6fd9190cb6e54078b41eb38cb37dca (patch) | |
tree | e9c778147c7b9f1cf133cf4d6dddb699a6031157 /sw/inc/viewopt.hxx | |
parent | d798b2784f8aae25168555a6c8b1ccb3ffec79ea (diff) |
use resolution independent positions for writer's screen-rendering
in favor of pushing it down to the text renderers and leave
it to them to optimized as best they can the the rendering
to make it look as well as possible.
the separate ScrArray can then be dropped as a consequence
Change-Id: Ic0849c091a36e1a90453771b1c91b8ff706b679e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128418
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc/viewopt.hxx')
-rw-r--r-- | sw/inc/viewopt.hxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sw/inc/viewopt.hxx b/sw/inc/viewopt.hxx index a6ac48b31581..e8a1c299b496 100644 --- a/sw/inc/viewopt.hxx +++ b/sw/inc/viewopt.hxx @@ -126,12 +126,6 @@ namespace o3tl { template<> struct typed_flags<ViewOptFlags> : is_typed_flags<ViewOptFlags, 0x01ff> {}; } -enum class GlyphPositioningMode { - Classic, - Layout, - LayoutAndMatchRender -}; - class SW_DLLPUBLIC SwViewOption { static Color s_aDocColor; // color of document boundaries @@ -169,7 +163,6 @@ class SW_DLLPUBLIC SwViewOption sal_uInt8 m_nPagePreviewRow; // Page Preview Row/Columns. sal_uInt8 m_nPagePreviewCol; // Page Preview Row/Columns. SwFillMode m_nShadowCursorFillMode; // FillMode for ShadowCursor. - GlyphPositioningMode m_eGlyphPositioningMode; // Positioning strategy for screen glyphs bool m_bReadonly : 1; // Readonly-Doc. bool m_bStarOneSetting : 1;// Prevent from UI automatics (no scrollbars in readonly documents). bool m_bIsPagePreview : 1; // The preview mustn't print field/footnote/... shadings. @@ -433,12 +426,6 @@ public: void SetPrinting(bool b) { SetCore2Option(b, ViewOptCoreFlags2::Printing); } - GlyphPositioningMode GetGlyphPositioningMode() const - { return m_eGlyphPositioningMode; } - - void SetGlyphPositioningMode(GlyphPositioningMode eMode) - { m_eGlyphPositioningMode = eMode; } - void SetCore2Option(bool b, ViewOptCoreFlags2 f) { if (b) @@ -710,7 +697,6 @@ inline void SwViewOption::SetUIOptions( const SwViewOption& rVOpt ) m_nUIOptions = rVOpt.m_nUIOptions; m_nTableDestination = rVOpt.m_nTableDestination; m_nShadowCursorFillMode = rVOpt.m_nShadowCursorFillMode; - m_eGlyphPositioningMode = rVOpt.m_eGlyphPositioningMode; } // Helper function for checking HTML-capabilities. |