--===============2007098402== Content-Type: multipart/alternative; boundary="Boundary-00=_vObqJbfExZERsE4" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-00=_vObqJbfExZERsE4 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Le samedi 28 f=C3=A9vrier 2009 04:50:00, Thorsten Zachmann a =C3=A9crit=C2= =A0: > > You are right here. If I add the style:family=3D"paragraph"> as defined in the file like it is done for kw= ord > then the loading of the text formats is broken. Looks like we missed > something when we added this. > Hello, I was looking into the test file you told me to see why my unit test= was=20 succeeding with defaultstyles.xml and why the presentation was buggy with t= he=20 default-style added to the defaultstyles.xml. I might have overlooked something because the file is quite full, but the t= hing=20 I don't get is that you have a defined in styles.xml and a in automatic styles in=20 content.xml. Is it valid? I thought there could only be one style with same name/family? Also, a lot of the styles and the default-style defined in the styles.xml h= ave=20 got the "graphic" family, how does this relate to the kotext ParagraphStyle= s? Pierre --Boundary-00=_vObqJbfExZERsE4 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable p, li { white-space: pre-wrap; }Le samedi 28 f=C3=A9vrier 2009 04:50:00, Thorsten Zachmann a= =C3=A9crit=C2=A0:


>
> You are right here. If I add the <style:default-style
> style:family=3D"paragraph"> as defined in the file like it is done = for kword
> then the loading of the text formats is broken. Looks like we missed > something when we added this.
>


Hello, I was looking into the test file you told me t= o see why my unit test was succeeding with defaultstyles.xml and why the pr= esentation was buggy with the default-style added to the defaultstyles.xml.=
I might have overlooked something because the file is quite full, but the t= hing I don't get is that you have a <style:style name=3D"P1" family=3D"p= aragraph" fo:font-size=3D"14pt"> defined in styles.xml and a <style:s= tyle name=3D"P1" family=3D"paragraph" with just margins defined> in auto= matic styles in content.xml.
Is it valid? I thought there could only be one style with same name/family?=


Also, a lot of the styles and the default-style defin= ed in the styles.xml have got the "graphic" family, how does this relate to= the kotext ParagraphStyles?


Pierre

--Boundary-00=_vObqJbfExZERsE4-- --===============2007098402== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --===============2007098402==--