diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2023-03-13 16:04:19 +0100 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2023-03-16 15:18:10 +0000 |
commit | 77cb682cd1b004e7247560e60f603a4bb0565b8d (patch) | |
tree | 5ff7d8bf5fcc8f9fe162b8ed05ca7eeaf21022ba /source/text/shared/guide/data_tabledefine.xhp | |
parent | 00567a452bb1e270dd2438dcc865359edba56c19 (diff) |
convert plain paragraphs with role="heading" → h<level>
i.e. without child elements and also drop the language that was changed
to implied in the dtd previously/defaults to en-US unless specified.
This change doesn't affect translations, only the content of the
paragraph/headings is extracted.
done with:
perl -CSD -pi -e 'BEGIN {$base = qr/role="heading"|level="(?<level>\d+)"|(?<id>id="[^"]+")/;} s#<paragraph(((\s+($base)){3})|(\s+($base|xml-lang="en-US")){4})>(?<body>[^<]+)</paragraph>#<h$+{level} $+{id}>$+{body}</h$+{level}>#g'
(all permutations re order of attributes, and xml-lang="en-US" being
optional / implied)
Change-Id: I365a2bb983a3969af9390753fce7b7f3597c7b8b
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/148795
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/shared/guide/data_tabledefine.xhp')
-rw-r--r-- | source/text/shared/guide/data_tabledefine.xhp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/text/shared/guide/data_tabledefine.xhp b/source/text/shared/guide/data_tabledefine.xhp index f7d39b5cd8..f0b877d7d0 100644 --- a/source/text/shared/guide/data_tabledefine.xhp +++ b/source/text/shared/guide/data_tabledefine.xhp @@ -53,7 +53,7 @@ </list> <paragraph xml-lang="en-US" id="par_id3154760" role="note">Each field can only accept data corresponding to the specified field type. For example, it is not possible to enter text in a number field. Memo fields in dBASE III format are references to internally-managed text files which can hold up to 64 kB text.</paragraph> <paragraph xml-lang="en-US" id="par_id3149456" role="paragraph">You can enter an optional <emph>Description</emph> for each field. The text of the description will appear as a tip on the column headings in the table view.</paragraph> - <paragraph xml-lang="en-US" id="hd_id3153379" role="heading" level="2">Field Properties</paragraph> + <h2 id="hd_id3153379">Field Properties</h2> <paragraph xml-lang="en-US" id="par_id3148798" role="paragraph">Enter properties for each selected data field. Depending on the database type, some input facilities may not be available.</paragraph> <paragraph xml-lang="en-US" id="par_id3144762" role="paragraph">In the <emph>Default value</emph> box, enter the default contents for every new record. This contents can be edited later.</paragraph> <paragraph xml-lang="en-US" id="par_id3150869" role="paragraph">In the <emph>Entry required</emph> box, specify whether or not the field may remain empty.</paragraph> |