From 0102a95559f3b6e20ae869986716bf1723b72a9b Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Mon, 28 May 2012 20:53:01 -0430 Subject: Implement template manager dialog. - Handle command in appserver - Add all the necessary defines for the command and slot. - Create TemplateManagerDlg class and resource files. - Add basic buttons to display different templates with their handlers. Change-Id: I557576a49f722c6f54d74922bac8bc4ebd5760c3 --- sfx2/source/doc/templatedlg.src | 62 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 sfx2/source/doc/templatedlg.src (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src new file mode 100644 index 000000000000..220a61d5d9b7 --- /dev/null +++ b/sfx2/source/doc/templatedlg.src @@ -0,0 +1,62 @@ +/* + * Copyright 2012 LibreOffice contributors. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#include "doc.hrc" +#include "templatedlg.hrc" +#include "helpid.hrc" + +ModalDialog DLG_TEMPLATE_MANAGER +{ + HelpId = CMD_SID_TEMPLATE_MANAGER; + OutputSize = TRUE; + SVLook = TRUE; + Moveable = TRUE; + Size = MAP_APPFONT ( 271 , 162 ); + Text [en-US] = "Template Manager"; + + PushButton BTN_SELECT_ALL + { + Pos = MAP_APPFONT(10,5); + Size = MAP_APPFONT(50,14); + TabStop = TRUE; + DefButton = TRUE; + Text [en-US] = "All"; + }; + + PushButton BTN_SELECT_DOCS + { + Pos = MAP_APPFONT(60,5); + Size = MAP_APPFONT(50,14); + TabStop = TRUE; + Text [en-US] = "Documents"; + }; + + PushButton BTN_SELECT_PRESENTATIONS + { + Pos = MAP_APPFONT(110,5); + Size = MAP_APPFONT(50,14); + TabStop = TRUE; + Text [en-US] = "Presentations"; + }; + + PushButton BTN_SELECT_SHEETS + { + Pos = MAP_APPFONT(160,5); + Size = MAP_APPFONT(50,14); + TabStop = TRUE; + Text [en-US] = "Spreedsheets"; + }; + + PushButton BTN_SELECT_DRAWS + { + Pos = MAP_APPFONT(210,5); + Size = MAP_APPFONT(50,14); + TabStop = TRUE; + Text [en-US] = "Drawings"; + }; +}; -- cgit From 6cca1324d830caec26336856a77fe7a4fd7f7721 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Fri, 1 Jun 2012 13:25:06 -0430 Subject: Add thumbnail view to template dialog. Change-Id: I72f31de4176f0ce5a721a1d21ae3ae936bcf296c --- sfx2/source/doc/templatedlg.src | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index 220a61d5d9b7..85a806413cba 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -16,7 +16,7 @@ ModalDialog DLG_TEMPLATE_MANAGER OutputSize = TRUE; SVLook = TRUE; Moveable = TRUE; - Size = MAP_APPFONT ( 271 , 162 ); + Size = MAP_APPFONT ( 270 , 165 ); Text [en-US] = "Template Manager"; PushButton BTN_SELECT_ALL @@ -59,4 +59,11 @@ ModalDialog DLG_TEMPLATE_MANAGER TabStop = TRUE; Text [en-US] = "Drawings"; }; + + Control TEMPLATE_VIEW + { + Pos = MAP_APPFONT(5,30); + Size = MAP_APPFONT(50,260); + TabStop = TRUE; + }; }; -- cgit From 5b20e0572f266fef0775208737ac08599a0dd1ce Mon Sep 17 00:00:00 2001 From: Cédric Bosdonnat Date: Mon, 4 Jun 2012 14:48:42 +0200 Subject: Make the template manager closeable Change-Id: Ic5e614529883784b2cc098520ffbb47c76875471 --- sfx2/source/doc/templatedlg.src | 1 + 1 file changed, 1 insertion(+) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index 85a806413cba..3d73d11d26c3 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -16,6 +16,7 @@ ModalDialog DLG_TEMPLATE_MANAGER OutputSize = TRUE; SVLook = TRUE; Moveable = TRUE; + Closeable = TRUE; Size = MAP_APPFONT ( 270 , 165 ); Text [en-US] = "Template Manager"; -- cgit From 87bbe2b6c906357b8e05f9e89a2c91bc7f802014 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Tue, 5 Jun 2012 21:37:05 -0430 Subject: Display filesystem templates under My Templates folder. Change-Id: I9d504d62392b30a7eca2be9be5330e6118967a1a --- sfx2/source/doc/templatedlg.src | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index 3d73d11d26c3..f59e025ac849 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -17,7 +17,7 @@ ModalDialog DLG_TEMPLATE_MANAGER SVLook = TRUE; Moveable = TRUE; Closeable = TRUE; - Size = MAP_APPFONT ( 270 , 165 ); + Size = MAP_APPFONT ( 270 , 190 ); Text [en-US] = "Template Manager"; PushButton BTN_SELECT_ALL @@ -64,7 +64,15 @@ ModalDialog DLG_TEMPLATE_MANAGER Control TEMPLATE_VIEW { Pos = MAP_APPFONT(5,30); - Size = MAP_APPFONT(50,260); + Size = MAP_APPFONT(260,150); TabStop = TRUE; }; + + Image IMG_ONLINE_REPOSITORY + { + ImageBitmap = Bitmap + { + File = "signet.png"; + }; + }; }; -- cgit From f19a58570f34888b17ec243f345ddeb5877c24aa Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Tue, 5 Jun 2012 21:43:51 -0430 Subject: Hide thumbnail view as default. Change-Id: Ied6d9b9e1ceb2605013273b6361770e97d2065da --- sfx2/source/doc/templatedlg.src | 1 + 1 file changed, 1 insertion(+) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index f59e025ac849..73ea0c76e6fe 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -17,6 +17,7 @@ ModalDialog DLG_TEMPLATE_MANAGER SVLook = TRUE; Moveable = TRUE; Closeable = TRUE; + Hide = TRUE; Size = MAP_APPFONT ( 270 , 190 ); Text [en-US] = "Template Manager"; -- cgit From 469f0f8a0c881c156e0b81ba8667fa46eb5c2fe9 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Mon, 11 Jun 2012 04:05:35 -0430 Subject: Adjust template dialog size. Change-Id: I5e798a8cab58f336271c6ce621e9a6829d5b7776 --- sfx2/source/doc/templatedlg.src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index 73ea0c76e6fe..1fb3e731cb24 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -18,7 +18,7 @@ ModalDialog DLG_TEMPLATE_MANAGER Moveable = TRUE; Closeable = TRUE; Hide = TRUE; - Size = MAP_APPFONT ( 270 , 190 ); + Size = MAP_APPFONT ( 290 , 250 ); Text [en-US] = "Template Manager"; PushButton BTN_SELECT_ALL @@ -65,7 +65,7 @@ ModalDialog DLG_TEMPLATE_MANAGER Control TEMPLATE_VIEW { Pos = MAP_APPFONT(5,30); - Size = MAP_APPFONT(260,150); + Size = MAP_APPFONT(280,220); TabStop = TRUE; }; -- cgit From 71702696eba6053f37798c33e608bdd97bdf116d Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Sat, 16 Jun 2012 12:33:34 -0430 Subject: Add button to activate/deactivate template view selection mode. Change-Id: Ib58503e30d589eb5c02a29c1fec4be3a8011ba31 --- sfx2/source/doc/templatedlg.src | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index 1fb3e731cb24..fa238959c743 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -62,6 +62,18 @@ ModalDialog DLG_TEMPLATE_MANAGER Text [en-US] = "Drawings"; }; + ImageButton BTN_SELECTION_MODE + { + Pos = MAP_APPFONT(265,5); + Size = MAP_APPFONT(14,14); + TabStop = TRUE; + + ButtonImage = Image + { + ImageBitmap = Bitmap { File = "signet.png" ; }; + }; + }; + Control TEMPLATE_VIEW { Pos = MAP_APPFONT(5,30); -- cgit From e10392bb8c09c3a8e9b99f37d85f0814af372242 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Mon, 18 Jun 2012 18:51:52 -0430 Subject: Set selection mode button image. Change-Id: I3fb2592d61622a0d3f07d70cfc26c10f4f2ef2fe --- sfx2/source/doc/templatedlg.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index fa238959c743..677161151160 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -70,7 +70,7 @@ ModalDialog DLG_TEMPLATE_MANAGER ButtonImage = Image { - ImageBitmap = Bitmap { File = "signet.png" ; }; + ImageBitmap = Bitmap { File = "select.png" ; }; }; }; -- cgit From 44c2e8489276c2ac2ba43fa7fb8274771afb5558 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Thu, 21 Jun 2012 18:20:58 -0430 Subject: Add toolbox to template manager dialog. Change-Id: I693e55e903b3e9c4121d65b477d19fbb48fd837e --- sfx2/source/doc/templatedlg.src | 85 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index 677161151160..610add45fb5a 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -88,4 +88,89 @@ ModalDialog DLG_TEMPLATE_MANAGER File = "signet.png"; }; }; + + ToolBox TBX_ACTION_VIEW + { + SVLook = TRUE ; + TabStop = TRUE ; + Pos = MAP_APPFONT ( 4 , 22 ) ; + + ItemList = + { + ToolBoxItem + { + Identifier = TBI_TEMPLATE_CREATE; + Text [ en-US ] = "Create a template" ; + }; + + ToolBoxItem + { + Identifier = TBI_TEMPLATE_IMPORT ; + Text [ en-US ] = "Import a template" ; + }; + }; + }; + + ToolBox TBX_ACTION_ACTION + { + SVLook = TRUE ; + TabStop = TRUE ; + Pos = MAP_APPFONT ( 4 , 22 ) ; + + ItemList = + { + ToolBoxItem + { + Identifier = TBI_TEMPLATE_SEARCH; + Text [en-US] = "Search"; + }; + + ToolBoxItem + { + Identifier = TBI_TEMPLATE_ACTION; + Text [en-US] = "Action Menu"; + }; + + ToolBoxItem + { + Identifier = TBI_TEMPLATE_IMPORT ; + Text [ en-US ] = "Import a template" ; + }; + }; + }; + + ToolBox TBX_ACTION_TEMPLATES + { + SVLook = TRUE ; + TabStop = TRUE ; + Pos = MAP_APPFONT ( 4 , 22 ) ; + Hide = TRUE; + + ItemList = + { + ToolBoxItem + { + Identifier = TBI_TEMPLATE_EDIT; + Text [ en-US ] = "Edit"; + }; + + ToolBoxItem + { + Identifier = TBI_TEMPLATE_PROPERTIES; + Text [ en-US ] = "Properties"; + }; + + ToolBoxItem + { + Identifier = TBI_TEMPLATE_MOVE; + Text [ en-US ] = "Move to folder" ; + }; + + ToolBoxItem + { + Identifier = TBI_TEMPLATE_DELETE; + Text [ en-US ] = "Delete"; + }; + }; + }; }; -- cgit From 4d3d46efaa93848e13422a8be7b0e2c64ba3792c Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Mon, 25 Jun 2012 14:17:38 -0430 Subject: Set selection mode button tooltip. Change-Id: I83471df87217f0f3102ec0696087e26f3129012a --- sfx2/source/doc/templatedlg.src | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index 610add45fb5a..41c16546784f 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -72,6 +72,8 @@ ModalDialog DLG_TEMPLATE_MANAGER { ImageBitmap = Bitmap { File = "select.png" ; }; }; + + QuickHelpText [en-US] = "Enables selecting items by just clicking in the thumbnail or title."; }; Control TEMPLATE_VIEW -- cgit From 2427f3e39ce578ad9bf1771db3da9adaea6a6c76 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Mon, 25 Jun 2012 16:36:20 -0430 Subject: Display create template popup menu. Change-Id: Ifd1cae2e5d76f90305ceff97dee45407046251d7 --- sfx2/source/doc/templatedlg.src | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index 41c16546784f..013b51ea3129 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -10,6 +10,26 @@ #include "templatedlg.hrc" #include "helpid.hrc" +String STR_CREATE_TEXT +{ + Text [ en-US ] = "Text Document Template"; +}; + +String STR_CREATE_SHEET +{ + Text [ en-US ] = "Spreedsheet Template"; +}; + +String STR_CREATE_PRESENT +{ + Text [ en-US ] = "Presentation Template"; +}; + +String STR_CREATE_DRAW +{ + Text [ en-US ] = "Drawing Template"; +}; + ModalDialog DLG_TEMPLATE_MANAGER { HelpId = CMD_SID_TEMPLATE_MANAGER; -- cgit From 82e89e6491cacd7f9a588f1bcd02e60bc1272915 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Mon, 25 Jun 2012 17:36:48 -0430 Subject: Remove unneeded entry in action toolbar src file. Change-Id: I97ff31c527482fdb0f36bcf45b5c75802107938d --- sfx2/source/doc/templatedlg.src | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index 013b51ea3129..06f1c54a023a 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -152,12 +152,6 @@ ModalDialog DLG_TEMPLATE_MANAGER Identifier = TBI_TEMPLATE_ACTION; Text [en-US] = "Action Menu"; }; - - ToolBoxItem - { - Identifier = TBI_TEMPLATE_IMPORT ; - Text [ en-US ] = "Import a template" ; - }; }; }; -- cgit From f10e1e007a3e481298649733bf83eff7d32c48d8 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Mon, 25 Jun 2012 17:49:34 -0430 Subject: Display action popup menu. Change-Id: I6916be0c62385bd020ce08b314ee836f3c331d14 --- sfx2/source/doc/templatedlg.src | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index 06f1c54a023a..e98ca373aa83 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -30,6 +30,11 @@ String STR_CREATE_DRAW Text [ en-US ] = "Drawing Template"; }; +String STR_ACTION_SORT_NAME +{ + Text [ en-US ] = "Sort by name"; +}; + ModalDialog DLG_TEMPLATE_MANAGER { HelpId = CMD_SID_TEMPLATE_MANAGER; -- cgit From 8f7d779f94ef277ab4162b4a45d81d1fdd2a1f7c Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Thu, 28 Jun 2012 23:14:52 -0430 Subject: Display Move to Folder popup menu when selecting a template. Change-Id: If4ad6a1809b428b55b26bdb21d64f41cc9b6fbf5 --- sfx2/source/doc/templatedlg.src | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index e98ca373aa83..48bee92f4436 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -35,6 +35,11 @@ String STR_ACTION_SORT_NAME Text [ en-US ] = "Sort by name"; }; +String STR_MOVE_NEW +{ + Text [ en-US ] = "New folder"; +}; + ModalDialog DLG_TEMPLATE_MANAGER { HelpId = CMD_SID_TEMPLATE_MANAGER; -- cgit From ea508ce93296a56a537c219879d3b5aa11f969fa Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Fri, 29 Jun 2012 13:02:48 -0430 Subject: Add a close button to the dialog. Change-Id: I2bf1006107b29ce2b105830b3daf41870c5629ba --- sfx2/source/doc/templatedlg.src | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index 48bee92f4436..38763964b02c 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -106,6 +106,13 @@ ModalDialog DLG_TEMPLATE_MANAGER QuickHelpText [en-US] = "Enables selecting items by just clicking in the thumbnail or title."; }; + PushButton BTN_TEMPLATE_CLOSE + { + Size = MAP_APPFONT(50,14); + TabStop = TRUE; + Text [en-US] = "Close"; + }; + Control TEMPLATE_VIEW { Pos = MAP_APPFONT(5,30); -- cgit From dddc14f2365c188757a40ad3defdc6223df9f2c6 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Sun, 1 Jul 2012 08:57:40 -0430 Subject: Display "No folder" entry and append available folders in move menu. Change-Id: Ic6dc682167aae2dc8354bb6f74dd3bee107630a9 --- sfx2/source/doc/templatedlg.src | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index 38763964b02c..f4b69620634c 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -40,6 +40,11 @@ String STR_MOVE_NEW Text [ en-US ] = "New folder"; }; +String STR_MOVE_DELETE +{ + Text [ en-US ] = "No folder"; +}; + ModalDialog DLG_TEMPLATE_MANAGER { HelpId = CMD_SID_TEMPLATE_MANAGER; -- cgit From 007ad58e5108431b01db5e2aa93fd21b6ca508f2 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Mon, 2 Jul 2012 22:59:53 -0430 Subject: Add icons to toolbar buttons and menus. Change-Id: Ia1415d3cab1f381a7b84ad3cabeacefe739a047c --- sfx2/source/doc/templatedlg.src | 63 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index f4b69620634c..27fdfbbc647c 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -129,10 +129,51 @@ ModalDialog DLG_TEMPLATE_MANAGER { ImageBitmap = Bitmap { - File = "signet.png"; + File = "ln053.png"; }; }; + Image IMG_CREATE_TEXT + { + ImageBitmap = Bitmap + { + File = "create_text.png"; + }; + }; + + Image IMG_CREATE_SHEET + { + ImageBitmap = Bitmap + { + File = "create_sheet.png"; + }; + }; + + Image IMG_CREATE_PRESENT + { + ImageBitmap = Bitmap + { + File = "create_present.png"; + }; + }; + + Image IMG_CREATE_DRAW + { + ImageBitmap = Bitmap + { + File = "create_draw.png"; + }; + }; + + Image IMG_ACTION_SORT + { + ImageBitmap = Bitmap + { + File = "sortascending.png"; + }; + }; + + ToolBox TBX_ACTION_VIEW { SVLook = TRUE ; @@ -145,12 +186,22 @@ ModalDialog DLG_TEMPLATE_MANAGER { Identifier = TBI_TEMPLATE_CREATE; Text [ en-US ] = "Create a template" ; + + ItemImage = Image + { + ImageBitmap = Bitmap { File = "create_text.png" ; }; + }; }; ToolBoxItem { Identifier = TBI_TEMPLATE_IMPORT ; Text [ en-US ] = "Import a template" ; + + ItemImage = Image + { + ImageBitmap = Bitmap { File = "import.png" ; }; + }; }; }; }; @@ -167,12 +218,22 @@ ModalDialog DLG_TEMPLATE_MANAGER { Identifier = TBI_TEMPLATE_SEARCH; Text [en-US] = "Search"; + + ItemImage = Image + { + ImageBitmap = Bitmap { File = "search.png" ; }; + }; }; ToolBoxItem { Identifier = TBI_TEMPLATE_ACTION; Text [en-US] = "Action Menu"; + + ItemImage = Image + { + ImageBitmap = Bitmap { File = "exec_action.png" ; }; + }; }; }; }; -- cgit From 9f55545a1a1d96e133eb734607ef52a463a0f0ea Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Tue, 3 Jul 2012 14:06:50 -0430 Subject: Create dialog skeleton to ask user for new folder name. Change-Id: I5f861753c7b4d0e901c8268f4004676df7da124f --- sfx2/source/doc/templatedlg.src | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sfx2/source/doc/templatedlg.src') diff --git a/sfx2/source/doc/templatedlg.src b/sfx2/source/doc/templatedlg.src index 27fdfbbc647c..f0ac3322d345 100644 --- a/sfx2/source/doc/templatedlg.src +++ b/sfx2/source/doc/templatedlg.src @@ -45,6 +45,11 @@ String STR_MOVE_DELETE Text [ en-US ] = "No folder"; }; +String STR_INPUT_NEW +{ + Text [ en-US ] = "Enter folder name:"; +}; + ModalDialog DLG_TEMPLATE_MANAGER { HelpId = CMD_SID_TEMPLATE_MANAGER; -- cgit