Using XSL, Dynamically generated word 2003 document is not formatt

P

Pankaj

We are developing an application in which we are generating documents in word
formats for different countries & languages. The process we are following is
to convert the sample word document into intermediate XML file and inserting
dynamic data using XSL and generate the required format.



We are facing problem in generating word document (the problem is specific
to word 2003. It is working fine with word 2007) . Actually the basic
template has footer which should be at bottom position. In order to set the
footer at bottom position we have set the “Layout†of footer as “Tightâ€. In
the same “Layout†tab in the advanced option we have set the “vertical
position†of footer as “Bottom†relative to “Page†.


Now when we are saving this word file in XML (word 2003 XML) format it is
shifting the footer at the top of the page i.e. it is not maintaining the
vertical position of footer.


Please help us in resolving the issue.
 
R

Robert M. Franz [RMF]

Hello Pankaj

Pankaj wrote:
[..]
We are facing problem in generating word document (the problem is specific
to word 2003. It is working fine with word 2007) . Actually the basic
template has footer which should be at bottom position. In order to set the
footer at bottom position we have set the “Layout†of footer as “Tightâ€. In
the same “Layout†tab in the advanced option we have set the “vertical
position†of footer as “Bottom†relative to “Page†.

Now when we are saving this word file in XML (word 2003 XML) format it is
shifting the footer at the top of the page i.e. it is not maintaining the
vertical position of footer.

a footer in Word is a special area outside of the normal body text
layer. What you describe as "Layout" settings does not apply to footers,
but to graphics, tables, or other objects. You can apply these settings
to objects _within_ a footer, though.

So, to what object are you applying these settings, and where are they
structurally in your document?

HTH
Robert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top