Menu

#24 basic runtime error when loading svg file

closed
nobody
None
1
2013-02-23
2013-02-22
Laurent
No

Shortly after clicking on "generate latex equation", a pop-up appears with the following text:
"BASIC runtime error
Object variable not set".

The problem seems to come from the following lines in TexMathTools:
oDrawDoc = StarDesktop.loadComponentFromURL( cURL, "_blank", 0, arg1() )
oDrawDocCtrl = oDrawDoc.getCurrentController()

Specifically oDrawDoc seems to be NULL after the first line. I've checked that cURL points to a valid svg file.

Let me know if it'd be useful to provide add. information.

Thanks. (great tool by the way!)

Discussion

  • Laurent

    Laurent - 2013-02-23

    Upon further investigation it looks like the problem is not with TexMaths but rather with libreoffice's "svg loader". For now instead of encoding equations into svg I use png and it works without any problems.

    I guess I may have to wait for libreoffice 4 before going back to svg...

     
  • Laurent

    Laurent - 2013-02-23
    • priority: 5 --> 1
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB