Issue 5467 - Misleading information about the StarOffice 5.2 SDK
Summary: Misleading information about the StarOffice 5.2 SDK
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows 98
: P3 Trivial
Target Milestone: ---
Assignee: ooo
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-31 22:57 UTC by Unknown
Modified: 2013-02-24 21:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-05-31 22:57:28 UTC
I have been trying to get the examples in the StarOffice 5.2 SDK to work with 
the above version of OpenOffice (SCalc.java). I'm not sure if it has something 
to do with my configuration but several components that I thought were 
implemented already come as being not found when I compile this example.

The only reason that I have posted this issue is because I have spent a 
considerable amount of time trying to get it to work, researching the compile 
errors, and figuring out who to contact about this issue. My impression from 
the beginning up until now is that you could run these examples with the latest 
version of java and openoffice.

Sorry to have bothered anyone if this is not the right place to post this issue.
Comment 1 ooo 2002-06-05 08:24:25 UTC
I do not understand the problem. Please state with which example of
the SO 5.2 SDK there is a problem.
Comment 2 Unknown 2002-06-05 14:26:50 UTC
Here is the information that should explain the problem better:

I am trying to compile the file SCalc.java or even better yet, run 
the precompiled file SCalc.class and I get the following errors...

(Windows 98 MS-DOS)
c:\[openoffice.org-file-structure]> javac SCalc.java
SCalc.java:307: Method addFactories(java.lang.String[]) not found in 
class com.sun.star.comp.servicemanager.ServiceManager. 
serviceManager.addFactories( neededServices );
                           ^
SCalc.java:322: Incompatible type for method. Can't convert 
java.lang.Class to com.sun.star.uno.Type.Object rInitialObject = 
iBridge.mapInterfaceFrom( rootOid, XInterface.class );
                                             ^
SCalc.java:377: Exception com.sun.star.lang.IndexOutOfBoundsException 
must be caught, or it must be declared in the throws clause of this 
method. XCell oCell = TT1.getCellByPosition(CellX, CellY);
                                           ^
c:\[openoffice.org-file-structure]> java SCalc
getting MultiServiceFactory
Exception in thread "main" java.lang.NoSuchMethodError
        at SCalc.connect(SCalc.java:310)
        at SCalc.main(SCalc.java:82)


Well, that seems like a lot to put on one of these forums. If you are 
wondering where I got these files, when I downloaded the SDK, they 
fell under ..\staroffice_sdk\addon\java\samples\*.

I was under the impression that they would work, but at the moment 
they do not with my current configuration. I must admit that I am not 
quite sure that I know what I am talking about but I think that I 
know how to compile a file. Sorry if this is a pointless problem.
Comment 3 ooo 2003-01-08 11:20:55 UTC
The SDK for OOo 1.0.1 is coming out these days.  We cannot support the
SDK for 5.2 anymore, at least not on OOo.