[fpc-pascal] Directory Tree

Jean SUZINEAU jean.suzineau at wanadoo.fr
Thu Apr 22 00:21:26 CEST 2021


Another way of seeing is to generate and odt file with the generated text.

You get a slightly better rendering because I could define Courier New 
as default font in the new template: FileVirtualTree_txt_to_odt.odt

 From the OpenOffice "File" menu, you can generate a pdf file.

There is a way too, to execute LibreOffice/OpenOffice from command line 
to convert directly the odt to pdf.

I have some code for this at 
https://github.com/jsuzineau/pascal_o_r_mapping/blob/master/OOo/uOD.pas, 
in methods
- function TOD.Executable_soffice: String;
- function TOD.Format_Sortie_from_(_Nom_ODT: String): String;
-function TOD.PDF_from_(_Nom_ODT: String): String;

but it can't be used as is for the current case.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20210422/8d996d68/attachment.htm>


More information about the fpc-pascal mailing list