From f9e41ddb473fdb17dab310d17e68e2d0470a8518 Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Mon, 22 Jun 2020 21:54:13 -0300 Subject: Add Pattern fill Help page, fix Bitmap page Change-Id: I34fd1b55a9f63d7b1764a0fec926a67194fd6d21 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96911 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- AllLangHelp_shared.mk | 1 + source/text/shared/01/05210100.xhp | 8 ++--- source/text/shared/01/05210500.xhp | 73 +++++++++++++++++++++++++++++++------- source/text/shared/01/05210800.xhp | 60 +++++++++++++++++++++++++++++++ 4 files changed, 123 insertions(+), 19 deletions(-) create mode 100644 source/text/shared/01/05210800.xhp diff --git a/AllLangHelp_shared.mk b/AllLangHelp_shared.mk index 5611b5dab7..34fbafb3dc 100644 --- a/AllLangHelp_shared.mk +++ b/AllLangHelp_shared.mk @@ -228,6 +228,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\ helpcontent2/source/text/shared/01/05210500 \ helpcontent2/source/text/shared/01/05210600 \ helpcontent2/source/text/shared/01/05210700 \ + helpcontent2/source/text/shared/01/05210800 \ helpcontent2/source/text/shared/01/05220000 \ helpcontent2/source/text/shared/01/05230000 \ helpcontent2/source/text/shared/01/05230100 \ diff --git a/source/text/shared/01/05210100.xhp b/source/text/shared/01/05210100.xhp index 16322c641b..a1184fefeb 100644 --- a/source/text/shared/01/05210100.xhp +++ b/source/text/shared/01/05210100.xhp @@ -64,14 +64,10 @@ Fills the object with a gradient selected on this page. -

Bitmap

-Fills the object with a bitmap pattern selected on this page. To add a bitmap to the list, open this dialog, click the Bitmaps tab, and then click Add / Import. + -TODO: write a page about the Pattern tab -

Pattern

-Fills the object with a simple two color pattern selected on this page. - +

Hatch

Fills the object with a hatching pattern selected on this page. diff --git a/source/text/shared/01/05210500.xhp b/source/text/shared/01/05210500.xhp index 4bb1e6fc24..112da20f8d 100644 --- a/source/text/shared/01/05210500.xhp +++ b/source/text/shared/01/05210500.xhp @@ -28,28 +28,75 @@
-bitmaps; patterns -areas; bitmap patterns -pixel patterns -pixel editor -pattern editor + +bitmaps; areas +areas; bitmap -Bitmap -Select a bitmap that you want to use as a fill pattern, or create your own pixel pattern. You can also import bitmaps, and save or load bitmap lists. +

Bitmap

+Select a bitmap that you want to use as a fill image, or add your own bitmap pattern.
-Pattern Editor -Use this editor to create a simple, two-color, 8x8 pixel bitmap pattern. -Grid -To enable this editor, select the Blank bitmap in the bitmap list. +

Bitmap

+Lists the available bitmaps. You can also import bitmaps. +To rename a bitmap, select the bitmap, right-click and choose Rename. To delete a bitmap, select the bitmap, right-click and choose Delete. -Import +

Add/Import

Locate the bitmap that you want to import, and then click Open. The bitmap is added to the end of the list of available bitmaps. - + +Imported bitmaps are saved in your user profile and can be used in other documents. + +

Options

+ +

Style

+ + + Tiled: Fill the area with the bitmap as tiles. + + + Stretched: Stretch the image to fit the object area. + + + Custom position/size: Set a custom size and position of the bitmap in the object area. + + + + + +

Size

+Size of the tiles and the custom size. + + + Width: Set the width of the tile or custom size. + + + Height: Set the height of the tile or custom size. + + + Scale: Mark to turn the height and width settings relative to original size. + + + +

Position

+Select the anchoring position of the bitmap image inside the object area. + + +

Tiling Position

+ + + X-Offset: Set the horizontal bitmap offset value with respect to the anchoring position. + + + Y-Offset: Set the vertical bitmap offset value with respect to the anchoring position. + + + + +

Tiling Offset

+Select the tiles offset in rows or columns. Use the spin button to specify the offset value. diff --git a/source/text/shared/01/05210800.xhp b/source/text/shared/01/05210800.xhp new file mode 100644 index 0000000000..efff55af5d --- /dev/null +++ b/source/text/shared/01/05210800.xhp @@ -0,0 +1,60 @@ + + + + + + + Pattern + /text/shared/01/05210800.xhp + + + +
+ +pattern;area +pattern;background +background;pattern +background;area + + + +

Pattern

+Fills the object with a simple two color pattern selected on this page. +
+

Pattern

+Lists the available patterns. You can also modify or create your own pattern. + +To rename a pattern, select the pattern, right-click and choose Rename. To delete a pattern, select the pattern, right-click and choose Delete. +

Add

+Adds a custom pattern to the current list. Specify the properties of your pattern, and then click this button. + + +

Modify

+Applies the current pattern properties to the selected pattern. If you want, you can save the pattern under a different name. + +

Options

+Draw or modify a pattern. + + +

Pattern Editor

+ +Draw the pattern in the 8 x 8 pixel board. Click on a pattern pixel to activate it, click again to deactivate it. + + +

Foreground Color

+Set the color of the activated pattern pixels. + + +

Background Color

+Set the color of the deactivated pattern pixels. + + + +
-- cgit