auto-generate a document based on a pre-defined template - using a custom Style. We currently copy the text (stored as HTML
in Oracle) from IE and paste it into the Word document. It pastes successfully with all formatting intact, but does not pick
up the new Style. When we change the Style, all/most of the text formatting is lost.
The text is coming from a web application (IE), using the FCKeditor (http://www.fckeditor.net/) - which provides RTF boxes
for the report's body text to be entered into and formatted (i.e. bold, italics, underline, bulleted lists, numbered lists,
indents, text justification, etc.). The RTF text is stored in Oracle as HTML. When it comes time for report generation, the
text (RTF) is copied from IE and pasted into MS Word 2003.
The text then needs to be re-styled (in MS Word 2003)
to meet an internal Document Service Department's template requirement, which is called "0". It is similar to "Normal", but
has 0 indent, Arial 11pt, and controls the spacing before and after a paragraph. The reason Doc Services created this
"Style" was that it produces the best document in the end when converted to a PDF. This is a defined process, by our
Document Service Group, we must submit in Word, and they convert (and password protect) the documents into PDF.
can successfully paste the text into Word, from IE, and it has all of its formatting intact (i.e. bold, italics, underline,
bullets, indents, justification, etc.) - and it will typically paste in as style "Normal" or "Normal(Web)". When the text is
re-styled to "0", we lose bulleting, text justification, and in some cases also the other text formatting (bold, italics,
etc.). We have tried changing the default "paste" option to paste in style=0, but we still lose bullets, center
justification, and indents. We also tried creating a style "0" in the web-based text editor in hopes that Word would
recognize the style, but we were not successful with that either (it was not recognized
Any help you could provide on how to paste in the text, re-style it to "0", and maintain all formatting
(bold, italics, underline, bullet lists, indents, justification, etc.) would be greatly appreciated.
Is it possible to copy text from IE into Word (2003), re-style in Word, and retain the formatting? Please help.