H
Hilarion
Hi!
I looked for it in the NG archives and Googled for it
but I'm not able to find any good examples. I'm sure
that there are plenty, but still can't find good
keywords to search for.
What I'm looking for is some good tutorial and/or
samples that show how to embed MS Word window into
an application and make it:
1. A report designer, which will allow user to
create a kind of report template by placing some named
markers (fields, but not as Word form fields) probably
from application supplied list. Those markers will
be later (see point 2) used by the application, when
the report is generated using this report template,
to place the proper data using template specified
format. There will be many application defined report
types and the field list available during report
template design should contain only the fields that
are available for this report type. This mechanism
should also allow using tabular data (user can
design the table column list - a subset of columns
provided by the application for this specific table,
design headers and somehow specify the data rows
formats separately for each column), including more
than one table in one report (probably user should
somehow bind Word table with application source table).
2. A report generator, which will allow user to select
report template (designed in step 1) valid for current
report type, and the report would get generated
(a "standalone" Word document should be the result)
based on that template and application data.
It'd be nice if the tutorials and/or samples would
include a scenario when the report templates (and/or
generated report documents) are saved to (and loaded
from) application DB (eg. some application provided
stream, not a file/network source).
The application I'll try to implement it into is
written with Borland Delphi 6. The tutorial/sample
does not have to be focused on Delphi, but if it's
not then it should not use any features very specific
to the development environment and/or programming
language/platform used.
If I'm asking in a wrong newsgroup, then please
point me to the right one.
If I'm asking for something that was allready
explained here (or in some other NG), then please
point me to the right post (by giving the post
subject and/or author name and/or post date
and/or NG name).
If it can be found on the web, then I'd be grateful
for any links.
If you have your own solutions or tips and are
willing to share them, than I'll be most grateful
for any of those.
I'm aware that this subject may be complexed,
so I'd also be grateful for any resurces that will
help me achieve even some small parts of the problem
solution.
Hilarion
I looked for it in the NG archives and Googled for it
but I'm not able to find any good examples. I'm sure
that there are plenty, but still can't find good
keywords to search for.
What I'm looking for is some good tutorial and/or
samples that show how to embed MS Word window into
an application and make it:
1. A report designer, which will allow user to
create a kind of report template by placing some named
markers (fields, but not as Word form fields) probably
from application supplied list. Those markers will
be later (see point 2) used by the application, when
the report is generated using this report template,
to place the proper data using template specified
format. There will be many application defined report
types and the field list available during report
template design should contain only the fields that
are available for this report type. This mechanism
should also allow using tabular data (user can
design the table column list - a subset of columns
provided by the application for this specific table,
design headers and somehow specify the data rows
formats separately for each column), including more
than one table in one report (probably user should
somehow bind Word table with application source table).
2. A report generator, which will allow user to select
report template (designed in step 1) valid for current
report type, and the report would get generated
(a "standalone" Word document should be the result)
based on that template and application data.
It'd be nice if the tutorials and/or samples would
include a scenario when the report templates (and/or
generated report documents) are saved to (and loaded
from) application DB (eg. some application provided
stream, not a file/network source).
The application I'll try to implement it into is
written with Borland Delphi 6. The tutorial/sample
does not have to be focused on Delphi, but if it's
not then it should not use any features very specific
to the development environment and/or programming
language/platform used.
If I'm asking in a wrong newsgroup, then please
point me to the right one.
If I'm asking for something that was allready
explained here (or in some other NG), then please
point me to the right post (by giving the post
subject and/or author name and/or post date
and/or NG name).
If it can be found on the web, then I'd be grateful
for any links.
If you have your own solutions or tips and are
willing to share them, than I'll be most grateful
for any of those.
I'm aware that this subject may be complexed,
so I'd also be grateful for any resurces that will
help me achieve even some small parts of the problem
solution.
Hilarion