summaryrefslogtreecommitdiff
path: root/icon-themes/colibre/cmd/lc_fontwork.png
diff options
context:
space:
mode:
authorIvan Stefanenko <ivan.stefanenko@collabora.com>2020-11-03 23:52:23 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2020-11-05 09:34:41 +0100
commitc21dd1a08e7cb776a0d7170001ee8ea3b88f1367 (patch)
tree72d1682dbfabfdc7ed5ea0c54e148081edec0950 /icon-themes/colibre/cmd/lc_fontwork.png
parentb98984c420bec944c034a0d8b3a967c049ad7b5d (diff)
tdf#137968 Added check for the headings order
Headings' levels order is important for readers and converters. Check firstly finds out if the node is a TextNode, then gets it's OutlineLevel. If it is greater than 0, i.e. the node is a heading, then it checks if node's heading level is greater then previous one's by more than 1. If so, warning is thrown. So the first heading level is always 1 and no heading levels are greater then previous by more than 1. Change-Id: I39d230d747699eddd36610193bde9b23f348e257 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105274 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'icon-themes/colibre/cmd/lc_fontwork.png')
0 files changed, 0 insertions, 0 deletions