diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-11-01 10:28:44 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-11-01 14:49:20 +0100 |
commit | fe027ad1a10e233c540c6e873c737b5bb2a9039c (patch) | |
tree | 62bcdf76984ac1817b0de20909066ff1b204c7f5 | |
parent | 04549b13ac062594e2204a8f8da7bf92ec290995 (diff) |
Add To Polygon screenshot to Help page
+ refactor relevant pages
Change-Id: I3759f2d86df0cd66913d11a7d2711614315e24a1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/142115
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r-- | AllLangPackage_html_media_lang.mk | 1 | ||||
-rw-r--r-- | Package_html_media.mk | 1 | ||||
-rw-r--r-- | source/text/shared/06/sd_screenshots.xhp | 6 | ||||
-rw-r--r-- | source/text/simpress/01/13050200.xhp | 26 | ||||
-rw-r--r-- | source/text/simpress/guide/vectorize.xhp | 7 |
5 files changed, 22 insertions, 19 deletions
diff --git a/AllLangPackage_html_media_lang.mk b/AllLangPackage_html_media_lang.mk index ef6ef99314..b806e585d1 100644 --- a/AllLangPackage_html_media_lang.mk +++ b/AllLangPackage_html_media_lang.mk @@ -238,6 +238,7 @@ $(foreach lang,$(filter-out en-US,$(gb_HELP_LANGS)),$(eval $(call gb_AllLangPack screenshots/modules/scalc/ui/xmlsourcedialog/$(lang)/XMLSourceDialog.png \ screenshots/modules/sdraw/ui/insertlayer/$(lang)/InsertLayerDialog.png \ screenshots/modules/sdraw/ui/dlgsnap/$(lang)/SnapObjectDialog.png \ + screenshots/modules/sdraw/ui/vectorize/$(lang)/VectorizeDialog.png \ screenshots/modules/simpress/ui/optimpressgeneralpage/$(lang)/OptSavePage.png \ screenshots/modules/simpress/ui/sdviewpage/$(lang)/SdViewPage.png \ screenshots/modules/simpress/ui/prntopts/$(lang)/prntopts.png \ diff --git a/Package_html_media.mk b/Package_html_media.mk index 298c1bc7dd..7f4a7d1dc2 100644 --- a/Package_html_media.mk +++ b/Package_html_media.mk @@ -399,6 +399,7 @@ $(eval $(call gb_Package_add_files_with_dir,helpcontent2_html_media,$(LIBO_SHARE screenshots/modules/sdraw/ui/dlgsnap/SnapObjectDialog.png \ screenshots/modules/sdraw/ui/insertlayer/InsertLayerDialog.png \ screenshots/modules/sdraw/ui/dlgsnap/SnapObjectDialog.png \ + screenshots/modules/sdraw/ui/vectorize/VectorizeDialog.png \ screenshots/modules/smath/ui/alignmentdialog/AlignmentDialog.png \ screenshots/modules/smath/ui/fontdialog/FontDialog.png \ screenshots/modules/smath/ui/fontsizedialog/FontSizeDialog.png \ diff --git a/source/text/shared/06/sd_screenshots.xhp b/source/text/shared/06/sd_screenshots.xhp index df51970344..4bbb31ed41 100644 --- a/source/text/shared/06/sd_screenshots.xhp +++ b/source/text/shared/06/sd_screenshots.xhp @@ -16,6 +16,7 @@ </topic> </meta> <body> +<comment> paste this on target: embed href="text/shared/06/sd_screenshots.xhp#section_id"</comment> <section id="insertlayer"> <paragraph role="paragraph" id="par_id841667137968665" xml-lang="en-US"> <image src="media/screenshots/modules/sdraw/ui/insertlayer/InsertLayerDialog.png" id="img_id751667137968666"><alt xml-lang="en-US" id="alt_id161667137968667">Insert layer dialog</alt></image> @@ -26,5 +27,10 @@ <image src="media/screenshots/modules/sdraw/ui/dlgsnap/SnapObjectDialog.png" id="img_id471667158794567"><alt xml-lang="en-US" id="alt_id931667158794568">Snap Object Dialog</alt></image> </paragraph> </section> +<section id="vectorize"> + <paragraph role="paragraph" id="par_id71667308065175" xml-lang="en-US"> + <image src="media/screenshots/modules/sdraw/ui/vectorize/VectorizeDialog.png" id="img_id311667308065177"><alt xml-lang="en-US" id="alt_id631667308065179">To Polygon dialog</alt></image> + </paragraph> +</section> </body> </helpdocument> diff --git a/source/text/simpress/01/13050200.xhp b/source/text/simpress/01/13050200.xhp index a8537138ef..fa772fd9f8 100644 --- a/source/text/simpress/01/13050200.xhp +++ b/source/text/simpress/01/13050200.xhp @@ -1,6 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> - - <!-- * This file is part of the LibreOffice project. * @@ -18,7 +16,6 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - <helpdocument version="1.0"> <meta> <topic id="textsimpress0113050200xml" indexer="include" status="PUBLISH"> @@ -34,37 +31,38 @@ <bookmark xml-lang="en-US" branch="hid/.uno:ChangePolygon" id="bm_id5748041" localize="false"/> <bookmark xml-lang="en-US" branch="hid/modules/sdraw/ui/vectorize/@@nowidget@@" id="bm_@@nowidget@@" localize="false"/> <bookmark xml-lang="en-US" branch="hid/modules/sdraw/ui/vectorize/VectorizeDialog" id="bm_id3147435" localize="false"/> -<paragraph role="heading" id="hd_id3152578" xml-lang="en-US" level="1"><link href="text/simpress/01/13050200.xhp" name="To Polygon">To Polygon</link></paragraph> +<h1 id="hd_id3152578"><link href="text/simpress/01/13050200.xhp" name="To Polygon">To Polygon</link></h1> <paragraph role="paragraph" id="par_id3145252" xml-lang="en-US"><ahelp hid=".uno:ChangePolygon">Converts the selected object to a polygon (a closed object bounded by straight lines).</ahelp> The appearance of the object does not change. If you want, you can right-click and choose <link href="text/shared/main0227.xhp" name="Edit Points"><emph>Edit Points</emph></link> to view the changes.</paragraph> </section> <section id="howtoget"> <embed href="text/simpress/00/00000413.xhp#to_polygon"/> </section> <embed href="text/simpress/guide/vectorize.xhp#vectorize"/> -<paragraph role="heading" id="hd_id3155066" xml-lang="en-US" level="2">Convert to Polygon</paragraph> +<embed href="text/shared/06/sd_screenshots.xhp#vectorize"/> +<h2 id="hd_id3155066">Convert to Polygon</h2> <paragraph role="paragraph" id="par_id3153713" xml-lang="en-US">The following options are required to convert a bitmap image to a polygon. The converted image is actually a collection of smaller polygons filled with color.</paragraph> -<paragraph role="heading" id="hd_id3154254" xml-lang="en-US" level="2">Settings</paragraph> +<h2 id="hd_id3154254">Settings</h2> <paragraph role="paragraph" id="par_id3149126" xml-lang="en-US">Set the conversion options for the image.</paragraph> <bookmark xml-lang="en-US" branch="hid/modules/sdraw/ui/vectorize/colors" id="bm_id3150202" localize="false"/> -<paragraph role="heading" id="hd_id3146314" xml-lang="en-US" level="3">Number of colors:</paragraph> +<h3 id="hd_id3146314">Number of colors:</h3> <paragraph role="paragraph" id="par_id3145790" xml-lang="en-US"><ahelp hid="modules/sdraw/ui/vectorize/colors">Enter the number of colors to be displayed in the converted image. $[officename] generates a polygon for each occurrence of a color in the image.</ahelp></paragraph> <bookmark xml-lang="en-US" branch="hid/modules/sdraw/ui/vectorize/points" id="bm_id3154658" localize="false"/> -<paragraph role="heading" id="hd_id3150206" xml-lang="en-US" level="3">Point reduction</paragraph> +<h3 id="hd_id3150206">Point reduction</h3> <paragraph role="paragraph" id="par_id3159236" xml-lang="en-US"><ahelp hid="modules/sdraw/ui/vectorize/points">Removes color polygons that are smaller than the pixel value you enter.</ahelp></paragraph> <bookmark xml-lang="en-US" branch="hid/modules/sdraw/ui/vectorize/fillholes" id="bm_id3166432" localize="false"/> -<paragraph role="heading" id="hd_id3150364" xml-lang="en-US" level="3">Fill holes</paragraph> +<h3 id="hd_id3150364">Fill holes</h3> <paragraph role="paragraph" id="par_id3145584" xml-lang="en-US"><ahelp hid="modules/sdraw/ui/vectorize/fillholes">Fills the color gaps caused by applying a point reduction.</ahelp></paragraph> <bookmark xml-lang="en-US" branch="hid/modules/sdraw/ui/vectorize/tiles" id="bm_id3152986" localize="false"/> -<paragraph role="heading" id="hd_id3154371" xml-lang="en-US" level="3">Tile size</paragraph> +<h3 id="hd_id3154371">Tile size</h3> <paragraph role="paragraph" id="par_id3156448" xml-lang="en-US"><ahelp hid="modules/sdraw/ui/vectorize/tiles">Enter the size of the rectangle for the background fill.</ahelp></paragraph> -<paragraph role="heading" id="hd_id3148840" xml-lang="en-US" level="3">Source image:</paragraph> +<h3 id="hd_id3148840">Source image:</h3> <paragraph role="paragraph" id="par_id3153917" xml-lang="en-US">Preview of the original image.</paragraph> -<paragraph role="heading" id="hd_id3149944" xml-lang="en-US" level="3">Vectorized image:</paragraph> +<h3 id="hd_id3149944">Vectorized image:</h3> <paragraph role="paragraph" id="par_id3148605" xml-lang="en-US">Preview of the converted image. Click <emph>Preview</emph> to generate the vectorized image.</paragraph> -<paragraph role="heading" id="hd_id3156020" xml-lang="en-US" level="3">Progress</paragraph> +<h3 id="hd_id3156020">Progress</h3> <paragraph role="paragraph" id="par_id3159207" xml-lang="en-US">Displays the conversion progress.</paragraph> <bookmark xml-lang="en-US" branch="hid/modules/sdraw/ui/vectorize/preview" id="bm_id3154762" localize="false"/> -<paragraph role="heading" id="hd_id3149048" xml-lang="en-US" level="3">Preview</paragraph> +<h3 id="hd_id3149048">Preview</h3> <paragraph role="paragraph" id="par_id3150046" xml-lang="en-US"><ahelp hid="modules/sdraw/ui/vectorize/preview">Previews the converted image without applying the changes.</ahelp></paragraph> </body> </helpdocument> diff --git a/source/text/simpress/guide/vectorize.xhp b/source/text/simpress/guide/vectorize.xhp index 21c06cc893..75ef8705b6 100644 --- a/source/text/simpress/guide/vectorize.xhp +++ b/source/text/simpress/guide/vectorize.xhp @@ -1,6 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> - - <!-- * This file is part of the LibreOffice project. * @@ -18,7 +16,6 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - <helpdocument version="1.0"> <meta> <topic id="textsimpressguidevectorizexml" indexer="include" status="PUBLISH"> @@ -35,8 +32,8 @@ <bookmark_value>bitmaps; converting to vector graphics</bookmark_value> <bookmark_value>vector graphics; converting bitmaps</bookmark_value> </bookmark> -<paragraph role="heading" id="hd_id3153415" xml-lang="en-US" level="1"><variable id="vectorize"><link href="text/simpress/guide/vectorize.xhp" name="Converting Bitmap Images into Vector Graphics">Converting Bitmap Images into Vector Graphics</link> -</variable></paragraph> +<h1 id="hd_id3153415"><variable id="vectorize"><link href="text/simpress/guide/vectorize.xhp" name="Converting Bitmap Images into Vector Graphics">Converting Bitmap Images into Vector Graphics</link> +</variable></h1> <paragraph role="paragraph" id="par_id3155633" xml-lang="en-US">A vector graphic can be resized without losing the quality of the graphic. In $[officename] Draw and Impress, you can convert a bitmap image into a vector graphic.</paragraph> <list type="ordered"> <listitem> |