Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8956493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:47:55+00:00 2026-06-15T14:47:55+00:00

Using C# & OpenXML, I need to create a document. The document have series

  • 0

Using C# & OpenXML, I need to create a document. The document have series of paragraphs created under docs body. I need to make few paragraphs ready-only. To accomplish this the entire document made read-only. Edit permission to few paragraphs are provided using permStart and permEnd tags. The generated document sent to the user.

The user could edit the editable paras, could add lot of information using tables, paragraphs & could format the text using different color, font size, font type. After making these changes user sends the document back to the server, where I need to extract each editable area’s text with complete format and structure & store into a database table. Each editable area’s text goes to one column of the table. After saving all editable area’s text into their corresponding columns, the docx file discarded.

In future when user requests the same document, we need to take the stored content from db and create a document, by recreating the content with all original formatting/structure.

My question is how can we extract the paragraph with all its formatting intact and store into a database table & recreate the content in another document in future request for the same document.

I’m using OpenXML SDK 2.0, MS-Visual Studio 2010, .NET 4.0 and Win7 OS. The user will use Office 2007/2010 to edit the content.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T14:47:56+00:00Added an answer on June 15, 2026 at 2:47 pm

    Finally (few months before) I was able to extract editable paragraphs from word document using Eric White’s excellent OpenXML PowerTools OpenSource. Have a look at Eric’s DocumentBuilder samples to extract paras from doc

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently using Look&Feel for my application. I have a few problems: 1. When
i have created a demo application Using JSF & EJB 3.0 (Stateless session bean
I have a question for XML document special chars, I'm using & in on
I am using reStructuredText & rst2s5 to create S5 slide presentations. It is great
I have a site search (using Examine & Razor) that breaks if a space
I have an existing excel file on my local machine. I need to create
I have heard that people shouldn't be using & to call Perl subs, i.e:
I can encode a space using   in an HTML document. Is there an
In C++ I can make myReference be a reference of myValue by using &
I've created an web authentication app using c# & asp.net and want to bounce

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.