Hi Ariel, On 13.07.2010 22:19, Ariel Constenla-Haile wrote: > Hello Rony, > > On Tuesday 13 July 2010, 14:52, Rony G. Flatscher wrote: > >> The script that I have been trying to tidy up already opened >> (loadComponentFromurl) the impress component with a PropertyValue of >> ("IsPrintHandout", true), which had no visual effect on the displayed >> document. >> > you were in the wrong way: these settings are not in the document's main > settings (querying css.beans.XPropertySet on the document's model), not in > the > printer settings, not in the MediaDescriptor when loading the document. > > As explained in > http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Drawings/Settings > you must instantiate the com.sun.star.document.Settings at the document's > factory. > Totally overlooked that one!
And thanks to your nice example I was able to duplicate your code into my sample, thank you *very much* again! Incredible, how you researched and were able to come up with an example demonstrating the necessary code to define and set those properties! Unfortunately, in the end I was not able to achieve the desired result: printing a presentation as handouts and having six slides on one page. It stiill prints each slide in full on each page... :( Regards, ---rony --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org