Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Need document to open in weblayout mode however it is opening in printlayout | ||
---|---|---|---|
Product: | App Dev | Reporter: | anna.sagina |
Component: | api | Assignee: | AOO issues mailing list <issues> |
Status: | CLOSED NOT_AN_OOO_ISSUE | QA Contact: | |
Severity: | Major | ||
Priority: | P3 | CC: | rb.henschel |
Version: | 3.4.1 | Keywords: | needmoreinfo |
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
anna.sagina
2012-09-26 11:04:50 UTC
The document opens in weblayout, if it was saved in weblayout. Does that not work for you? I'm not sure, what the purpose of your code is. There is already the property "ShowOnlineLayout" in service "ViewSettings". We have embedded open office inside text editor. So while dispalying the embedded openoffice document want it to diaply in weblayout. Till OO3.3 it used to open in weblayout when we used the code mentioned above. We are usng java to call openoffice apis. How can I call the property showOnlineLayout through java. This is a support request. I'm not familiar with using Apache OpenOffice this way. Please ask on ooo-dev@incubator.apache.org or on the forum http://user.services.openoffice.org/en/forum/. Do you know the SDK and the Developer's Guide? http://wiki.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide In Basic, if the document is opened, you would use something like this (Basic has a simplified property access) dim oDocument as variant: oDocument = ThisComponent dim oController as variant: oController = oDocument.getCurrentController() dim oViewSettings as variant: oViewSettings = oController.ViewSettings oViewSettings.ShowOnlineLayout = TRUE No bug, but support request. |