Frank Schönheit - Sun Microsystems Germany wrote:
Hi Drew,
But since I'm here now - The answer to your question depends on what you
mean - if you mean the ability to set the zoom factor for a form, via
the API, will no longer exist in 3.2 then I mean it as "not great IMO".
No. In 3.2, you will be able to use View/Zoom, as well as the Zoom
Slider in the status bar, in forms.
The API is completely unaffected.
What you still will not be able to do is to change the zoom of text
documents and forms independently: If you change a text doc zoom, and
close it, the next form will also open with this zoom. (Or however the
inter-document dependency of the zoom setting is defined exactly. For my
taste, there's too much magic involved, it doesn't behave like expected
in 20% or so of all cases ...)
Fine - the pragmatic view then for my purposes - all that means is that
I need to be sure and set the zoom factor in the Activate Document event
for all of my forms.
Example:
In OOoBasic:
sub setNormalZoom
with thisComponent.CurrentController.ViewSettings
.ZoomType = com.sun.star.view.DocumentZoomType.BY_VALUE
.ZoomValue = 100
end with
end sub
to set the form to 100% for the current display.
That works for forms opened under 3.x and 2.4.1 I believe.
In design mode it only works only under 3.1 or greater - but does not
cause an error message of any kind under the older versions..
Thanks
Drew
--
OpenOffice.org User Community Forums
Connecting users around the globe!
Community forum http://user.services.openoffice.org/en
Communauté francophone http://user.services.openoffice.org/fr
Közösségi fórum http://user.services.openoffice.org/hu
コミュニティーフォーラム http://user.services.openoffice.org/ja
United States PostgreSQL Association: http://www.postgresql.us/