To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100144
------- Additional comments from [email protected] Tue Mar 24 16:53:31 +0000 2009 ------- AW: The primitive way would be to ignore the WrongSpellPrimitive2D entries in the created primitive vector. There are several ways to do this: (1) Ignore them a paint time (2) Filter them out when primitives are fetched from xShape For (1) it would be necessary to support this in the currevt primitive renderers (e.g. by a bool flag). To get that working, a bool flag would also be needed in the ObjectContactOfObjListPainter used in the GraphicExporter. The disadvantage would be to not forget support for that flag in future primitive renderers For (2) You would need a filter which takes a sequence of primitives, returns a sequence of primitives and filters a given array of primitiveIDs. This does not exist yet, but would be a good tooling for the drawinglayer project. It would also not be too expensive since only uno references would be filtered. You also need a place to filter. There are two possibilities here, too: (a) ObjectContactOfObjListPainter also needs to have e.g. a boolean to set this. In ObjectContactOfObjListPainter::ProcessDisplay the sequence of primitives is built and then rendered. In-between those steps a filter as described could be used. (b) Another possible filtering may be done in the ImplExportCheckVisisbilityRedirector which is given to the ObjectContactOfObjListPainter in the GraphicExporter. This gets called-back for each primitive vector in ImplExportCheckVisisbilityRedirector::createRedirectedPrimitive2DSequence where the given sequence may be filtered and returned. All solutions will need some tooling for primitives, so i may be involved. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
