/* -*- 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 . */ #include #include #include #include "starmath.hrc" #include "dialog.hrc" #include "toolbox.hrc" #include "ElementsDockingWindow.hrc" #include "smcommands.h" #define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; } ModalDialog RID_FONTDIALOG { HelpID = "starmath:ModalDialog:RID_FONTDIALOG"; Moveable = TRUE ; OutputSize = TRUE ; SVLook = TRUE ; Size = MAP_APPFONT ( 183 , 150 ) ; Text [ en-US ] = "Fonts" ; FixedText 1 { Left = TRUE ; Pos = MAP_APPFONT ( 6 , 6 ) ; Size = MAP_APPFONT ( 40 , 8 ) ; Text [ en-US ] = "~Font"; }; ComboBox 1 { HelpID = "starmath:ComboBox:RID_FONTDIALOG:1"; Pos = MAP_APPFONT ( 6 , 17 ) ; Size = MAP_APPFONT ( 111 , 60 ) ; TabStop = TRUE ; Sort = TRUE ; VScroll = TRUE ; }; CheckBox 1 { HelpID = "starmath:CheckBox:RID_FONTDIALOG:1"; TabStop = TRUE ; Pos = MAP_APPFONT ( 60 , 84 ) ; Size = MAP_APPFONT ( 33 , 10 ) ; Text [ en-US ] = "~Bold" ; }; CheckBox 2 { HelpID = "starmath:CheckBox:RID_FONTDIALOG:2"; TabStop = TRUE ; Pos = MAP_APPFONT ( 60 , 97 ) ; Size = MAP_APPFONT ( 33 , 10 ) ; Text [ en-US ] = "~Italic" ; }; HelpButton 1 { Pos = MAP_APPFONT ( 126 , 42 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; HelpID = "starmath:HelpButton:RID_FONTDIALOG:1"; Text [ en-US ] = "~Help" ; }; OKButton 1 { Pos = MAP_APPFONT ( 126 , 6 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; DefButton = TRUE ; }; CancelButton 1 { Pos = MAP_APPFONT ( 126 , 24 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; }; Control 1 { Disable = TRUE ; Border = TRUE; Pos = MAP_APPFONT ( 6 , 113 ) ; Size = MAP_APPFONT ( 111 , 31 ) ; }; FixedText 2 { Pos = MAP_APPFONT ( 6 , 85 ) ; Size = MAP_APPFONT ( 42 , 8 ) ; Text [ en-US ] = "Attributes" ; }; }; ModalDialog RID_SYMDEFINEDIALOG { HelpID = "starmath:ModalDialog:RID_SYMDEFINEDIALOG"; Moveable = TRUE ; OutputSize = TRUE ; SVLook = TRUE ; Size = MAP_APPFONT ( 365 , 215 ) ; Text [ en-US ] = "Edit Symbols" ; FixedText 1 { Pos = MAP_APPFONT ( 6 , 8 ) ; Size = MAP_APPFONT ( 50 , 8 ) ; Left = TRUE ; Text [ en-US ] = "~Old symbol"; }; ComboBox 1 { HelpID = "starmath:ComboBox:RID_SYMDEFINEDIALOG:1"; Pos = MAP_APPFONT ( 59 , 6 ) ; Size = MAP_APPFONT ( 80 , 100 ) ; TabStop = TRUE ; DropDown = TRUE ; Sort = TRUE ; }; FixedText 2 { Pos = MAP_APPFONT ( 145 , 8 ) ; Size = MAP_APPFONT ( 60 , 8 ) ; Left = TRUE ; Text [ en-US ] = "O~ld symbol set"; }; ComboBox 2 { HelpID = "starmath:ComboBox:RID_SYMDEFINEDIALOG:2"; Pos = MAP_APPFONT ( 210 , 6 ) ; Size = MAP_APPFONT ( 80 , 100 ) ; TabStop = TRUE ; DropDown = TRUE ; Sort = TRUE ; }; Control 1 { HelpID = HID_SMA_CONTROL_FONTCHAR_VIEW ; Border = TRUE ; Pos = MAP_APPFONT ( 6 , 24 ) ; Size = MAP_APPFONT ( 295 , 87 ) ; TabStop = TRUE ; Group = TRUE ; }; FixedText 9 { Pos = MAP_APPFONT ( 6 , 118 ) ; Size = MAP_APPFONT ( 71 , 8 ) ; Left = TRUE ; Text [ en-US ] = "~Symbol"; }; ComboBox 4 { HelpID = "starmath:ComboBox:RID_SYMDEFINEDIALOG:4"; Pos = MAP_APPFONT ( 80 , 115 ) ; Size = MAP_APPFONT ( 100 , 100 ) ; TabStop = TRUE ; DropDown = TRUE ; Sort = TRUE ; }; FixedText 10 { Left = TRUE ; Pos = MAP_APPFONT ( 6 , 133 ) ; Size = MAP_APPFONT ( 71 , 8 ) ; Text [ en-US ] = "Symbol s~et"; }; ComboBox 5 { HelpID = "starmath:ComboBox:RID_SYMDEFINEDIALOG:5"; Pos = MAP_APPFONT ( 80 , 130 ) ; Size = MAP_APPFONT ( 100 , 100 ) ; TabStop = TRUE ; DropDown = TRUE ; Sort = TRUE ; }; FixedText 3 { Left = TRUE ; Pos = MAP_APPFONT ( 6 , 148 ) ; Size = MAP_APPFONT ( 71 , 8 ) ; Text [ en-US ] = "~Font"; }; ListBox 1 { HelpID = "starmath:ListBox:RID_SYMDEFINEDIALOG:1"; Border = TRUE ; Pos = MAP_APPFONT ( 80 , 145 ) ; Size = MAP_APPFONT ( 100 , 100 ) ; TabStop = TRUE ; Sort = TRUE ; DropDown = TRUE ; }; FixedText FT_FONTS_SUBSET { Left = TRUE ; Pos = MAP_APPFONT ( 6 , 163 ) ; Size = MAP_APPFONT ( 71 , 8 ) ; Text [ en-US ] = "~Subset"; }; ListBox LB_FONTS_SUBSET { HelpID = "starmath:ListBox:RID_SYMDEFINEDIALOG:LB_FONTS_SUBSET"; Border = TRUE ; Pos = MAP_APPFONT ( 80 , 160 ) ; Size = MAP_APPFONT ( 100 , 100 ) ; TabStop = TRUE ; Sort = FALSE ; DropDown = TRUE ; }; FixedText 4 { Left = TRUE ; Pos = MAP_APPFONT ( 6 , 178 ) ; Size = MAP_APPFONT ( 71 , 8 ) ; Text [ en-US ] = "~Typeface"; }; ComboBox 3 { HelpID = "starmath:ComboBox:RID_SYMDEFINEDIALOG:3"; Border = TRUE; Pos = MAP_APPFONT ( 80 , 175 ) ; Size = MAP_APPFONT ( 100 , 100 ) ; TabStop = TRUE ; DropDown = TRUE ; Sort = FALSE ; }; FixedText 5 { Center = TRUE ; Pos = MAP_APPFONT ( 303 , 130 ) ; Size = MAP_APPFONT ( 54 , 8 ) ; }; Control 2 { Border = TRUE ; Pos = MAP_APPFONT ( 310 , 140 ) ; Size = MAP_APPFONT ( 40 , 40 ) ; }; FixedText 6 { Center = TRUE ; Pos = MAP_APPFONT ( 303 , 182 ) ; Size = MAP_APPFONT ( 54 , 8 ) ; }; Image 1 { ImageBitmap = Bitmap { File = "ar_right.bmp" ; }; MaskColor = IMAGE_STDBTN_COLOR ; }; FixedImage BMP_ARROW_RIGHT { Pos = MAP_APPFONT ( 252 , 142 ) ; Size = MAP_APPFONT ( 36 , 36 ) ; Fixed = Image { ImageBitmap = Bitmap { File = "ar_right.bmp" ; }; MaskColor = IMAGE_STDBTN_COLOR ; }; }; FixedText 7 { Center = TRUE ; Pos = MAP_APPFONT ( 183 , 130 ) ; Size = MAP_APPFONT ( 54 , 9 ) ; }; Control 3 { Border = TRUE ; Pos = MAP_APPFONT ( 190 , 140 ) ; Size = MAP_APPFONT ( 40 , 40 ) ; }; FixedText 8 { Center = TRUE ; Pos = MAP_APPFONT ( 183 , 182 ) ; Size = MAP_APPFONT ( 54 , 8 ) ; }; PushButton 1 { HelpID = "starmath:PushButton:RID_SYMDEFINEDIALOG:1"; TabStop = TRUE ; Pos = MAP_APPFONT ( 305 , 195 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; Text [ en-US ] = "~Add" ; }; PushButton 2 { HelpID = "starmath:PushButton:RID_SYMDEFINEDIALOG:2"; TabStop = TRUE ; Pos = MAP_APPFONT ( 245 , 195 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; Text [ en-US ] = "~Modify" ; }; PushButton 3 { HelpID = "starmath:PushButton:RID_SYMDEFINEDIALOG:3"; TabStop = TRUE ; Pos = MAP_APPFONT ( 185 , 195 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; Text [ en-US ] = "~Delete" ; }; HelpButton 1 { Pos = MAP_APPFONT ( 310 , 42 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; HelpID = "starmath:HelpButton:RID_SYMDEFINEDIALOG:1"; Text [ en-US ] = "~Help" ; }; OKButton 1 { Pos = MAP_APPFONT ( 310 , 6 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; DefButton = TRUE ; }; CancelButton 1 { Pos = MAP_APPFONT ( 310 , 24 ) ; Size = MAP_APPFONT ( 50 , 14 ) ; TabStop = TRUE ; }; }; WarningBox RID_NOMATHTYPEFACEWARNING { Message [ en-US ] = "The 'StarMath' font has not been installed.\nWithout this font %PRODUCTNAME Math cannot function correctly.\nPlease install this font and restart %PRODUCTNAME Math." ; }; String RID_FONTREGULAR { Text [ en-US ] = "Standard" ; }; String RID_FONTITALIC { Text [ en-US ] = "Italic" ; }; String RID_FONTBOLD { Text [ en-US ] = "Bold" ; }; String RID_APPLICATION { Text = "StarMath" ; }; String RID_OBJECTNAME { Text = "SMath3" ; }; String RID_UNDOEDITNAME { Text = "Edit" ; }; String RID_UNDOFORMATNAME { Text = "Format" ; }; String GID_MATH { Text = "StarMath" ; }; Menu RID_VIEWMENU { ItemList = { MenuItem { Identifier = SID_ZOOM_50_PERCENT; HelpId = CMD_SID_VIEW050 ; Text [ en-US ] = "~View 50%" ; }; MenuItem { Identifier = SID_ZOOM_100_PERCENT ; HelpId = CMD_SID_VIEW100 ; Text [ en-US ] = "View ~100%" ; }; MenuItem { Identifier = SID_ZOOM_200_PERCENT ; HelpId = CMD_SID_VIEW200 ; Text [ en-US ] = "View ~200%" ; }; MenuItem { Identifier = SID_ZOOMIN ; HelpId = CMD_SID_ZOOMIN ; Text [ en-US ] = "~Zoom In" ; }; MenuItem { Identifier = SID_ZOOMOUT ; HelpId = CMD_SID_ZOOMOUT ; Text [ en-US ] = "Zoom ~Out" ; }; MenuItem { Identifier = SID_ZOOM_OPTIMAL ; HelpId = CMD_SID_ADJUST ; Text [ en-US ] = "~Display All" ; }; MenuItem { Separator = TRUE ; }; MenuItem { Identifier = SID_DRAW ; HelpId = CMD_SID_DRAW ; Text [ en-US ] = "U~pdate" ; }; }; }; #define CMDBOXWINDOW_TEXT \ Text [ en-US ] = "Commands" ; \ DockingWindow RID_CMDBOXWINDOW\ { HelpId = HID_SMA_COMMAND_WIN ; Moveable = TRUE ; Closeable = FALSE ; Sizeable = TRUE ; OutputSize = TRUE ; HideWhenDeactivate = FALSE ; SVLook = TRUE ; Size = MAP_APPFONT ( 292 , 94 ) ; Dockable = TRUE ; CMDBOXWINDOW_TEXT }; DockingWindow RID_ELEMENTSDOCKINGWINDOW { OutputSize = TRUE ; Hide = FALSE ; SVLook = TRUE ; Size = MAP_APPFONT ( 300 , 300 ) ; Sizeable = TRUE ; Moveable = TRUE ; Closeable = TRUE ; Zoomable = TRUE ; Dockable = TRUE ; Control 1 { Border = FALSE ; }; ListBox 1 { Border = TRUE ; TabStop = TRUE ; Sort = FALSE ; DropDown = TRUE ; VScroll = TRUE ; }; Text [ en-US ] = "Elements Dock" ; String STR_BLACK { Text [ en-US ] = "black" ; }; String STR_BLUE { Text [ en-US ] = "blue" ; }; String STR_GREEN { Text [ en-US ] = "green" ; }; String STR_RED { Text [ en-US ] = "red" ; }; String STR_CYAN { Text [ en-US ] = "cyan" ; }; String STR_MAGENTA { Text [ en-US ] = "magenta" ; }; String STR_YELLOW { Text [ en-US ] = "yellow" ; }; String STR_HIDE { Text [ en-US ] = "hide" ; }; String STR_SIZE { Text [ en-US ] = "size" ; }; String STR_FONT { Text [ en-US ] = "font" ; }; }; String STR_CMDBOXWINDOW { CMDBOXWINDOW_TEXT }; String RID_DOCUMENTSTR { Text [ en-US ] = "Formula" ; }; String STR_STATSTR_READING { Text [ en-US ] = "Loading document..." ; }; String STR_STATSTR_WRITING { Text [ en-US ] = "Saving document..." ; }; String STR_MATH_DOCUMENT_FULLTYPE_CURRENT { Text [ en-US ] = "%PRODUCTNAME %PRODUCTVERSION Formula"; }; String RID_SYMBOLFILESSTR { Text [ en-US ] = "Symbol files (*.sms)" ; }; String RID_ALLFILESSTR { Text [ en-US ] = "All files" ; }; String RID_ERR_IDENT { Text [ en-US ] = "ERROR : " ; }; String RID_ERR_UNKNOWN { Text [ en-US ] = "Unknown error occurred" ; }; String RID_ERR_UNEXPECTEDCHARACTER { Text [ en-US ] = "Unexpected character" ; }; String RID_ERR_OVERFLOW { Text [ en-US ] = "Formula entry too complex" ; }; String RID_ERR_LGROUPEXPECTED { Text [ en-US ] = "'{' expected" ; }; String RID_ERR_RGROUPEXPECTED { Text [ en-US ] = "'}' expected" ; }; String RID_ERR_LBRACEEXPECTED { Text [ en-US ] = "'(' expected" ; }; String RID_ERR_RBRACEEXPECTED { Text [ en-US ] = "')' expected" ; }; String RID_ERR_FUNCEXPECTED { Text [ en-US ] = "Function expected" ; }; String RID_ERR_UNOPEREXPECTED { Text [ en-US ] = "Unary operator expected" ; }; String RID_ERR_BINOPEREXPECTED { Text [ en-US ] = "Binary operator expected" ; }; String RID_ERR_SYMBOLEXPECTED { Text [ en-US ] = "Symbol expected" ; }; String RID_ERR_IDENTEXPECTED { Text [ en-US ] = "Identifier expected" ; }; String RID_ERR_POUNDEXPECTED { Text [ en-US ] = "'#' expected" ; }; String RID_ERR_COLOREXPECTED { Text [ en-US ] = "Color required" ; }; String RID_ERR_LPARENTEXPECTED { Text [ en-US ] = "Left limit expected" ; }; String RID_ERR_RPARENTEXPECTED { Text [ en-US ] = "Right limit expected" ; }; String RID_ERR_RIGHTEXPECTED { Text [ en-US ] = "'RIGHT' expected" ; }; String RID_MATH_TOOLBOX { Text [ en-US ] = "Main Toolbar" ; }; StringArray RID_PRINTUIOPTIONS { ItemList [en-US] = { < "%PRODUCTNAME %s"; >; < "Contents"; >; < "~Title"; >; < "~Formula text"; >; < "B~orders"; >; < "Size"; >; < "O~riginal size"; >; < "Fit to ~page"; >; < "~Scaling"; >; }; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */