combine files

Can I combine .doc or .docx files into ONE file?

Start with a blank document and insert the files manually.

Menu item File - Insert

Note that Word and Writer objects and functionality do not always have a one-to-one correspondence, so you should expect some changes in appearance. Specifically, spacing/marginalia is handled differently (MS Office and LibreOffice subscribe to different “schools of typography”, it seems), and the content styles are structured rather differently.

If the suggested manual procedure does not apply to your situation, please give more detail. like …

  • How many files do you have?
  • How do you want to combine them (auto/manual)?
  • Do your files contain pictures, special page formatting (variable number of columns, changes between landscape and portrait layout, etc) or form fields?
  • Are the files automated (input fields, macros, conditional content)?
  • Do you use any form of protection (locked tables, password protected files)?

about 5 .docx files

If, on the other hand, you want to leave the Fi files to be inserted unchanged and create a new FMain file that collects them all dynamically, thus mirroring any subsequent changes in the original Fi files,

  1. just enclose the content of each Fi input file in a section of known name ( es Main)

  2. insert as many sections in the Main file as there are Fi files to insert

  3. dynamically associates (linking property, the first proposal when creating a new section) each section in FMain with the Main section of the corresponding Fi file

This procedure can be easily automated with a macro by supplying it with an array with the paths of each Fi

Using master documents is similar, with an advantage of being able to insert multiple child documents at once…

Yes, I know, but it’s still an extra technique to study.
For example, I have been working on LO for a year, both on applications (writer, calc, to a lesser extent base) and especially on the macro front.

And I still struggle a lot.

LO a very integrated environment, with an overall logic that is not easy to acquire, many techniques and concepts must be connected, known and consolidated

If you already know a technique, even if limited (e.g. linking for section), it may be useful to start using this to give yourself time to study the others (e.g. master documents)

It is my case, it is a problem of prioritizing oneself in deepening LO

The more solutions there are the better it is :).