Change-Id: Id6e91985f6dbdd8244df9bef0f7a938ac8ecbf3a
---
sw/source/ui/docvw/edtwin.cxx | 22 +++++++++++++++++++---
1 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index 6e40e57..2a0aa88 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -270,14 +270,30 @@ public:
}
};
+/// Assists with auto-completion of AutoComplete words and AutoText names.
struct QuickHelpData
{
+ /// Strings that at least partially match an input word.
std::vector<String> m_aHelpStrings;
+ /// Index of the current help string.
+ sal_uInt16 nCurArrPos;
+ /// Length of the input word associated with the help data.
+ sal_uInt16 nLen;
+
+ /// Help data stores AutoText names rather than AutoComplete words.
+ sal_Bool bIsAutoText : 1;
+ /// Display help string as a tip rather than inline.
+ sal_Bool bIsTip : 1;
+ /// Tip ID when a help string is displayed as a tip.
+ sal_uLong nTipId;
+ /// Append a space character to the displayed help string (if appropriate).
+ sal_Bool bChkInsBlank : 1;
+
+ /// Help string is currently displayed.
+ sal_Bool bClear : 1;
+
sal_uInt16* pAttrs;
CommandExtTextInputData* pCETID;
- sal_uLong nTipId;
- sal_uInt16 nLen, nCurArrPos;
- sal_Bool bClear : 1, bChkInsBlank : 1, bIsTip : 1, bIsAutoText : 1;
QuickHelpData() : pAttrs( 0 ), pCETID( 0 ) { ClearCntnt(); }
Context
- [PATCH 1/6] Some doxygen comments for QuickHelpData · Brad Sowden
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.