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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to