R
Rod Colen
I am developing an internal company software application
that executes on UNIX platforms. I need the application
to have the capability of outputting reports directly in
Microsoft Word binary format. These reports - not the
software application - are deliverables to our customers,
and must be in the Microsoft Word 97 binary file format
per customer contract requirements. Hence, some of the
solutions to this problem using current Microsoft Word
capabilities may not be applicable.
The contect specification of the generated files is fixed;
i.e., the software application will not open or edit a MS
Word binary formatted file. If the file my application
produces need further editing, the files would be
transfered to a PC compable computer and Microsoft Word
itself would be invoked.
The output file specification is to-be-determined, but
something along the lines of:
Document Properties
Definition of Styles
Heading 1
Style 1
Style 2
Style 3
Style 4
etc.
Heading 1
Text of Style "Style 1"
Table of multple Columns and Rows
Table Header in first row of Style "Style 2"
Cells of information (Differing Styles per Row
Cell)
Table Sub Header of Style "Style 3"
Cells of information (Differing Styles per
Row Cell)
Repeat Cells/Sub Header
Text of Style "Style 4"
Does anyone have an example of a Microsoft Word binary
file and the source code used to produce the file that
could be provided to me? Preferably, the source would be
portable C code.
Thanks in advance for any assistance.
that executes on UNIX platforms. I need the application
to have the capability of outputting reports directly in
Microsoft Word binary format. These reports - not the
software application - are deliverables to our customers,
and must be in the Microsoft Word 97 binary file format
per customer contract requirements. Hence, some of the
solutions to this problem using current Microsoft Word
capabilities may not be applicable.
The contect specification of the generated files is fixed;
i.e., the software application will not open or edit a MS
Word binary formatted file. If the file my application
produces need further editing, the files would be
transfered to a PC compable computer and Microsoft Word
itself would be invoked.
The output file specification is to-be-determined, but
something along the lines of:
Document Properties
Definition of Styles
Heading 1
Style 1
Style 2
Style 3
Style 4
etc.
Heading 1
Text of Style "Style 1"
Table of multple Columns and Rows
Table Header in first row of Style "Style 2"
Cells of information (Differing Styles per Row
Cell)
Table Sub Header of Style "Style 3"
Cells of information (Differing Styles per
Row Cell)
Repeat Cells/Sub Header
Text of Style "Style 4"
Does anyone have an example of a Microsoft Word binary
file and the source code used to produce the file that
could be provided to me? Preferably, the source would be
portable C code.
Thanks in advance for any assistance.