Adriam, Miklos
indeed "insertstring" do not works when inserting text in a "tablecell"
we need to use "setstring" instead
code below shows how we need to now if we insert in a cell or in a textFrame
if not isEmpty(oVC.Cell) then
oVC.cell.setstring(BMname) ' insertstring do not works here
endif
if isEmpty(oVC.TextFrame) and isEmpty(oVC.Cell) then
oVc.gotostart(true)'alle tekst geselecteerd
oVc.text.InsertString(oVC,BMname,True)
endif
hope it helps
Fernand
On Fri, Dec 06, 2013 at 04:21:16PM -0500, Adriam Delgado Rivero
<adriv...@uci.cu> wrote:
I'm watching the example
http://api.libreoffice.org/examples/java/Text/SWriter.java , and insertString
method does not work. This happens only with libreoffice 4. Works on
libreoffice 3.6, anyone knows passes, took almost a month with this.
Hi,
What do you mean by "does not work" exactly? What is the error message
you get?
Miklos
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice