Hi there,

ive found the link to the second dialog design guideline document in the web which causes this problem, too.

Here you go:
http://ui.openoffice.org/knowledge/DialogSpecificationandGuidelines.odt

Greetings.
Ali Ayhan




Spencer schrieb:
Hello m8s,

its following code we are talking about (Iam using OpenOffice org 3.0 and OpenOffice API 3.0):


- Problem
Call of xViewCursorSupplier.getViewCursor() throws this exception on some conditions:

 >Exception occurred in target VM:
com.sun.star.uno.RuntimeException:
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:178)
at $Proxy35.getViewCursor(Unknown Source)
at ast.structure.ElementController.jumpToLastTable(ElementController.java:1167)
at ast.BesserWissA.dispatch(BesserWissA.java:389)
<


- Code:
XTextViewCursorSupplier xViewCursorSupplier = (XTextViewCursorSupplier)
  UnoRuntime.queryInterface(XTextViewCursorSupplier.class,
  m_aController);

XTextViewCursor XTextViewCursorSupplier =
  xViewCursorSupplier.getViewCursor();


- Study:
On "simple documents" like a new document it works correctly.
On large documents (tested with 2 documents which are linked further on) the call of "xViewCursorSupplier.getViewCursor()" throws an exception.

Links:
- http://rapidshare.com/files/239651448/MyDoc.odt
(Ive prepared this document myself, causes the exception)
- dialog_specification_and_guidelines_2001.odt, guildline for OOo
(I dont know if iam allowed to upload it to rapidshare, but upper
file causes exactly same exception)



Greets
Ali Ayhan


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to