O
O
one__for__one2019-09-12 18:50:08
Lua
one__for__one, 2019-09-12 18:50:08

How to create doc or rtf file in Lua language?

I am making a form in cronos, there is a button on the form that unloads data from the data bank and saves it to a table in a doc or rtf file.
Tell me how easy it is to create a file with a doc or rtf extension using lua. Through com connection?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Ushakov, 2021-10-16
@Nightmare1

You need to study the structure of .doc/.rtf files and write a builder for this structure. You can look towards learning a library for serializing binary data in lua.
.doc see lua-users.org/wiki/LuaCom

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question