summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorheiko tietze <tietze.heiko@gmail.com>2018-04-08 12:35:58 +0200
committerHeiko Tietze <tietze.heiko@gmail.com>2018-04-10 00:47:22 +0200
commit8b34efff7a7ed13553dfe87cd2413d01c76dec1d (patch)
treefea585bfae98b6af5270b0aef2491b445c1a2004 /sw/source
parentc7b8dacab8fafdcf89311f780493a896e7350454 (diff)
tdf#114523 Make inline tooltips for changes optional
Revert redline shenanigans from change 46971; option is now set with view Change-Id: I55fcfef8a40ad621630dfcefed9e50fdafa94005 Reviewed-on: https://gerrit.libreoffice.org/52586 Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com> Tested-by: Heiko Tietze <tietze.heiko@gmail.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/crsr/crstrvl.cxx6
-rw-r--r--sw/source/core/doc/DocumentRedlineManager.cxx11
-rw-r--r--sw/source/core/edit/edredln.cxx11
-rw-r--r--sw/source/core/inc/DocumentRedlineManager.hxx4
-rw-r--r--sw/source/ui/config/optpage.cxx16
-rw-r--r--sw/source/uibase/config/cfgitems.cxx8
-rw-r--r--sw/source/uibase/config/modcfg.cxx8
-rw-r--r--sw/source/uibase/config/usrpref.cxx7
-rw-r--r--sw/source/uibase/docvw/edtwin2.cxx20
-rw-r--r--sw/source/uibase/inc/cfgitems.hxx1
-rw-r--r--sw/source/uibase/inc/optpage.hxx4
-rw-r--r--sw/source/uibase/uiview/view0.cxx9
-rw-r--r--sw/source/uibase/uno/unomod.cxx3
13 files changed, 52 insertions, 56 deletions
diff --git a/sw/source/core/crsr/crstrvl.cxx b/sw/source/core/crsr/crstrvl.cxx
index 6218f5a460d3..aa467d0f87d8 100644
--- a/sw/source/core/crsr/crstrvl.cxx
+++ b/sw/source/core/crsr/crstrvl.cxx
@@ -1137,11 +1137,6 @@ bool SwCursorShell::GetContentAtPos( const Point& rPt,
SET_CURR_SHELL( this );
bool bRet = false;
- const bool bHideInlineTooltips = GetDoc()->getIDocumentRedlineAccess().IsHideInlineTooltips();
- const bool bShowTrackChanges = IDocumentRedlineAccess::IsShowChanges( GetDoc()->getIDocumentRedlineAccess().GetRedlineFlags() );
-
- if (bHideInlineTooltips || !bShowTrackChanges) return bRet;
-
if( !IsTableMode() )
{
Point aPt( rPt );
@@ -1488,6 +1483,7 @@ bool SwCursorShell::GetContentAtPos( const Point& rPt,
if( !bRet && IsAttrAtPos::Redline & rContentAtPos.eContentAtPos )
{
const SwRangeRedline* pRedl = GetDoc()->getIDocumentRedlineAccess().GetRedline(aPos, nullptr);
+
if( pRedl )
{
rContentAtPos.aFnd.pRedl = pRedl;
diff --git a/sw/source/core/doc/DocumentRedlineManager.cxx b/sw/source/core/doc/DocumentRedlineManager.cxx
index 923bb541952c..4f12cd39d827 100644
--- a/sw/source/core/doc/DocumentRedlineManager.cxx
+++ b/sw/source/core/doc/DocumentRedlineManager.cxx
@@ -616,7 +616,6 @@ DocumentRedlineManager::DocumentRedlineManager(SwDoc& i_rSwdoc)
, mbIsRedlineMove(false)
, mbReadlineChecked(false)
, mnAutoFormatRedlnCommentNo(0)
- , m_bHideInlineTooltips(false)
{
}
@@ -2721,16 +2720,6 @@ void DocumentRedlineManager::checkRedlining(RedlineFlags& _rReadlineMode)
}
}
-bool DocumentRedlineManager::IsHideInlineTooltips()
-{
- return m_bHideInlineTooltips;
-}
-
-void DocumentRedlineManager::SetHideInlineTooltips(bool bSet)
-{
- m_bHideInlineTooltips = bSet;
-}
-
DocumentRedlineManager::~DocumentRedlineManager()
{
}
diff --git a/sw/source/core/edit/edredln.cxx b/sw/source/core/edit/edredln.cxx
index eb1db63666e7..e99aa5c36ae3 100644
--- a/sw/source/core/edit/edredln.cxx
+++ b/sw/source/core/edit/edredln.cxx
@@ -25,7 +25,6 @@
#include <editsh.hxx>
#include <edimp.hxx>
#include <frmtool.hxx>
-#include <officecfg/Office/Writer.hxx>
RedlineFlags SwEditShell::GetRedlineFlags() const
{
@@ -131,15 +130,7 @@ void SwEditShell::UpdateRedlineAttr()
SET_CURR_SHELL( this );
StartAllAction();
- // issue when the changes the inline option when IsShow is off
- SwDoc& rDoc = *GetDoc();
- bool bShowInlineTooltip = officecfg::Office::Writer::Revision::ShowInlineTooltip::get();
- if (bShowInlineTooltip != rDoc.getIDocumentRedlineAccess().IsHideInlineTooltips() )
- {
- rDoc.getIDocumentRedlineAccess().SetHideInlineTooltips( bShowInlineTooltip );
- }
-
- rDoc.getIDocumentRedlineAccess().UpdateRedlineAttr();
+ GetDoc()->getIDocumentRedlineAccess().UpdateRedlineAttr();
EndAllAction();
}
diff --git a/sw/source/core/inc/DocumentRedlineManager.hxx b/sw/source/core/inc/DocumentRedlineManager.hxx
index 52be64fa7d28..1a410a15b6ba 100644
--- a/sw/source/core/inc/DocumentRedlineManager.hxx
+++ b/sw/source/core/inc/DocumentRedlineManager.hxx
@@ -111,9 +111,6 @@ public:
virtual void SetRedlinePassword(
/*[in]*/const css::uno::Sequence <sal_Int8>& rNewPassword) override;
- virtual bool IsHideInlineTooltips() override;
- virtual void SetHideInlineTooltips(bool bSet) override;
-
//Non Interface methods;
/** Set comment-text for Redline. It then comes in via AppendRedLine.
@@ -142,7 +139,6 @@ private:
sal_uInt16 mnAutoFormatRedlnCommentNo; /**< SeqNo for conjoining of AutoFormat-Redlines.
by the UI. Managed by SwAutoFormat! */
css::uno::Sequence <sal_Int8 > maRedlinePasswd;
- bool m_bHideInlineTooltips : 1;
};
}
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index 115043bd30c1..e2a9039adf5c 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -116,6 +116,8 @@ SwContentOptPage::SwContentOptPage( vcl::Window* pParent,
get (m_pMetricLabel, "measureunitlabel");
get (m_pMetricLB, "measureunit");
+ get (m_pShowInlineTooltips,"changestooltip");
+
/* This part is visible only with Writer/Web->View dialogue. */
const SfxPoolItem* pItem;
if (! (SfxItemState::SET == rCoreSet.GetItemState(SID_HTML_MODE, false, &pItem )
@@ -192,6 +194,7 @@ void SwContentOptPage::dispose()
m_pSettingsLabel.clear();
m_pMetricLabel.clear();
m_pMetricLB.clear();
+ m_pShowInlineTooltips.clear();
SfxTabPage::dispose();
}
@@ -237,6 +240,7 @@ void SwContentOptPage::Reset(const SfxItemSet* rSet)
m_pVRulerCBox->Check (pElemAttr->bVertRuler);
m_pVRulerRightCBox->Check (pElemAttr->bVertRulerRight);
m_pSmoothCBox->Check (pElemAttr->bSmoothScroll);
+ m_pShowInlineTooltips->Check (pElemAttr->bShowInlineTooltips);
}
m_pMetricLB->SetNoSelection();
lcl_SelectMetricLB(m_pMetricLB, SID_ATTR_METRIC, *rSet);
@@ -259,6 +263,7 @@ bool SwContentOptPage::FillItemSet(SfxItemSet* rSet)
aElem.bVertRuler = m_pVRulerCBox->IsChecked();
aElem.bVertRulerRight = m_pVRulerRightCBox->IsChecked();
aElem.bSmoothScroll = m_pSmoothCBox->IsChecked();
+ aElem.bShowInlineTooltips = m_pShowInlineTooltips->IsChecked();
bool bRet = !pOldAttr || aElem != *pOldAttr;
if(bRet)
@@ -290,6 +295,7 @@ bool SwContentOptPage::FillItemSet(SfxItemSet* rSet)
rSet->Put( SfxUInt16Item( FN_VSCROLL_METRIC, nFieldUnit ) );
bRet = true;
}
+
return bRet;
}
@@ -1754,7 +1760,6 @@ SwRedlineOptionsTabPage::SwRedlineOptionsTabPage( vcl::Window* pParent,
get(m_pMarkPosLB,"markpos");
get(m_pMarkColorLB,"markcolor");
get(m_pMarkPreviewWN,"markpreview");
- get(m_pShowChangesTooltip,"changestooltip");
m_pInsertedPreviewWN->set_height_request(aPreviewSize.Height());
m_pDeletedPreviewWN->set_height_request(aPreviewSize.Height());
@@ -1813,7 +1818,6 @@ void SwRedlineOptionsTabPage::dispose()
m_pMarkPosLB.clear();
m_pMarkColorLB.clear();
m_pMarkPreviewWN.clear();
- m_pShowChangesTooltip.clear();
SfxTabPage::dispose();
}
@@ -1835,8 +1839,6 @@ bool SwRedlineOptionsTabPage::FillItemSet( SfxItemSet* )
AuthorCharAttr aOldDeletedAttr(pOpt->GetDeletedAuthorAttr());
AuthorCharAttr aOldChangedAttr(pOpt->GetFormatAuthorAttr());
- const bool bOldShowInlineTooltips = pOpt->IsShowInlineTooltip();
-
Color nOldMarkColor = pOpt->GetMarkAlignColor();
sal_uInt16 nOldMarkMode = pOpt->GetMarkAlignMode();
@@ -1881,14 +1883,12 @@ bool SwRedlineOptionsTabPage::FillItemSet( SfxItemSet* )
}
pOpt->SetMarkAlignMode(nPos);
pOpt->SetMarkAlignColor(m_pMarkColorLB->GetSelectEntryColor());
- pOpt->SetShowInlineTooltip( m_pShowChangesTooltip->IsChecked() );
if (!(aInsertedAttr == aOldInsertAttr) ||
!(aDeletedAttr == aOldDeletedAttr) ||
!(aChangedAttr == aOldChangedAttr) ||
nOldMarkColor != pOpt->GetMarkAlignColor() ||
- nOldMarkMode != pOpt->GetMarkAlignMode() ||
- bOldShowInlineTooltips != pOpt->IsShowInlineTooltip() )
+ nOldMarkMode != pOpt->GetMarkAlignMode() )
{
// update all documents
SwDocShell* pDocShell = static_cast<SwDocShell*>(SfxObjectShell::GetFirst(checkSfxObjectShell<SwDocShell>));
@@ -1927,8 +1927,6 @@ void SwRedlineOptionsTabPage::Reset( const SfxItemSet* )
m_pMarkColorLB->SelectEntry(pOpt->GetMarkAlignColor());
- m_pShowChangesTooltip->Check( pOpt->IsShowInlineTooltip() );
-
m_pInsertLB->SelectEntryPos(0);
m_pDeletedLB->SelectEntryPos(0);
m_pChangedLB->SelectEntryPos(0);
diff --git a/sw/source/uibase/config/cfgitems.cxx b/sw/source/uibase/config/cfgitems.cxx
index f029eda606c0..98dc29eba68e 100644
--- a/sw/source/uibase/config/cfgitems.cxx
+++ b/sw/source/uibase/config/cfgitems.cxx
@@ -107,6 +107,7 @@ SwElemItem::SwElemItem() :
bDrawing =
bFieldName =
bNotes = false;
+ bShowInlineTooltips = true;
}
SwElemItem::SwElemItem(const SwViewOption& rVOpt) :
@@ -121,6 +122,7 @@ SwElemItem::SwElemItem(const SwViewOption& rVOpt) :
bDrawing = rVOpt.IsDraw() && rVOpt.IsControl();
bFieldName = rVOpt.IsFieldName();
bNotes = rVOpt.IsPostIts();
+ bShowInlineTooltips = rVOpt.IsShowInlineTooltips();
}
@@ -143,7 +145,8 @@ bool SwElemItem::operator==( const SfxPoolItem& rAttr ) const
bGraphic == rItem.bGraphic &&
bDrawing == rItem.bDrawing &&
bFieldName == rItem.bFieldName &&
- bNotes == rItem.bNotes );
+ bNotes == rItem.bNotes &&
+ bShowInlineTooltips == rItem.bShowInlineTooltips );
}
void SwElemItem::FillViewOptions( SwViewOption& rVOpt) const
@@ -156,8 +159,9 @@ void SwElemItem::FillViewOptions( SwViewOption& rVOpt) const
rVOpt.SetGraphic (bGraphic );
rVOpt.SetDraw (bDrawing );
rVOpt.SetControl (bDrawing );
- rVOpt.SetFieldName (bFieldName );
+ rVOpt.SetFieldName (bFieldName );
rVOpt.SetPostIts (bNotes );
+ rVOpt.SetShowInlineTooltips( bShowInlineTooltips );
}
// CTOR for empty Item
diff --git a/sw/source/uibase/config/modcfg.cxx b/sw/source/uibase/config/modcfg.cxx
index f0d9f010b7ab..aeabf55f9c6e 100644
--- a/sw/source/uibase/config/modcfg.cxx
+++ b/sw/source/uibase/config/modcfg.cxx
@@ -221,7 +221,7 @@ const Sequence<OUString>& SwRevisionConfig::GetPropertyNames()
static Sequence<OUString> aNames;
if(!aNames.getLength())
{
- const int nCount = 9;
+ const int nCount = 8;
aNames.realloc(nCount);
static const char* aPropNames[] =
{
@@ -232,8 +232,7 @@ const Sequence<OUString>& SwRevisionConfig::GetPropertyNames()
"TextDisplay/ChangedAttribute/Attribute", // 4
"TextDisplay/ChangedAttribute/Color", // 5
"LinesChanged/Mark", // 6
- "LinesChanged/Color", // 7
- "ShowInlineTooltip" // 8
+ "LinesChanged/Color" // 7
};
OUString* pNames = aNames.getArray();
for(int i = 0; i < nCount; i++)
@@ -255,7 +254,6 @@ SwRevisionConfig::SwRevisionConfig() :
aFormatAttr.m_nItemId = SID_ATTR_CHAR_WEIGHT;
aFormatAttr.m_nAttr = WEIGHT_BOLD;
aFormatAttr.m_nColor = COL_BLACK;
- bShowInlineTooltip = true;
Load();
}
@@ -309,7 +307,6 @@ void SwRevisionConfig::ImplCommit()
case 5 : pValues[nProp] <<= aFormatAttr.m_nColor; break;
case 6 : pValues[nProp] <<= nMarkAlign; break;
case 7 : pValues[nProp] <<= aMarkColor; break;
- case 8 : pValues[nProp] <<= bShowInlineTooltip; break;
}
}
PutProperties(aNames, aValues);
@@ -363,7 +360,6 @@ void SwRevisionConfig::Load()
case 5 : aFormatAttr.m_nColor = Color(nVal); break;
case 6 : nMarkAlign = sal::static_int_cast< sal_uInt16, sal_Int32>(nVal); break;
case 7 : aMarkColor = Color(nVal); break;
- case 8 : bShowInlineTooltip = *o3tl::doAccess<bool>(pValues[nProp]);
}
}
}
diff --git a/sw/source/uibase/config/usrpref.cxx b/sw/source/uibase/config/usrpref.cxx
index 3fe97f702a8e..68b4602b4f6f 100644
--- a/sw/source/uibase/config/usrpref.cxx
+++ b/sw/source/uibase/config/usrpref.cxx
@@ -103,10 +103,11 @@ Sequence<OUString> SwContentViewConfig::GetPropertyNames()
"NonprintingCharacter/HiddenCharacter", // 15
"Update/Link", // 16
"Update/Field", // 17
- "Update/Chart" // 18
+ "Update/Chart", // 18
+ "Display/ShowInlineTooltips" //19
};
- const int nCount = bWeb ? 12 : 19;
+ const int nCount = bWeb ? 12 : 20;
Sequence<OUString> aNames(nCount);
OUString* pNames = aNames.getArray();
for(int i = 0; i < nCount; i++)
@@ -165,6 +166,7 @@ void SwContentViewConfig::ImplCommit()
case 16: pValues[nProp] <<= rParent.GetUpdateLinkMode(); break;// "Update/Link",
case 17: bVal = rParent.IsUpdateFields(); break;// "Update/Field",
case 18: bVal = rParent.IsUpdateCharts(); break;// "Update/Chart"
+ case 19: bVal = rParent.IsShowInlineTooltips(); break;// "Display/ShowInlineTooltips"
}
if(nProp != 16)
pValues[nProp] <<= bVal;
@@ -212,6 +214,7 @@ void SwContentViewConfig::Load()
break;// "Update/Link",
case 17: rParent.SetUpdateFields(bSet); break;// "Update/Field",
case 18: rParent.SetUpdateCharts(bSet); break;// "Update/Chart"
+ case 19: rParent.SetShowInlineTooltips(bSet); break;// "Display/ShowInlineTooltips"
}
}
}
diff --git a/sw/source/uibase/docvw/edtwin2.cxx b/sw/source/uibase/docvw/edtwin2.cxx
index 670d9244fa7d..9e4658eacf4a 100644
--- a/sw/source/uibase/docvw/edtwin2.cxx
+++ b/sw/source/uibase/docvw/edtwin2.cxx
@@ -260,8 +260,13 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt)
break;
case IsAttrAtPos::Redline:
- sText = lcl_GetRedlineHelp(*aContentAtPos.aFnd.pRedl, bBalloon);
- break;
+ {
+ const bool bShowTrackChanges = IDocumentRedlineAccess::IsShowChanges( m_rView.GetDocShell()->GetDoc()->getIDocumentRedlineAccess().GetRedlineFlags() );
+ const bool bShowInlineTooltips = rSh.GetViewOptions()->IsShowInlineTooltips();
+ if ( bShowTrackChanges && bShowInlineTooltips )
+ sText = lcl_GetRedlineHelp(*aContentAtPos.aFnd.pRedl, bBalloon);
+ }
+ break;
case IsAttrAtPos::ToxMark:
sText = aContentAtPos.sStr;
@@ -361,9 +366,14 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt)
if( sText.isEmpty() )
{
- aContentAtPos.eContentAtPos = IsAttrAtPos::Redline;
- if( rSh.GetContentAtPos( aPos, aContentAtPos, false, &aFieldRect ) )
- sText = lcl_GetRedlineHelp(*aContentAtPos.aFnd.pRedl, bBalloon);
+ const bool bShowTrackChanges = IDocumentRedlineAccess::IsShowChanges( m_rView.GetDocShell()->GetDoc()->getIDocumentRedlineAccess().GetRedlineFlags() );
+ const bool bShowInlineTooltips = rSh.GetViewOptions()->IsShowInlineTooltips();
+ if ( bShowTrackChanges && bShowInlineTooltips )
+ {
+ aContentAtPos.eContentAtPos = IsAttrAtPos::Redline;
+ if( rSh.GetContentAtPos( aPos, aContentAtPos, false, &aFieldRect ) )
+ sText = lcl_GetRedlineHelp(*aContentAtPos.aFnd.pRedl, bBalloon);
+ }
}
}
}
diff --git a/sw/source/uibase/inc/cfgitems.hxx b/sw/source/uibase/inc/cfgitems.hxx
index 149cd77e7ac0..79c2fb7780bf 100644
--- a/sw/source/uibase/inc/cfgitems.hxx
+++ b/sw/source/uibase/inc/cfgitems.hxx
@@ -79,6 +79,7 @@ class SW_DLLPUBLIC SwElemItem : public SfxPoolItem
bool bDrawing :1;
bool bFieldName :1;
bool bNotes :1;
+ bool bShowInlineTooltips :1;
friend class SwContentOptPage;
diff --git a/sw/source/uibase/inc/optpage.hxx b/sw/source/uibase/inc/optpage.hxx
index cd6552ea108e..7efa595467c4 100644
--- a/sw/source/uibase/inc/optpage.hxx
+++ b/sw/source/uibase/inc/optpage.hxx
@@ -61,6 +61,8 @@ class SwContentOptPage : public SfxTabPage
VclPtr<FixedText> m_pMetricLabel;
VclPtr<ListBox> m_pMetricLB;
+ VclPtr<CheckBox> m_pShowInlineTooltips;
+
DECL_LINK(VertRulerHdl, Button*, void);
public:
SwContentOptPage( vcl::Window* pParent, const SfxItemSet& rSet);
@@ -328,8 +330,6 @@ class SwRedlineOptionsTabPage : public SfxTabPage
VclPtr<SvxColorListBox> m_pMarkColorLB;
VclPtr<SwMarkPreview> m_pMarkPreviewWN;
- VclPtr<CheckBox> m_pShowChangesTooltip;
-
DECL_LINK(AttribHdl, ListBox&, void);
void ChangedMaskPrev();
DECL_LINK(ChangedMaskPrevHdl, ListBox&, void);
diff --git a/sw/source/uibase/uiview/view0.cxx b/sw/source/uibase/uiview/view0.cxx
index 4cf1fbf78329..b5292557ae8a 100644
--- a/sw/source/uibase/uiview/view0.cxx
+++ b/sw/source/uibase/uiview/view0.cxx
@@ -324,6 +324,8 @@ void SwView::StateViewOptions(SfxItemSet &rSet)
else
aBool.SetValue( pOpt->IsShadowCursor() );
break;
+ case FN_SHOW_INLINETOOLTIPS:
+ aBool.SetValue( pOpt->IsShowInlineTooltips() );
}
@@ -540,6 +542,13 @@ void SwView::ExecViewOptions(SfxRequest &rReq)
pOpt->SetShadowCursor(bSet);
break;
+ case FN_SHOW_INLINETOOLTIPS:
+ if( STATE_TOGGLE == eState )
+ bFlag = !pOpt->IsShowInlineTooltips();
+
+ pOpt->SetShowInlineTooltips( bFlag );
+ break;
+
default:
OSL_FAIL("wrong request method");
return;
diff --git a/sw/source/uibase/uno/unomod.cxx b/sw/source/uibase/uno/unomod.cxx
index 16fabb29760a..c33f0b9f5f49 100644
--- a/sw/source/uibase/uno/unomod.cxx
+++ b/sw/source/uibase/uno/unomod.cxx
@@ -89,6 +89,7 @@ enum SwViewSettingsPropertyHandles
HANDLE_VIEWSET_HORI_RULER_METRIC,
HANDLE_VIEWSET_VERT_RULER_METRIC,
HANDLE_VIEWSET_SCROLLBAR_TIPS,
+ HANDLE_VIEWSET_INLINECHANGES_TIPS,
HANDLE_VIEWSET_HIDE_WHITESPACE
};
@@ -124,6 +125,7 @@ static ChainablePropertySetInfo * lcl_createViewSettingsInfo()
{ OUString( "IsSnapToRaster"), HANDLE_VIEWSET_IS_SNAP_TO_RASTER, cppu::UnoType<bool>::get(), PROPERTY_NONE},
{ OUString( "IsVertRulerRightAligned"),HANDLE_VIEWSET_VRULER_RIGHT , cppu::UnoType<bool>::get(), PROPERTY_NONE},
{ OUString( "ShowContentTips" ), HANDLE_VIEWSET_SHOW_CONTENT_TIPS , cppu::UnoType<bool>::get(), PROPERTY_NONE},
+ { OUString( "ShowInlineTooltips" ), HANDLE_VIEWSET_INLINECHANGES_TIPS , cppu::UnoType<bool>::get(), PROPERTY_NONE},
{ OUString( "RasterResolutionX"), HANDLE_VIEWSET_RASTER_RESOLUTION_X, cppu::UnoType<sal_Int32>::get(), PROPERTY_NONE},
{ OUString( "RasterResolutionY"), HANDLE_VIEWSET_RASTER_RESOLUTION_Y, cppu::UnoType<sal_Int32>::get(), PROPERTY_NONE},
{ OUString( "RasterSubdivisionX"), HANDLE_VIEWSET_RASTER_SUBDIVISION_X, cppu::UnoType<sal_Int32>::get(), PROPERTY_NONE},
@@ -592,6 +594,7 @@ void SwXViewSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, c
case HANDLE_VIEWSET_IS_RASTER_VISIBLE : mpViewOption->SetGridVisible(*o3tl::doAccess<bool>(rValue)); break;
case HANDLE_VIEWSET_IS_SNAP_TO_RASTER : mpViewOption->SetSnap(*o3tl::doAccess<bool>(rValue)); break;
case HANDLE_VIEWSET_SCROLLBAR_TIPS : mpViewOption->SetShowScrollBarTips(*o3tl::doAccess<bool>(rValue)); break;
+ case HANDLE_VIEWSET_INLINECHANGES_TIPS : mpViewOption->SetShowInlineTooltips(*o3tl::doAccess<bool>(rValue)); break;
case HANDLE_VIEWSET_RASTER_RESOLUTION_X :
{
sal_Int32 nTmp = 0;