Bug 107256 - UNO commands to open new document types
Summary: UNO commands to open new document types
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: UNO-Command-New
  Show dependency treegraph
 
Reported: 2017-04-19 03:23 UTC by Yousuf Philips (jay) (retired)
Modified: 2017-04-19 18:52 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2017-04-19 03:23:04 UTC
LO has executable URL commands found within the New submenu[1] like 'private:factory/swriter' and 'private:factory/scalc', but these commands dont open in a new document window when run from within a Glade UI file, so newly created UNO commands would need to do so. Ideally these UNO commands would be named similar to the existing .uno:AddDirect, like .uno:AddSwriter or .uno:AddWriter.

These newly created commands are intended to be used in the notebookbar, but could be used elsewhere.

[1] http://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/Common.xcu#114
Comment 1 Regina Henschel 2017-04-19 08:43:36 UTC
.uno:NewPresentation already exists.
Comment 2 Yousuf Philips (jay) (retired) 2017-04-19 18:52:53 UTC
(In reply to Regina Henschel from comment #1)
> .uno:NewPresentation already exists.

Thanks. 1 down, 10 to go.