https://bugs.documentfoundation.org/show_bug.cgi?id=92887

            Bug ID: 92887
           Summary: UNO IDL ZoomValue throws exception
           Product: LibreOffice
           Version: 4.4.4.3 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: major
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

I am writing a program which set the custom Zoom. 

A try to set the zoom like this

var p = (XViewSettingsSupplier)xCurrDocument.getCurrentController();

var val = p.getViewSettings().getPropertySetInfo().getProperties();

p.getViewSettings().setPropertyValue("ZoomType", new
uno.Any(DocumentZoomType.BY_VALUE));

p.getViewSettings().setPropertyValue("ZoomValue", new uno.Any(50));

it throws an exception with empty stack trace.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to