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
..
2016-01-25 20:21:30 +00:00
2016-01-25 20:21:30 +00:00
2009-12-03 10:41:00 +00:00
2021-10-22 20:24:12 +00:00
2021-12-10 18:41:41 +00:00
2025-03-26 20:52:10 +00:00
2011-07-08 09:06:33 +00:00
2011-07-24 18:55:57 +00:00
2011-08-09 05:18:37 +00:00
2011-10-02 01:06:22 +00:00
2017-04-04 02:06:46 +00:00
2017-04-04 02:06:46 +00:00
2019-03-19 00:35:09 +00:00
2022-08-30 11:44:27 +00:00
2011-09-20 14:14:17 +00:00
2010-07-26 14:04:27 +00:00
2011-08-22 15:03:51 +00:00
2010-07-07 10:41:17 +00:00
2010-06-11 13:48:19 +00:00
2024-07-09 14:43:03 +00:00