apache / apache/poi

Problem in PPTX file edit

Open
#987 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
844
Avg merge
5h 52m
Merged PRs (30d)
47

Description

hello everyone ,
find a problem in pptx file editing.

pom dependencies as following:

```

org.apache.poi
poi
5.5.1


org.apache.poi
poi-ooxml
5.5.1


org.apache.poi
poi-ooxml-full
5.5.1


org.apache.poi
poi-scratchpad
5.5.1

```

Microsoft Office 365 version :2511(19426.20218)

when i use following code to copy a slide from template pptx to a target one, 'If you trust the source of this presentation,click Repair' comes out .
```
XSLFSlide newSlide = ppt.createSlide(sourceSlide.getSlideLayout());
newSlide.importContent(sourceSlide);
```

Image

waiting for reply.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the repair prompt with the supplied Maven dependencies, Office 365 version, and the XSLFSlide.createSlide/importContent code. Start by tracing XSLFSlide.importContent and compare the generated target presentation with the source slide. Done means the copied slide opens in Office 365 without requiring repair.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
content
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.