Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | new cmd line parameter -conversionmode to support special optimizations | ||||||
---|---|---|---|---|---|---|---|
Product: | General | Reporter: | jsc | ||||
Component: | code | Assignee: | jsc | ||||
Status: | CLOSED FIXED | QA Contact: | |||||
Severity: | Normal | ||||||
Priority: | P3 | CC: | liushenf | ||||
Version: | 4.0.0-dev | ||||||
Target Milestone: | 4.0.0 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Issue Type: | FEATURE | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
jsc
2012-08-23 11:26:40 UTC
Created attachment 79422 [details]
new cmd arg for conversion mode
add patch
Comment on attachment 79422 [details]
new cmd arg for conversion mode
hdu, can you please review
Comment on attachment 79422 [details]
new cmd arg for conversion mode
The idea and the patch make sense, as this is one step beyond the headless mode.
Additional information: 1. new cmd line option "-conversionmode". This option enables automatically "headless" mode and can be seen as an extension to that. "headless" is already an extension to "invisible". We can see if this fits together or if we have to distinguish the modes. Let it evolve and adapt it on demand. 2. cmd line help ### OpenOffice.org 3.5 350m1(Build:9610) Usage: soffice [options] [documents...] Options: -minimized keep startup bitmap minimized. -invisible no startup screen, no default document and no UI. -norestore suppress restart/restore after fatal errors. -quickstart starts the quickstart service (only available on windows and OS/2 platform) -nologo don't show startup screen. -nolockcheck don't check for remote instances using the installation -nodefault don't start with an empty document -headless like invisible but no userinteraction at all. *-conversionmode enable further optimization for document conversion,* includes enabled headless mode. -help/-h/-? show this message and exit. -writer create new text document. ... ### 3. usage in the code Similar to handling the headless mode. The Application class in vcl gets 2 new member functions. static void Application::EnableConversionMode(bool bEnableConv = true); static bool Application::IsConversionModeEnabled(); And the desktop::CommandLineArgs class get also a new member sal_Bool desktop::CommandLineArgs::IsConversionMode() const; "jsc" committed SVN revision 1383844 into trunk: #120683# add new cmd line arg -conversionmode to enavle further optimizationP... set Target Milestone to AOO 3.5.0 for PM purpose. |