diff options
author | Marco Cecchetti <mrcekets@gmail.com> | 2019-03-26 13:17:08 +0100 |
---|---|---|
committer | Marco Cecchetti <mrcekets@gmail.com> | 2019-05-20 10:35:49 +0200 |
commit | 4a7a37f942b932eb14cd0c5e9e72669f3a04e6a4 (patch) | |
tree | ac8a23d703f20583a2c3ef3db1f39c08db40ed64 /chart2/source/tools/ObjectIdentifier.cxx | |
parent | e9e57c61a747f0f5859b579ff4f2bcaa53eacd79 (diff) |
lok: chart: constrained dragging of pie segments
The extra information for the graphic selection is now formatted
according to JSON syntax so that is easier to parse.
Information for allowing the client to performa constrained dragging
of a pie segment is appended when needed to the graphic selection
message.
A polygon approximation of the pie segment in svg format is attached
too to the graphic selection message.
Core now is able to handle a specific msg from the client with data
about the new pie segment offset computed by the client on drag end.
This information is dispatched by the chart controller to a specific
method: executeDispatch_LOKPieSegmentDragging.
Change-Id: I42e7742508fa3a453383bf7b95e47df169f24834
Reviewed-on: https://gerrit.libreoffice.org/70568
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
Diffstat (limited to 'chart2/source/tools/ObjectIdentifier.cxx')
-rw-r--r-- | chart2/source/tools/ObjectIdentifier.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/ObjectIdentifier.cxx b/chart2/source/tools/ObjectIdentifier.cxx index 0b29437546dd..7e0064e411cd 100644 --- a/chart2/source/tools/ObjectIdentifier.cxx +++ b/chart2/source/tools/ObjectIdentifier.cxx @@ -56,7 +56,7 @@ static const char m_aMultiClick[] = "MultiClick"; static const char m_aDragMethodEquals[] = "DragMethod="; static const char m_aDragParameterEquals[] = "DragParameter="; static const char m_aProtocol[] = "CID/"; -static const OUString m_aPieSegmentDragMethodServiceName("PieSegmentDraging"); +static const OUString m_aPieSegmentDragMethodServiceName("PieSegmentDragging"); namespace { |