[Libreoffice] issue with Borderline structure

Dietmar dhiller1 at gmx.de
Mon Feb 7 12:22:50 PST 2011


I am having an issue with my extension Borderliner written in Java. It
works fine with Oracle OOo, but does not with Go-OO and LO.

It generates the bug IllegalArgumentException:

>> com.sun.star.lang.IllegalArgumentException:
>> 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:175)
>> at $Proxy6.setPropertyValue(Unknown Source)
>> at
name.dhiller.jBorderLiner.Borders.SetBordersSingleCell(Borders.java:400)
>> at
name.dhiller.jBorderLiner.Borders.SetBordersCellRange(Borders.java:367)
>> at name.dhiller.jBorderLiner.Borders.SetBordersCell(Borders.java:319)
>> at name.dhiller.jBorderLiner.Borders.DoBorders(Borders.java:70)
>> at
name.dhiller.jBorderLiner.BLKeyHandlerImpl.keyPressed(BLKeyHandlerImpl.java:53)

so basically at 
   xTableProps.setPropertyValue("BottomBorder", sBorderline);

As I learnt form the api.openoffice.org list,
[http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=23175 ] "the
API using the Borderline Structure is broken in LO".

Tested on
- Debian OOo 3.2.1 (so Go-oo) <- fails (both with OpenJDK 6 and "Sun"
Java 6)
- Ubuntu and LO 3.3 <- fails
- Vista and Oracle OOo 3.3 <- works

I'd appreciate some help to make this extension work with LO.
- What was changed in LO API in der Borderline Structure?
- How do I have to address the Borderline now withing LO?
- Pointing me to the documentation is sufficient

Alternatively, I can provide support for making the Borderline Structure
work again.

Thanks
    Dietmar

-- 
http://extensions.services.openoffice.org/en/project/BorderLiner



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110207/cfbca186/attachment.htm>


More information about the LibreOffice mailing list