<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-6401</id>
	<title>Nabble - koffice</title>
	<updated>2009-11-24T07:49:21Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/koffice-f6401.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/koffice-f6401.html" />
	<subtitle type="html">koffice home is &lt;a href=&quot;http://www.kde.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26498376</id>
	<title>Re: Review Request: Class KoFrameBorder for drawing borders for frames and Header/Footer styles implementation</title>
	<published>2009-11-24T07:49:21Z</published>
	<updated>2009-11-24T07:49:21Z</updated>
	<author>
		<name>Bugzilla from zander@kde.org</name>
	</author>
	<content type="html">On Tuesday 24. November 2009 11.59.35 Mani Chandrasekar wrote:
&lt;br&gt;&amp;gt; Added LGPL License text for Header file and updated the source file.
&lt;br&gt;&lt;br&gt;Sorry, you missed the &amp;quot;or later&amp;quot; part.
&lt;br&gt;Thats required for contributions to KOffice libs.
&lt;br&gt;&lt;br&gt;Please use that.
&lt;br&gt;-- 
&lt;br&gt;Thomas Zander
&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26498376&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-Class-KoFrameBorder-for-drawing-borders-for-frames-and-Header-Footer-styles-implementation-tp26477023p26498376.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26494855</id>
	<title>Re: Review Request: Class KoFrameBorder for drawing borders for frames and Header/Footer styles implementation</title>
	<published>2009-11-24T04:10:18Z</published>
	<updated>2009-11-24T04:10:18Z</updated>
	<author>
		<name>prasad_ncm</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2268/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2268/&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;(Updated 2009-11-24 12:10:18.746516)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Review request for KOffice.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Changes
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;Setting standard values for writing-mode/num-format in KoPageLayout
&lt;br&gt;&lt;br&gt;&lt;br&gt;Summary
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;* Created a new class KoFrameBorder inherited from KoShapeBorderModel to handle borders for Frames. This class stores style information using KoBorder. 
&lt;br&gt;* I have moved Paint function from KWCanvas to KoBorder, which can be used by KoFrameBorder. &amp;nbsp;As it is common for both KWCanvas and KoFrameBorder. 
&lt;br&gt;* Header/Footer styles are now supported. Background color/Image fill, Complex borders (color border and border with different width and styles). 
&lt;br&gt;&lt;br&gt;KoFrameBorder::fillStyle(KoGenStyle &amp;style, KoShapeSavingContext &amp;context)
&lt;br&gt;How do i store the style information of Complex borders, As it is possible to have different colors for different sides. 
&lt;br&gt;&lt;br&gt;Saving back the header/footer information is still not implemented. The header/footer-style should be saved as a child of the style:page-layout; but using the addChildElement its instead saved as a child of style:page-layout-properties. Any idea how this can be implemented ? 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Diffs (updated)
&lt;br&gt;-----
&lt;br&gt;&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWCanvas.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWCanvas.cpp 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWOdfLoader.cpp 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWPageStyle.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWPageStyle.cpp 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWPageStyle_p.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/frames/KWTextFrameSet.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/frames/KWTextFrameSet.cpp 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/flake/CMakeLists.txt 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/flake/KoFrameBorder.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/flake/KoFrameBorder.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/odf/KoBorder.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/odf/KoBorder.cpp 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/widgets/KoPageLayout.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/widgets/KoPageLayout.cpp 1051253 
&lt;br&gt;&lt;br&gt;Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2268/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2268/diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Testing
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;I have done testing with few documents and works fine.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Mani
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26494855&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-Class-KoFrameBorder-for-drawing-borders-for-frames-and-Header-Footer-styles-implementation-tp26477023p26494855.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26493969</id>
	<title>Re: Review Request: Class KoFrameBorder for drawing borders for frames and Header/Footer styles implementation</title>
	<published>2009-11-24T02:59:35Z</published>
	<updated>2009-11-24T02:59:35Z</updated>
	<author>
		<name>prasad_ncm</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2268/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2268/&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;(Updated 2009-11-24 10:59:34.964132)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Review request for KOffice.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Changes
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;Added LGPL License text for Header file and updated the source file.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Summary
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;* Created a new class KoFrameBorder inherited from KoShapeBorderModel to handle borders for Frames. This class stores style information using KoBorder. 
&lt;br&gt;* I have moved Paint function from KWCanvas to KoBorder, which can be used by KoFrameBorder. &amp;nbsp;As it is common for both KWCanvas and KoFrameBorder. 
&lt;br&gt;* Header/Footer styles are now supported. Background color/Image fill, Complex borders (color border and border with different width and styles). 
&lt;br&gt;&lt;br&gt;KoFrameBorder::fillStyle(KoGenStyle &amp;style, KoShapeSavingContext &amp;context)
&lt;br&gt;How do i store the style information of Complex borders, As it is possible to have different colors for different sides. 
&lt;br&gt;&lt;br&gt;Saving back the header/footer information is still not implemented. The header/footer-style should be saved as a child of the style:page-layout; but using the addChildElement its instead saved as a child of style:page-layout-properties. Any idea how this can be implemented ? 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Diffs (updated)
&lt;br&gt;-----
&lt;br&gt;&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWCanvas.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWCanvas.cpp 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWOdfLoader.cpp 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWPageStyle.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWPageStyle.cpp 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWPageStyle_p.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/frames/KWTextFrameSet.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/frames/KWTextFrameSet.cpp 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/flake/CMakeLists.txt 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/flake/KoFrameBorder.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/flake/KoFrameBorder.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/odf/KoBorder.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/odf/KoBorder.cpp 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/widgets/KoPageLayout.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/widgets/KoPageLayout.cpp 1051253 
&lt;br&gt;&lt;br&gt;Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2268/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2268/diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Testing
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;I have done testing with few documents and works fine.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Mani
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26493969&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-Class-KoFrameBorder-for-drawing-borders-for-frames-and-Header-Footer-styles-implementation-tp26477023p26493969.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26486973</id>
	<title>Re: koffice/kword/part</title>
	<published>2009-11-23T14:13:16Z</published>
	<updated>2009-11-23T14:13:16Z</updated>
	<author>
		<name>Bugzilla from zander@kde.org</name>
	</author>
	<content type="html">On Tuesday 17. November 2009 11.56.39 Inge Wallin wrote:
&lt;br&gt;&amp;gt; &amp;gt; So you don't want to debug it?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Didn't say that. &amp;nbsp;:-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Just saying that the patch for the page borders aren't responsible for the 
&lt;br&gt;&amp;gt; failure.
&lt;br&gt;&lt;br&gt;I fixed this issue now in tonights commits.
&lt;br&gt;-- 
&lt;br&gt;Thomas Zander
&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26486973&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-koffice-kword-part-tp26091654p26486973.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26479087</id>
	<title>Re: Review Request: Class KoFrameBorder for drawing borders for frames and Header/Footer styles implementation</title>
	<published>2009-11-23T06:27:37Z</published>
	<updated>2009-11-23T06:27:37Z</updated>
	<author>
		<name>Bugzilla from zander@kde.org</name>
	</author>
	<content type="html">On Monday 23. November 2009 13.13.36 Mani Chandrasekar wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://reviewboard.kde.org/r/2268/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2268/&lt;/a&gt;&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Review request for KOffice.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Summary
&lt;br&gt;&amp;gt; -------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; * Created a new class KoFrameBorder inherited from KoShapeBorderModel to
&lt;br&gt;&amp;gt; handle borders for Frames. This class stores style information using
&lt;br&gt;&amp;gt; KoBorder. 
&lt;/div&gt;&lt;br&gt;The new KoFrameBorder cpp file doesn't have a copyright header and the 
&lt;br&gt;header file has the wrong license (GPLv2-only).
&lt;br&gt;&lt;br&gt;Both have to be LGPLv2+, per the koffice library license policy.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Thomas Zander
&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26479087&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-Class-KoFrameBorder-for-drawing-borders-for-frames-and-Header-Footer-styles-implementation-tp26477023p26479087.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26478835</id>
	<title>Re: Review Request: Go to a specified page in KWord</title>
	<published>2009-11-23T06:15:49Z</published>
	<updated>2009-11-23T06:15:49Z</updated>
	<author>
		<name>Bugzilla from zander@kde.org</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2230/#review3237&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2230/#review3237&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;Ship it!
&lt;br&gt;&lt;br&gt;&lt;br&gt;Looks good, please commit.
&lt;br&gt;&lt;br&gt;- Thomas
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 2009-11-21 10:39:36, Mani Chandrasekar wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://reviewboard.kde.org/r/2230/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2230/&lt;/a&gt;&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; (Updated 2009-11-21 10:39:36)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Review request for KOffice.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Summary
&lt;br&gt;&amp;gt; -------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Patch would provide functionality like go to specified page or prev/next page for KWord
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Diffs
&lt;br&gt;&amp;gt; -----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/kword/part/KWView.h 1051253 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/kword/part/KWView.cpp 1051253 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2230/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2230/diff&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Testing
&lt;br&gt;&amp;gt; -------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Done testing with different document &amp; various zoom levels
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Mani
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26478835&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-Go-to-a-specified-page-in-KWord-tp26443888p26478835.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26477023</id>
	<title>Review Request: Class KoFrameBorder for drawing borders for frames and Header/Footer styles implementation</title>
	<published>2009-11-23T04:13:36Z</published>
	<updated>2009-11-23T04:13:36Z</updated>
	<author>
		<name>prasad_ncm</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2268/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2268/&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;Review request for KOffice.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Summary
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;* Created a new class KoFrameBorder inherited from KoShapeBorderModel to handle borders for Frames. This class stores style information using KoBorder. 
&lt;br&gt;* I have moved Paint function from KWCanvas to KoBorder, which can be used by KoFrameBorder. &amp;nbsp;As it is common for both KWCanvas and KoFrameBorder. 
&lt;br&gt;* Header/Footer styles are now supported. Background color/Image fill, Complex borders (color border and border with different width and styles). 
&lt;br&gt;&lt;br&gt;KoFrameBorder::fillStyle(KoGenStyle &amp;style, KoShapeSavingContext &amp;context)
&lt;br&gt;How do i store the style information of Complex borders, As it is possible to have different colors for different sides. 
&lt;br&gt;&lt;br&gt;Saving back the header/footer information is still not implemented. The header/footer-style should be saved as a child of the style:page-layout; but using the addChildElement its instead saved as a child of style:page-layout-properties. Any idea how this can be implemented ? 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Diffs
&lt;br&gt;-----
&lt;br&gt;&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWCanvas.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWCanvas.cpp 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWOdfLoader.cpp 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWPageStyle.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWPageStyle.cpp 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWPageStyle_p.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/frames/KWTextFrameSet.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/frames/KWTextFrameSet.cpp 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/flake/CMakeLists.txt 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/flake/KoFrameBorder.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/flake/KoFrameBorder.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/odf/KoBorder.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/odf/KoBorder.cpp 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/widgets/KoPageLayout.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/widgets/KoPageLayout.cpp 1051253 
&lt;br&gt;&lt;br&gt;Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2268/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2268/diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Testing
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;I have done testing with few documents and works fine.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Mani
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26477023&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-Class-KoFrameBorder-for-drawing-borders-for-frames-and-Header-Footer-styles-implementation-tp26477023p26477023.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26469037</id>
	<title>Re: Kspread row limit</title>
	<published>2009-11-22T12:17:15Z</published>
	<updated>2009-11-22T12:17:15Z</updated>
	<author>
		<name>Bugzilla from zander@kde.org</name>
	</author>
	<content type="html">On Sunday 22. November 2009 20.27.09 Hendrik Grahl wrote:
&lt;br&gt;&amp;gt; As the comparison chart [1] indicates common spreadsheet programs have 
&lt;br&gt;&amp;gt; vastly different values of supported rows and columns. I propose that 
&lt;br&gt;&amp;gt; Kspread should strive to become compliant with the limits now present in 
&lt;br&gt;&amp;gt; Excel 2007: 1,048,576 rows, 16,384 columns. 
&lt;br&gt;&lt;br&gt;That sounds like the worst possible reason to change the design of kspread.
&lt;br&gt;Naturally I'm all for interoperability, but you are not suggesting 
&lt;br&gt;interoperability, you are suggesting we get a bigger number than others. No 
&lt;br&gt;user cares about that.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Thomas Zander
&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26469037&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Kspread-row-limit-tp26468601p26469037.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26468601</id>
	<title>Kspread row limit</title>
	<published>2009-11-22T11:27:09Z</published>
	<updated>2009-11-22T11:27:09Z</updated>
	<author>
		<name>Bugzilla from kde@glokal.eu</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;I wanted to bring up the topic of row and column limits in Kspread and 
