-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104873/#review13737
-----------------------------------------------------------


The odf that the draw:contour saves is invalid. The draw:points contains double 
values but only int is allowed. I guess you can multiply the values by 1000 and 
also store a the bigger viewBox to reflect that change. Another idea whould be 
to drop saving of contour-polygon completely and only support saving of 
contour-path.


libs/flake/KoShape.cpp
<http://git.reviewboard.kde.org/r/104873/#comment10910>

    This line can be removed.



libs/flake/KoShape.cpp
<http://git.reviewboard.kde.org/r/104873/#comment10911>

    This will result in invalid odf if there is more then one clipPathShape. 
This can be created e.g. in karbon and saving it to odg.


- Thorsten Zachmann


On May 6, 2012, 5:35 p.m., C. Boemann wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104873/
> -----------------------------------------------------------
> 
> (Updated May 6, 2012, 5:35 p.m.)
> 
> 
> Review request for Calligra.
> 
> 
> Description
> -------
> 
> Load and save the contour-polygon and contour-path elements.
> They are stored as KoClipPath in the engine. Previously the engine only
> had support for loading and saving KoClipPath in svg
> 
> Load and save the style frame style attributes that turn contoured text run 
> around
> (wrapping) on and off. wrap-contour and wrap-contour-mode
> 
> Use this new technology to do tight run around (simple change only requesting 
> what we already had)
> 
> This commit also adds a method to pictureshape to create a tightfitting 
> outline path of the image.
> It's tested and works, but is not used yet to create a KoClipPath out of it.
> 
> 
> Diffs
> -----
> 
>   libs/flake/KoPathShape.h d6e7cf1 
>   libs/flake/KoPathShape.cpp 1196a0b 
>   libs/flake/KoShape.h 3b2ee21 
>   libs/flake/KoShape.cpp 40c2be2 
>   libs/flake/KoShape_p.h a8ef367 
>   libs/textlayout/KoTextLayoutObstruction.cpp 9711578 
>   plugins/pictureshape/PictureShape.h 54cc813 
>   plugins/pictureshape/PictureShape.cpp e7fcd39 
> 
> Diff: http://git.reviewboard.kde.org/r/104873/diff/
> 
> 
> Testing
> -------
> 
> I've created such contour clipping in LO
> 
> loaded and seen it work in Words, and saved it back to LO where it works 
> (though we need to work around a bug in LO, workaround is there but not 
> enabled in this diff)
> 
> For the unused method in the pictre shape I had hardwired it during 
> development. I will put up a new review when I actually use the method so you 
> may ignore it for now.
> 
> 
> Thanks,
> 
> C. Boemann
> 
>

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

Reply via email to