summaryrefslogtreecommitdiff
path: root/writerfilter/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-01-24 09:36:46 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-01-24 12:48:24 +0100
commite14fafaafb3500d65be9c1b69fcb86b31d36468c (patch)
treea308d8f2adf477aef41f25fbf9d0cb600627cf41 /writerfilter/source
parentb473896d31e4c198100fde582f5b4d12d8e2a1d7 (diff)
sw: make it possible to listen to paste events
The use-case is that the user pastes content and custom postprocessing is necessary for the pasted content. This is not easy by default, since the cursor is at the end of the pasted content, so the start is not known -- even if you intercept the paste UNO command. Precisely tracking the start is possible when using the internal API, SwReader::Read() does something similar already to track the undo range. Only expose the text selection after paste (as a start), but design the API in a way so that other pasted content type (e.g. image) can be added in a backwards-compatible way later. Change-Id: If35bda4244cc417e4858124fb75f7608b95fc556 Reviewed-on: https://gerrit.libreoffice.org/66807 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'writerfilter/source')
0 files changed, 0 insertions, 0 deletions