Summary: | hatch background does not support all features in odf | ||
---|---|---|---|
Product: | [Applications] calligracommon | Reporter: | Lassi Nieminen <lassi.ta.nieminen> |
Component: | flake | Assignee: | Calligra Bugs <calligra-bugs-null> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | halla, swathi.vegesna999, t.zachmann |
Priority: | NOR | ||
Version: | 2.4.0 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | All | ||
Latest Commit: | http://commits.kde.org/calligra/0f67c281e51a30693d5994fa2db6f890a421d6bc | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
Open Office document to be open in Kpresenter
Screenshot of the document in Open Office Presenter Screenshot of the document in Kpresenter |
Description
David Faure
2010-12-17 19:41:15 UTC
Stage bug. I'm not sure about not correct -- the pattern looks different in Stage, that's true. But then, the thumbnail is different again. The background is a draw:hatch which is handled by the KoColorBackground in flake so moving back to flake. Currently the draw:distance is not implemented which leaves to different levels of color in OO/LO compared to Calligra. The distance might be simulated by using a scale value of the painter as done in the pattern background. Git commit 0f67c281e51a30693d5994fa2db6f890a421d6bc by Thorsten Zachmann. Committed on 01/09/2012 at 16:14. Pushed by zachmann into branch 'master'. Implement hatch background as defined in odf. With this patch the different styles, freely defined angles and distance between the lines of the hatch is supported. This patch also changes the KoColorBackground to also use the d pointer of the parent which reduces the memory needed for a KoColorBackground. REVIEW: 106115 Related: bug 298708 M +1 -0 libs/flake/CMakeLists.txt M +14 -13 libs/flake/KoColorBackground.cpp M +5 -2 libs/flake/KoColorBackground.h A +40 -0 libs/flake/KoColorBackground_p.h [License: LGPL (v2+)] A +233 -0 libs/flake/KoHatchBackground.cpp [License: LGPL (v2+)] C +26 -30 libs/flake/KoHatchBackground.h [from: libs/flake/KoColorBackground.h - 051% similarity] M +7 -2 libs/flake/KoShape.cpp http://commits.kde.org/calligra/0f67c281e51a30693d5994fa2db6f890a421d6bc Verified in git commit ad0416095c417a8cfa55306ea8959ac0ef4460bb. |