08-27-2015 05:55 AM
Hi,
I'm trying to figure out if is it possible to generate a .docx document, or modify a docx/docm without having MS Office installed.
Does exist a pure G lang library which create docx documents?
Thanks.
Solved! Go to Solution.
08-27-2015 06:22 AM
.docx is a pretty complicated XML-based file format, I very much doubt that there's a native LabVIEW implementation for it anywhere. You may be able to do some simple find/replace on strings inside the XML or try to use xml parsing tools to find/replace what you need - try opening it up with something like Notepad and see what you can do.
08-27-2015 08:58 AM
Just to clarify Sam's response (for those that don't know), if you rename the .docx file to .zip, you can open it up and see all of the XML files that are used to create a document. Good luck trying to create one of these from scratch.
08-27-2015 11:36 AM
@aethon wrote:
Hi,
I'm trying to figure out if is it possible to generate a .docx document, or modify a docx/docm without having MS Office installed.
Does exist a pure G lang library which create docx documents?
Thanks.
Certainly you CAN, the ECMA-376, ISO/IEC 29500 standard is an open format. How many developer hours do you have available to implement this and are they cheaper than the MS Sowftware licenses you need?
(Hint:) only if you need about 10,000 licenses and have a few years to wait)
08-27-2015
02:07 PM
- last edited on
04-26-2025
09:32 PM
by
Content Cleaner
Depending on your version of LabVIEW you may have the Report Generation Toolkit which can create and modify .docx files
08-27-2015 02:26 PM
08-27-2015
02:28 PM
- last edited on
04-26-2025
09:32 PM
by
Content Cleaner
@BartC wrote:
Depending on your version of LabVIEW you may have the Report Generation Toolkit which can create and modify .docx files
If I am not mistaken, those VI's don't work unless you have Word or Excel installed.
08-27-2015 02:29 PM
Sorry, misspoke, your license type. Professional, Debug, Educational, etc.
08-27-2015
02:31 PM
- last edited on
04-26-2025
09:32 PM
by
Content Cleaner
https://www.ni.com/pdf/manuals/375405a.html
In addition to the system requirements for the LabVIEW Development System, the 32-bit version of Report Generation Toolkit for Microsoft Office has the following requirements:
08-27-2015 02:31 PM