You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Older versions of noa-libre used to come with bootstrapsocketconnector ( jar w/ couple of methods for creating a socket connection to *Office), which allowed passing custom command line arguments to bootstrapped instance of *Office.
bootstrapsocketconnector has been replaced by functionality from Libreoffice core javaunohelper Bootstrap class, however the ability to pass custom arguments has been lost in the process.
This task is about restoring the feature. See this and this commit and the code removed therein for where to start.
In LocalOfficeConnectionGhost class, if officeArguments member variable is non-null and non-empty, you will need to call the overloaded version of bootstrap method (from com.sun.star.comp.helper.Bootstrap class), the one that takes the array of strings as an argument
In IOfficeApplication class, I'd be nice to comment/document how the users can set their APPLICATION_ARGUMENTS_KEY variable (i.e. that they have to use getDefaultOptions method from com.sun.star.comp.helper.Boostrap class, add/remove options from its return value and then convert it back to array of strings)
The text was updated successfully, but these errors were encountered:
This is a regression in noa-libre 3.0.
Older versions of noa-libre used to come with bootstrapsocketconnector ( jar w/ couple of methods for creating a socket connection to *Office), which allowed passing custom command line arguments to bootstrapped instance of *Office.
bootstrapsocketconnector has been replaced by functionality from Libreoffice core javaunohelper Bootstrap class, however the ability to pass custom arguments has been lost in the process.
This task is about restoring the feature. See this and this commit and the code removed therein for where to start.
In LocalOfficeConnectionGhost class, if officeArguments member variable is non-null and non-empty, you will need to call the overloaded version of bootstrap method (from com.sun.star.comp.helper.Bootstrap class), the one that takes the array of strings as an argument
In IOfficeApplication class, I'd be nice to comment/document how the users can set their APPLICATION_ARGUMENTS_KEY variable (i.e. that they have to use getDefaultOptions method from com.sun.star.comp.helper.Boostrap class, add/remove options from its return value and then convert it back to array of strings)
The text was updated successfully, but these errors were encountered: