On Tue, 02 Feb 2010 09:11:35 +0100,
"Frank Schoenheit, Sun Microsystems Germany" <frank.schoenh...@sun.com> wrote:

> Hi Seb,
>> I eventually found the zoom slider, not in Base, but in Writer.
>> Oddly enough after I manipulated the slider in Writer, closed Writer
>> entirely and then start Base again, then my forms and everything is
>> back to using the zoom setting I set in Writer.

> Well, Drew already explained this. Not the luckiest behavior,
> admittedly. (I fear I won't get the Writer guys to give this enough
> priority, and I'll have to fiddle with the Writer code myself one day,
> to fix it.)

>> How can I activate the zoom slider in Base too?  It seems to be
>> missing altogether there.  I'm using the Debian Sid
>> openoffice.org-base package (1:3.2.0~rc4-1).

> Chances are you re-used your user settings from OOo 3.1. The zoom
> slide is part of the UI configuration, which might be overruled by
> your re-used settings from 3.1, which did not yet contain the slider.

> For manually adding it: Somewhere in your user profile, there's a
> ".../modules/swform/statusbar/statusbar.xml" file. Find it, and add
> the following before the closing </statusbar:statusbar> tag:

>  <statusbar:statusbaritem xlink:href=".uno:ZoomSlider"
> statusbar:align="center" statusbar:ownerdraw="true"
> statusbar:width="130" statusbar:helpid="helpid:11065"/>
> <statusbar:statusbaritem xlink:href=".uno:Zoom"
> statusbar:align="center" statusbar:width="35"
> statusbar:helpid="helpid:10000"/>

> If you do not find the file (which would falsify my assumption from
> above), try finding it in your installation, and modify it.

OK, I located that file as
/usr/lib/openoffice/basis3.1/share/config/soffice.cfg/modules/swform/statusbar/statusbar.xml
which made me wonder whether I'm using 3.2 at all.  In fact, when I do
Help -> About I get: "OpenOffice.org 3.1.1", so perhaps the version
numbering in Debian does not follow the upstream scheme.  At any rate, I
found a directory in my user profile:
~/.openoffice.org/3/user/config/soffice.cfg/modules/swform/statusbar/ but
it was empty.  The contents of
/usr/lib/openoffice/basis3.1/share/config/soffice.cfg/modules/swform/statusbar/statusbar.xml
are:

---<--------------------cut here---------------start------------------->---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE statusbar:statusbar PUBLIC "-//OpenOffice.org//DTD OfficeDocument 
1.0//EN" "statusbar.dtd">
<statusbar:statusbar xmlns:statusbar="http://openoffice.org/2001/statusbar"; 
xmlns:xlink="http://www.w3.org/1999/xlink";>
 <statusbar:statusbaritem xlink:href=".uno:StatePageNumber" 
statusbar:align="left" statusbar:autosize="true" statusbar:width="54" 
statusbar:helpid="helpid:21181"/>
 <statusbar:statusbaritem xlink:href=".uno:PageStyleName" 
statusbar:align="left" statusbar:autosize="true" statusbar:width="79" 
statusbar:helpid="helpid:21182"/>
 <statusbar:statusbaritem xlink:href=".uno:Zoom" statusbar:align="center" 
statusbar:width="35" statusbar:helpid="helpid:10000"/>
 <statusbar:statusbaritem xlink:href=".uno:InsertMode" statusbar:align="center" 
statusbar:width="37" statusbar:helpid="helpid:10221"/>
 <statusbar:statusbaritem xlink:href=".uno:SelectionMode" 
statusbar:align="center" statusbar:width="30" statusbar:helpid="helpid:21185"/>
 <statusbar:statusbaritem xlink:href=".uno:ExecHyperlinks" 
statusbar:align="center" statusbar:width="22" statusbar:helpid="helpid:21186"/>
 <statusbar:statusbaritem xlink:href=".uno:ModifiedStatus" 
statusbar:align="center" statusbar:ownerdraw="true" statusbar:width="9" 
statusbar:helpid="helpid:5584"/>
 <statusbar:statusbaritem xlink:href=".uno:Signature" statusbar:align="center" 
statusbar:ownerdraw="true" statusbar:width="16" statusbar:helpid="helpid:5699"/>
 <statusbar:statusbaritem xlink:href=".uno:Size" statusbar:align="left" 
statusbar:autosize="true" statusbar:ownerdraw="true" statusbar:width="129" 
statusbar:helpid="helpid:10224"/>
</statusbar:statusbar>
---<--------------------cut here---------------end--------------------->---

So I created
~/.openoffice.org/3/user/config/soffice.cfg/modules/swform/statusbar/statusbar.xml
as a copy of the system-wide file and inserted the code you suggested
before the last closing tag (</statusbar:statusbar>).  This didn't make
the OOo Base forms display the zoom slider.  So I guess the zooming
functionality is available in 3.1.1, just not the slider.  

I found a post suggesting the use of the keyboard shortcut CTRL
mouse-roller which does give control over the zooming in the forms.

Thanks to both of you for the helpful hints!

-- 
Seb


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@dba.openoffice.org
For additional commands, e-mail: users-h...@dba.openoffice.org

Reply via email to