Forum > Windows

[solved] "documents" - how to grab?

(1/1)

Nicole:
How do I get the path "documents" (in German "Eigene Dateien) of the user under Windows 10?

rvk:
See https://forum.lazarus.freepascal.org/index.php?topic=35841.0

(PS. The forum also has a search function)

Nicole:
Thank you so much.
I could not imagine, how easy it seems to be (in Delphi it was an ugly bundle).

btw, before I post again something "old" to "easy to be find".
I could not find, how to open an odt-file.
Yes, many hits in search, but not "the one" like this link above (so happy to have it).
Do you have an odt-open-link as well?
I just would need: open - search it - copy the found chapter

wp:
AFAIK we don't have a reader for odt documents, yet. There is a writer in fpvectorial, or in the fpODF package, but no reader...

All you could do is to open the ODF file by calling OpenDocument(file_name_of_the_odf_file) (in unit LCLIntf). This opens LibreOffice Writer and loads the file into it.

Navigation

[0] Message Index

Go to full version