dotnet / dotnet/Open-XML-SDK

I use AddAlternativeFormatImportPart attach document thet contains list numbering,the list numbering is malformed in office 365, and fine in office 2019.Bug with Open XML SDK

Open
#1,262 1 comment 0 reactions 0 assignees View on GitHub
more-information-needed
Dominant language
C#
Stars
4.6k
Forks
605
PR merge metrics
No merged PRs in 30d

Description

I use AddAlternativeFormatImportPart
attach document thet contains list numbering,the list numbering is malformed in office 365, and fine in office 2019.,

Information

.NET Target: .NET Framework 4.6.2
DocumentFormat.OpenXml Version: 2.17.1

Repro:
Create 2 word documents "Template.docx" and "ExampleAttachment.docx". Insert a list numbering in ExampleAttachment.
image

Observed :
Open the file in Word Office 365:
image
open the file in Word Office 2019:
image

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with Template.docx and ExampleAttachment.docx using AddAlternativeFormatImportPart on .NET Framework 4.6.2 and DocumentFormat.OpenXml 2.17.1. Compare the list numbering in Office 365 and Office 2019; done means the attached document retains correct numbering in both versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.