13603 Commits

Author SHA1 Message Date
PJ Fanning
1a86f27e7b
junit 5.13.4 (#852) 2025-07-21 17:58:03 +01:00
PJ Fanning
ca104f4be7 commons-io 2.20.0 2025-07-20 01:17:41 +01:00
PJ Fanning
2d4ee2ebef Update build.gradle 2025-07-17 22:21:49 +01:00
PJ Fanning
cace66f52f Update changes.xml 2025-07-17 13:07:15 +01:00
Jacobo Aragunde Pérez
cceccc4bae
Support all possible alignment values for docx tables. (#848)
Besides the start/center/end values specified in the OOXML standard,
Word also uses "left" and "right" as values. We need to support this
to prevent POI code from crashing with such documents.

Fixes: https://bz.apache.org/bugzilla/show_bug.cgi?id=69744
2025-07-17 12:11:46 +01:00
PJ Fanning
f3bf31ac5d avoid creating CTUnderline 2025-07-15 14:08:42 +01:00
Jacobo Aragunde Pérez
73b2874824
Add getters and setters for XWPFTable indentation. (#843)
* Add getters and setters for XWPFTable indentation.

The element tblPr->tblInd represents "table indent from leading margin".
It specifies the indentation which shall be added before the leading
edge of the current table in the document (the left edge in a
left-to-right table, and the right edge in a right-to-left table). This
indentation should shift the table into the text margin by the specified
amount.

This value is specified in the units applied via its type attribute. Any
width value of type pct or auto for this element shall be ignored.

If this element is omitted, then the table shall inherit the table
indentation from the associated table style. If table indentation is
never specified in the style hierarchy, no indentation shall be added to
the parent table. If the resulting justification on any table row is not
left, then this property shall be ignored.

To implement this property, we included a getter and a setter for the
property value, and another couple of getter/setter for the existence
(and validity) or absence of the property itself, for clients to know
they must fall back to the table style.

* Address reviewer comments.
2025-07-15 10:05:17 +01:00
PJ Fanning
d4fc5cd6c0 avoid creating CTTblPr if not needed 2025-07-14 17:05:45 +01:00
PJ Fanning
533fee47c8 junit upgrade 2025-07-13 22:23:48 +01:00
PJ Fanning
94ff481ca9 license top of file 2025-07-11 22:21:55 +01:00
PJ Fanning
22d2efaf5b
Gradle: avoid deprecated buildDir property (#838)
* Gradle: avoid deprecated buildDir property

* try again
2025-07-11 21:40:19 +01:00
PJ Fanning
1eee67fb8b sxssf workbook dispose no longer needed 2025-07-11 19:50:51 +01:00
PJ Fanning
fa9428511a
try to cache xerces security manager (#841) 2025-07-11 15:40:14 +01:00
Dominik Stadler
cb0943970b Site: Add news-item about moving source-repository to Git 2025-07-11 14:43:31 +02:00
PJ Fanning
4166350488
try to remove batik-script build hack (#839)
* try to remove batik-script build hack

* Update build.gradle

* Update build.gradle
2025-07-11 13:05:52 +01:00
PJ Fanning
33d81ae7ef Update ppt-wmf-emf-renderer.xml 2025-07-11 11:35:18 +01:00
PJ Fanning
a1fa00e1d1 Update changes.xml 2025-07-11 11:03:25 +01:00
Dominik Stadler
af4eae815d Jenkins DSL: Remove JDK 18, 19, 20 and 22, disable building for JDK 23 2025-07-10 17:06:12 +02:00
Jacobo Aragunde Pérez
6d8f1901dc
Allow null values in XWPFParagraph.get/setAlignment(). (#829)
* Allow null values in XWPFParagraph.get/setAlignment().

A null value in this field would indicate that the paragraph should
follow the alignment provided by the style hierarchy.

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

* Revert getAlignment() and implement isAlignmentSet() instead.

* Replace test case file.

* Implement XWPFParagraph.getTCPPr(create).

It lets the caller choose if a new PPr should be created in case it
doesn't exist.

* use getCTPPr(boolean)

* compile issue

---------

Co-authored-by: PJ Fanning <pjfanning@users.noreply.github.com>
2025-07-09 20:00:14 +01:00
PJ Fanning
550be7c201 Update changes.xml 2025-07-08 23:39:50 +01:00
PJ Fanning
b5f67fca04
bug-69727 decrease count when we remove merged regions (#837)
* bug-69727 decrease count when we remove merged regions

* extend test

* fix tests
2025-07-08 23:21:35 +01:00
PJ Fanning
07fa0b88e0 Update SavePasswordProtectedXlsx.java 2025-07-08 22:42:37 +01:00
PJ Fanning
e1d943e294 Update changes.xml 2025-07-08 21:41:21 +01:00
PJ Fanning
8fa36ff3df remove svn jars 2025-07-08 21:37:47 +01:00
Vengador
bbd404f343
Bugfix setBulletStyle in XSLFTextParagraph (#770)
* Bugfix setBulletStyle in XSLFTextParagraph

Having a 0 here throws IllegalArgumentException, the method setBulletAutoNumber requires 1 as minimun as argument

* tests added for setBulletStyle fix
2025-07-08 16:42:19 +01:00
PJ Fanning
0c3cc9a5e1
Update publish-poi-site.txt 2025-07-08 16:40:29 +01:00
PJ Fanning
024f1d3348 Update guidelines.xml 2025-07-08 12:05:16 +01:00
PJ Fanning
ef16723148 stray svn refs 2025-07-08 03:56:41 +01:00
PJ Fanning
f76089be67 rename xml file 2025-07-08 03:44:08 +01:00
PJ Fanning
8e5d6fe026 update docs 2025-07-08 03:40:26 +01:00
PJ Fanning
39e5ac2906 replace svn refs 2025-07-08 02:55:11 +01:00
PJ Fanning
18fc855e66
Update .asf.yaml 2025-07-08 01:47:14 +01:00
PJ Fanning
f2df929adb move over latest docuementation files from poi-site 2025-07-08 00:39:04 +01:00
PJ Fanning
5b8ff77997
Update .asf.yaml 2025-07-07 23:08:52 +01:00
PJ Fanning
2f66c63387 git repo 2025-07-07 23:07:39 +01:00
PJ Fanning
4fb39a6b09 gradle 8.14.3 2025-07-07 22:58:42 +01:00
PJ Fanning
eb91cfad93 Update create_jobs.groovy 2025-07-07 22:51:00 +01:00
PJ Fanning
6928a6ca2e Update create_jobs.groovy 2025-07-07 22:43:10 +01:00
PJ Fanning
102db731df Update create_jobs.groovy 2025-07-07 22:28:07 +01:00
PJ Fanning
d72b25d83b Update create_jobs.groovy 2025-07-07 22:21:13 +01:00
PJ Fanning
8c13001762 Update create_jobs.groovy 2025-07-07 22:10:43 +01:00
PJ Fanning
c88b9e0e76 try to switch poi ci builds to git 2025-07-07 21:59:17 +01:00
PJ Fanning
7333f6a7d0 Update build.xml 2025-07-07 11:25:04 +01:00
dependabot[bot]
521aab62da
Bump net.sf.saxon:Saxon-HE from 12.7 to 12.8 (#835)
Bumps net.sf.saxon:Saxon-HE from 12.7 to 12.8.

---
updated-dependencies:
- dependency-name: net.sf.saxon:Saxon-HE
  dependency-version: '12.8'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-07 11:21:50 +01:00
dependabot[bot]
10675900c6
Bump org.junit.jupiter:junit-jupiter from 5.13.2 to 5.13.3 (#836)
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit-framework) from 5.13.2 to 5.13.3.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.2...r5.13.3)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
  dependency-version: 5.13.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-07 11:21:34 +01:00
dependabot[bot]
e2a9a66428
Bump junitVersion from 5.13.2 to 5.13.3 (#834)
Bumps `junitVersion` from 5.13.2 to 5.13.3.

Updates `org.junit:junit-bom` from 5.13.2 to 5.13.3
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.2...r5.13.3)

Updates `org.junit.jupiter:junit-jupiter-api` from 5.13.2 to 5.13.3
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.2...r5.13.3)

Updates `org.junit.jupiter:junit-jupiter-engine` from 5.13.2 to 5.13.3
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.2...r5.13.3)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-version: 5.13.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.junit.jupiter:junit-jupiter-api
  dependency-version: 5.13.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.junit.jupiter:junit-jupiter-engine
  dependency-version: 5.13.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-07 11:21:05 +01:00
PJ Fanning
631d8aecc4
Update .asf.yaml 2025-07-07 11:19:33 +01:00
PJ Fanning
67320b6453 xmlunit 2.10.3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926704 13f79535-47bb-0310-9956-ffa450edef68
2025-06-24 15:14:27 +00:00
PJ Fanning
b6f3fa0c42 junit 5.13.2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926703 13f79535-47bb-0310-9956-ffa450edef68
2025-06-24 15:13:35 +00:00
PJ Fanning
73c4de16e4 try to tidy up jupiter dependency by using the junit-bom
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1926702 13f79535-47bb-0310-9956-ffa450edef68
2025-06-24 13:51:52 +00:00