adding lines at and- sub ,libreoffice basic [closed]

asked 2014-06-13 17:33:13 +0200

altair gravatar image

updated 2014-06-13 18:32:26 +0200

Hello! I had that code:

Sub k
    oParEnum = ThisComponent.getText.createEnumeration 
    Do While oParEnum.hasMoreElements()

       oPar = oParEnum.nextElement()
       print oPar.getString

    Loop

End Sub

This code is ment to write paragrapg by paragraph from the text in writer. But if we hava a many lines song in writer, it writes line by line at the beginning, then it writes more lines at the end of the text TOGETHER.

P.s. how to get the code written in particular lines?

Please, what is the cause? WHat should I do, to get THE WHOLE TEXT written line by line

Many thanks!!!

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2016-02-25 10:35:05.140899

Comments

Karolus, got it.

altair gravatar imagealtair ( 2014-06-13 18:32:41 +0200 )edit