How to change zoom from sfx2 appserv?

Tim Hardeck thardeck at suse.de
Wed May 2 05:16:21 PDT 2012


Hi,

I am working on a new zoom sub menu which should have the same
functionality as the Zoom dialog.
http://www.mail-archive.com/design@global.libreoffice.org/msg03561.html

I have added the sub menu globally so I am able to react to inputs in
sfx2/source/appl/appserv.cxx but the problem is that I am unable to pass
along the SvxZoomItem because it depends on sfx2.

Does anybody have an idea how to change the Zoom from appserv.cxx? Maybe
it is possible to use the functions of the original zoom dialog (
cui/source/dialogs/zoom.cxx )?

Otherwise I would have to add the menu to every LO app locally and
create the needed Execute points for each of them.

Regards
Tim

-- 
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix
Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
T: +49 (0) 911 74053-0  F: +49 (0) 911 74053-483
http://www.suse.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-Zoom-sub-menu-to-View.patch
Type: text/x-patch
Size: 29540 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120502/202122fc/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120502/202122fc/attachment-0001.pgp>


More information about the LibreOffice mailing list