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 6912857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:08:40+00:00 2026-05-27T09:08:40+00:00

SdtCell and SdtBlock in OpenXml.Wordprocessing both serialize into <w:sdt> so what is the difference?

  • 0

SdtCell and SdtBlock in OpenXml.Wordprocessing both serialize into <w:sdt> so what is the difference? I assume one is a table cell, which is what the Microsoft documentation appears to imply. The details provided are sparse at best, please clarify.

  • 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-05-27T09:08:40+00:00Added an answer on May 27, 2026 at 9:08 am

    From the MSDN pages for sdtcell and sdtblock, emphasis mine below

    The main difference is what type of content <w:sdtContent> you will have within the <w:sdt>

    SDTCELL

    This element specifies the presence of a structured document tag around a single table cell. The two child elements of this element shall be used to specify the properties and content of the current structured document tag via the sdtPr and sdtContent elements, respectively.

    [Example: Consider a structured document tag with the friendly name company that must be located around a single table cell in a WordprocessingML document. This requirement would be specified as follows in the WordprocessingML:

    <w:tr>
      <w:sdt>
        <w:sdtPr>
          <w:alias w:val="company"/>
        </w:sdtPr>
        <w:sdtContent>
          <w:tc>
          …
          </w:tc>
        </w:sdtContent>
      </w:sdt>
      …
    </w:tr>
    

    The sdt element specifies the structured document tag, the child sdtPr element contains the friendly name property set to company, and the sdtContent element contains a single table cell (it is a cell-level structured document tag).

    SDTBLOCK

    This element specifies the presence of a structured document tag around one or more block-level structures (paragraphs, tables, etc.). The two child elements of this element shall be used to specify the properties and content of the current structured document tag via the sdtPr and sdtContent elements, respectively.

    [Example: Consider a structured document tag with the friendly name address that must be located around a single paragraph in a WordprocessingML document. This requirement would be specified as follows in the WordprocessingML:

    <w:body>
      <w:sdt>
        <w:sdtPr>
          <w:alias w:val="address"/>
        </w:sdtPr>
        <w:sdtContent>
          <w:p>
          …
          </w:p>
        </w:sdtContent>
      </w:sdt>
      …
    </w:body>
    

    The sdt element specifies the structured document tag, the child sdtPr element contains the friendly name property set to address, and the sdtContent element contains a single paragraph (it is a block-level structured document tag).

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

Sidebar

Related Questions

how can I make one single cell editable out of a not editable column?
My problem is that i want to change the cell being editable or not
i'm trying to write a Sudoku solver which will return only the first possible
I am using JqGrid with javascript. I would set the height of each table
I'm trying to update a cell in jqgrid permanently upon loading. I know I
I have a Jqgrid which has datatype as local. I am loading data at
I want to set an html object to the cell in jqgrid.. i will
i have existing code that generates a spreadsheet from excel using OpenXML. It works
I'm using inline editing in my grid , I have some cases which i
I'm using jqgrid. I need to set background color of the cell based on

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.