diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-05-28 20:53:01 -0430 |
---|---|---|
committer | Rafael Dominguez <venccsralph@gmail.com> | 2012-05-28 20:53:01 -0430 |
commit | 0102a95559f3b6e20ae869986716bf1723b72a9b (patch) | |
tree | 3923fc545b950f456fa368ef056fb28a5afa7ec1 /sfx2/source/doc/templatedlg.src | |
parent | a7ddff1b801ef645bf2dfe36aacf125b4cd98c46 (diff) |
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
Diffstat (limited to 'sfx2/source/doc/templatedlg.src')
-rw-r--r-- | sfx2/source/doc/templatedlg.src | 62 |
1 files changed, 62 insertions, 0 deletions
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"; + }; +}; |