Hi Joseph,
as I wrote you earlier there is no such feature to surpress rendering
during API calls. Having 10,000 shapes is currently not an optimization
target for our drawing and presentation modul as it is not a valid use
case. If you need to have complex geometry you can use polygons, poly
polygons, graphic shapes or meta files.
Please state what kind of problem you like to solve with 10,000 shapes
and someone may have an idea how to approch this.
Regards,
Christian
Joseph Armbruster wrote:
I am interested in migrating a product from Microsoft Office to
OpenOffice. I am currently evaluating the performance limitations of
OpenOffice Impress as opposed to Microsoft Power Point. Do you know if
there is an efficient method of rendering several thousand shapes to an
Impress 'slide'? For example, render 10,000
com.sun.star.drawing.EllipseShapes. I have written sample code to do
this in java, however it gets bogged down in one statement, namely, when
my com.sun.star.drawing.XShapes object is being populated via add (and
the images begin rendering).
Here are two observations with questions.
1. When I render 10,000 EllipseShapes and minimize the main Impress
window, the rendering time rapdily decreases. It takes about one minute
and fifteen seconds on my machine. It would probably take an hour if I
kept the window up watched it.
?- Is there a way to pause rendering in Impress and start it after all
shapes have been generated? Otherwise stated, is there a method that can
toggle "refreshing"?
2. As the images are rendering, I noticed that the time to "add" each
additional EllipseShape to my xShapes object slightly increases as more
and more images appear on the slide.
?- Are there any pipelines within OO that could possibly avoid whatever
overhead is being incurred during this add process?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]