[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: koffice/libs/kotext
From:       Pierre Stirnweiss <pierre.stirnweiss () t-online ! de>
Date:       2009-02-28 21:59:11
Message-ID: 200902282259.11890.pierre.stirnweiss () t-online ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Le samedi 28 février 2009 04:50:00, Thorsten Zachmann a écrit  :

>
> You are right here. If I add the <style:default-style
> style:family="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 to see why my unit test was 
succeeding with defaultstyles.xml and why the presentation was buggy with the 
default-style added to the defaultstyles.xml.
I might have overlooked something because the file is quite full, but the thing 
I don't get is that you have a <style:style name="P1" family="paragraph" 
fo:font-size="14pt"> defined in styles.xml and a <style:style name="P1" 
family="paragraph" with just margins defined> in automatic 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 defined in the styles.xml have 
got the "graphic" family, how does this relate to the kotext ParagraphStyles?

Pierre

[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" \
"http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" \
content="1" /><style type="text/css">p, li { white-space: pre-wrap; \
}</style></head><body style=" font-family:'DejaVu Sans'; font-size:10pt; \
font-weight:400; font-style:normal;">Le samedi 28 février 2009 04:50:00, Thorsten \
Zachmann a écrit  :<br> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"><br></p>&gt;<br> &gt; You are right here. If I \
add the &lt;style:default-style<br> &gt; style:family="paragraph"&gt; as defined in \
the file like it is done for kword<br> &gt; then the loading of the text formats is \
broken. Looks like we missed<br> &gt; something when we added this.<br>
&gt;<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"><br></p>Hello, I was looking into the test file you told me to see \
why my unit test was succeeding with defaultstyles.xml and why the presentation was \
buggy with the default-style added to the defaultstyles.xml.<br> I might have \
overlooked something because the file is quite full, but the thing I don't get is \
that you have a &lt;style:style name="P1" family="paragraph" fo:font-size="14pt"&gt; \
defined in styles.xml and a &lt;style:style name="P1" family="paragraph" with just \
margins defined&gt; in automatic styles in content.xml.<br> Is it valid? I thought \
there could only be one style with same name/family?<br> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"><br></p>Also, a lot of the styles and the default-style defined in \
the styles.xml have got the "graphic" family, how does this relate to the kotext \
ParagraphStyles?<br> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"><br></p>Pierre</p></body></html>



_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic