Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

This is regarding this
<https://www.libreoffice.org/bugzilla/show_bug.cgi?id=65404>  bug that I've
reported (I've attached a sample DOCX).

Apparently - MS Word has 2 types of background mechanisms for characters :
Highlighting and Shading.

In case both exist - the 'Highlighting' is what supersedes.

However, both are stored in the DOCX file, so that if a user removes the
highlighting - he should see the characters shaded.

Here is an example of the XML:



You can see the 'w:shd' and 'w:highlight' nodes.

When LO imports this DOCX - it converts it all to a single 'Brush' for the
characters (uses SvxBrushItem).


What is the best approach I should take if I want to support 'Character
Highlighting' with 'Character Shading'?

Should each text portion have two brushes instead of one? One for 'Character
Highlighting' and one for 'Character Shading'?

What are the implications of this (development-wise)?

Currently LO has only a single brush for characters.

 

Thanks,

Adam

 

JPEG image

Attachment: Text Higlight with Characeter Shading [public].docx
Description: MS-Word 2007 document


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.