diff options
author | Nickson <nicksonthanda10@msn.com> | 2018-09-20 02:19:24 +0100 |
---|---|---|
committer | Heiko Tietze <tietze.heiko@gmail.com> | 2018-11-08 10:28:34 +0100 |
commit | c399d0715f6d3fe16896af8d1f85e66855e17402 (patch) | |
tree | 6376fe445cf8ac9bece1bd27fff511158fd8bc67 /sw/inc/view.hxx | |
parent | b3c77dd04deb9b4336e2a1bd88afdfb170b585a0 (diff) |
tdf#119738 - Set default image caption to illustration if already being used
Change-Id: I8371bd4184734857a6c5578dc5c235760f83cc36
Reviewed-on: https://gerrit.libreoffice.org/60787
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'sw/inc/view.hxx')
-rw-r--r-- | sw/inc/view.hxx | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx index ae3db0670892..b5c29997fd22 100644 --- a/sw/inc/view.hxx +++ b/sw/inc/view.hxx @@ -644,6 +644,37 @@ public: /// See SfxViewShell::NotifyCursor(). void NotifyCursor(SfxViewShell* pViewShell) const override; void ShowUIElement(const OUString& sElementURL) const; + + + enum CachedStringID + { + OldGrfCat, + OldTabCat, + OldFrameCat, + OldDrwCat, + CachedStrings + }; + + OUString m_StringCache[CachedStrings]; + + const OUString& GetCachedString(CachedStringID id) + { + return m_StringCache[id]; + } + + void SetCachedString(CachedStringID id, const OUString& sStr) + { + m_StringCache[id] = sStr; + } + + const OUString& GetOldGrfCat(); + void SetOldGrfCat(const OUString& sStr); + const OUString& GetOldTabCat(); + void SetOldTabCat(const OUString& sStr); + const OUString& GetOldFrameCat(); + void SetOldFrameCat(const OUString& sStr); + const OUString& GetOldDrwCat(); + void SetOldDrwCat(const OUString& sStr); }; inline long SwView::GetXScroll() const |