https://issues.apache.org/ooo/show_bug.cgi?id=119927
Priority: P3
Bug ID: 119927
Assignee: [email protected]
Summary: Aoo 3.4.0 clis dll are not backward compatible with
ooo 3.3.0, 3.2.1 and lower
Severity: major
Issue Type: DEFECT
Classification: Code
OS: All
Reporter: [email protected]
Hardware: PC
Status: CONFIRMED
Version: AOO 3.4.0
Component: code
Product: scripting
As I explained here
https://issues.apache.org/ooo/show_bug.cgi?id=117010#c32
clis of 3.2.1 are working with openoffice 3.2.1, 3.3.0, 3.4.0
But
clis of 3.4.0 are only working with openoffice 3.4.0 and they fail with lower
versions with a simple OpenFile and Hidden parameter set to true
As I haven't received any reply, will you work the backward compatibility or
will you encourage me to keep using dll of 3.2.1 ?
OpenFile():
Private Shared Sub OpenFileInternal(ByVal file As String, Optional ByVal hide
As Boolean = False)
Dim localContext As XComponentContext = Bootstrap.bootstrap()
Dim multiServiceFactory As XMultiServiceFactory =
localContext.getServiceManager()
Dim componentLoader As XComponentLoader =
CType(multiServiceFactory.createInstance("com.sun.star.frame.Desktop"),
XComponentLoader)
Dim xComp As XComponent =
componentLoader.loadComponentFromURL(PathConverter(file),
"_blank",
0,
New PropertyValue() {New PropertyValue("Hidden", -1, New Any(hide),
PropertyState.DIRECT_VALUE)})
End Sub
--
You are receiving this mail because:
You are the assignee for the bug.