summaryrefslogtreecommitdiffstats
path: root/source/text/shared/00/00000020.xhp
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2023-03-13 16:04:19 +0100
committerOlivier Hallot <olivier.hallot@libreoffice.org>2023-03-16 15:18:10 +0000
commit77cb682cd1b004e7247560e60f603a4bb0565b8d (patch)
tree5ff7d8bf5fcc8f9fe162b8ed05ca7eeaf21022ba /source/text/shared/00/00000020.xhp
parentconvert plain paragraphs with role="heading" → h<level> (localize="false") (diff)
downloadhelp-77cb682cd1b004e7247560e60f603a4bb0565b8d.tar.gz
help-77cb682cd1b004e7247560e60f603a4bb0565b8d.zip
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/00/00000020.xhp')
-rw-r--r--source/text/shared/00/00000020.xhp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/text/shared/00/00000020.xhp b/source/text/shared/00/00000020.xhp
index 150633a0f0..ddd94453d9 100644
--- a/source/text/shared/00/00000020.xhp
+++ b/source/text/shared/00/00000020.xhp
@@ -168,7 +168,7 @@
<h3 id="hd_id3145750">Importing and Exporting Numbering</h3>
<paragraph role="paragraph" id="par_id3145591" xml-lang="en-US">If, in <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - Load/Save - HTML Compatibility</emph>, the export option "$[officename] Writer" is selected, the indents of numberings are exported as "margin-left" CSS1 property in the STYLE attribute of the &lt;OL&gt; and &lt;UL&gt; tags. The property indicates the difference relative to the indent of the next higher level.</paragraph>
<paragraph role="paragraph" id="par_id3153573" xml-lang="en-US">A left paragraph indent in numbering is indicated as "margin-left" CSS1 property. First-line indents are ignored in numbering and not exported.</paragraph>
-<paragraph role="heading" id="hd_id3148556" xml-lang="en-US" level="3">Importing and Exporting Spreadsheet Files</paragraph>
+<h3 id="hd_id3148556">Importing and Exporting Spreadsheet Files</h3>
<paragraph role="paragraph" id="par_id3153365" xml-lang="en-US">$[officename] imports and exports references to deleted sections such as, for example, a referenced column. The whole formula can be viewed during the export process and the deleted reference contains an indication (#REF!) to the reference. A #REF! will be correspondingly created for the reference during the import.</paragraph>
<h3 id="hd_id3150228">Importing and Exporting Graphics Files</h3>
<paragraph role="paragraph" id="par_id3152578" xml-lang="en-US">As with HTML documents, you can choose to use a filter with or without the element ($[officename] Impress) in the name to open a $[officename] graphics file. If without, the file will be opened as a $[officename] Draw document. Otherwise, the file saved by an old program version is now opened in $[officename] Impress.</paragraph>