Exporting footnotes as text

Hello,
I’m trying to export footnotes from LO 6 as text, to be used in Scribus. I’ve seen posts suggesting to use Alt. Find & Replace - I did it, copied the text, but when I paste it, line breaks are lost.
I’d like to have the text, preserving the footnotes numbers and character formatting. I was able to paste only the footnotes (using the regular Find and replace) to a file, but as they still are footnotes, I can’t select all.
Any help?

Hello,

I have written a macro for footnotes Export, etc.

It will certainly not fullfill all your wishes, but may be a start.

Start macro in the example document via the Commandbutton and wait for what happens:

Footenote Export to Calc.odt

Best Regards

Craig

The solution by @Craig22 seems to be thoroughly considered and structured. I allso played a bit with the topic, but did it the sloppy way.

However, since I collected the footnotes in an additional page at the end of the original textdocument, it was rather easy to retain the character formatting. (The paragraph format is slightly adapted to the needs as I saw them.)

See this attached example containing the code. It also contains a setting for the document only which adds a sensitive text for calling the routine to the Standard toolbar.

The code will not work in AOO.

Hi

This is indeed a limitation, inherited from OOo, and which has more recently been the subject of a request for enhancement.

To facilitate copying you can group the notes on the same page with the command : ToolsFootnotes and EndnotesFootnotes tab▸PositionEnd of document.

Regards

Thank you very, very much for such quick and helpful replies.
Pierre-Yves, I had already done that, but it wasn’t of great help for what I wanted.
Craig22 and Lupp, many thanks. With this last macro, I was able to copy and paste the result as rtf, retaining character formatting. As I didn’t want the page numbers, I’ve removed it before, with regex (in case someone else wants the same):

\(Page: [:digit:]+\)\p

I’ve never written a macro, but when I have time, I’ll play with it to adapt to my needs. But for now, it’s working fine.