https://bz.apache.org/bugzilla/show_bug.cgi?id=60504

--- Comment #3 from Greg Woolsey <greg.wool...@gmail.com> ---
(In reply to Aurélien from comment #2)

> About the containers in which an image can be, I counted only 2 containers:
> - a XSLFSlide,
> - a XSLFGroupShape.
> There doesn't seem to be any way to put an image in a paragraph or in a
> table.

I was thinking about Word and Excel files as well, not just PowerPoint.  Some
of the graphics objects are common but handled independently, and perhaps that
could/should be standardized in some respects.

> 
> About the test vector, what do you have in mind?
> I am actually working on the library https://github.com/Coreoz/PPT-Templates
> that is highly based on POI XSLF, but it difficult to write tests since it
> is often in PowerPoint that I can verify whether the image replacement is
> working, or if the PPT slide is corrupted.

Anything you can see as right/wrong in PowerPoint visually should be
represented in the XML somehow, so it should be testable.  The key is ensuring
the "expected" values are correct manually, possibly by viewing an "expected
result" master file in PowerPoint, then building a test case around it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to