The GitHub Actions job "Java CI with Gradle" on poi.git/trunk has succeeded.
Run started by GitHub user pjfanning (triggered by pjfanning).

Head commit for run:
4b3c688d51d03b8706d97d0589cc8985d661dd94 / hyun1024 
<[email protected]>
Add methods to manage first slide number(firstSlideNum) (#968)

* Add methods to manage first slide number(firstSlideNum)

Adds methods to manage the custom starting slide number in XSLF (PowerPoint) 
presentations. This property is stored as the 'firstSlideNum' attribute in 
ppt/presentation.xml.

The following methods are added to XMLSlideShow:
- getFirstSlideNumber(): Retrieves the current starting slide number (default 
is 1).
- setFirstSlideNumber(int num): Sets the custom starting slide number.
- unsetFirstSlideNumber(): Removes the 'firstSlideNum' attribute, reverting to 
the default (1).

Constraints:
The 'set' method enforces the bounds [0, 9999] as defined by Microsoft's 
implementation specifications (MS-OI29500, Part 1, Section 19.2.1.26) to ensure 
the creation of valid PowerPoint files.

Also includes TestXSLFSlideShow updates to cover the new functionality, 
persistence, and validation checks.

* Review: Apply review feedback to firstSlideNumber feature

- Add @since 6.0.0 Javadoc tag to getFirstSlideNumber(), setFirstSlideNumber(), 
and unsetFirstSlideNumber() methods in XMLSlideShow.
- Refactor TestXSLFSlideShow to use explicit static JUnit imports (e.g., 
assertEquals, assertThrows) instead of wildcard imports, adhering to project 
coding style guidelines.

* whitespace

---------

Co-authored-by: PJ Fanning <[email protected]>

Report URL: https://github.com/apache/poi/actions/runs/20191786966

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to