1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22// include --------------------------------------------------------------- 23#include "javaedit.hrc" 24#include "fldui.hrc" 25#include "helpid.h" 26// pragma ---------------------------------------------------------------- 27 28// RID_SVXDLG_POSTIT ----------------------------------------------------- 29ModalDialog DLG_JAVAEDIT 30{ 31 HelpID = "sw:ModalDialog:DLG_JAVAEDIT" ; 32 OutputSize = TRUE ; 33 SvLook = TRUE ; 34 Size = MAP_APPFONT ( 248, 157 ) ; 35 Moveable = TRUE ; 36 FixedText FT_TYPE 37 { 38 Pos = MAP_APPFONT ( 12, 15 ) ; 39 Size = MAP_APPFONT ( 55, 10 ) ; 40 Text [ en-US ] = "Script type" ; 41 }; 42 Edit ED_TYPE 43 { 44 HelpID = "sw:Edit:DLG_JAVAEDIT:ED_TYPE" ; 45 Border = TRUE ; 46 Text = "JavaScript" ; 47 // Do not translate!!! 48 Pos = MAP_APPFONT ( 70, 14 ) ; 49 Size = MAP_APPFONT ( 87, 12 ) ; 50 TabStop = TRUE ; 51 }; 52 RadioButton RB_URL 53 { 54 HelpID = "sw:RadioButton:DLG_JAVAEDIT:RB_URL" ; 55 Pos = MAP_APPFONT ( 12, 28 ) ; 56 Size = MAP_APPFONT ( 55, 10 ) ; 57 TabStop = TRUE ; 58 Text [ en-US ] = "URL" ; 59 }; 60 Edit ED_URL 61 { 62 HelpID = "sw:Edit:DLG_JAVAEDIT:ED_URL" ; 63 Border = TRUE ; 64 Pos = MAP_APPFONT ( 70, 27 ) ; 65 Size = MAP_APPFONT ( 87, 12 ) ; 66 TabStop = TRUE ; 67 }; 68 PushButton PB_URL 69 { 70 HelpID = "sw:PushButton:DLG_JAVAEDIT:PB_URL" ; 71 Pos = MAP_APPFONT ( 163, 26 ) ; 72 Size = MAP_APPFONT ( 14, 14 ) ; 73 Text = "~..." ; 74 TabStop = TRUE ; 75 }; 76 RadioButton RB_EDIT 77 { 78 HelpID = "sw:RadioButton:DLG_JAVAEDIT:RB_EDIT" ; 79 Pos = MAP_APPFONT ( 12, 40 ) ; 80 Size = MAP_APPFONT ( 140, 10 ) ; 81 Text [ en-US ] = "~Text" ; 82 TabStop = TRUE ; 83 Check = TRUE ; 84 }; 85 MultiLineEdit ED_EDIT 86 { 87 HelpID = "sw:MultiLineEdit:DLG_JAVAEDIT:ED_EDIT" ; 88 Border = TRUE ; 89 Pos = MAP_APPFONT ( 23, 54 ) ; 90 Size = MAP_APPFONT ( 155, 91 ) ; 91 Left = TRUE ; 92 VScroll = TRUE ; 93 HScroll = TRUE ; 94 IgnoreTab = TRUE ; 95 TabStop = TRUE ; 96 }; 97 FixedLine FL_POSTIT 98 { 99 Pos = MAP_APPFONT ( 6, 3 ) ; 100 Size = MAP_APPFONT ( 179, 8 ) ; 101 Text [ en-US ] = "Contents" ; 102 }; 103 OKButton BTN_POST_OK 104 { 105 Pos = MAP_APPFONT ( 191, 6 ) ; 106 Size = MAP_APPFONT ( 50, 15 ) ; 107 DefButton = TRUE ; 108 }; 109 CancelButton BTN_POST_CANCEL 110 { 111 Pos = MAP_APPFONT ( 191, 23 ) ; 112 Size = MAP_APPFONT ( 50, 15 ) ; 113 }; 114 HelpButton BTN_POST_HELP 115 { 116 Pos = MAP_APPFONT ( 191, 40 ) ; 117 Size = MAP_APPFONT ( 50, 15 ) ; 118 }; 119 ImageButton BTN_PREV 120 { 121 HelpID = "sw:ImageButton:DLG_JAVAEDIT:BTN_PREV" ; 122 Pos = MAP_APPFONT ( 191, 60 ) ; 123 Size = MAP_APPFONT ( 24, 14 ) ; 124 Symbol = IMAGEBUTTON_ARROW_LEFT ; 125 }; 126 ImageButton BTN_NEXT 127 { 128 HelpID = "sw:ImageButton:DLG_JAVAEDIT:BTN_NEXT" ; 129 Pos = MAP_APPFONT ( 217, 60 ) ; 130 Size = MAP_APPFONT ( 24, 14 ) ; 131 Symbol = IMAGEBUTTON_ARROW_RIGHT ; 132 }; 133 // local strings 134 String STR_JAVA_EDIT 135 { 136 Text [ en-US ] = "Edit Script" ; 137 }; 138 String STR_JAVA_INSERT 139 { 140 Text [ en-US ] = "Insert Script" ; 141 }; 142 Text [ en-US ] = "Edit Script" ; 143}; 144 145// ********************************************************************** EOF 146