Hi,
There are some VBA functions I can't find anywhere in OOo. Maybe
someone can help me?
- The "PrintPreview" value : With VBA, it indicates if the preview
window is open. In OOo, you can open the print preview window with
> Set dispatcher =
CreateUnoService("com.sun.star.frame.DispatchHelper")
> Call
dispatcher.executeDispatch(thiscomponent.CurrentController.frame,
".uno:PrintPreview", "", 0, args())
But I can't find a way to know if the preview window is open. Anyone an
idea ?
- The "BackgroundPrintingStatus" value : in VBA, it indicates if the
document's printing is over or not. Don't know if it exists in Writer.
- Word has a feature that enables the print preview to zoom at "fit
to page". I couldn't find that option in the Writer print preview
window. Can someone confirm this or tell me where is that function ?
(in the UI and macro)?
BTW, I found how to zoom in and out using OOBasic, just add
"dispatcher.executeDispatch(thiscomponent.CurrentController.frame,
".uno:ZoomPlus", "", 0, args())" to above code, just in case someone
needs it.
Thx
B.
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
http://mail.yahoo.fr