Convert from InfoPath to Word - Issue w/ Bullet Points

S

steve

I have an InfoPath form with a button that converts the document to
Word (following the instructions in Ton's article
http://enterprise-solutions.swits.n...-send-email-attachment-outlook&c=infopath2003)

The problem: The InfoPath form has fields that the user's add
formatting to - usually bullet points. When the form is converted to
Word this formatting is lost. I guess the bullet points are not
simple text in the form.

Any suggestions for a solution to this problem? I don't know a lot
about XSLT, but i have a basic understanding.

thanks!

steve
 
S

S.Y.M. Wong-A-Ton

I don't think you'll be able to copy the formatting over, unless you find a
way to retrieve it from the view.xsl of the form and include it in the
generation of your Word document. Only data stored within fields can be
copied over. I might be wrong, so if you find a way to do it, please let us
know.
 
S

steve

I don't think you'll be able to copy the formatting over, unless you find a
way to retrieve it from the view.xsl of the form and include it in the
generation of your Word document. Only data stored within fields can be
copied over. I might be wrong, so if you find a way to do it, please let us
know.
---
S.Y.M. Wong-A-Ton







- Show quoted text -

thanks - that helps.

I did find this article, which i guess might be helpful (although
it's a bit involved and sketchy).

http://blogs.msdn.com/infopath/archive/2007/03/19/transforming-infopath-rich-text-to-word.aspx

I think what i'll try first is to create a Visual Basic program that
uses a Word template with a XML schema attached, which will read the
information create via Infopath from SharePoint. Should only take me
a month or so :)

seem like a reasonable plan?

steve
 
S

S.Y.M. Wong-A-Ton

Steve, I think I misunderstood your question. If users are entering text in a
rich text box, you should be able to get to that data and transform it; I've
never tried it, though. A rich text box contains XHTML data, which you'd have
to transform into WordML. I agree that the article looks complicated, but
that would be the way to go, unless doing the transformation programmatically
is easier for you.
 
S

steve

Steve, I think I misunderstood your question. If users are entering text in a
rich text box, you should be able to get to that data and transform it; I've
never tried it, though. A rich text box contains XHTML data, which you'd have
to transform into WordML. I agree that the article looks complicated, but
that would be the way to go, unless doing the transformation programmatically
is easier for you.

Just to let you know... I finally got back to this project, and was
able to get it to work using the template from the article above, plus
the information from your article. Very neat.

thanks for your help.

steve
 

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