• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

MS Word Tomfoolery

Explorer ,
Dec 26, 2007 Dec 26, 2007

Copy link to clipboard

Copied

I need to create msword docs from Coldfusion with portions of the word docs "protected". Anyone have any idea if this is even possible. I can generate the word docs fine with cfcontent, but I have no idea how to "protect" portions of the docs. Anyone?

As an aside I have/had no choice in the decision to deliver these as a word docs.

Thanks!
TOPICS
Advanced techniques

Views

485

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Dec 26, 2007 Dec 26, 2007

Copy link to clipboard

Copied

How are you creating the Word documents (XML, Apache POI - HWPF, other)?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 27, 2007 Dec 27, 2007

Copy link to clipboard

Copied

They are created using the cfcontent tag.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 27, 2007 Dec 27, 2007

Copy link to clipboard

Copied

LATEST
> They are created using the cfcontent tag.

This does NOT create a Word file, it simply tells the browser to treat the
data it receves it as if is (instead of treating it like default
TEXT/HTML). It'll just be plain text unless you are specifically creating
a Word-doc-format file (be it native format, or Word-flavoured-XML).

And to use features of the Word doc format, you will *need* to create an
actual Word doc file. Best you check the Microsoft site for how do do this
programmatically.

--
Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation