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

  • Home
  • SEARCH
  • 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 8657247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T15:28:31+00:00 2026-06-12T15:28:31+00:00

I am generating a Word document using the OpenXml SDK 2.0 and everything in

  • 0

I am generating a Word document using the OpenXml SDK 2.0 and everything in that respect is fine. The document has a lot of tables with multi-row table headers and everything looks exactly the way it should.

I am passing this document through the word automation service in Sharepoint 2010 Enterprise and the service returns a converted file. Sometimes the file format is the same as the input format (Docx->Docx) as I use the service to refresh the table of contents, but most conversions are to PDF.

My problem is that the document returned does not contain the same headers as the source document. If I look at the OpenXml of the document, the rows do not have the TableHeader property but they do in the source.

Has anyone experienced this before? What can I do to fix this as I can find very little about WAS and how it works. We have invested a fair bit of time into developing this and do not want to have to resort to a third party component.

  • 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-12T15:28:33+00:00Added an answer on June 12, 2026 at 3:28 pm

    This is actually a defect in Word Automation Services and how it handles multi-row headers. I got around the issue by explicitly setting the colours in the header rows so that they look like headers, but are not.

    This means that if the table spans across multiple pages then the header won’t be repeated, but it’s the lesser of two evils.

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

Sidebar

Related Questions

I have a library that generates Word documents using the OpenXML SDK, one of
I am using below code to generate word document using assp.net/c#.net, please tell me
I have a Word .DOCument that's being generated by a (classic ASP) server. It's
I need a way of generating a word document (from a template or something)
I'm using Rave to generate reports, but it's poor at generating Word docs. My
Not sure if the title makes sense sorry... basically I'm generating Word documents that
We have a software that is using an old dll for generating licence key.
I'm using openxml to create Word DOCX files. I'd like to save these documents
I am programmatically generating Office Documents (in my case Word or Excel 2007) using
I'm generating a word document with PHP (HTML with ms-word header), is there a

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.