&lt;br&gt;the different potential solutions didn't seem to be quite ready for a 
&lt;br&gt;bugreport yet.
&lt;br&gt;&lt;br&gt;As the comparison chart [1] indicates common spreadsheet programs have 
&lt;br&gt;vastly different values of supported rows and columns. I propose that 
&lt;br&gt;Kspread should strive to become compliant with the limits now present in 
&lt;br&gt;Excel 2007: 1,048,576 rows, 16,384 columns. 
&lt;br&gt;&lt;br&gt;One reason is to be compatible with the current version of the primary 
&lt;br&gt;spreadsheet application around the world. Another more important one is 
&lt;br&gt;that it does not look like OpenOffice will reach the Excel 2007 
&lt;br&gt;limitations any time soon [3] and it presents a significant possibility 
&lt;br&gt;of highlighting the superior architecture of Koffice. While OpenOffice has 
&lt;br&gt;many legacy issues to optimize, the changes to Kspread are of course not 
&lt;br&gt;trivial but in all likelihood less difficult.
&lt;br&gt;&lt;br&gt;I tried to see how Kspread would fare when the limit was drastically 
&lt;br&gt;increased but was not able to actually make it work. I changed the 
&lt;br&gt;maxRows reference to something like 0x10000 and 0x100000 (the latter a 
&lt;br&gt;further byte in hex, I presume?) in Global.h but due to my nonexistent 
&lt;br&gt;knowledge of C++ I wasn't able to distinguish why this change was not 
&lt;br&gt;sufficient. Type mismatch, maybe? Or a limitation elsewhere in the code?
&lt;br&gt;&lt;br&gt;The question remains what to do about compatibility with other 
&lt;br&gt;spreadsheet applications with differing limitations. I propose one popup 
&lt;br&gt;notice when the user's editing first exceeds 65,536 rows to inform the 
&lt;br&gt;user that he or she is now creating a document that will not be 
&lt;br&gt;compatible with many applications such as Gnumeric, Excel 2003 and 
&lt;br&gt;OpenOffice Calc[2].
&lt;br&gt;&lt;br&gt;Exceeding column boundaries should probably trigger three popups: one 
&lt;br&gt;for above 256 (for Excel 2003, Gnumeric and Calc 2), as well as for 
&lt;br&gt;above 1,024 (for Calc 3) and also for above 16,384 due to the Excel 2007 
&lt;br&gt;limitation when Kspread can already go up to 32,767. The last popup 
&lt;br&gt;could be scrapped if Kspread were to be reduced from supporting 32,767 
&lt;br&gt;columns to 16,384. 
&lt;br&gt;&lt;br&gt;Thank you for considering this subject! 
&lt;br&gt;&lt;br&gt;[1] 
&lt;br&gt;&lt;a href=&quot;http://en.wikipedia.org/w/index.php?title=OpenOffice.org_Calc&amp;oldid=321110016#Specifications&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/w/index.php?title=OpenOffice.org_Calc&amp;oldid=321110016#Specifications&lt;/a&gt;&lt;br&gt;[2] The correct description of the afflicted OpenOffice versions is a bit 
&lt;br&gt;tricky, since they plan on increasing their limits but there is no 
&lt;br&gt;distinct time-frame and even 3.2 might be a bit unlikely. Therefore, 
&lt;br&gt;stating something like &amp;quot;up until and including 3.1&amp;quot; might give the 
&lt;br&gt;reader the impression that 3.2 would support it. A further link with a 
&lt;br&gt;detailed description might therefore be necessary.
&lt;br&gt;[3] Interesting page about limits in OpenOffice:
&lt;br&gt;&lt;a href=&quot;http://wiki.services.openoffice.org/wiki/Calc/hacks/number_of_rows&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.services.openoffice.org/wiki/Calc/hacks/number_of_rows&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26468601&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Kspread-row-limit-tp26468601p26468601.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26467595</id>
	<title>Re: xml:id preservation and RDF metadata support for ODF</title>
	<published>2009-11-22T09:54:00Z</published>
	<updated>2009-11-22T09:54:00Z</updated>
	<author>
		<name>monkeyiq</name>
	</author>
	<content type="html">On Sat, 2009-11-21 at 04:58 +0100, Thorsten Zachmann wrote: 
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Friday 20 November 2009 09:27:50 Ben Martin wrote:
&lt;br&gt;&amp;gt; &amp;gt; Abstract:
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; The non-RDF question is about preserving xml:id on ODF across
&lt;br&gt;&amp;gt; 	&amp;gt; load/save cycles.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; I'm adding support for loading and saving RDF metadata in ODF
&lt;br&gt;&amp;gt; &amp;gt; documents for kword. Of course, other ODF like documents like
&lt;br&gt;&amp;gt; &amp;gt; spreadsheets which support RDF can also be added to the KOffice suite,
&lt;br&gt;&amp;gt; &amp;gt; I've tried to make what I've done generic so it can be expanded as such.
&lt;br&gt;&amp;gt; &amp;gt; I'm focusing on kword right now.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; I've mostly got external manifest.rdf based metadata working, but I'm
&lt;br&gt;&amp;gt; &amp;gt; having a few problems with so called inline RDF. From the ODF
&lt;br&gt;&amp;gt; &amp;gt; specification, inline RDF follows a slightly askew subset of RDFa. This
&lt;br&gt;&amp;gt; &amp;gt; means that one can have xhtml:about, xhtml:property and xhtml:content
&lt;br&gt;&amp;gt; &amp;gt; associated with an XML node and these are used to generate an RDF triple
&lt;br&gt;&amp;gt; &amp;gt; during loading. I mostly have loading of such metadata working, with a
&lt;br&gt;&amp;gt; &amp;gt; few little corner cases to address.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; The two problems I have found is that KOffice discards xml:id
&lt;br&gt;&amp;gt; &amp;gt; attributes during load and that I need to track the node that inline RDF
&lt;br&gt;&amp;gt; &amp;gt; gets generated from in order to store it back properly on document save.
&lt;br&gt;&amp;gt; &amp;gt; These problems are somewhat intermixed because if xml:id's can be saved
&lt;br&gt;&amp;gt; &amp;gt; for input documents, then saving the xhtml:about etc could also be done
&lt;br&gt;&amp;gt; &amp;gt; in the same code.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; I thought I'd ask advise from the list because adding xml:id support
&lt;br&gt;&amp;gt; &amp;gt; seems like a fairly intrusive change, and those currently more familiar
&lt;br&gt;&amp;gt; &amp;gt; with the codebase might have some ideas as to how to best support it.
&lt;br&gt;&amp;gt; &amp;gt; The xhtml:about attribute can appear on many XML elements including
&lt;br&gt;&amp;gt; &amp;gt; text:p.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; From my investigations, the pertinent code is in the class KoTextLoader.
&lt;br&gt;&amp;gt; &amp;gt; Looking at KoTextLoader::loadParagraph() if there is a style applied
&lt;br&gt;&amp;gt; &amp;gt; then KoParagraphStyle is used, then loadSpan() is called and, if the
&lt;br&gt;&amp;gt; &amp;gt; text:p has no style and only a text child node cursor.insertText() is
&lt;br&gt;&amp;gt; &amp;gt; called. This means there are many choices for where to store an xml:id
&lt;br&gt;&amp;gt; &amp;gt; for the text:p, but none of them straightforward.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I don't think the KoParagraphStyle is a good place to store the stuff as it can 
&lt;br&gt;&amp;gt; be reused for different paragraphs. Maybe the someone more familiar with KoText 
&lt;br&gt;&amp;gt; can comment.
&lt;/div&gt;&lt;/div&gt;Yes, the biggest impediment is the mismatch between the ODF document
&lt;br&gt;structure and the KOffice in memory representation of a document. As
&lt;br&gt;mentioned, the text:p being dissolved on document load.
&lt;br&gt;&lt;br&gt;Another thought I had was possibly some container like object, or start
&lt;br&gt;+end marker pairing, which has no effect to the document itself but
&lt;br&gt;which would be able to store the xml:id and because it exists in the
&lt;br&gt;document would expand, contract and be copy+pasted along with text.
&lt;br&gt;Though there are all sorts of charming corner cases there too, clearly a
&lt;br&gt;paste would need to modify the xml:id so it was still document-unique.
&lt;br&gt;&lt;br&gt;Upon further reflection, there are two distinct cases that I need to
&lt;br&gt;address:
&lt;br&gt;&lt;br&gt;A) The xml:id is referred to from RDF which was either stored in
&lt;br&gt;content.xml, manifest.rdf or one of the RDF/XML files referenced by
&lt;br&gt;manifest.rdf. The link needs to be able to be traversed once the
&lt;br&gt;document is loaded (so you can find out what the RDF is referring too),
&lt;br&gt;and when saving if the xml:id changes, the RDF has to be updated to
&lt;br&gt;s/old-xml:id/new-xml:id/g
&lt;br&gt;&lt;br&gt;B) There is some inline RDF which defines the object using element
&lt;br&gt;scope. See OpenDocument-v1.2-part1-cd03.pdf, section 18.907 on page
&lt;br&gt;#630. For example:
&lt;br&gt;&amp;lt;text:p xhtml:about=&amp;quot;uri-a&amp;quot; xhtml:property=&amp;quot;waffle&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; The text between the text:p and end of it will form the object of the
&lt;br&gt;RDF triple. This is tricky because the user might edit the text, cut,
&lt;br&gt;paste or any number of other operations, including operations that might
&lt;br&gt;apply a style across the text:p boundary itself.
&lt;br&gt;&amp;lt;/text:p&amp;gt;
&lt;br&gt;&lt;br&gt;For case (B), because text:p just adds text to the cursor.insertText(),
&lt;br&gt;the exact start/end scope of the text:p goes missing. There doesn't
&lt;br&gt;currently seem to be any correct place to attach any anchor saying &amp;quot;this
&lt;br&gt;is uri-a&amp;quot; or &amp;quot;this is where uri-a starts and ends&amp;quot;. In this case, the
&lt;br&gt;about and property attributes would need to be saved back to a text:p
&lt;br&gt;when the document is saved again.
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Looking at other elements, it seems that KoInline, KoShape for example
&lt;br&gt;&amp;gt; &amp;gt; would also need some augmentation to store an xml:id if one was supplied
&lt;br&gt;&amp;gt; &amp;gt; in the input ODF file so that the xml:id can be preserved on save.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I look forward to any thoughts or preferences on how the koffice hackers
&lt;br&gt;&amp;gt; &amp;gt; would like to see the xml:id support added...
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; thanks for the very detailed explanation. I think there are two possible 
&lt;br&gt;&amp;gt; solutions:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1. Don't store the xml:id of the element but attach the meta data to it. This 
&lt;br&gt;&amp;gt; could be done by having a class containing all the metadata for one element. 
&lt;br&gt;&amp;gt; and store the data according to the element. 
&lt;/div&gt;&lt;/div&gt;I failed to mention in the initial email that according to the spec the
&lt;br&gt;xml:id can be referenced from the RDF stored in manifest.rdf and others.
&lt;br&gt;So the xml:id needs to be able to be resolved to the relevant chunk of
&lt;br&gt;the loaded document if some of the RDF statements are to be used.
&lt;br&gt;&lt;br&gt;Currently, I store the loaded inline RDF (from content.xml) using the
&lt;br&gt;same class that handles the manifest.rdf. By storing all RDF in one
&lt;br&gt;central place it can be easily queried regardless of where it came from
&lt;br&gt;and where it is to be saved back too. Using graph context, the
&lt;br&gt;providence is tracked allowing proper placement during save. But of
&lt;br&gt;course, when saving content.xml again, any RDF that was loaded from it
&lt;br&gt;should go back into it... &amp;nbsp;ideally, the same XML elements that had the
&lt;br&gt;RDF on them during load should have it on them during save, but some of
&lt;br&gt;those like text:p do not have a 1-1 object in the loaded KOffice
&lt;br&gt;docuemnt.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; 2. Have a map with the xml:id to metadata.
&lt;br&gt;&lt;br&gt;Having a map from xml:id to the metadata is easy enough, it is when I
&lt;br&gt;want to get the document object for an xml:id that I run into trouble.
&lt;br&gt;&lt;br&gt;For example, an RDF triple (from manifest.rdf) might be like
&lt;br&gt;[uri:example-element-2], [pkg:idref], &amp;quot;id_world&amp;quot;}
&lt;br&gt;&lt;br&gt;Where the content.xml file might contain
&lt;br&gt;&amp;lt;text:meta xml:id=&amp;quot;id_world&amp;quot;&amp;gt;world&amp;lt;/text:meta&amp;gt;
&lt;br&gt;or
&lt;br&gt;&amp;lt;text:p xml:id=&amp;quot;id_world&amp;quot;&amp;gt;world&amp;lt;/text:p&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Storing the metadata internally has the benefit of no need to synchronize a 
&lt;br&gt;&amp;gt; central map when e.g. a element is deleted/created ... That is also the way 
&lt;br&gt;&amp;gt; koffice works most of the time, not keeping the old ids but generating new ones 
&lt;br&gt;&amp;gt; on save. 
&lt;br&gt;&lt;br&gt;One issue here is that even the RDF from the external manifest.rdf file
&lt;br&gt;can reference elements in content.xml by their xml:id. So for the
&lt;br&gt;metadata from manifest.rdf to remain valid, the xml:id values must be
&lt;br&gt;either preserved or the RDF triples modified at save time to use the
&lt;br&gt;newly generated xml:id values in place of the old.
&lt;br&gt;&lt;br&gt;Aside from the xml:id thing, there is also the main issue I'm having
&lt;br&gt;where I need some way to scope some ODF elements like text:p in a loaded
&lt;br&gt;KOffice document so I have some C++ object to attach either xml:id
&lt;br&gt;and/or metadata too. If anyone has any hints as to what I could use for
&lt;br&gt;such a non displaying container that would be wonderful.
&lt;br&gt;&lt;br&gt;&amp;gt; Also koffice might handle stuff differently internally as saved in odf so 
&lt;br&gt;&amp;gt; keeping the data in sync might be problematic. &amp;nbsp;This also means the xml:id is 
&lt;br&gt;&amp;gt; not preserved, but it should not harm as the data is saved back again with a 
&lt;br&gt;&amp;gt; new xml:id.
&lt;br&gt;&amp;gt; Having &amp;nbsp;a separate map makes it easier to load save the data.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I hope that explains it a little bit more. Looking to here form you on what 
&lt;br&gt;&amp;gt; you think.
&lt;br&gt;&lt;br&gt;I'll probably be on IRC in the .de afternoon until about 19:00.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thorsten
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467595&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26467595/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/xml%3Aid-preservation-and-RDF-metadata-support-for-ODF-tp26440380p26467595.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26467568</id>
	<title>Re: koffice</title>
	<published>2009-11-22T09:52:27Z</published>
	<updated>2009-11-22T09:52:27Z</updated>
	<author>
		<name>Jaroslaw Staniek</name>
	</author>
	<content type="html">2009/11/12 Thomas Zander &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467568&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;zander@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&lt;br&gt;&amp;gt; Could you please give some more reasoning? Just a &amp;quot;Does not belong&amp;quot; is an
