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


Hello

I am the author of the bug number 43067
( https://bugs.freedesktop.org/show_bug.cgi?id=43067 ).

I am trying to solve that bug.
I tried to insert
"rWrtShell.ResetAttr();" 
just before the 
"rWrtShell.SetAttr(*pTemplateItemSet);"
line.

It works but only when I just apply text formatting (hold Ctrl when you
select the text to format).

I would like to know how to differentiate formatting attributes that
come from style:family="paragraph" and those that come from
style:family="text".

For example, in the document attached, I would like to know that the
color attribute comes from P1 (a paragraph attribute set) and the
font-weight attribute comes from T1 (a text attribute set).

Thanks in advance.

-- 
Maxime de Roucy
Groupe LINAGORA - OSSA
80 rue Roque de Fillol
92800 PUTEAUX 
Tel. : 0 810 251 251

Attachment: test.odt
Description: application/vnd.oasis.opendocument.text

Attachment: content.xml
Description: XML document

Attachment: signature.asc
Description: This is a digitally signed message part


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.