From 0c1a7eba29b4819f15482fa694ed70ab398de74b Mon Sep 17 00:00:00 2001 From: Ilmari Lauhakangas Date: Thu, 2 May 2019 22:00:06 +0300 Subject: tdf#102265 Decouple some Impress/Draw Slide/Page material Convenient way to do renames: find . \( -name '*.xhp' -or -name '*.mk' \) -exec \ sed -i 's/sdraw\/main0104/sdraw\/main_insert/g' {} + Change-Id: I3a8a59ac57ca3b29219962fc503f1d7ba5230a6d Reviewed-on: https://gerrit.libreoffice.org/71703 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- AllLangHelp_sdraw.mk | 7 +++- AllLangHelp_simpress.mk | 2 +- source/text/sdraw/00/page_menu.xhp | 52 ++++++++++++++++++++++++ source/text/sdraw/01/04010000.xhp | 40 ------------------ source/text/sdraw/01/new_page.xhp | 40 ++++++++++++++++++ source/text/sdraw/01/page_properties.xhp | 41 +++++++++++++++++++ source/text/sdraw/main0100.xhp | 2 +- source/text/sdraw/main0104.xhp | 61 ---------------------------- source/text/sdraw/main_format.xhp | 2 - source/text/sdraw/main_insert.xhp | 59 +++++++++++++++++++++++++++ source/text/sdraw/main_page.xhp | 43 ++++++++++++++++++++ source/text/simpress/00/00000404.xhp | 5 +-- source/text/simpress/00/slide_menu.xhp | 8 ++-- source/text/simpress/01/03070000.xhp | 4 +- source/text/simpress/01/04010000.xhp | 44 -------------------- source/text/simpress/01/new_slide.xhp | 44 ++++++++++++++++++++ source/text/simpress/01/slide_properties.xhp | 10 ++--- source/text/simpress/02/10110000.xhp | 4 +- source/text/simpress/main_slide.xhp | 6 ++- 19 files changed, 304 insertions(+), 170 deletions(-) create mode 100644 source/text/sdraw/00/page_menu.xhp delete mode 100644 source/text/sdraw/01/04010000.xhp create mode 100644 source/text/sdraw/01/new_page.xhp create mode 100644 source/text/sdraw/01/page_properties.xhp delete mode 100644 source/text/sdraw/main0104.xhp create mode 100644 source/text/sdraw/main_insert.xhp create mode 100644 source/text/sdraw/main_page.xhp delete mode 100644 source/text/simpress/01/04010000.xhp create mode 100644 source/text/simpress/01/new_slide.xhp diff --git a/AllLangHelp_sdraw.mk b/AllLangHelp_sdraw.mk index 0b49ed98bb..f8eb539976 100644 --- a/AllLangHelp_sdraw.mk +++ b/AllLangHelp_sdraw.mk @@ -16,8 +16,11 @@ $(eval $(call gb_AllLangHelp_use_linked_modules,sdraw,\ )) $(eval $(call gb_AllLangHelp_add_helpfiles,sdraw,\ + helpcontent2/source/text/sdraw/main_page \ helpcontent2/source/text/sdraw/00/00000004 \ - helpcontent2/source/text/sdraw/01/04010000 \ + helpcontent2/source/text/sdraw/00/page_menu \ + helpcontent2/source/text/sdraw/01/new_page \ + helpcontent2/source/text/sdraw/01/page_properties \ helpcontent2/source/text/sdraw/04/01020000 \ helpcontent2/source/text/sdraw/guide/align_arrange \ helpcontent2/source/text/sdraw/guide/color_define \ @@ -40,7 +43,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,sdraw,\ helpcontent2/source/text/sdraw/main0101 \ helpcontent2/source/text/sdraw/main_edit \ helpcontent2/source/text/sdraw/main0103 \ - helpcontent2/source/text/sdraw/main0104 \ + helpcontent2/source/text/sdraw/main_insert \ helpcontent2/source/text/sdraw/main_format \ helpcontent2/source/text/sdraw/main_tools \ helpcontent2/source/text/sdraw/main0200 \ diff --git a/AllLangHelp_simpress.mk b/AllLangHelp_simpress.mk index 35eed8e684..528db4b55a 100644 --- a/AllLangHelp_simpress.mk +++ b/AllLangHelp_simpress.mk @@ -55,7 +55,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,simpress,\ helpcontent2/source/text/simpress/01/03151200 \ helpcontent2/source/text/simpress/01/03152000 \ helpcontent2/source/text/simpress/01/03180000 \ - helpcontent2/source/text/simpress/01/04010000 \ + helpcontent2/source/text/simpress/01/new_slide \ helpcontent2/source/text/simpress/01/04020000 \ helpcontent2/source/text/simpress/01/04030000 \ helpcontent2/source/text/simpress/01/04030000m \ diff --git a/source/text/sdraw/00/page_menu.xhp b/source/text/sdraw/00/page_menu.xhp new file mode 100644 index 0000000000..5a006d5f2c --- /dev/null +++ b/source/text/sdraw/00/page_menu.xhp @@ -0,0 +1,52 @@ + + + + + + Page Menu + /text/simpress/00/page_menu.xhp + + + + Choose Page - Properties + + Choose Page - Properties and then click the Page tab + + Choose Page - Properties and then click the Background tab + + Choose Page - Master Page + +
+ Choose Page - New Page + On the Insert bar, click +
+ + + + Icon + + + New Page + + +
+
+
+ +
diff --git a/source/text/sdraw/01/04010000.xhp b/source/text/sdraw/01/04010000.xhp deleted file mode 100644 index 58cd1bb73e..0000000000 --- a/source/text/sdraw/01/04010000.xhp +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - -Insert Page -/text/sdraw/01/04010000.xhp - - -Sun Microsystems, Inc. - - - -Insert Page -Inserts a blank page after the selected page. - -
- -
- -
diff --git a/source/text/sdraw/01/new_page.xhp b/source/text/sdraw/01/new_page.xhp new file mode 100644 index 0000000000..cca246717b --- /dev/null +++ b/source/text/sdraw/01/new_page.xhp @@ -0,0 +1,40 @@ + + + + + + + + +New Page +/text/sdraw/01/new_page.xhp + + +Sun Microsystems, Inc. + + + +New Page +Inserts a blank page after the selected page. + +
+ +
+ +
diff --git a/source/text/sdraw/01/page_properties.xhp b/source/text/sdraw/01/page_properties.xhp new file mode 100644 index 0000000000..63c0db9b05 --- /dev/null +++ b/source/text/sdraw/01/page_properties.xhp @@ -0,0 +1,41 @@ + + + + + + Page + /text/simpress/01/page_properties.xhp + + + Sun Microsystems, Inc. + + + + + Page + Sets page orientation, page margins, background and other layout options. +
+ +
+ + + + To change the background of all of the pages in the active file, select a background, click OK and click Yes in the Page Setup dialog. + +
diff --git a/source/text/sdraw/main0100.xhp b/source/text/sdraw/main0100.xhp index f791895a6c..efc2f20f68 100644 --- a/source/text/sdraw/main0100.xhp +++ b/source/text/sdraw/main0100.xhp @@ -41,7 +41,7 @@ - + diff --git a/source/text/sdraw/main0104.xhp b/source/text/sdraw/main0104.xhp deleted file mode 100644 index a527bdf7f3..0000000000 --- a/source/text/sdraw/main0104.xhp +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - Insert - /text/sdraw/main0104.xhp - - - -
- Insert - This menu allows you to insert elements, such as graphics and guides, into Draw documents. -
- Slide - - - Layer - - Insert Snap Point/Line - - - Comment - - Special Character - - - Hyperlink - - Table - - - - - Chart - Inserts a chart. - Floating Frame - - File - - -
\ No newline at end of file diff --git a/source/text/sdraw/main_format.xhp b/source/text/sdraw/main_format.xhp index 95c60f130e..77251c5e03 100644 --- a/source/text/sdraw/main_format.xhp +++ b/source/text/sdraw/main_format.xhp @@ -41,8 +41,6 @@ Bullets and Numbering -Page - Position and Size diff --git a/source/text/sdraw/main_insert.xhp b/source/text/sdraw/main_insert.xhp new file mode 100644 index 0000000000..fc42e390c9 --- /dev/null +++ b/source/text/sdraw/main_insert.xhp @@ -0,0 +1,59 @@ + + + + + + + + + Insert + /text/sdraw/main_insert.xhp + + + +
+ Insert + This menu allows you to insert elements, such as graphics and guides, into Draw documents. +
+ + Layer + + Insert Snap Point/Line + + + Comment + + Special Character + + + Hyperlink + + Table + + + + + Chart + Inserts a chart. + Floating Frame + + File + + +
diff --git a/source/text/sdraw/main_page.xhp b/source/text/sdraw/main_page.xhp new file mode 100644 index 0000000000..d4ff0959a9 --- /dev/null +++ b/source/text/sdraw/main_page.xhp @@ -0,0 +1,43 @@ + + + + + + + Page + /text/sdraw/main_page.xhp + + + + + + +
+ + +Page +This menu provides page management and navigation commands. +
+New Page + +Properties + + + +
diff --git a/source/text/simpress/00/00000404.xhp b/source/text/simpress/00/00000404.xhp index 209d97094b..4e4881aa94 100644 --- a/source/text/simpress/00/00000404.xhp +++ b/source/text/simpress/00/00000404.xhp @@ -18,7 +18,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - + @@ -31,9 +31,6 @@ Insert Menu -
-Choose Insert - New Page/Slide -
Choose Insert - Duplicate Slide UFI: will be changed "SO later" to Page (for Draw) Choose Insert - Expand Slide diff --git a/source/text/simpress/00/slide_menu.xhp b/source/text/simpress/00/slide_menu.xhp index 95c008908a..2b724755e3 100644 --- a/source/text/simpress/00/slide_menu.xhp +++ b/source/text/simpress/00/slide_menu.xhp @@ -34,17 +34,17 @@ Choose Slide - Change Slide Master -
- Choose Slide - New Page/Slide +
+ Choose Slide - New Slide On the Presentation bar, click
- Icon + Icon - New Page/Slide + New Slide
diff --git a/source/text/simpress/01/03070000.xhp b/source/text/simpress/01/03070000.xhp index 146d19b803..969968ae0d 100644 --- a/source/text/simpress/01/03070000.xhp +++ b/source/text/simpress/01/03070000.xhp @@ -35,8 +35,8 @@
-Slide - +Slide + Slide Layout Slide Design diff --git a/source/text/simpress/01/04010000.xhp b/source/text/simpress/01/04010000.xhp deleted file mode 100644 index 8c089fc14f..0000000000 --- a/source/text/simpress/01/04010000.xhp +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - -New Page/Slide -/text/simpress/01/04010000.xhp - - - -inserting; slides -slides; inserting - - -New Page/Slide -Inserts a slide after the currently selected slide. -Inserts a page after the currently selected page. - -
- -
- -
diff --git a/source/text/simpress/01/new_slide.xhp b/source/text/simpress/01/new_slide.xhp new file mode 100644 index 0000000000..ecbcc9ded8 --- /dev/null +++ b/source/text/simpress/01/new_slide.xhp @@ -0,0 +1,44 @@ + + + + + + + + + + +New Slide +/text/simpress/01/new_slide.xhp + + + +inserting; slides +slides; inserting + + +New Slide +Inserts a slide after the currently selected slide. +Inserts a slide after the currently selected slide. + +
+ +
+ +
diff --git a/source/text/simpress/01/slide_properties.xhp b/source/text/simpress/01/slide_properties.xhp index 095e3b6905..0d8df9c4c7 100644 --- a/source/text/simpress/01/slide_properties.xhp +++ b/source/text/simpress/01/slide_properties.xhp @@ -19,7 +19,7 @@ - Page + Slide /text/simpress/01/slide_properties.xhp @@ -27,15 +27,15 @@ - - Page - Sets page orientation, page margins, background and other layout options. + + Slide + Sets slide orientation, slide margins, background and other layout options.
- To change the background of all of the pages in the active file, select a background, click OK and click Yes in the Page Setup dialog. + To change the background of all of the slides in the active file, select a background, click OK and click Yes in the Page Setup dialog.
diff --git a/source/text/simpress/02/10110000.xhp b/source/text/simpress/02/10110000.xhp index b7ebea53bc..192decdb5b 100644 --- a/source/text/simpress/02/10110000.xhp +++ b/source/text/simpress/02/10110000.xhp @@ -48,8 +48,8 @@
Open the Insert toolbar, where you can add objects, including charts, spreadsheets, and images, to your document. -Slide - +Slide + Floating Frame diff --git a/source/text/simpress/main_slide.xhp b/source/text/simpress/main_slide.xhp index 86669a1ece..35a6829214 100644 --- a/source/text/simpress/main_slide.xhp +++ b/source/text/simpress/main_slide.xhp @@ -34,8 +34,10 @@ Slide This menu provides slide management and navigation commands.
-New Page/Slide - +New Slide + +Properties + -- cgit v1.2.3