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


Hi,

On Sun, Jun 30, 2013 at 06:33:23PM +0300, Adam Co <rattles2013@gmail.com> wrote:
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'?

You already implemented a new nShadingValue value for SvxBrushItem, so
the information is stored using a single brush, right?

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

Unless I'm mistaken, all you need is to hack the layout, so in case
nShadingValue should be considered, a shading based on nShadingValue is
painted.

Miklos

Attachment: signature.asc
Description: Digital signature


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.