office-gobmx/xmloff/source
Jonathan Clark 43cd683230 tdf#36709 Add loext:text-indent supporting font-relative units
This change adds an ODF font-relative first-line indent paragraph style
attribute as a LibreOffice extension. The corresponding ODF standard
change is tracked by OFFICE-4165.

This change only implements what is minimally necessary to serialize,
deserialize, and check for ODF files containing this attribute. Further
changes are necessary.

* Added cssLength to schema, which is equivalent to length but also
  allows ic and em as units.
* Added loext:text-indent to schema as a paragraph style attribute. This
  attribute is equivalent to fo:text-indent, but accepts cssLength
  instead of length.
* Added XML_TYPE_UNIT_MEASURE to the ODF parser, which currently accepts
  only the font-relative measures and forces fallback in other cases.
* Added loext:text-indent to the ODF parser. This attribute accepts
  font-relative metrics, and will behave as an import-only alias for
  fo:text-indent in other cases.
* Updated SvxFirstLineIndentItem to handle unit-denominated measures.
* Added proof-of-concept indentation handler to Writer. This
  implementation is incomplete and temporary, and will be revised in
  future changes.

Change-Id: I7eb5c7382093cb18a9b0afbf93dacb34ba1d35ef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175941
Tested-by: Jenkins
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
2024-11-02 01:09:52 +01:00
..
chart cid#1555789 COPY_INSTEAD_OF_MOVE 2024-10-27 20:19:12 +01:00
core cid#1555767 COPY_INSTEAD_OF_MOVE 2024-10-26 19:25:03 +02:00
draw tdf#163486: PVS: Identical branches 2024-10-30 01:36:46 +01:00
forms cid#1545605 COPY_INSTEAD_OF_MOVE 2024-10-22 11:56:02 +02:00
meta
script
style tdf#36709 Add loext:text-indent supporting font-relative units 2024-11-02 01:09:52 +01:00
table
text tdf#36709 Add loext:text-indent supporting font-relative units 2024-11-02 01:09:52 +01:00
token tdf#162963 export property TotalsRow to ODF 2024-09-19 08:54:44 +02:00
transform cid#1545605 COPY_INSTEAD_OF_MOVE 2024-10-22 11:56:02 +02:00
xforms