diff options
author | Brad Sowden <code@sowden.org> | 2012-06-18 20:00:58 +1200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-06-18 12:39:38 +0200 |
commit | 25d43d348c1614869fa3adb749f0cf6f1845281e (patch) | |
tree | 38286406b5f8188475e561653f192155d6dfaf00 /sw | |
parent | e8d8e9eb7c82744c69d6c25fab9bf318caafa59a (diff) |
Some doxygen comments for QuickHelpData
Change-Id: Id6e91985f6dbdd8244df9bef0f7a938ac8ecbf3a
Diffstat (limited to 'sw')
-rw-r--r-- | 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 6e40e578e55c..2a0aa88fa5fe 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(); } |