diff options
author | Yohei Yukawa <yukawa@google.com> | 2013-05-06 14:20:11 +0900 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-05-13 05:14:37 +0000 |
commit | 57b5ed51d46fd5673dfe35125ceffa71d39f133d (patch) | |
tree | c6dcc9991647a7869451a15ba436cb7443f1dc06 /include | |
parent | c0417e82174297ace604c68fc577c831929f3573 (diff) |
Support IMR_QUERYCHARPOSITION in Writer and Calc.
IMR_QUERYCHARPOSITION is one of optional but fundamental request
message sent from IMEs to application. This message is used for
retrieving the positional information for each character in a
composition text especially when the composition text is drawn
by the application.
This information is critical for IMEs to align suggestion window
with the composition text.
Change-Id: I53a344a78688060004cc8bcbbf1127f22a468e20
Reviewed-on: https://gerrit.libreoffice.org/3849
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/cmdevt.hxx | 2 | ||||
-rw-r--r-- | include/vcl/window.hxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/cmdevt.hxx b/include/vcl/cmdevt.hxx index 03876e52e5a3..75714f2f531f 100644 --- a/include/vcl/cmdevt.hxx +++ b/include/vcl/cmdevt.hxx @@ -351,6 +351,8 @@ inline CommandSelectionChangeData::CommandSelectionChangeData( sal_uLong nStart, #define COMMAND_MEDIA ((sal_uInt16)17) #define COMMAND_SELECTIONCHANGE ((sal_uInt16)18) #define COMMAND_PREPARERECONVERSION ((sal_uInt16)19) +#define COMMAND_QUERYCHARPOSITION ((sal_uInt16)20) + class VCL_DLLPUBLIC CommandEvent { diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 43e232dab55c..d1c783bc0e69 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -680,6 +680,8 @@ public: const Rectangle* GetCursorRect() const; long GetCursorExtTextInputWidth() const; + void SetCompositionCharRect( const Rectangle* pRect, long nCompositionLength, sal_Bool bVertical = sal_False ); + using OutputDevice::SetSettings; virtual void SetSettings( const AllSettings& rSettings ); virtual void SetSettings( const AllSettings& rSettings, sal_Bool bChild ); |