Any GSoC participants who want to know what happens when they press the
highlight toolbar button should review the SfxDispatcher mechanism. It
calls on SfxTextShell::Execute(), the slot that it uses is
SID_ATTR_CHAR_COLOR_EXT on line 1190 of sw/source/core/ui/textsh1.cxx.

I hope that helps a little bit. You'll probably also need to look at how
Word handles highlighting in the docx format. I'll leave that as an
exercise for the student :-)

Incidentally, if you ever want to work out what a button uses, then put
a breakpoint on SfxDispatcher::Execute - that's how I worked out this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/295014

Title:
  [Upstream] Cannot remove highlight from .doc in Word exported from
  Writer

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/295014/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to