Peter Karlström
2006-09-19 13:31:01 UTC
Hi
I'm developing a COM-Addin for Word as a part of a integration to a system
for document management.
It is a rich and database-dependent Addin which creates and maintains
documents using specialized toolbar functions.
We have a problem:
One of the objects is to fully create pageheaders/footings for the first
page and a different ones for the following pages.
When a new document is created we check if the document consists of 1 or
more pages. If there is only one page, a pagebreak is inserted in order to
create the correct pageheader (and foot) for page 2 and forward.
The problem is that when we create a new "template" the document refuses to
accept different pageheadings/footings than the first one. There seem to be
some sort of property in our original template that works OK, but in new
templates it just doesn't work.
An "easy" but unproffessional approach would be to tell the customer to use
the OK template and copy it for creating new ones, but this is not the
solution we want to deliver.
Does anybody know what this setting is and how to change it?
Thanks in advance
Regards
Peter Karlström
Midrange AB, Sweden
I'm developing a COM-Addin for Word as a part of a integration to a system
for document management.
It is a rich and database-dependent Addin which creates and maintains
documents using specialized toolbar functions.
We have a problem:
One of the objects is to fully create pageheaders/footings for the first
page and a different ones for the following pages.
When a new document is created we check if the document consists of 1 or
more pages. If there is only one page, a pagebreak is inserted in order to
create the correct pageheader (and foot) for page 2 and forward.
The problem is that when we create a new "template" the document refuses to
accept different pageheadings/footings than the first one. There seem to be
some sort of property in our original template that works OK, but in new
templates it just doesn't work.
An "easy" but unproffessional approach would be to tell the customer to use
the OK template and copy it for creating new ones, but this is not the
solution we want to deliver.
Does anybody know what this setting is and how to change it?
Thanks in advance
Regards
Peter Karlström
Midrange AB, Sweden
--
Peter Karlström
Midrange AB
Sweden
Peter Karlström
Midrange AB
Sweden