diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-09-08 05:29:41 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-09-08 05:29:41 +0200 |
commit | 763298736ea58ca377d733cd158bb512f5e14dfd (patch) | |
tree | 83c1ffc14896796d68b21d7bfc3b0531c9197321 /starmath | |
parent | a92be728a5affb7d74eeeec8c6831968c05aeff4 (diff) |
Revert "Math: Remove not needed header file"
This reverts commit 5ab959017665e3f74ec4be8245827f3de92dd512.
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/smcommands.h | 36 | ||||
-rw-r--r-- | starmath/source/smres.src | 9 |
2 files changed, 37 insertions, 8 deletions
diff --git a/starmath/inc/smcommands.h b/starmath/inc/smcommands.h new file mode 100644 index 000000000000..a0fd0201a062 --- /dev/null +++ b/starmath/inc/smcommands.h @@ -0,0 +1,36 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * 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/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ +#ifndef SM_SMCOMMANDS_H +#define SM_SMCOMMANDS_H + +#define CMD_SID_ADJUST ".uno:Adjust" +#define CMD_SID_ALIGN ".uno:ChangeAlignment" +#define CMD_SID_DISTANCE ".uno:ChangeDistance" +#define CMD_SID_FONT ".uno:ChangeFont" +#define CMD_SID_FONTSIZE ".uno:ChangeFontSize" +#define CMD_SID_DRAW ".uno:Draw" +#define CMD_SID_VIEW100 ".uno:View100" +#define CMD_SID_VIEW200 ".uno:View200" +#define CMD_SID_VIEW050 ".uno:View50" +#define CMD_SID_ZOOMIN ".uno:ZoomIn" +#define CMD_SID_ZOOMOUT ".uno:ZoomOut" + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/starmath/source/smres.src b/starmath/source/smres.src index 750da23d8875..d03c15ba1a16 100644 --- a/starmath/source/smres.src +++ b/starmath/source/smres.src @@ -25,17 +25,10 @@ #include "dialog.hrc" #include "toolbox.hrc" #include "ElementsDockingWindow.hrc" +#include "smcommands.h" #define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; } -#define CMD_SID_ADJUST ".uno:Adjust" -#define CMD_SID_DRAW ".uno:Draw" -#define CMD_SID_VIEW100 ".uno:View100" -#define CMD_SID_VIEW200 ".uno:View200" -#define CMD_SID_VIEW050 ".uno:View50" -#define CMD_SID_ZOOMIN ".uno:ZoomIn" -#define CMD_SID_ZOOMOUT ".uno:ZoomOut" - ModalDialog RID_FONTDIALOG { HelpID = "starmath:ModalDialog:RID_FONTDIALOG"; |