Apache OpenOffice (AOO) Bugzilla – Issue 57300
Update UCB chapter in Developers Guide
Last modified: 2023-08-10 12:41:56 UTC
In the section 14.4.1 Instantiating the UCB of the developers guide, there's a typo in the example: String[] keys = new String[2]; keys[ 0 ] = "Local"; keys[ 0 ] = "Office"; Correct is: String[] keys = new String[2]; keys[ 0 ] = "Local"; keys[ 1 ] = "Office";
Accepted.
Additionally, in other example code snippets the executeCommand helper method is used. This method returns an Object that contains an Any, but receiving code does not use UnoRuntime.queryInterface to extract and cast the value. And ... some of the varaibles in the sample java code are not initialized. And... tdoc-UCP is not mentioned in the list of available content providers. And ... COntent Info table is not complete (TDOC missing) and for FTP, wrong.
Even more, the mentioned references to UCB configuration files and listed configuration file content are no longer valid.
Andreas, please teke care of this task.
accepted
ABI->KSO: As discussed ...
.
KSO->TKR: Please take care of this issue.
tkr: We should fix/update the UCB documentation for 3.4.
retarget.
It seems that this issue has been fixed long ago: https://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Instantiating_the_UCB https://github.com/apache/openoffice/blob/trunk/main/odk/examples/java/Inspector/TDocSupplier.java#L99 Closing...