&lt;br&gt;&amp;gt; opinion, I'd like to know the source of that opinion so I can see why and
&lt;br&gt;&amp;gt; think along.
&lt;br&gt;&lt;br&gt;It's more generic, and thus can be used in places that do not depend on flake.
&lt;br&gt;Is that good reason?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;regards / pozdrawiam, Jaroslaw Staniek
&lt;br&gt;&amp;nbsp;Kexi &amp; KOffice (&lt;a href=&quot;http://www.kexi-project.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.kexi-project.org&lt;/a&gt;, &lt;a href=&quot;http://www.koffice.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.koffice.org&lt;/a&gt;)
&lt;br&gt;&amp;nbsp;KDE Libraries for MS Windows (&lt;a href=&quot;http://windows.kde.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://windows.kde.org&lt;/a&gt;)
&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://www.linkedin.com/in/jstaniek&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/jstaniek&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467568&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-koffice-tp26298415p26467568.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26466202</id>
	<title>Re: End lines patch</title>
	<published>2009-11-22T07:26:46Z</published>
	<updated>2009-11-22T07:26:46Z</updated>
	<author>
		<name>Jérémy Lugagne</name>
	</author>
	<content type="html">I don&amp;#39;t understand how to describe the endings with that enum ? the enum contains only the type of the ending and the full description are in svg file ? or ?!&lt;br&gt;&lt;br&gt;Jérémy.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/22 Thomas Zander &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466202&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;zander@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div class=&quot;im&quot;&gt;On Sunday 22. November 2009 13.55.49 Jérémy Lugagne wrote:&lt;br&gt;
&amp;gt; Hi,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Yesterday night, i talked with TZander and CyrilleB about this docker (and&lt;br&gt;
&amp;gt; classes) and for them, the best approach for the endings is : make one svg&lt;br&gt;
&amp;gt; by ending and generate only one QSVGRenderer by SVG file and work on it in&lt;br&gt;
&amp;gt; painting method of the KoLineEnd (or KoMarker now).&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Let me write down what I remember fromt he discussion;&lt;br&gt;
&lt;br&gt;
the current approach of generating a bytearray with an svg seems a bit odd.&lt;br&gt;
&lt;br&gt;
The suggestion we came up with is to have an enum on KoPathShape with all the&lt;br&gt;
known (ODF) line endings.&lt;br&gt;
Then have a setter on KoPathShape for both the begin and end of the line using&lt;br&gt;
that enum.&lt;br&gt;
Then paint the line ending using QPainter calls in the KoPathShape code.&lt;br&gt;
&lt;br&gt;
One of the enum values should represent an external SVG. So the user can set&lt;br&gt;
an svg that will be used as a line-ending.&lt;br&gt;
&lt;br&gt;
This means that we get 2 ways of painting line endings; one based on QPainter&lt;br&gt;
and one based on svg.&lt;br&gt;
And the QPainter one will have to implement all line ending types that ODF&lt;br&gt;
has.&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&amp;gt; So, what do you think&lt;br&gt;
&amp;gt; about this approach ?&lt;br&gt;
&lt;/div&gt;--&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;Thomas Zander&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;_______________________________________________&lt;br&gt;
koffice-devel mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466202&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466202&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/End-lines-patch-tp26451111p26466202.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26465929</id>
	<title>Re: End lines patch</title>
	<published>2009-11-22T06:54:15Z</published>
	<updated>2009-11-22T06:54:15Z</updated>
	<author>
		<name>Bugzilla from zander@kde.org</name>
	</author>
	<content type="html">On Sunday 22. November 2009 13.55.49 Jérémy Lugagne wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yesterday night, i talked with TZander and CyrilleB about this docker (and
&lt;br&gt;&amp;gt; classes) and for them, the best approach for the endings is : make one svg
&lt;br&gt;&amp;gt; by ending and generate only one QSVGRenderer by SVG file and work on it in
&lt;br&gt;&amp;gt; painting method of the KoLineEnd (or KoMarker now). 
&lt;br&gt;&lt;br&gt;Let me write down what I remember fromt he discussion;
&lt;br&gt;&lt;br&gt;the current approach of generating a bytearray with an svg seems a bit odd.
&lt;br&gt;&lt;br&gt;The suggestion we came up with is to have an enum on KoPathShape with all the 
&lt;br&gt;known (ODF) line endings.
&lt;br&gt;Then have a setter on KoPathShape for both the begin and end of the line using 
&lt;br&gt;that enum.
&lt;br&gt;Then paint the line ending using QPainter calls in the KoPathShape code.
&lt;br&gt;&lt;br&gt;One of the enum values should represent an external SVG. So the user can set 
&lt;br&gt;an svg that will be used as a line-ending.
&lt;br&gt;&lt;br&gt;This means that we get 2 ways of painting line endings; one based on QPainter 
&lt;br&gt;and one based on svg.
&lt;br&gt;And the QPainter one will have to implement all line ending types that ODF 
&lt;br&gt;has.
&lt;br&gt;&lt;br&gt;&amp;gt; So, what do you think
&lt;br&gt;&amp;gt; about this approach ?
&lt;br&gt;-- 
&lt;br&gt;Thomas Zander
&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26465929&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/End-lines-patch-tp26451111p26465929.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26465083</id>
	<title>Re: End lines patch</title>
	<published>2009-11-22T04:55:49Z</published>
	<updated>2009-11-22T04:55:49Z</updated>
	<author>
		<name>Jérémy Lugagne</name>
	</author>
	<content type="html">Hi, &lt;br&gt;&lt;br&gt;Yesterday night, i talked with TZander and CyrilleB about this docker (and classes) and for them, the best approach for the endings is : make one svg by ending and generate only one QSVGRenderer by SVG file and work on it in painting method of the KoLineEnd (or KoMarker now). So, what do you think about this approach ?&lt;br&gt;
&lt;br&gt;For your comments i&amp;#39;ll fix it asap.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;&lt;br&gt;Jérémy&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26465083&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/End-lines-patch-tp26451111p26465083.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26463287</id>
	<title>Re: Review Request: Add struct KoFontFace</title>
	<published>2009-11-21T23:22:36Z</published>
	<updated>2009-11-21T23:22:36Z</updated>
	<author>
		<name>Thorsten Zachmann</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2257/#review3230&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2257/#review3230&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;trunk/koffice/filters/kword/msword-odf/texthandler.cpp
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://reviewboard.kde.org/r/2257/#comment2557&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2257/#comment2557&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; How about setting the font name in the constructor?
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; The additional attributes are not yet set as far as I can see or do I miss something?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;trunk/koffice/libs/odf/KoFontFace.h
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://reviewboard.kde.org/r/2257/#comment2556&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2257/#comment2556&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Please use a class here, as in the forward declaration also class is used. If this is mixed it will not compile on windows as far as I know.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;trunk/koffice/libs/odf/KoGenStyles.h
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://reviewboard.kde.org/r/2257/#comment2558&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2257/#comment2558&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; is this needed? For all th eother stuff in KoGenStyles it is only possible to add which makes sence as you would not add it if you don't want it to be saved.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;trunk/koffice/libs/odf/KoGenStyles.cpp
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://reviewboard.kde.org/r/2257/#comment2559&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2257/#comment2559&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Can it happen that a name could be come up two times?
&lt;br&gt;&lt;br&gt;&lt;br&gt;- Thorsten
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 2009-11-21 11:21:49, Inge Wallin wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://reviewboard.kde.org/r/2257/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2257/&lt;/a&gt;&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; (Updated 2009-11-21 11:21:49)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Review request for KOffice.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Summary
&lt;br&gt;&amp;gt; -------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here is the first patch in a small patchset that will add filters for the MS 2007 XML file formats. Note that I am only the middle man here.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This patch adds the struct KoFontFace that is a public data structure representing a font style. It is saved as a style:font-face element. Before this patch, only the font name was available, which was saved as a style:name attribute of style:font-face. Also, svg:font-family was saved as a copy.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now the old behaviour is still available but in addition, new attributes can be specified in order to make the description of a font more accurate 
&lt;br&gt;&amp;gt; (style:font-family-generic, svg:font-style, style:font-pitch). These are needed for increasing quality of import/export filters and is already used in the MSOOXML filters. The ODF specification offers even more attributes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The patch also contains fix for use of m_mainStyles-&amp;gt;addFontFace() in two places, both in KWord.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Diffs
&lt;br&gt;&amp;gt; -----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/msword-odf/document.cpp 1051976 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/msword-odf/texthandler.cpp 1051976 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/libs/odf/CMakeLists.txt 1051975 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/libs/odf/KoFontFace.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/libs/odf/KoFontFace.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/libs/odf/KoGenStyles.h 1051975 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/libs/odf/KoGenStyles.cpp 1051975 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2257/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2257/diff&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Testing
&lt;br&gt;&amp;gt; -------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Inge
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26463287&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-Add-struct-KoFontFace-tp26455614p26463287.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26463231</id>
	<title>Re: End lines patch</title>
	<published>2009-11-21T23:08:55Z</published>
	<updated>2009-11-21T23:08:55Z</updated>
	<author>
		<name>Thorsten Zachmann</name>
	</author>
	<content type="html">Hello Jérémy,
&lt;br&gt;&lt;br&gt;On Friday 20 November 2009 23:13:35 Jérémy Lugagne wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I made a patch to add shapes and the end of lines.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If you have a question, do not hesitate and ask me here or on IRC (XwZ).
&lt;br&gt;&lt;br&gt;would it be possible to rename KoLineEnd and the methods to something like 
&lt;br&gt;KoMarker. In a discussion with Jan he told me that in svg there is also the 
&lt;br&gt;possibility to have markers at any position of a path. So that might be 
&lt;br&gt;something which will come later.
&lt;br&gt;&lt;br&gt;Here are some comments:
&lt;br&gt;&lt;br&gt;+class KoEndLineShapeModel : public QAbstractListModel
&lt;br&gt;+{
&lt;br&gt;+public:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoEndLineShapeModel( QObject * parent = 0 );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;~KoEndLineShapeModel() {}
&lt;br&gt;&lt;br&gt;Please move the implementation into the source file.
&lt;br&gt;&lt;br&gt;+++ plugins/dockers/shapeendlines/KoShapeEndLinesDocker.h &amp;nbsp; &amp;nbsp; &amp;nbsp; (révision 0)
&lt;br&gt;...
&lt;br&gt;+#include &amp;lt;KoUnit.h&amp;gt;
&lt;br&gt;+#include &amp;lt;KoXmlReader.h&amp;gt;
&lt;br&gt;+#include &amp;lt;KoCanvasObserver.h&amp;gt;
&lt;br&gt;+#include &amp;lt;QtGui/QDockWidget&amp;gt;
&lt;br&gt;+#include &amp;lt;QListView&amp;gt;
&lt;br&gt;+#include &amp;lt;QDockWidget&amp;gt;
&lt;br&gt;+#include &amp;lt;kdebug.h&amp;gt;
&lt;br&gt;+#include &amp;lt;QStringList&amp;gt;
&lt;br&gt;&lt;br&gt;Please move the includes not needed in the header into the source file.
&lt;br&gt;&lt;br&gt;+class KoShapeBorderModel;
&lt;br&gt;+class KoCanvasController;
&lt;br&gt;+class KoLineEnd;
&lt;br&gt;&lt;br&gt;looks like the above forward declarations are not needed.
&lt;br&gt;&lt;br&gt;+class QComboBox;
&lt;br&gt;+class QSlider;
&lt;br&gt;+class KoCanvasBase;
&lt;br&gt;+
&lt;br&gt;+/// A docker for setting properties of end lines
&lt;br&gt;+class KoShapeEndLinesDocker : public QDockWidget, public KoCanvasObserver
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;Q_OBJECT
&lt;br&gt;+
&lt;br&gt;+public:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;/// Creates the end lines docker
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoShapeEndLinesDocker();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;virtual ~KoShapeEndLinesDocker();
&lt;br&gt;+private slots:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void applyChanges();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;/// End Line has changed
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void beginEndLineChanged(int index);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void endEndLineChanged(int index);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void beginEndLineSizeChanged(int index);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void endEndLineSizeChanged(int index);
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;/// selection has changed
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void selectionChanged();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;/// reimplemented
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;virtual void setCanvas( KoCanvasBase *canvas );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void setEnabled(bool enable);
&lt;br&gt;+private:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoCanvasBase* m_canvas;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoXmlDocument m_doc;
&lt;br&gt;&lt;br&gt;The m_doc is not needed in the header. Just use a temporary KoXmlDocument when 
&lt;br&gt;reading the config file.
&lt;br&gt;&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QString m_beginEndLineCurrentName;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QString m_endEndLineCurrentName;
&lt;br&gt;&lt;br&gt;the above two are not needed. They are only set but never used. Please remove
&lt;br&gt;&lt;br&gt;+ &amp;nbsp; &amp;nbsp;int m_iconW;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;int m_iconH;
&lt;br&gt;&lt;br&gt;These two are no needed just set the values correct values on m_iconSize 
&lt;br&gt;construction. Please remove.
&lt;br&gt;&lt;br&gt;+ &amp;nbsp; &amp;nbsp;int m_beginSize;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;int m_endSize;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QSize m_iconSize;
&lt;br&gt;&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QMap&amp;lt;QString, QString&amp;gt; m_pathEndLineMap;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QMap&amp;lt;QString, QString&amp;gt; m_viewEndLineMap;
&lt;br&gt;&lt;br&gt;The above two variables are not used. Please remove.
&lt;br&gt;&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QComboBox * m_beginEndLineComboBox;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QSlider * m_beginEndLineSize;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QSlider * m_endEndLineSize;
&lt;br&gt;+}
&lt;br&gt;&lt;br&gt;One more thing throughout the code. The coding style for koffice was updated 
&lt;br&gt;since the code was written.
&lt;br&gt;&lt;br&gt;+ &amp;nbsp; &amp;nbsp;virtual void setCanvas( KoCanvasBase *canvas );
&lt;br&gt;&lt;br&gt;there are no more spaces used after the opening bracket and before the closing 
&lt;br&gt;bracket. So the above should be like:
&lt;br&gt;&lt;br&gt;+ &amp;nbsp; &amp;nbsp;virtual void setCanvas(KoCanvasBase *canvas);
&lt;br&gt;&lt;br&gt;I only looked at the above class for now. If I find more time I will also look 
&lt;br&gt;at the rest.
&lt;br&gt;&lt;br&gt;Thanks for your good work,
&lt;br&gt;&lt;br&gt;Thorsten
&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26463231&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/End-lines-patch-tp26451111p26463231.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26456093</id>
	<title>Re: Review Request: MS 2007 XML filters!</title>
	<published>2009-11-21T04:25:16Z</published>
	<updated>2009-11-21T04:25:16Z</updated>
	<author>
		<name>Cyrille Berger</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2258/#review3220&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2258/#review3220&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;Ship it!
&lt;br&gt;&lt;br&gt;&lt;br&gt;I think it should be ok to commit.
&lt;br&gt;&lt;br&gt;- Cyrille
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 2009-11-21 12:11:26, Inge Wallin wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://reviewboard.kde.org/r/2258/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2258/&lt;/a&gt;&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; (Updated 2009-11-21 12:11:26)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Review request for KOffice.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Summary
&lt;br&gt;&amp;gt; -------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here they are: the MS 2007 filters. &amp;nbsp;(Please don't say MSOOXML, because these filters are supposed to be compatible with MS Office 2007, and they don't implement the ISO standard OOXML.)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Note that this is a quite large patch and it only touches *one* existing file: CMakeLists.txt. &amp;nbsp;I would ask to only review large problems. &amp;nbsp;The smaller ones can surely be fixed within the repository after the import.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Diffs
&lt;br&gt;&amp;gt; -----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/CMakeLists.txt 1052057 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kpresenter/CMakeLists.txt 1052057 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kpresenter/pptx/CMakeLists.txt PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kpresenter/pptx/PptxImport.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kpresenter/pptx/PptxImport.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kpresenter/pptx/PptxXmlDocumentReader.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kpresenter/pptx/PptxXmlDocumentReader.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kpresenter/pptx/PptxXmlSlideReader.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kpresenter/pptx/PptxXmlSlideReader.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kpresenter/pptx/README PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kpresenter/pptx/kpresenter_pptx_import.desktop PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kspread/CMakeLists.txt 1052057 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kspread/xlsx/CMakeLists.txt PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxImport.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxImport.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlDocumentReader.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlDocumentReader.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlSharedStringsReader.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlSharedStringsReader.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlStylesReader.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlStylesReader.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlWorksheetReader.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlWorksheetReader.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kspread/xlsx/kspread_xlsx_import.desktop PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/CMakeLists.txt 1052057 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/docx/CMakeLists.txt PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/docx/DocxImport.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/docx/DocxImport.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/docx/DocxXmlDocumentReader.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/docx/DocxXmlDocumentReader.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/docx/DocxXmlFontTableReader.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/docx/DocxXmlFontTableReader.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/docx/DocxXmlStylesReader.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/docx/DocxXmlStylesReader.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/docx/README PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/docx/kword_docx_import.desktop PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/msword-odf/document.cpp 1052057 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/kword/msword-odf/texthandler.cpp 1052057 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/CMakeLists.txt PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlCommonReader.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlCommonReader.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlCommonReaderDrawingMLMethods.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlCommonReaderImpl.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlCommonReaderMethods.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlContentTypes.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlImport.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlImport.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlReader.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlReader.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlReader_p.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlRelationships.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlRelationships.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlRelationshipsReader.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlRelationshipsReader.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlSchemas.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlThemesReader.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlThemesReader.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlUtils.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlUtils.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/filters/libmsooxml/msooxml_export.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/kpresenter/part/kpresenter.desktop 1052057 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/kpresenter/part/kpresenterpart.desktop 1052057 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/kspread/kspread.desktop 1052057 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/kspread/kspreadpart.desktop 1052057 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/kword/part/kword.desktop 1052057 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/kword/part/kwordpart.desktop 1052057 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2258/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2258/diff&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Testing
&lt;br&gt;&amp;gt; -------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Inge
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26456093&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-MS-2007-XML-filters%21-tp26455983p26456093.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26455983</id>
	<title>Review Request: MS 2007 XML filters!</title>
	<published>2009-11-21T04:11:03Z</published>
	<updated>2009-11-21T04:11:03Z</updated>
	<author>
		<name>Bugzilla from inge@lysator.liu.se</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2258/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2258/&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;Review request for KOffice.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Summary
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;Here they are: the MS 2007 filters. &amp;nbsp;(Please don't say MSOOXML, because these filters are supposed to be compatible with MS Office 2007, and they don't implement the ISO standard OOXML.)
&lt;br&gt;&lt;br&gt;Note that this is a quite large patch and it only touches *one* existing file: CMakeLists.txt. &amp;nbsp;I would ask to only review large problems. &amp;nbsp;The smaller ones can surely be fixed within the repository after the import.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Diffs
&lt;br&gt;-----
&lt;br&gt;&lt;br&gt;&amp;nbsp; trunk/koffice/filters/CMakeLists.txt 1052057 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kpresenter/CMakeLists.txt 1052057 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kpresenter/pptx/CMakeLists.txt PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kpresenter/pptx/PptxImport.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kpresenter/pptx/PptxImport.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kpresenter/pptx/PptxXmlDocumentReader.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kpresenter/pptx/PptxXmlDocumentReader.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kpresenter/pptx/PptxXmlSlideReader.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kpresenter/pptx/PptxXmlSlideReader.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kpresenter/pptx/README PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kpresenter/pptx/kpresenter_pptx_import.desktop PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kspread/CMakeLists.txt 1052057 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kspread/xlsx/CMakeLists.txt PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxImport.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxImport.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlDocumentReader.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlDocumentReader.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlSharedStringsReader.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlSharedStringsReader.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlStylesReader.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlStylesReader.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlWorksheetReader.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kspread/xlsx/XlsxXmlWorksheetReader.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kspread/xlsx/kspread_xlsx_import.desktop PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/CMakeLists.txt 1052057 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/docx/CMakeLists.txt PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/docx/DocxImport.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/docx/DocxImport.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/docx/DocxXmlDocumentReader.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/docx/DocxXmlDocumentReader.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/docx/DocxXmlFontTableReader.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/docx/DocxXmlFontTableReader.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/docx/DocxXmlStylesReader.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/docx/DocxXmlStylesReader.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/docx/README PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/docx/kword_docx_import.desktop PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/msword-odf/document.cpp 1052057 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/msword-odf/texthandler.cpp 1052057 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/CMakeLists.txt PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlCommonReader.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlCommonReader.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlCommonReaderDrawingMLMethods.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlCommonReaderImpl.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlCommonReaderMethods.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlContentTypes.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlImport.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlImport.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlReader.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlReader.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlReader_p.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlRelationships.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlRelationships.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlRelationshipsReader.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlRelationshipsReader.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlSchemas.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlThemesReader.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlThemesReader.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlUtils.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/MsooXmlUtils.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/libmsooxml/msooxml_export.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/kpresenter/part/kpresenter.desktop 1052057 
&lt;br&gt;&amp;nbsp; trunk/koffice/kpresenter/part/kpresenterpart.desktop 1052057 
&lt;br&gt;&amp;nbsp; trunk/koffice/kspread/kspread.desktop 1052057 
&lt;br&gt;&amp;nbsp; trunk/koffice/kspread/kspreadpart.desktop 1052057 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/kword.desktop 1052057 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/kwordpart.desktop 1052057 
&lt;br&gt;&lt;br&gt;Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2258/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2258/diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Testing
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Inge
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26455983&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-MS-2007-XML-filters%21-tp26455983p26455983.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26455614</id>
	<title>Review Request: Add struct KoFontFace</title>
	<published>2009-11-21T03:21:19Z</published>
	<updated>2009-11-21T03:21:19Z</updated>
	<author>
		<name>Bugzilla from inge@lysator.liu.se</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2257/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2257/&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;Review request for KOffice.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Summary
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;Here is the first patch in a small patchset that will add filters for the MS 2007 XML file formats. Note that I am only the middle man here.
&lt;br&gt;&lt;br&gt;This patch adds the struct KoFontFace that is a public data structure representing a font style. It is saved as a style:font-face element. Before this patch, only the font name was available, which was saved as a style:name attribute of style:font-face. Also, svg:font-family was saved as a copy.
&lt;br&gt;&lt;br&gt;Now the old behaviour is still available but in addition, new attributes can be specified in order to make the description of a font more accurate 
&lt;br&gt;(style:font-family-generic, svg:font-style, style:font-pitch). These are needed for increasing quality of import/export filters and is already used in the MSOOXML filters. The ODF specification offers even more attributes.
&lt;br&gt;&lt;br&gt;The patch also contains fix for use of m_mainStyles-&amp;gt;addFontFace() in two places, both in KWord.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Diffs
&lt;br&gt;-----
&lt;br&gt;&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/msword-odf/document.cpp 1051976 
&lt;br&gt;&amp;nbsp; trunk/koffice/filters/kword/msword-odf/texthandler.cpp 1051976 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/odf/CMakeLists.txt 1051975 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/odf/KoFontFace.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/odf/KoFontFace.cpp PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/odf/KoGenStyles.h 1051975 
&lt;br&gt;&amp;nbsp; trunk/koffice/libs/odf/KoGenStyles.cpp 1051975 
&lt;br&gt;&lt;br&gt;Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2257/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2257/diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Testing
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Inge
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26455614&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-Add-struct-KoFontFace-tp26455614p26455614.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26455321</id>
	<title>Re: Review Request: Go to a specified page in KWord</title>
	<published>2009-11-21T02:39:36Z</published>
	<updated>2009-11-21T02:39:36Z</updated>
	<author>
		<name>prasad_ncm</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2230/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2230/&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;(Updated 2009-11-21 10:39:36.405206)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Review request for KOffice.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Changes
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;Updated the patch 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Summary
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;Patch would provide functionality like go to specified page or prev/next page for KWord
&lt;br&gt;&lt;br&gt;&lt;br&gt;Diffs (updated)
&lt;br&gt;-----
&lt;br&gt;&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWView.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWView.cpp 1051253 
&lt;br&gt;&lt;br&gt;Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2230/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2230/diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Testing
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;Done testing with different document &amp; various zoom levels
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Mani
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26455321&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-Go-to-a-specified-page-in-KWord-tp26443888p26455321.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26453585</id>
	<title>Re: xml:id preservation and RDF metadata support for ODF</title>
	<published>2009-11-20T19:58:14Z</published>
	<updated>2009-11-20T19:58:14Z</updated>
	<author>
		<name>Thorsten Zachmann</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;On Friday 20 November 2009 09:27:50 Ben Martin wrote:
&lt;br&gt;&amp;gt; Abstract:
&lt;br&gt;&amp;gt; &amp;nbsp; The non-RDF question is about preserving xml:id on ODF across
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; load/save cycles.
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;nbsp; I'm adding support for loading and saving RDF metadata in ODF
&lt;br&gt;&amp;gt; documents for kword. Of course, other ODF like documents like
&lt;br&gt;&amp;gt; spreadsheets which support RDF can also be added to the KOffice suite,
&lt;br&gt;&amp;gt; I've tried to make what I've done generic so it can be expanded as such.
&lt;br&gt;&amp;gt; I'm focusing on kword right now.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; I've mostly got external manifest.rdf based metadata working, but I'm
&lt;br&gt;&amp;gt; having a few problems with so called inline RDF. From the ODF
&lt;br&gt;&amp;gt; specification, inline RDF follows a slightly askew subset of RDFa. This
&lt;br&gt;&amp;gt; means that one can have xhtml:about, xhtml:property and xhtml:content
&lt;br&gt;&amp;gt; associated with an XML node and these are used to generate an RDF triple
&lt;br&gt;&amp;gt; during loading. I mostly have loading of such metadata working, with a
&lt;br&gt;&amp;gt; few little corner cases to address.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; The two problems I have found is that KOffice discards xml:id
&lt;br&gt;&amp;gt; attributes during load and that I need to track the node that inline RDF
&lt;br&gt;&amp;gt; gets generated from in order to store it back properly on document save.
&lt;br&gt;&amp;gt; These problems are somewhat intermixed because if xml:id's can be saved
&lt;br&gt;&amp;gt; for input documents, then saving the xhtml:about etc could also be done
&lt;br&gt;&amp;gt; in the same code.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; I thought I'd ask advise from the list because adding xml:id support
&lt;br&gt;&amp;gt; seems like a fairly intrusive change, and those currently more familiar
&lt;br&gt;&amp;gt; with the codebase might have some ideas as to how to best support it.
&lt;br&gt;&amp;gt; The xhtml:about attribute can appear on many XML elements including
&lt;br&gt;&amp;gt; text:p.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; From my investigations, the pertinent code is in the class KoTextLoader.
&lt;br&gt;&amp;gt; Looking at KoTextLoader::loadParagraph() if there is a style applied
&lt;br&gt;&amp;gt; then KoParagraphStyle is used, then loadSpan() is called and, if the
&lt;br&gt;&amp;gt; text:p has no style and only a text child node cursor.insertText() is
&lt;br&gt;&amp;gt; called. This means there are many choices for where to store an xml:id
&lt;br&gt;&amp;gt; for the text:p, but none of them straightforward.
&lt;/div&gt;&lt;br&gt;I don't think the KoParagraphStyle is a good place to store the stuff as it can 
&lt;br&gt;be reused for different paragraphs. Maybe the someone more familiar with KoText 
&lt;br&gt;can comment.
&lt;br&gt;&lt;br&gt;&amp;gt; Looking at other elements, it seems that KoInline, KoShape for example
&lt;br&gt;&amp;gt; would also need some augmentation to store an xml:id if one was supplied
&lt;br&gt;&amp;gt; in the input ODF file so that the xml:id can be preserved on save.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I look forward to any thoughts or preferences on how the koffice hackers
&lt;br&gt;&amp;gt; would like to see the xml:id support added...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;thanks for the very detailed explanation. I think there are two possible 
&lt;br&gt;solutions:
&lt;br&gt;&lt;br&gt;1. Don't store the xml:id of the element but attach the meta data to it. This 
&lt;br&gt;could be done by having a class containing all the metadata for one element. 
&lt;br&gt;and store the data according to the element. 
&lt;br&gt;2. Have a map with the xml:id to metadata. 
&lt;br&gt;&lt;br&gt;Storing the metadata internally has the benefit of no need to synchronize a 
&lt;br&gt;central map when e.g. a element is deleted/created ... That is also the way 
&lt;br&gt;koffice works most of the time, not keeping the old ids but generating new ones 
&lt;br&gt;on save. Also koffice might handle stuff differently internally as saved in odf so 
&lt;br&gt;keeping the data in sync might be problematic. &amp;nbsp;This also means the xml:id is 
&lt;br&gt;not preserved, but it should not harm as the data is saved back again with a 
&lt;br&gt;new xml:id.
&lt;br&gt;Having &amp;nbsp;a separate map makes it easier to load save the data.
&lt;br&gt;&lt;br&gt;I hope that explains it a little bit more. Looking to here form you on what 
&lt;br&gt;you think.
&lt;br&gt;&lt;br&gt;Thorsten
&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26453585&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/xml%3Aid-preservation-and-RDF-metadata-support-for-ODF-tp26440380p26453585.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26451858</id>
	<title>Re: End lines patch</title>
	<published>2009-11-20T15:06:51Z</published>
	<updated>2009-11-20T15:06:51Z</updated>
	<author>
		<name>Jérémy Lugagne</name>
	</author>
	<content type="html">Sorry i have forgotten the patch.&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;&lt;br&gt;Jérémy.&lt;br&gt;
&lt;br /&gt;Index: plugins/dockers/Plugin.cpp
&lt;br&gt;===================================================================
&lt;br&gt;--- plugins/dockers/Plugin.cpp	(révision 1051656)
&lt;br&gt;+++ plugins/dockers/Plugin.cpp	(copie de travail)
&lt;br&gt;@@ -26,7 +26,7 @@
&lt;br&gt;&amp;nbsp;# &amp;nbsp; include &amp;quot;colordocker/ColorDockerFactory.h&amp;quot;
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;#include &amp;quot;shapecollection/KoShapeCollectionDocker.h&amp;quot;
&lt;br&gt;-
&lt;br&gt;+#include &amp;quot;shapeendlines/KoEndLinesDockerFactory.h&amp;quot;
&lt;br&gt;&amp;nbsp;#include &amp;lt;KoDockRegistry.h&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#include &amp;lt;kgenericfactory.h&amp;gt;
&lt;br&gt;@@ -46,6 +46,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;KoDockRegistry::instance()-&amp;gt;add(new ColorDockerFactory());
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;KoDockRegistry::instance()-&amp;gt;add(new KoShapeCollectionDockerFactory());
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoDockRegistry::instance()-&amp;gt;add(new KoEndLinesDockerFactory());
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#include &amp;quot;Plugin.moc&amp;quot;
&lt;br&gt;Index: plugins/dockers/shapeendlines/endLineStyle/endLine.xml
&lt;br&gt;===================================================================
&lt;br&gt;--- plugins/dockers/shapeendlines/endLineStyle/endLine.xml	(révision 0)
&lt;br&gt;+++ plugins/dockers/shapeendlines/endLineStyle/endLine.xml	(révision 0)
&lt;br&gt;@@ -0,0 +1,14 @@
&lt;br&gt;+&amp;lt;?xml version=&amp;quot;1.0&amp;quot; standalone=&amp;quot;no&amp;quot;?&amp;gt;
&lt;br&gt;+&amp;lt;!DOCTYPE svg PUBLIC &amp;quot;-//W3C//DTD SVG 20010904//EN&amp;quot; 
&lt;br&gt;+ &amp;nbsp;&amp;quot;&lt;a href=&quot;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;+&amp;lt;lineends&amp;gt;
&lt;br&gt;+ &amp;nbsp; &amp;lt;draw:marker draw:name=&amp;quot;Arrow&amp;quot; draw:display-name=&amp;quot;Arrow&amp;quot; svg:viewBox=&amp;quot;0 0 20 30&amp;quot; svg:d=&amp;quot;m10 0-10 30h20z&amp;quot;/&amp;gt;
&lt;br&gt;+ &amp;nbsp; &amp;lt;draw:marker draw:name=&amp;quot;Circle&amp;quot; draw:display-name=&amp;quot;Circle&amp;quot; svg:viewBox=&amp;quot;0 0 1131 1131&amp;quot; svg:d=&amp;quot;m462 1118-102-29-102-51-93-72-72-93-51-102-29-102-13-105 13-102 29-106 51-102 72-89 93-72 102-50 102-34 106-9 101 9 106 34 98 50 93 72 72 89 51 102 29 106 13 102-13 105-29 102-51 102-72 93-93 72-98 51-106 29-101 13z&amp;quot;/&amp;gt;
&lt;br&gt;+ &amp;nbsp; &amp;lt;draw:marker draw:name=&amp;quot;Dimension_20_Lines&amp;quot; draw:display-name=&amp;quot;Dimension Lines&amp;quot; svg:viewBox=&amp;quot;0 0 836 110&amp;quot; svg:d=&amp;quot;m0 0h278 278 280v36 36 38h-278-278-280v-36-36z&amp;quot;/&amp;gt;
&lt;br&gt;+ &amp;nbsp; &amp;lt;draw:marker draw:name=&amp;quot;Double_20_Arrow&amp;quot; draw:display-name=&amp;quot;Double Arrow&amp;quot; svg:viewBox=&amp;quot;0 0 1131 1918&amp;quot; svg:d=&amp;quot;m737 1131h394l-564-1131-567 1131h398l-398 787h1131z&amp;quot;/&amp;gt;
&lt;br&gt;+ &amp;nbsp; &amp;lt;draw:marker draw:name=&amp;quot;Line_20_Arrow&amp;quot; draw:display-name=&amp;quot;Line Arrow&amp;quot; svg:viewBox=&amp;quot;0 0 1122 2243&amp;quot; svg:d=&amp;quot;m0 2108v17 17l12 42 30 34 38 21 43 4 29-8 30-21 25-26 13-34 343-1532 339 1520 13 42 29 34 39 21 42 4 42-12 34-30 21-42v-39-12l-4 4-440-1998-9-42-25-39-38-25-43-8-42 8-38 25-26 39-8 42z&amp;quot;/&amp;gt;
&lt;br&gt;+ &amp;nbsp; &amp;lt;draw:marker draw:name=&amp;quot;Square&amp;quot; draw:display-name=&amp;quot;Square&amp;quot; svg:viewBox=&amp;quot;0 0 10 10&amp;quot; svg:d=&amp;quot;m0
&lt;br&gt;+0h10v10h-10z&amp;quot;/&amp;gt;
&lt;br&gt;+ &amp;nbsp; &amp;lt;draw:marker draw:name=&amp;quot;Square_20_45&amp;quot; draw:display-name=&amp;quot;Square 45&amp;quot; svg:viewBox=&amp;quot;0 0 1131 1131&amp;quot; svg:d=&amp;quot;m0 564 564 567 567-567-567-564z&amp;quot;/&amp;gt;
&lt;br&gt;+ &amp;nbsp; &amp;lt;draw:marker draw:name=&amp;quot;new_shape&amp;quot; draw:display-name=&amp;quot;new shape&amp;quot; svg:viewBox=&amp;quot;0 0 100 150&amp;quot; svg:d=&amp;quot;M 50 0 L 0 55 L 40 55 L 0 100 L 100 100 L 60 55 L 100 55 L 50 0 z&amp;quot;/&amp;gt;
&lt;br&gt;+&amp;lt;/lineends&amp;gt; 
&lt;br&gt;Index: plugins/dockers/shapeendlines/endLineStyle/CMakeLists.txt
&lt;br&gt;===================================================================
&lt;br&gt;--- plugins/dockers/shapeendlines/endLineStyle/CMakeLists.txt	(révision 0)
&lt;br&gt;+++ plugins/dockers/shapeendlines/endLineStyle/CMakeLists.txt	(révision 0)
&lt;br&gt;@@ -0,0 +1,3 @@
&lt;br&gt;+install( FILES
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; endLine.xml
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DESTINATION ${DATA_INSTALL_DIR}/koffice/endLineStyle) 
&lt;br&gt;Index: plugins/dockers/shapeendlines/KoEndLineShapeModel.h
&lt;br&gt;===================================================================
&lt;br&gt;--- plugins/dockers/shapeendlines/KoEndLineShapeModel.h	(révision 0)
&lt;br&gt;+++ plugins/dockers/shapeendlines/KoEndLineShapeModel.h	(révision 0)
&lt;br&gt;@@ -0,0 +1,54 @@
&lt;br&gt;+/* This file is part of the KDE project
&lt;br&gt;+ * Copyright (C) 2008 Alexia Allanic
&lt;br&gt;+ *
&lt;br&gt;+ * This library is free software; you can redistribute it and/or
&lt;br&gt;+ * modify it under the terms of the GNU Library General Public
&lt;br&gt;+ * License as published by the Free Software Foundation; either
&lt;br&gt;+ * version 2 of the License, or (at your option) any later version.
&lt;br&gt;+ *
&lt;br&gt;+ * This library is distributed in the hope that it will be useful,
&lt;br&gt;+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
&lt;br&gt;+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. &amp;nbsp;See the GNU
&lt;br&gt;+ * Library General Public License for more details.
&lt;br&gt;+ *
&lt;br&gt;+ * You should have received a copy of the GNU Library General Public License
&lt;br&gt;+ * along with this library; see the file COPYING.LIB. &amp;nbsp;If not, write to
&lt;br&gt;+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
&lt;br&gt;+ * Boston, MA 02110-1301, USA.
&lt;br&gt;+ */
&lt;br&gt;+
&lt;br&gt;+#ifndef KOENDLINESHAPEMODEL_H_
&lt;br&gt;+#define KOENDLINESHAPEMODEL_H_
&lt;br&gt;+
&lt;br&gt;+#include &amp;lt;QAbstractItemModel&amp;gt;
&lt;br&gt;+#include &amp;lt;QList&amp;gt;
&lt;br&gt;+#include &amp;lt;QString&amp;gt;
&lt;br&gt;+#include &amp;lt;QIcon&amp;gt;
&lt;br&gt;+
&lt;br&gt;+/**
&lt;br&gt;+ * Struct containing the information stored in KoEndLineShape item
&lt;br&gt;+ */
&lt;br&gt;+struct KoEndLineShape
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoEndLineShape()
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;};
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QString id;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QString name;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QIcon icon;
&lt;br&gt;+};
&lt;br&gt;+
&lt;br&gt;+class KoEndLineShapeModel : public QAbstractListModel
&lt;br&gt;+{
&lt;br&gt;+public:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoEndLineShapeModel( QObject * parent = 0 );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;~KoEndLineShapeModel() {}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;int rowCount(const QModelIndex &amp;parent = QModelIndex()) const;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QVariant data(const QModelIndex &amp;index, int role = Qt::DisplayRole) const;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void setShapeTemplateList(const QList&amp;lt;KoEndLineShape&amp;gt;&amp; newlist);
&lt;br&gt;+private:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QList&amp;lt;KoEndLineShape&amp;gt; m_shapeTemplateList;
&lt;br&gt;+}; 
&lt;br&gt;+
&lt;br&gt;+#endif
&lt;br&gt;\ No newline at end of file
&lt;br&gt;Index: plugins/dockers/shapeendlines/KoEndLinesDockerFactory.h
&lt;br&gt;===================================================================
&lt;br&gt;--- plugins/dockers/shapeendlines/KoEndLinesDockerFactory.h	(révision 0)
&lt;br&gt;+++ plugins/dockers/shapeendlines/KoEndLinesDockerFactory.h	(révision 0)
&lt;br&gt;@@ -0,0 +1,38 @@
&lt;br&gt;+/* This file is part of the KDE project
&lt;br&gt;+ &amp;nbsp; Copyright (C) 2009 Jeremy Lugagne &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lugagne.jeremy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; This library is free software; you can redistribute it and/or
&lt;br&gt;+ &amp;nbsp; modify it under the terms of the GNU Library General Public
&lt;br&gt;+ &amp;nbsp; License as published by the Free Software Foundation; either
&lt;br&gt;+ &amp;nbsp; version 2 of the License, or (at your option) any later version.
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; This library is distributed in the hope that it will be useful,
&lt;br&gt;+ &amp;nbsp; but WITHOUT ANY WARRANTY; without even the implied warranty of
&lt;br&gt;+ &amp;nbsp; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. &amp;nbsp;See the GNU
&lt;br&gt;+ &amp;nbsp; Library General Public License for more details.
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; You should have received a copy of the GNU Library General Public License
&lt;br&gt;+ &amp;nbsp; along with this library; see the file COPYING.LIB. &amp;nbsp;If not, write to
&lt;br&gt;+ &amp;nbsp; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
&lt;br&gt;+ * Boston, MA 02110-1301, USA.
&lt;br&gt;+*/
&lt;br&gt;+
&lt;br&gt;+#ifndef KOENDLINESDOCKERFACTORY_H
&lt;br&gt;+#define KOENDLINESDOCKERFACTORY_H
&lt;br&gt;+
&lt;br&gt;+#include &amp;lt;KoDockFactory.h&amp;gt;
&lt;br&gt;+#include &amp;lt;QtGui/QDockWidget&amp;gt;
&lt;br&gt;+
&lt;br&gt;+/// the factory which creates the shape properties docker
&lt;br&gt;+class KoEndLinesDockerFactory : public KoDockFactory
&lt;br&gt;+{
&lt;br&gt;+public:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoEndLinesDockerFactory();
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;virtual QString id() const;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;virtual QDockWidget* createDockWidget();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;virtual DockPosition defaultDockPosition() const;
&lt;br&gt;+
&lt;br&gt;+};
&lt;br&gt;+
&lt;br&gt;+#endif // KOENDLINESDOCKERFACTORY_H
&lt;br&gt;Index: plugins/dockers/shapeendlines/KoShapeEndLinesDocker.cpp
&lt;br&gt;===================================================================
&lt;br&gt;--- plugins/dockers/shapeendlines/KoShapeEndLinesDocker.cpp	(révision 0)
&lt;br&gt;+++ plugins/dockers/shapeendlines/KoShapeEndLinesDocker.cpp	(révision 0)
&lt;br&gt;@@ -0,0 +1,208 @@
&lt;br&gt;+/* This file is part of the KDE project
&lt;br&gt;+ &amp;nbsp; Made by Tomislav Lukman (&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tomislav.lukman@...&lt;/a&gt;)
&lt;br&gt;+ &amp;nbsp; Copyright (C) 2009 Jeremy Lugagne &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lugagne.jeremy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; This library is free software; you can redistribute it and/or
&lt;br&gt;+ &amp;nbsp; modify it under the terms of the GNU Library General Public
&lt;br&gt;+ &amp;nbsp; License as published by the Free Software Foundation; either
&lt;br&gt;+ &amp;nbsp; version 2 of the License, or (at your option) any later version.
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; This library is distributed in the hope that it will be useful,
&lt;br&gt;+ &amp;nbsp; but WITHOUT ANY WARRANTY; without even the implied warranty of
&lt;br&gt;+ &amp;nbsp; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. &amp;nbsp;See the GNU
&lt;br&gt;+ &amp;nbsp; Library General Public License for more details.
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; You should have received a copy of the GNU Library General Public License
&lt;br&gt;+ &amp;nbsp; along with this library; see the file COPYING.LIB. &amp;nbsp;If not, write to
&lt;br&gt;+ &amp;nbsp; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
&lt;br&gt;+ * Boston, MA 02110-1301, USA.
&lt;br&gt;+*/
&lt;br&gt;+
&lt;br&gt;+#include &amp;quot;KoShapeEndLinesDocker.h&amp;quot;
&lt;br&gt;+
&lt;br&gt;+#include &amp;lt;KoToolManager.h&amp;gt;
&lt;br&gt;+#include &amp;lt;KoCanvasBase.h&amp;gt;
&lt;br&gt;+#include &amp;lt;KoCanvasController.h&amp;gt;
&lt;br&gt;+#include &amp;lt;KoShapeManager.h&amp;gt;
&lt;br&gt;+#include &amp;lt;klocale.h&amp;gt;
&lt;br&gt;+#include &amp;lt;KoOdfReadStore.h&amp;gt;
&lt;br&gt;+#include &amp;lt;kstandarddirs.h&amp;gt;
&lt;br&gt;+#include &amp;lt;KoShape.h&amp;gt; 
&lt;br&gt;+#include &amp;lt;KoSelection.h&amp;gt;
&lt;br&gt;+#include &amp;lt;KoPathShape.h&amp;gt;
&lt;br&gt;+#include &amp;lt;KoLineEnd.h&amp;gt;
&lt;br&gt;+
&lt;br&gt;+#include &amp;lt;QList&amp;gt;
&lt;br&gt;+#include &amp;lt;QLabel&amp;gt;
&lt;br&gt;+#include &amp;lt;QGridLayout&amp;gt;
&lt;br&gt;+#include &amp;lt;QComboBox&amp;gt;
&lt;br&gt;+#include &amp;lt;QSlider&amp;gt;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+KoShapeEndLinesDocker::KoShapeEndLinesDocker()
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;setWindowTitle( i18n( &amp;quot;End Lines&amp;quot; ) );
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QWidget *mainWidget = new QWidget( this );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QGridLayout *mainLayout = new QGridLayout( mainWidget );
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;// Define the two QComboBox
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_iconW = 20;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_iconH = 20;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_iconSize.setHeight(m_iconH);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_iconSize.setWidth(m_iconW);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_beginEndLineComboBox = new QComboBox( mainWidget );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_beginEndLineComboBox-&amp;gt;setIconSize(m_iconSize);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;qRegisterMetaType&amp;lt;KoLineEnd&amp;gt;(&amp;quot;KoLineEnd&amp;quot;);
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QPixmap qp(m_iconSize);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;qp.fill(Qt::transparent);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QVariant beginNone;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QVariant endNone;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_beginEndLineComboBox-&amp;gt;addItem(QIcon(qp),&amp;quot;None&amp;quot;, beginNone.fromValue( KoLineEnd() ) );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_endEndLineComboBox = new QComboBox( mainWidget );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_endEndLineComboBox-&amp;gt;setIconSize(m_iconSize);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_endEndLineComboBox-&amp;gt;addItem(QIcon(qp),&amp;quot;None&amp;quot;, beginNone.fromValue( KoLineEnd() ) );
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;int proportion = 3;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QString fileName( KStandardDirs::locate( &amp;quot;data&amp;quot;,&amp;quot;koffice/endLineStyle/endLine.xml&amp;quot; ) );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if ( ! fileName.isEmpty() ) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;QFile file( fileName );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;QString errorMessage;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ( KoOdfReadStore::loadAndParse( &amp;file, m_doc, errorMessage, fileName ) ) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;KoXmlElement drawMarker, lineEndElement(m_doc.namedItem(&amp;quot;lineends&amp;quot;).toElement());
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;forEachElement(drawMarker, lineEndElement){
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;KoLineEnd temp(drawMarker.attribute(&amp;quot;display-name&amp;quot;),drawMarker.attribute(&amp;quot;d&amp;quot;),drawMarker.attribute(&amp;quot;viewBox&amp;quot;));
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;QIcon drawIcon(temp.drawIcon(m_iconSize, proportion));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;QVariant beginValue;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;QVariant endValue;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// add icon and label in the two QComboBox
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_beginEndLineComboBox-&amp;gt;addItem( drawIcon, temp.name(), beginValue.fromValue( temp ) );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_endEndLineComboBox-&amp;gt;addItem( drawIcon, temp.name(), endValue.fromValue( temp ) );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;// Add Begin to the docker
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QLabel * beginEndLineLabel = new QLabel( i18n( &amp;quot;Begin :&amp;quot; ), mainWidget );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;mainLayout-&amp;gt;addWidget( beginEndLineLabel, 0, 0 );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;mainLayout-&amp;gt;addWidget( m_beginEndLineComboBox,1,0,1,3);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_beginEndLineSize = new QSlider(Qt::Horizontal);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_beginEndLineSize-&amp;gt;setRange(0, 100);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;mainLayout-&amp;gt;addWidget( m_beginEndLineSize,2,0,1,3);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;connect( m_beginEndLineComboBox, SIGNAL( activated( int ) ), this, SLOT( beginEndLineChanged( int ) ) );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;connect( m_beginEndLineSize, SIGNAL( valueChanged( int ) ), this, SLOT( beginEndLineSizeChanged( int ) ) );
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;// Add End to the docker
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QLabel * endEndLineLabel = new QLabel( i18n( &amp;quot;End :&amp;quot; ), mainWidget );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;mainLayout-&amp;gt;addWidget( endEndLineLabel, 3, 0 );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;mainLayout-&amp;gt;addWidget( m_endEndLineComboBox,4,0,1,3);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_endEndLineSize = new QSlider(Qt::Horizontal);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_endEndLineSize-&amp;gt;setRange(0, 100);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;mainLayout-&amp;gt;addWidget( m_endEndLineSize,5,0,1,3);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;connect( m_endEndLineComboBox, SIGNAL( activated( int ) ), this, SLOT( endEndLineChanged( int ) ) );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;connect( m_endEndLineSize, SIGNAL( valueChanged( int ) ), this, SLOT( endEndLineSizeChanged( int ) ) );
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;mainLayout-&amp;gt;setRowStretch( 5, 1 );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;mainLayout-&amp;gt;setColumnStretch( 1, 1 );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;mainLayout-&amp;gt;setColumnStretch( 2, 1 );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;mainLayout-&amp;gt;setColumnStretch( 3, 1 );
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;setWidget( mainWidget );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;setEnabled ( false );
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+KoShapeEndLinesDocker::~KoShapeEndLinesDocker()
&lt;br&gt;+{
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+void KoShapeEndLinesDocker::applyChanges()
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoSelection *selection = m_canvas-&amp;gt;shapeManager()-&amp;gt;selection();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoLineEnd begin ( m_beginEndLineComboBox-&amp;gt;itemData( m_beginEndLineComboBox-&amp;gt;currentIndex() ).value&amp;lt;KoLineEnd&amp;gt;() );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoLineEnd end( m_endEndLineComboBox-&amp;gt;itemData( m_endEndLineComboBox-&amp;gt;currentIndex() ).value&amp;lt;KoLineEnd&amp;gt;() ) ;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QList&amp;lt;KoShape*&amp;gt; list = selection-&amp;gt;selectedShapes();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QList&amp;lt;KoShape*&amp;gt;::const_iterator i;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;for (i = list.constBegin(); i != list.constEnd(); ++i){
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;KoPathShape *pathShape;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if( ( pathShape = dynamic_cast&amp;lt;KoPathShape*&amp;gt;( *i ) ) ){
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pathShape-&amp;gt;setBeginLineEnd(begin);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pathShape-&amp;gt;setEndLineEnd(end);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pathShape-&amp;gt;getBeginLineEnd().setSize(m_beginSize);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pathShape-&amp;gt;getEndLineEnd().setSize(m_endSize);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pathShape-&amp;gt;update();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+void KoShapeEndLinesDocker::setEnabled(bool enable)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_beginEndLineComboBox-&amp;gt;setEnabled(enable);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_endEndLineComboBox-&amp;gt;setEnabled(enable);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_beginEndLineSize-&amp;gt;setEnabled(enable);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_endEndLineSize-&amp;gt;setEnabled(enable);
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+void KoShapeEndLinesDocker::beginEndLineChanged(int index)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_beginEndLineComboBox-&amp;gt;setCurrentIndex(index);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_beginEndLineCurrentName = m_beginEndLineComboBox-&amp;gt;itemText(index);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;applyChanges();
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+void KoShapeEndLinesDocker::endEndLineChanged(int index)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_endEndLineComboBox-&amp;gt;setCurrentIndex(index);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_endEndLineCurrentName = m_endEndLineComboBox-&amp;gt;itemText(index);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;applyChanges();
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+void KoShapeEndLinesDocker::beginEndLineSizeChanged(int size)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_beginSize = size;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;applyChanges();
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+void KoShapeEndLinesDocker::endEndLineSizeChanged(int size)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_endSize = size;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;applyChanges();
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+void KoShapeEndLinesDocker::selectionChanged()
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoSelection *selection = m_canvas-&amp;gt;shapeManager()-&amp;gt;selection();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if ( selection ) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;KoShape* shape = selection-&amp;gt;firstSelectedShape();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(shape){
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(shape-&amp;gt;shapeId() == &amp;quot;KoPathShape&amp;quot;){
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;KoPathShape* pathShape = dynamic_cast&amp;lt;KoPathShape*&amp;gt;(shape);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_endEndLineSize-&amp;gt;setSliderPosition(pathShape-&amp;gt;getBeginLineEnd().getSize());
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_beginEndLineSize-&amp;gt;setSliderPosition(pathShape-&amp;gt;getEndLineEnd().getSize());
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;setEnabled ( true );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}else{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;setEnabled ( false );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}else{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;setEnabled ( false );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}else{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;setEnabled ( false );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+void KoShapeEndLinesDocker::setCanvas( KoCanvasBase *canvas )
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_canvas = canvas;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;connect(m_canvas-&amp;gt;shapeManager(), SIGNAL(selectionChanged()), this, SLOT(selectionChanged()));
&lt;br&gt;+}
&lt;br&gt;+#include &amp;quot;KoShapeEndLinesDocker.moc&amp;quot;
&lt;br&gt;+
&lt;br&gt;Index: plugins/dockers/shapeendlines/KoShapeEndLinesDocker.h
&lt;br&gt;===================================================================
&lt;br&gt;--- plugins/dockers/shapeendlines/KoShapeEndLinesDocker.h	(révision 0)
&lt;br&gt;+++ plugins/dockers/shapeendlines/KoShapeEndLinesDocker.h	(révision 0)
&lt;br&gt;@@ -0,0 +1,81 @@
&lt;br&gt;+/* This file is part of the KDE project
&lt;br&gt;+ &amp;nbsp; Made by Tomislav Lukman (&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tomislav.lukman@...&lt;/a&gt;)
&lt;br&gt;+ &amp;nbsp; Copyright (C) 2009 Jeremy Lugagne &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lugagne.jeremy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; This library is free software; you can redistribute it and/or
&lt;br&gt;+ &amp;nbsp; modify it under the terms of the GNU Library General Public
&lt;br&gt;+ &amp;nbsp; License as published by the Free Software Foundation; either
&lt;br&gt;+ &amp;nbsp; version 2 of the License, or (at your option) any later version.
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; This library is distributed in the hope that it will be useful,
&lt;br&gt;+ &amp;nbsp; but WITHOUT ANY WARRANTY; without even the implied warranty of
&lt;br&gt;+ &amp;nbsp; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. &amp;nbsp;See the GNU
&lt;br&gt;+ &amp;nbsp; Library General Public License for more details.
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; You should have received a copy of the GNU Library General Public License
&lt;br&gt;+ &amp;nbsp; along with this library; see the file COPYING.LIB. &amp;nbsp;If not, write to
&lt;br&gt;+ &amp;nbsp; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
&lt;br&gt;+ * Boston, MA 02110-1301, USA.
&lt;br&gt;+*/
&lt;br&gt;+
&lt;br&gt;+#ifndef KOSHAPEENDLINESDOCKER_H
&lt;br&gt;+#define KOSHAPEENDLINESDOCKER_H
&lt;br&gt;+
&lt;br&gt;+#include &amp;lt;KoUnit.h&amp;gt;
&lt;br&gt;+#include &amp;lt;KoXmlReader.h&amp;gt;
&lt;br&gt;+#include &amp;lt;KoCanvasObserver.h&amp;gt;
&lt;br&gt;+#include &amp;lt;QtGui/QDockWidget&amp;gt;
&lt;br&gt;+#include &amp;lt;QListView&amp;gt;
&lt;br&gt;+#include &amp;lt;QDockWidget&amp;gt;
&lt;br&gt;+#include &amp;lt;kdebug.h&amp;gt;
&lt;br&gt;+#include &amp;lt;QStringList&amp;gt;
&lt;br&gt;+
&lt;br&gt;+class KoShapeBorderModel;
&lt;br&gt;+class KoCanvasController;
&lt;br&gt;+class KoLineEnd;
&lt;br&gt;+class QComboBox;
&lt;br&gt;+class QSlider;
&lt;br&gt;+class KoCanvasBase;
&lt;br&gt;+
&lt;br&gt;+/// A docker for setting properties of end lines
&lt;br&gt;+class KoShapeEndLinesDocker : public QDockWidget, public KoCanvasObserver
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;Q_OBJECT
&lt;br&gt;+
&lt;br&gt;+public:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;/// Creates the end lines docker
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoShapeEndLinesDocker();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;virtual ~KoShapeEndLinesDocker();
&lt;br&gt;+private slots:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void applyChanges();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;/// End Line has changed
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void beginEndLineChanged(int index);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void endEndLineChanged(int index);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void beginEndLineSizeChanged(int index);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void endEndLineSizeChanged(int index);
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;/// selection has changed
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void selectionChanged();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;/// reimplemented
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;virtual void setCanvas( KoCanvasBase *canvas );
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void setEnabled(bool enable);
&lt;br&gt;+private:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoCanvasBase* m_canvas;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoXmlDocument m_doc;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QString m_beginEndLineCurrentName;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QString m_endEndLineCurrentName;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;int m_iconW;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;int m_iconH;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;int m_beginSize;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;int m_endSize;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QSize m_iconSize;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QMap&amp;lt;QString, QString&amp;gt; m_pathEndLineMap;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QMap&amp;lt;QString, QString&amp;gt; m_viewEndLineMap;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QComboBox * m_beginEndLineComboBox;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QComboBox * m_endEndLineComboBox;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QSlider * m_beginEndLineSize;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QSlider * m_endEndLineSize;
&lt;br&gt;+};
&lt;br&gt;+
&lt;br&gt;+#endif // KOSHAPEENDLINESDOCKER_H
&lt;br&gt;+
&lt;br&gt;Index: plugins/dockers/shapeendlines/KoEndLineShapeModel.cpp
&lt;br&gt;===================================================================
&lt;br&gt;--- plugins/dockers/shapeendlines/KoEndLineShapeModel.cpp	(révision 0)
&lt;br&gt;+++ plugins/dockers/shapeendlines/KoEndLineShapeModel.cpp	(révision 0)
&lt;br&gt;@@ -0,0 +1,65 @@
&lt;br&gt;+/* This file is part of the KDE project
&lt;br&gt;+ * Copyright (C) 2008 Alexia Allanic
&lt;br&gt;+ *
&lt;br&gt;+ * This library is free software; you can redistribute it and/or
&lt;br&gt;+ * modify it under the terms of the GNU Library General Public
&lt;br&gt;+ * License as published by the Free Software Foundation; either
&lt;br&gt;+ * version 2 of the License, or (at your option) any later version.
&lt;br&gt;+ *
&lt;br&gt;+ * This library is distributed in the hope that it will be useful,
&lt;br&gt;+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
&lt;br&gt;+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. &amp;nbsp;See the GNU
&lt;br&gt;+ * Library General Public License for more details.
&lt;br&gt;+ *
&lt;br&gt;+ * You should have received a copy of the GNU Library General Public License
&lt;br&gt;+ * along with this library; see the file COPYING.LIB. &amp;nbsp;If not, write to
&lt;br&gt;+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
&lt;br&gt;+ * Boston, MA 02110-1301, USA.
&lt;br&gt;+ */ 
&lt;br&gt;+
&lt;br&gt;+#include &amp;quot;KoEndLineShapeModel.h&amp;quot;
&lt;br&gt;+
&lt;br&gt;+KoEndLineShapeModel::KoEndLineShapeModel( QObject * parent )
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;: QAbstractListModel( parent )
&lt;br&gt;+{
&lt;br&gt;+
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+int KoEndLineShapeModel::rowCount( const QModelIndex &amp;/*parent*/ ) const
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+QVariant KoEndLineShapeModel::data( const QModelIndex &amp;index, int role ) const
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (!index.isValid() || index.row() &amp;gt; m_shapeTemplateList.count ())
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return QVariant();
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;switch(role)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//case Qt::ToolTipRole:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;nbsp;return m_shapeTemplateList[index.row()].toolTip;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case Qt::DecorationRole:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return m_shapeTemplateList[index.row()].icon;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case Qt::UserRole:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return m_shapeTemplateList[index.row()].id;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;nbsp;case Qt::UserRole + 1:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;nbsp; &amp;nbsp;return m_shapeTemplateList[index.row()].properties;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case Qt::DisplayRole:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return m_shapeTemplateList[index.row()].name;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;default:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return QVariant();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return QVariant();
&lt;br&gt;+}
&lt;br&gt;+void KoEndLineShapeModel::setShapeTemplateList(const QList&amp;lt;KoEndLineShape&amp;gt;&amp; newlist)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_shapeTemplateList = newlist;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;reset();
&lt;br&gt;+}
&lt;br&gt;Index: plugins/dockers/shapeendlines/KoEndLinesDockerFactory.cpp
&lt;br&gt;===================================================================
&lt;br&gt;--- plugins/dockers/shapeendlines/KoEndLinesDockerFactory.cpp	(révision 0)
&lt;br&gt;+++ plugins/dockers/shapeendlines/KoEndLinesDockerFactory.cpp	(révision 0)
&lt;br&gt;@@ -0,0 +1,43 @@
&lt;br&gt;+/* This file is part of the KDE project
&lt;br&gt;+ &amp;nbsp; Copyright (C) 2009 Jeremy Lugagne &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lugagne.jeremy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; This library is free software; you can redistribute it and/or
&lt;br&gt;+ &amp;nbsp; modify it under the terms of the GNU Library General Public
&lt;br&gt;+ &amp;nbsp; License as published by the Free Software Foundation; either
&lt;br&gt;+ &amp;nbsp; version 2 of the License, or (at your option) any later version.
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; This library is distributed in the hope that it will be useful,
&lt;br&gt;+ &amp;nbsp; but WITHOUT ANY WARRANTY; without even the implied warranty of
&lt;br&gt;+ &amp;nbsp; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. &amp;nbsp;See the GNU
&lt;br&gt;+ &amp;nbsp; Library General Public License for more details.
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; You should have received a copy of the GNU Library General Public License
&lt;br&gt;+ &amp;nbsp; along with this library; see the file COPYING.LIB. &amp;nbsp;If not, write to
&lt;br&gt;+ &amp;nbsp; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
&lt;br&gt;+ * Boston, MA 02110-1301, USA.
&lt;br&gt;+*/
&lt;br&gt;+
&lt;br&gt;+#include &amp;quot;KoEndLinesDockerFactory.h&amp;quot;
&lt;br&gt;+#include &amp;quot;KoShapeEndLinesDocker.h&amp;quot;
&lt;br&gt;+
&lt;br&gt;+KoEndLinesDockerFactory::KoEndLinesDockerFactory()
&lt;br&gt;+{
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+QString KoEndLinesDockerFactory::id() const
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return QString(&amp;quot;End Lines&amp;quot;);
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+QDockWidget* KoEndLinesDockerFactory::createDockWidget()
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoShapeEndLinesDocker* widget = new KoShapeEndLinesDocker();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;widget-&amp;gt;setObjectName(id());
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return widget;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+KoDockFactory::DockPosition KoEndLinesDockerFactory::defaultDockPosition() const
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return DockMinimized;
&lt;br&gt;+}
&lt;br&gt;Index: plugins/dockers/shapeendlines/pics/triangle.svg
&lt;br&gt;===================================================================
&lt;br&gt;--- plugins/dockers/shapeendlines/pics/triangle.svg	(révision 0)
&lt;br&gt;+++ plugins/dockers/shapeendlines/pics/triangle.svg	(révision 0)
&lt;br&gt;@@ -0,0 +1,12 @@
&lt;br&gt;+&amp;lt;?xml version=&amp;quot;1.0&amp;quot; standalone=&amp;quot;no&amp;quot;?&amp;gt;
&lt;br&gt;+&amp;lt;!DOCTYPE svg PUBLIC &amp;quot;-//W3C//DTD SVG 20010904//EN&amp;quot; 
&lt;br&gt;+ &amp;nbsp;&amp;quot;&lt;a href=&quot;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;+&amp;lt;svg width=&amp;quot;4cm&amp;quot; height=&amp;quot;4cm&amp;quot; viewBox=&amp;quot;0 0 400 400&amp;quot;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; xmlns=&amp;quot;&lt;a href=&quot;http://www.w3.org/2000/svg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2000/svg&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;+ &amp;nbsp;&amp;lt;title&amp;gt;Exemple triangle01- exemple simple d'un 'path'&amp;lt;/title&amp;gt;
&lt;br&gt;+ &amp;nbsp;&amp;lt;desc&amp;gt;Un tracÃ© dessinant un triangle&amp;lt;/desc&amp;gt;
&lt;br&gt;+ &amp;nbsp;&amp;lt;rect x=&amp;quot;1&amp;quot; y=&amp;quot;1&amp;quot; width=&amp;quot;398&amp;quot; height=&amp;quot;398&amp;quot;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fill=&amp;quot;none&amp;quot; stroke=&amp;quot;blue&amp;quot; /&amp;gt;
&lt;br&gt;+ &amp;nbsp;&amp;lt;path d=&amp;quot;M 100 100 L 300 100 L 200 300 z&amp;quot;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fill=&amp;quot;black&amp;quot; stroke=&amp;quot;black&amp;quot; stroke-width=&amp;quot;3&amp;quot; /&amp;gt;
&lt;br&gt;+&amp;lt;/svg&amp;gt;
&lt;br&gt;Index: plugins/dockers/shapeendlines/pics/CMakeLists.txt
&lt;br&gt;===================================================================
&lt;br&gt;--- plugins/dockers/shapeendlines/pics/CMakeLists.txt	(révision 0)
&lt;br&gt;+++ plugins/dockers/shapeendlines/pics/CMakeLists.txt	(révision 0)
&lt;br&gt;@@ -0,0 +1,5 @@
&lt;br&gt;+install( FILES
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; triangle.svg
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DESTINATION ${DATA_INSTALL_DIR}/kpresenter/pics)
&lt;br&gt;+
&lt;br&gt;+kde4_install_icons( ${ICON_INSTALL_DIR} &amp;nbsp; )
&lt;br&gt;\ No newline at end of file
&lt;br&gt;Index: plugins/dockers/CMakeLists.txt
&lt;br&gt;===================================================================
&lt;br&gt;--- plugins/dockers/CMakeLists.txt	(révision 1051656)
&lt;br&gt;+++ plugins/dockers/CMakeLists.txt	(copie de travail)
&lt;br&gt;@@ -48,6 +48,9 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;linestyleselector/LineStyleModel.cpp
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;linestyleselector/LineStyleSelector.cpp
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;shapeendlines/KoShapeEndLinesDocker.cpp
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;shapeendlines/KoEndLinesDockerFactory.cpp
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;styledocker/StyleButtonBox.cpp
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;styledocker/StylePreview.cpp
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;styledocker/StyleDocker.cpp
&lt;br&gt;@@ -57,6 +60,8 @@
&lt;br&gt;&amp;nbsp;)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;add_subdirectory( strokedocker/pics )
&lt;br&gt;+add_subdirectory( shapeendlines/pics )
&lt;br&gt;+add_subdirectory( shapeendlines/endLineStyle )
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;if (NOT NO_PIGMENT)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;set(kofficedockers_SRCS ${kofficedockers_SRCS}
&lt;br&gt;Index: libs/flake/KoLineEnd.h
&lt;br&gt;===================================================================
&lt;br&gt;--- libs/flake/KoLineEnd.h	(révision 0)
&lt;br&gt;+++ libs/flake/KoLineEnd.h	(révision 0)
&lt;br&gt;@@ -0,0 +1,79 @@
&lt;br&gt;+/* This file is part of the KDE project
&lt;br&gt;+ &amp;nbsp; Copyright (C) 2009 Jeremy Lugagne &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lugagne.jeremy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; This library is free software; you can redistribute it and/or
&lt;br&gt;+ &amp;nbsp; modify it under the terms of the GNU Library General Public
&lt;br&gt;+ &amp;nbsp; License as published by the Free Software Foundation; either
&lt;br&gt;+ &amp;nbsp; version 2 of the License, or (at your option) any later version.
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; This library is distributed in the hope that it will be useful,
&lt;br&gt;+ &amp;nbsp; but WITHOUT ANY WARRANTY; without even the implied warranty of
&lt;br&gt;+ &amp;nbsp; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. &amp;nbsp;See the GNU
&lt;br&gt;+ &amp;nbsp; Library General Public License for more details.
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; You should have received a copy of the GNU Library General Public License
&lt;br&gt;+ &amp;nbsp; along with this library; see the file COPYING.LIB. &amp;nbsp;If not, write to
&lt;br&gt;+ &amp;nbsp; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
&lt;br&gt;+ * Boston, MA 02110-1301, USA.
&lt;br&gt;+*/ 
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+#ifndef KOLINEEND_H
&lt;br&gt;+#define KOLINEEND_H
&lt;br&gt;+
&lt;br&gt;+#include &amp;lt;KoUnit.h&amp;gt;
&lt;br&gt;+#include &amp;lt;KoXmlReader.h&amp;gt;
&lt;br&gt;+#include &amp;lt;KoCanvasObserver.h&amp;gt;
&lt;br&gt;+#include &amp;lt;QtGui/QDockWidget&amp;gt;
&lt;br&gt;+#include &amp;lt;QListView&amp;gt;
&lt;br&gt;+#include &amp;lt;QDockWidget&amp;gt;
&lt;br&gt;+#include &amp;lt;kdebug.h&amp;gt;
&lt;br&gt;+#include &amp;lt;QStringList&amp;gt;
&lt;br&gt;+#include &amp;quot;flake_export.h&amp;quot;
&lt;br&gt;+#include &amp;lt;QObject&amp;gt;
&lt;br&gt;+#include &amp;lt;QMetaType&amp;gt;
&lt;br&gt;+
&lt;br&gt;+class KoShapeBorderModel;
&lt;br&gt;+class KoCanvasController;
&lt;br&gt;+class KoPathShape;
&lt;br&gt;+class KoPathPoint;
&lt;br&gt;+class QPainter;
&lt;br&gt;+class QRectF;
&lt;br&gt;+class QMatrix;
&lt;br&gt;+
&lt;br&gt;+class FLAKE_EXPORT KoLineEnd : public QObject {
&lt;br&gt;+Q_OBJECT
&lt;br&gt;+
&lt;br&gt;+public:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoLineEnd(const QString &amp;name, const QString &amp;path, const QString &amp;view, const QString&amp; transform = QString());
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoLineEnd();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoLineEnd(const KoLineEnd &amp;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoLineEnd&amp; operator=(const KoLineEnd&amp;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;virtual ~KoLineEnd();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QIcon drawIcon(const QSize &amp;size, const int proportion);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QString name() const;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QString path() const;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QString viewBox() const;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QString transform() const;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void setTransform(const QString &amp;transform);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QByteArray generateSVG(const QSize &amp;size, const QString &amp;comment = QString());
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QByteArray getSVG() const;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void paint(QPainter &amp;painter, const KoPathPoint* point);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;static QPointF computeAngle(const KoPathPoint* point);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;int getSize();
&lt;br&gt;+
&lt;br&gt;+public slots:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void setSize(int size);
&lt;br&gt;+
&lt;br&gt;+private:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QString m_name;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QString m_path;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QString m_view;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QByteArray m_svg;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QString m_transform;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;int m_size;
&lt;br&gt;+};
&lt;br&gt;+
&lt;br&gt;+Q_DECLARE_METATYPE(KoLineEnd);
&lt;br&gt;+#endif // KOLINEEND_H
&lt;br&gt;+
&lt;br&gt;Index: libs/flake/KoPathShape.h
&lt;br&gt;===================================================================
&lt;br&gt;--- libs/flake/KoPathShape.h	(révision 1051656)
&lt;br&gt;+++ libs/flake/KoPathShape.h	(copie de travail)
&lt;br&gt;@@ -2,6 +2,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; Copyright (C) 2006 Thorsten Zachmann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;zachmann@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; Copyright (C) 2007,2009 Thomas Zander &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;zander@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; Copyright (C) 2006-2008 Jan Hambrecht &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jaham@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+ &amp;nbsp; Copyright (C) 2009 Jeremy Lugagne &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lugagne.jeremy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; This library is free software; you can redistribute it and/or
&lt;br&gt;&amp;nbsp; &amp;nbsp; modify it under the terms of the GNU Library General Public
&lt;br&gt;@@ -28,8 +29,10 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#include &amp;quot;KoShape.h&amp;quot;
&lt;br&gt;&amp;nbsp;#include &amp;quot;KoPathSegment.h&amp;quot;
&lt;br&gt;+#include &amp;quot;KoLineEnd.h&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#define KoPathShapeId &amp;quot;KoPathShape&amp;quot;
&lt;br&gt;+#define KoPathShapeEndLineSize 15
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;class KoPathShape;
&lt;br&gt;&amp;nbsp;class KoPathPoint;
&lt;br&gt;@@ -429,7 +432,21 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; * @return the specific shape id
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;virtual QString pathShapeId() const;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;/**
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @brief Add a line end at the begining of the path
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param path the path in svg's d format attribute
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; */
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void setBeginLineEnd(const KoLineEnd &amp;path);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;/**
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @brief Add a line end at the ending of the path
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param path the path in svg's d format attribute
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; */
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;void setEndLineEnd(const KoLineEnd &amp;path);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoLineEnd&amp; getEndLineEnd();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoLineEnd&amp; getBeginLineEnd();
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/// Returns a odf/svg string represenatation of the path data with the given matrix applied.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;QString toString(const QMatrix &amp;matrix) const;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -447,6 +464,10 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;KoPathShape(KoPathShapePrivate &amp;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;private:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoLineEnd beginLineEnd;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoLineEnd endLineEnd;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;// TODO move all the private methods to live on the d pointer object
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;void map(const QMatrix &amp;matrix);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Index: libs/flake/CMakeLists.txt
&lt;br&gt;===================================================================
&lt;br&gt;--- libs/flake/CMakeLists.txt	(révision 1051656)
&lt;br&gt;+++ libs/flake/CMakeLists.txt	(copie de travail)
&lt;br&gt;@@ -105,6 +105,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;KoFilterEffectRegistry.cpp
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;KoFilterEffectConfigWidgetBase.cpp
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;KoFilterEffectRenderContext.cpp
&lt;br&gt;+		KoLineEnd.cpp
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;commands/KoShapeGroupCommand.cpp
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;commands/KoShapeAlignCommand.cpp
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;commands/KoShapeBackgroundCommand.cpp
&lt;br&gt;Index: libs/flake/KoPathShape.cpp
&lt;br&gt;===================================================================
&lt;br&gt;--- libs/flake/KoPathShape.cpp	(révision 1051656)
&lt;br&gt;+++ libs/flake/KoPathShape.cpp	(copie de travail)
&lt;br&gt;@@ -2,6 +2,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; Copyright (C) 2006-2008 Thorsten Zachmann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;zachmann@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; Copyright (C) 2006-2008 Jan Hambrecht &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jaham@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; Copyright (C) 2007-2009 Thomas Zander &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=13&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;zander@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+ &amp;nbsp; Copyright (C) 2009 Jeremy Lugagne &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=14&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lugagne.jeremy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; This library is free software; you can redistribute it and/or
&lt;br&gt;&amp;nbsp; &amp;nbsp; modify it under the terms of the GNU Library General Public
&lt;br&gt;@@ -226,6 +227,11 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;QPainterPath path(outline());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;path.setFillRule(d-&amp;gt;fillRule);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (m_subpaths.first())
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;endLineEnd.paint(painter, m_subpaths.first()-&amp;gt;first());
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (m_subpaths.last())
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;beginLineEnd.paint(painter, m_subpaths.last()-&amp;gt;last());
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (background())
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;background()-&amp;gt;paint(painter, path);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;//paintDebug( painter );
&lt;br&gt;@@ -1302,3 +1308,23 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;return outlinePath.contains(point);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;+void KoPathShape::setBeginLineEnd( const KoLineEnd &amp;path )
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;beginLineEnd = path;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+void KoPathShape::setEndLineEnd( const KoLineEnd &amp;path )
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;endLineEnd = path;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+KoLineEnd&amp; KoPathShape::getBeginLineEnd()
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return beginLineEnd;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+KoLineEnd&amp; KoPathShape::getEndLineEnd()
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return endLineEnd;
&lt;br&gt;+}
&lt;br&gt;Index: libs/flake/KoLineEnd.cpp
&lt;br&gt;===================================================================
&lt;br&gt;--- libs/flake/KoLineEnd.cpp	(révision 0)
&lt;br&gt;+++ libs/flake/KoLineEnd.cpp	(révision 0)
&lt;br&gt;@@ -0,0 +1,200 @@
&lt;br&gt;+/* This file is part of the KDE project
&lt;br&gt;+ &amp;nbsp; Copyright (C) 2009 Jeremy Lugagne &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lugagne.jeremy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; This library is free software; you can redistribute it and/or
&lt;br&gt;+ &amp;nbsp; modify it under the terms of the GNU Library General Public
&lt;br&gt;+ &amp;nbsp; License as published by the Free Software Foundation; either
&lt;br&gt;+ &amp;nbsp; version 2 of the License, or (at your option) any later version.
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; This library is distributed in the hope that it will be useful,
&lt;br&gt;+ &amp;nbsp; but WITHOUT ANY WARRANTY; without even the implied warranty of
&lt;br&gt;+ &amp;nbsp; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. &amp;nbsp;See the GNU
&lt;br&gt;+ &amp;nbsp; Library General Public License for more details.
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; You should have received a copy of the GNU Library General Public License
&lt;br&gt;+ &amp;nbsp; along with this library; see the file COPYING.LIB. &amp;nbsp;If not, write to
&lt;br&gt;+ &amp;nbsp; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
&lt;br&gt;+ * Boston, MA 02110-1301, USA.
&lt;br&gt;+*/
&lt;br&gt;+
&lt;br&gt;+#include &amp;quot;KoLineEnd.h&amp;quot; 
&lt;br&gt;+#include &amp;quot;KoPathPoint.h&amp;quot;
&lt;br&gt;+#include &amp;quot;KoPathPointData.h&amp;quot;
&lt;br&gt;+
&lt;br&gt;+#include &amp;lt;QPixmap&amp;gt;
&lt;br&gt;+#include &amp;lt;QIcon&amp;gt;
&lt;br&gt;+#include &amp;lt;QSvgRenderer&amp;gt;
&lt;br&gt;+#include &amp;lt;QPainter&amp;gt;
&lt;br&gt;+#include &amp;lt;QRectF&amp;gt;
&lt;br&gt;+#include &amp;lt;QBrush&amp;gt;
&lt;br&gt;+#include &amp;lt;QMatrix&amp;gt;
&lt;br&gt;+
&lt;br&gt;+//qRegisterMetaType&amp;lt;KoLineEnd&amp;gt;(&amp;quot;KoLineEnd&amp;quot;);
&lt;br&gt;+
&lt;br&gt;+KoLineEnd::KoLineEnd(const QString &amp;name, const QString &amp;path, const QString &amp;view, const QString&amp; transform)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_name = name;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_path = path;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_view = view;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_transform = transform;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_size = 5;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+KoLineEnd::KoLineEnd()
&lt;br&gt;+{
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+KoLineEnd::KoLineEnd(const KoLineEnd &amp;lineEnd)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_name = lineEnd.m_name;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_path = lineEnd.m_path;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_view = lineEnd.m_view;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_svg = lineEnd.m_svg;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_size = lineEnd.m_size;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+KoLineEnd&amp; KoLineEnd::operator=(const KoLineEnd &amp;lineEnd)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_name = lineEnd.m_name;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_path = lineEnd.m_path;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_view = lineEnd.m_view;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_svg = lineEnd.m_svg;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_size = lineEnd.m_size;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+KoLineEnd::~KoLineEnd()
&lt;br&gt;+{
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+void KoLineEnd::setSize ( int size )
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_size = size;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+int KoLineEnd::getSize()
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return m_size;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+QByteArray KoLineEnd::generateSVG ( const QSize &amp;size, const QString &amp;comment )
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QByteArray width(QString::number(size.width()).toUtf8());
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QByteArray height(QString::number(size.height()).toUtf8());
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QByteArray str(&amp;quot;&amp;lt;?xml version=\&amp;quot;1.0\&amp;quot; standalone=\&amp;quot;no\&amp;quot;?&amp;gt;&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;str.append(&amp;quot;&amp;lt;!--&amp;quot;+comment.toUtf8()+&amp;quot;--&amp;gt;&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;str.append(&amp;quot;&amp;lt;!DOCTYPE svg PUBLIC \&amp;quot;-//W3C//DTD SVG 20010904//EN\&amp;quot; \&amp;quot;&lt;a href=&quot;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&lt;/a&gt;\&amp;quot;&amp;gt;&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;str.append(&amp;quot;&amp;lt;svg width=\&amp;quot;&amp;quot;+width+&amp;quot;px\&amp;quot; height=\&amp;quot;&amp;quot;+height+&amp;quot;px\&amp;quot; viewBox=\&amp;quot;&amp;quot;+m_view.toUtf8()+&amp;quot;\&amp;quot; preserveAspectRatio=\&amp;quot;xMidYMid meet\&amp;quot; xmlns=\&amp;quot;&lt;a href=&quot;http://www.w3.org/2000/svg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2000/svg&lt;/a&gt;\&amp;quot;&amp;gt;&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;str.append(&amp;quot;&amp;lt;path width=\&amp;quot;&amp;quot;+width+&amp;quot;px\&amp;quot; height=\&amp;quot;&amp;quot;+height+&amp;quot;px\&amp;quot; fill=\&amp;quot;black\&amp;quot; &amp;nbsp;d=\&amp;quot;&amp;quot;+m_path.toUtf8()+&amp;quot;\&amp;quot; transform=\&amp;quot;&amp;quot;+m_transform.toUtf8()+&amp;quot;\&amp;quot; /&amp;gt;&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;str.append(&amp;quot;&amp;lt;/svg&amp;gt;&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_svg = str;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return str;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+QByteArray KoLineEnd::getSVG() const
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return m_svg;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+QIcon KoLineEnd::drawIcon(const QSize &amp;size, const int proportion)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QSvgRenderer endLineRenderer;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QPixmap endLinePixmap(size);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;endLinePixmap.fill(QColor(Qt::transparent));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QPainter endLinePainter(&amp;endLinePixmap);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;// Convert path to SVG
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;//endLineRenderer.load(generateSVG(QSize(size.width()-6, size.height()-6)));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;endLineRenderer.load(generateSVG(QSize(30, 30)));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;endLineRenderer.render(&amp;endLinePainter, QRectF(proportion, proportion, size.width()-(proportion*2), size.height()-(proportion*2)));
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;// return QIcon
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return QIcon (endLinePixmap);
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+QString KoLineEnd::name() const
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return m_name;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+QString KoLineEnd::path() const
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return m_path;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+QString KoLineEnd::viewBox() const
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return m_view;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+QString KoLineEnd::transform() const
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return m_transform;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+void KoLineEnd::setTransform(const QString &amp;transform)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_transform = transform;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+void KoLineEnd::paint(QPainter &amp;painter, const KoPathPoint* point)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QPointF vector;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QMatrix matrix;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;vector = KoLineEnd::computeAngle(point);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;vector.setY(vector.y()*-1);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QLineF line(QPointF(0,0), vector);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;int angle = ((int)line.angle()+90)%360;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;float x = point-&amp;gt;point().x()-m_size;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;float y = point-&amp;gt;point().y()-m_size;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QRectF rect(QPointF(x, y), QSizeF(m_size, m_size));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;m_transform.clear();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QStringList viewBoxValues = m_view.split(&amp;quot; &amp;quot;);
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if(viewBoxValues.count() == 4){
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int centerX = viewBoxValues.at(2).toInt()/2;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int centerY = viewBoxValues.at(3).toInt()/2;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_transform.append(&amp;quot;translate(&amp;quot;+QString::number(centerX)+&amp;quot;, &amp;quot;+QString::number(centerY)+&amp;quot;), rotate(&amp;quot;+QString::number(angle)+&amp;quot;, &amp;quot;+QString::number(centerX)+&amp;quot;, &amp;quot;+QString::number(centerY)+&amp;quot;)&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;painter.setBackgroundMode(Qt::OpaqueMode);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;painter.setBackground(QBrush(Qt::red));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QSvgRenderer endLineRenderer;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;QSize endLineSize = QSize(qRound(rect.width()), qRound(rect.height()));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;endLineRenderer.load(generateSVG(endLineSize));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;endLineRenderer.render(&amp;painter, rect);
&lt;br&gt;+
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+QPointF KoLineEnd::computeAngle(const KoPathPoint* point)
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoPathShape * path = point-&amp;gt;parent();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;KoPathPointIndex index = path-&amp;gt;pathPointIndex(point);
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;/// check if it is a start point
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (point-&amp;gt;properties() &amp; KoPathPoint::StartSubpath) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (point-&amp;gt;activeControlPoint2()) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return point-&amp;gt;point() - point-&amp;gt;controlPoint2();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;KoPathPoint * next = path-&amp;gt;pointByIndex(KoPathPointIndex(index.first, index.second + 1));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (! next)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return QPointF();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else if (next-&amp;gt;activeControlPoint1())
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return point-&amp;gt;point() - next-&amp;gt;controlPoint1();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return point-&amp;gt;point() - next-&amp;gt;point();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (point-&amp;gt;activeControlPoint1()) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return point-&amp;gt;point() - point-&amp;gt;controlPoint1();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;KoPathPoint * prev = path-&amp;gt;pointByIndex(KoPathPointIndex(index.first, index.second - 1));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (! prev)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return QPointF();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else if (prev-&amp;gt;activeControlPoint2())
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return point-&amp;gt;point() - prev-&amp;gt;controlPoint2();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return point-&amp;gt;point() - prev-&amp;gt;point();
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+}
&lt;br&gt;+#include &amp;quot;KoLineEnd.moc&amp;quot;
&lt;br&gt;+
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451858&amp;i=16&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/End-lines-patch-tp26451111p26451858.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26451111</id>
	<title>End lines patch</title>
	<published>2009-11-20T14:13:35Z</published>
	<updated>2009-11-20T14:13:35Z</updated>
	<author>
		<name>Jérémy Lugagne</name>
	</author>
	<content type="html">Hi,&lt;br&gt;&lt;br&gt;I made a patch to add shapes and the end of lines.&lt;br&gt;&lt;br&gt;If you have a question, do not hesitate and ask me here or on IRC (XwZ).&lt;br&gt;&lt;br&gt;I send it here beacause i can&amp;#39;t send it on the reviewboard (i don&amp;#39;t know why).&lt;br&gt;
&lt;br&gt;Regards,&lt;br&gt;&lt;br&gt;Jérémy.&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26451111&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/End-lines-patch-tp26451111p26451111.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26444368</id>
	<title>Re: Review Request: Go to a specified page in KWord</title>
	<published>2009-11-20T06:41:46Z</published>
	<updated>2009-11-20T06:41:46Z</updated>
	<author>
		<name>Bugzilla from zander@kde.org</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2230/#review3183&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2230/#review3183&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;trunk/koffice/kword/part/KWView.cpp
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://reviewboard.kde.org/r/2230/#comment2538&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2230/#comment2538&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Please use m_gui-&amp;gt;canvasController() instead
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;trunk/koffice/kword/part/KWView.cpp
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://reviewboard.kde.org/r/2230/#comment2540&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2230/#comment2540&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Not sure if we want to use QScrollBar, can you try to use KoCanvasController::setScrollBarValue() instead?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;trunk/koffice/kword/part/KWView.cpp
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://reviewboard.kde.org/r/2230/#comment2539&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2230/#comment2539&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; You should not use the zoomHandler bug instead use the viewmode.
&lt;br&gt;&amp;nbsp; &amp;nbsp; See KWCanvas::viewMode()
&lt;br&gt;&lt;br&gt;&lt;br&gt;- Thomas
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 2009-11-20 14:10:38, Mani Chandrasekar wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://reviewboard.kde.org/r/2230/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2230/&lt;/a&gt;&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; (Updated 2009-11-20 14:10:38)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Review request for KOffice.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Summary
&lt;br&gt;&amp;gt; -------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Patch would provide functionality like go to specified page or prev/next page for KWord
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Diffs
&lt;br&gt;&amp;gt; -----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/kword/part/KWView.h 1051253 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/kword/part/KWView.cpp 1051253 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2230/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2230/diff&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Testing
&lt;br&gt;&amp;gt; -------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Done testing with different document &amp; various zoom levels
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Mani
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26444368&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-Go-to-a-specified-page-in-KWord-tp26443888p26444368.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443923</id>
	<title>Re: Review Request: A graph walker - base class for merging</title>
	<published>2009-11-20T06:13:24Z</published>
	<updated>2009-11-20T06:13:24Z</updated>
	<author>
		<name>Bugzilla from dimula73@gmail.com</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2229/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2229/&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;(Updated 2009-11-20 14:13:23.954858)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Review request for KOffice.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Summary (updated)
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;Added KisGraphWalker.
&lt;br&gt;&lt;br&gt;It walks through the graph and visits every node in a bottom-up way. It provides essential options for caching projection and for collecting node's properties in a reversed (top-down) way. It will be used in calculation of need/change rects for nodes.
&lt;br&gt;&lt;br&gt;Why it is needed?
&lt;br&gt;1) It allows you to walk through the graph in a bottom-up and top-down way in the same time. This is like KisUpdateStrategy used to work, but... (see 2) )
&lt;br&gt;2) It doesn't use any node's internal structures or static members like KisUpdateStrategy and KisGroupLayer::updateProjectiopn used to use. It means that several &amp;quot;walkers&amp;quot; can work simultaneously on a single image.
&lt;br&gt;At the moment we can't do this because KisGroupLayer::updateProjection uses filthyNode member.
&lt;br&gt;&lt;br&gt;What it is supposed to do?
&lt;br&gt;1) updater should know which rect will be changed during update and which one will be needed. It will help him to parallelize merge operations.
&lt;br&gt;2) &amp;quot;changeRect&amp;quot; is collected on a way forward
&lt;br&gt;3) &amp;quot;needRect&amp;quot; is collected on a way back (see KisLayer::applyMasks)
&lt;br&gt;4) merges will be parallelized with the help of special walkers too
&lt;br&gt;&lt;br&gt;&lt;br&gt;Diffs
&lt;br&gt;-----
&lt;br&gt;&lt;br&gt;&amp;nbsp; trunk/koffice/krita/image/CMakeLists.txt 1045641 
&lt;br&gt;&amp;nbsp; trunk/koffice/krita/image/kis_graph_walker.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/krita/image/kis_graph_walker.cc PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/krita/image/tests/CMakeLists.txt 1045627 
&lt;br&gt;&amp;nbsp; trunk/koffice/krita/image/tests/kis_graph_walker_test.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/krita/image/tests/kis_graph_walker_test.cpp PRE-CREATION 
&lt;br&gt;&lt;br&gt;Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2229/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2229/diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Testing
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Dmitry
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26443923&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-A-graph-walker---base-class-for-merging-tp26442984p26443923.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443888</id>
	<title>Review Request: Go to a specified page in KWord</title>
	<published>2009-11-20T06:10:39Z</published>
	<updated>2009-11-20T06:10:39Z</updated>
	<author>
		<name>prasad_ncm</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2230/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2230/&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;Review request for KOffice.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Summary
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;Patch would provide functionality like go to specified page or prev/next page for KWord
&lt;br&gt;&lt;br&gt;&lt;br&gt;Diffs
&lt;br&gt;-----
&lt;br&gt;&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWView.h 1051253 
&lt;br&gt;&amp;nbsp; trunk/koffice/kword/part/KWView.cpp 1051253 
&lt;br&gt;&lt;br&gt;Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2230/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2230/diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Testing
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;Done testing with different document &amp; various zoom levels
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Mani
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26443888&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-Go-to-a-specified-page-in-KWord-tp26443888p26443888.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443435</id>
	<title>Re: Review Request: A graph walker - base class for merging</title>
	<published>2009-11-20T05:44:02Z</published>
	<updated>2009-11-20T05:44:02Z</updated>
	<author>
		<name>Bugzilla from boud@valdyas.org</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2229/#review3182&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2229/#review3182&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;It's okay, I guess, except for some niggles: 
&lt;br&gt;&lt;br&gt;s/crowling/crawling
&lt;br&gt;&lt;br&gt;The method name greetOnBackwardWay doesn't seem correct English: greetOnWayBack would perhaps be better, but I might have misunderstood its functios
&lt;br&gt;&lt;br&gt;I'd like some docs, including the purpose of the class in the class apidox, also some discussion on how this approach works in a multi-threaded environment.
&lt;br&gt;&lt;br&gt;&lt;br&gt;- Boudewijn
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 2009-11-20 13:05:37, Dmitry Kazakov wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://reviewboard.kde.org/r/2229/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2229/&lt;/a&gt;&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; (Updated 2009-11-20 13:05:37)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Review request for KOffice.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Summary
&lt;br&gt;&amp;gt; -------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Added KisGraphWalker.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It walks through the graph and visits every node in a bottom-up way. It provides essential options for caching projection and for collecting node's properties in a reversed (top-down) way. It will be used in calculation of need/change rects for nodes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Diffs
&lt;br&gt;&amp;gt; -----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/CMakeLists.txt 1045641 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/kis_graph_walker.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/kis_graph_walker.cc PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/tests/CMakeLists.txt 1045627 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/tests/kis_graph_walker_test.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/tests/kis_graph_walker_test.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2229/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2229/diff&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Testing
&lt;br&gt;&amp;gt; -------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Dmitry
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26443435&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-A-graph-walker---base-class-for-merging-tp26442984p26443435.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443429</id>
	<title>Re: Review Request: A graph walker - base class for merging</title>
	<published>2009-11-20T05:43:54Z</published>
	<updated>2009-11-20T05:43:54Z</updated>
	<author>
		<name>Bugzilla from boud@valdyas.org</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2229/#review3181&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2229/#review3181&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;It's okay, I guess, except for some niggles: 
&lt;br&gt;&lt;br&gt;s/crowling/crawling
&lt;br&gt;&lt;br&gt;The method name greetOnBackwardWay doesn't seem correct English: greetOnWayBack would perhaps be better, but I might have misunderstood its functios
&lt;br&gt;&lt;br&gt;I'd like some docs, including the purpose of the class in the class apidox, also some discussion on how this approach works in a multi-threaded environment.
&lt;br&gt;&lt;br&gt;&lt;br&gt;- Boudewijn
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 2009-11-20 13:05:37, Dmitry Kazakov wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://reviewboard.kde.org/r/2229/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2229/&lt;/a&gt;&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; (Updated 2009-11-20 13:05:37)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Review request for KOffice.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Summary
&lt;br&gt;&amp;gt; -------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Added KisGraphWalker.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It walks through the graph and visits every node in a bottom-up way. It provides essential options for caching projection and for collecting node's properties in a reversed (top-down) way. It will be used in calculation of need/change rects for nodes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Diffs
&lt;br&gt;&amp;gt; -----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/CMakeLists.txt 1045641 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/kis_graph_walker.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/kis_graph_walker.cc PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/tests/CMakeLists.txt 1045627 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/tests/kis_graph_walker_test.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/tests/kis_graph_walker_test.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2229/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2229/diff&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Testing
&lt;br&gt;&amp;gt; -------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Dmitry
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26443429&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-A-graph-walker---base-class-for-merging-tp26442984p26443429.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443434</id>
	<title>Re: Review Request: A graph walker - base class for merging</title>
	<published>2009-11-20T05:43:48Z</published>
	<updated>2009-11-20T05:43:48Z</updated>
	<author>
		<name>Bugzilla from boud@valdyas.org</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2229/#review3180&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2229/#review3180&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;It's okay, I guess, except for some niggles: 
&lt;br&gt;&lt;br&gt;s/crowling/crawling
&lt;br&gt;&lt;br&gt;The method name greetOnBackwardWay doesn't seem correct English: greetOnWayBack would perhaps be better, but I might have misunderstood its functios
&lt;br&gt;&lt;br&gt;I'd like some docs, including the purpose of the class in the class apidox, also some discussion on how this approach works in a multi-threaded environment.
&lt;br&gt;&lt;br&gt;&lt;br&gt;- Boudewijn
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 2009-11-20 13:05:37, Dmitry Kazakov wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://reviewboard.kde.org/r/2229/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2229/&lt;/a&gt;&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; (Updated 2009-11-20 13:05:37)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Review request for KOffice.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Summary
&lt;br&gt;&amp;gt; -------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Added KisGraphWalker.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It walks through the graph and visits every node in a bottom-up way. It provides essential options for caching projection and for collecting node's properties in a reversed (top-down) way. It will be used in calculation of need/change rects for nodes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Diffs
&lt;br&gt;&amp;gt; -----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/CMakeLists.txt 1045641 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/kis_graph_walker.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/kis_graph_walker.cc PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/tests/CMakeLists.txt 1045627 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/tests/kis_graph_walker_test.h PRE-CREATION 
&lt;br&gt;&amp;gt; &amp;nbsp; trunk/koffice/krita/image/tests/kis_graph_walker_test.cpp PRE-CREATION 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2229/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2229/diff&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Testing
&lt;br&gt;&amp;gt; -------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Dmitry
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26443434&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-A-graph-walker---base-class-for-merging-tp26442984p26443434.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443398</id>
	<title>Re: Review Request: A graph walker - base class for merging</title>
	<published>2009-11-20T05:40:06Z</published>
	<updated>2009-11-20T05:40:06Z</updated>
	<author>
		<name>Bugzilla from lukast.dev@gmail.com</name>
	</author>
	<content type="html">Hi, 
&lt;br&gt;&lt;br&gt;&amp;gt; It walks through the graph and visits every node in a bottom-up way. It
&lt;br&gt;&amp;gt; &amp;nbsp;provides essential options for caching projection and for collecting
&lt;br&gt;&amp;gt; &amp;nbsp;node's properties in a reversed (top-down) way. It will be used in
&lt;br&gt;&amp;gt; &amp;nbsp;calculation of need/change rects for nodes.
&lt;br&gt;&lt;br&gt;can you explain what functionality it brings or which bug it fixes? It is out 
&lt;br&gt;of my field, so I don't get this first explanation...
&lt;br&gt;&lt;br&gt;I would like to do some testing of it first and then review.
&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26443398&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-A-graph-walker---base-class-for-merging-tp26442984p26443398.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26443104</id>
	<title>Re: koffice/libs/flake/commands</title>
	<published>2009-11-20T05:16:08Z</published>
	<updated>2009-11-20T05:16:08Z</updated>
	<author>
		<name>Bugzilla from boud@valdyas.org</name>
	</author>
	<content type="html">On Thursday 19 November 2009, Sven Langkamp wrote:
&lt;br&gt;&amp;gt; SVN commit 1051493 by langkamp:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; apply Thomas patch to fix undo/redo after reparenting
&lt;br&gt;&amp;gt; BUG:212209
&lt;br&gt;&lt;br&gt;&lt;br&gt;I think this should be backported. Any objections?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;M &amp;nbsp;+1 -0 &amp;nbsp; &amp;nbsp; &amp;nbsp;KoShapeCreateCommand.cpp
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --- trunk/koffice/libs/flake/commands/KoShapeCreateCommand.cpp
&lt;br&gt;&amp;gt; &amp;nbsp;#1051492:1051493 @@ -66,6 +66,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;d-&amp;gt;shapeParent-&amp;gt;addChild(d-&amp;gt;shape);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;// the parent has to be there when it is added to the
&lt;br&gt;&amp;gt; &amp;nbsp;KoShapeControllerBase d-&amp;gt;controller-&amp;gt;addShape(d-&amp;gt;shape);
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp;d-&amp;gt;shapeParent = d-&amp;gt;shape-&amp;gt;parent(); // update parent if the
&lt;br&gt;&amp;gt; &amp;nbsp;'addShape' changed it d-&amp;gt;deleteShape = false;
&lt;br&gt;&amp;gt; &amp;nbsp;}
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Boudewijn Rempt | &lt;a href=&quot;http://www.valdyas.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.valdyas.org&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26443104&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-koffice-libs-flake-commands-tp26443104p26443104.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26442984</id>
	<title>Review Request: A graph walker - base class for merging</title>
	<published>2009-11-20T05:05:38Z</published>
	<updated>2009-11-20T05:05:38Z</updated>
	<author>
		<name>Bugzilla from dimula73@gmail.com</name>
	</author>
	<content type="html">&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;This is an automatically generated e-mail. To reply, visit:
&lt;br&gt;&lt;a href=&quot;http://reviewboard.kde.org/r/2229/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2229/&lt;/a&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;&lt;br&gt;Review request for KOffice.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Summary
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;Added KisGraphWalker.
&lt;br&gt;&lt;br&gt;It walks through the graph and visits every node in a bottom-up way. It provides essential options for caching projection and for collecting node's properties in a reversed (top-down) way. It will be used in calculation of need/change rects for nodes.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Diffs
&lt;br&gt;-----
&lt;br&gt;&lt;br&gt;&amp;nbsp; trunk/koffice/krita/image/CMakeLists.txt 1045641 
&lt;br&gt;&amp;nbsp; trunk/koffice/krita/image/kis_graph_walker.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/krita/image/kis_graph_walker.cc PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/krita/image/tests/CMakeLists.txt 1045627 
&lt;br&gt;&amp;nbsp; trunk/koffice/krita/image/tests/kis_graph_walker_test.h PRE-CREATION 
&lt;br&gt;&amp;nbsp; trunk/koffice/krita/image/tests/kis_graph_walker_test.cpp PRE-CREATION 
&lt;br&gt;&lt;br&gt;Diff: &lt;a href=&quot;http://reviewboard.kde.org/r/2229/diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://reviewboard.kde.org/r/2229/diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Testing
&lt;br&gt;-------
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Dmitry
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26442984&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Review-Request%3A-A-graph-walker---base-class-for-merging-tp26442984p26442984.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26440380</id>
	<title>xml:id preservation and RDF metadata support for ODF</title>
	<published>2009-11-20T00:27:50Z</published>
	<updated>2009-11-20T00:27:50Z</updated>
	<author>
		<name>monkeyiq</name>
	</author>
	<content type="html">Abstract:
&lt;br&gt;&amp;nbsp; The non-RDF question is about preserving xml:id on ODF across
&lt;br&gt;load/save cycles.
&lt;br&gt;&lt;br&gt;Hi,
&lt;br&gt;&amp;nbsp; I'm adding support for loading and saving RDF metadata in ODF
&lt;br&gt;documents for kword. Of course, other ODF like documents like
&lt;br&gt;spreadsheets which support RDF can also be added to the KOffice suite,
&lt;br&gt;I've tried to make what I've done generic so it can be expanded as such.
&lt;br&gt;I'm focusing on kword right now.
&lt;br&gt;&lt;br&gt;&amp;nbsp; I've mostly got external manifest.rdf based metadata working, but I'm
&lt;br&gt;having a few problems with so called inline RDF. From the ODF
&lt;br&gt;specification, inline RDF follows a slightly askew subset of RDFa. This
&lt;br&gt;means that one can have xhtml:about, xhtml:property and xhtml:content
&lt;br&gt;associated with an XML node and these are used to generate an RDF triple
&lt;br&gt;during loading. I mostly have loading of such metadata working, with a
&lt;br&gt;few little corner cases to address.
&lt;br&gt;&lt;br&gt;&amp;nbsp; The two problems I have found is that KOffice discards xml:id
&lt;br&gt;attributes during load and that I need to track the node that inline RDF
&lt;br&gt;gets generated from in order to store it back properly on document save.
&lt;br&gt;These problems are somewhat intermixed because if xml:id's can be saved
&lt;br&gt;for input documents, then saving the xhtml:about etc could also be done
&lt;br&gt;in the same code.
&lt;br&gt;&lt;br&gt;&amp;nbsp; I thought I'd ask advise from the list because adding xml:id support
&lt;br&gt;seems like a fairly intrusive change, and those currently more familiar
&lt;br&gt;with the codebase might have some ideas as to how to best support it.
&lt;br&gt;The xhtml:about attribute can appear on many XML elements including
&lt;br&gt;text:p.
&lt;br&gt;&lt;br&gt;From my investigations, the pertinent code is in the class KoTextLoader.
&lt;br&gt;Looking at KoTextLoader::loadParagraph() if there is a style applied
&lt;br&gt;then KoParagraphStyle is used, then loadSpan() is called and, if the
&lt;br&gt;text:p has no style and only a text child node cursor.insertText() is
&lt;br&gt;called. This means there are many choices for where to store an xml:id
&lt;br&gt;for the text:p, but none of them straightforward.
&lt;br&gt;&lt;br&gt;Looking at other elements, it seems that KoInline, KoShape for example
&lt;br&gt;would also need some augmentation to store an xml:id if one was supplied
&lt;br&gt;in the input ODF file so that the xml:id can be preserved on save.
&lt;br&gt;&lt;br&gt;I look forward to any thoughts or preferences on how the koffice hackers
&lt;br&gt;would like to see the xml:id support added...
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26440380&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26440380/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/xml%3Aid-preservation-and-RDF-metadata-support-for-ODF-tp26440380p26440380.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26425343</id>
	<title>Re: koffice/libs/flake</title>
	<published>2009-11-19T04:26:12Z</published>
	<updated>2009-11-19T04:26:12Z</updated>
	<author>
		<name>Thorsten Zachmann</name>
	</author>
	<content type="html">On Thursday 19 November 2009 13:17:34 Thorsten Zachmann wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; Notice also that the unit test seems to fail with an assert;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.koffice.org/testresults/status.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.koffice.org/testresults/status.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Strange. Works on my machine without problems.
&lt;br&gt;&lt;br&gt;Fixed by committing the missing file.
&lt;br&gt;&lt;br&gt;Thorsten
&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26425343&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/koffice-libs-flake-tp26356599p26425343.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26425258</id>
	<title>Re: koffice/libs/flake</title>
	<published>2009-11-19T04:17:34Z</published>
	<updated>2009-11-19T04:17:34Z</updated>
	<author>
		<name>Thorsten Zachmann</name>
	</author>
	<content type="html">On Thursday 19 November 2009 13:01:05 Thomas Zander wrote:
&lt;br&gt;&amp;gt; On Thursday 19. November 2009 06.56.02 Thorsten Zachmann wrote:
&lt;br&gt;&amp;gt; &amp;gt; Can this be backported?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Maybe its a good idea to first fix the issues we identified in this thread
&lt;br&gt;&amp;gt; &amp;nbsp;before backporting to a stable branch :)
&lt;br&gt;&lt;br&gt;And what should the issues be?
&lt;br&gt;&lt;br&gt;&amp;gt; Notice also that the unit test seems to fail with an assert;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.koffice.org/testresults/status.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.koffice.org/testresults/status.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;Strange. Works on my machine without problems.
&lt;br&gt;&lt;br&gt;Thorsten
&lt;br&gt;_______________________________________________
&lt;br&gt;koffice-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26425258&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;koffice-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://mail.kde.org/mailman/listinfo/koffice-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://mail.kde.org/mailman/listinfo/koffice-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/koffice-devel-f6403.html&quot; embed=&quot;fixTarget[6403]&quot; target=&quot;_top&quot; &gt;koffice-devel&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/koffice-libs-flake-tp26356599p26425258.html" />
</entry>

</feed>
