| /************************************************************** |
| * |
| * 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 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| * |
| *************************************************************/ |
| |
| #include "dbinsdlg.hrc" |
| #include "dbui.hrc" |
| #include "cmdid.h" |
| #include "helpid.h" |
| ModalDialog DLG_AP_INSERT_DB_SEL |
| { |
| HelpID = HID_AP_INSERT_DB_SEL ; |
| OUTPUTSIZE = TRUE ; |
| Pos = MAP_APPFONT ( 0, 0 ) ; |
| Size = MAP_APPFONT ( 291, 189 ) ; |
| Moveable = TRUE ; |
| Closeable = TRUE ; |
| SVLOOK = TRUE ; |
| FixedText FT_INSERT_DATA |
| { |
| Pos = MAP_APPFONT ( 6, 6 ) ; |
| Size = MAP_APPFONT ( 66, 8 ) ; |
| Text [ en-US ] = "Insert data as:" ; |
| }; |
| RadioButton RB_AS_TABLE |
| { |
| HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_AS_TABLE" ; |
| Pos = MAP_APPFONT ( 80, 6 ) ; |
| Size = MAP_APPFONT ( 60, 10 ) ; |
| TabStop = TRUE ; |
| Check = TRUE ; |
| Text [ en-US ] = "T~able" ; |
| }; |
| RadioButton RB_AS_FIELD |
| { |
| HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_AS_FIELD" ; |
| Pos = MAP_APPFONT ( 145, 6 ) ; |
| Size = MAP_APPFONT ( 60, 10 ) ; |
| TabStop = TRUE ; |
| Text [ en-US ] = "~Fields" ; |
| }; |
| RadioButton RB_AS_TEXT |
| { |
| HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_AS_TEXT" ; |
| Pos = MAP_APPFONT ( 210, 6 ) ; |
| Size = MAP_APPFONT ( 60, 10 ) ; |
| TabStop = TRUE ; |
| Text [ en-US ] = "~Text" ; |
| }; |
| OKButton BT_OK |
| { |
| Pos = MAP_APPFONT ( 123, 172 ) ; |
| Size = MAP_APPFONT ( 50, 14 ) ; |
| TabStop = TRUE ; |
| DefButton = TRUE ; |
| }; |
| CancelButton BT_CANCEL |
| { |
| Pos = MAP_APPFONT ( 179, 172 ) ; |
| Size = MAP_APPFONT ( 50, 14 ) ; |
| TabStop = TRUE ; |
| }; |
| HelpButton BT_HELP |
| { |
| Pos = MAP_APPFONT ( 235, 172 ) ; |
| Size = MAP_APPFONT ( 50, 14 ) ; |
| TabStop = TRUE ; |
| }; |
| FixedLine FL_HEAD |
| { |
| Pos = MAP_APPFONT ( 6, 19 ) ; |
| Size = MAP_APPFONT ( 279, 8 ) ; |
| /* wird dynamisch gesetzt! */ |
| Text = "" ; |
| }; |
| FixedText FT_DB_COLUMN |
| { |
| Pos = MAP_APPFONT ( 12, 31 ) ; |
| Size = MAP_APPFONT ( 72, 8 ) ; |
| Text [ en-US ] = "Database ~columns" ; |
| }; |
| FixedLine FL_FORMAT |
| { |
| Pos = MAP_APPFONT ( 6, 117 ) ; |
| Size = MAP_APPFONT ( 279, 8 ) ; |
| Text [ en-US ] = "For~mat" ; |
| }; |
| RadioButton RB_DBFMT_FROM_DB |
| { |
| HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_DBFMT_FROM_DB" ; |
| Pos = MAP_APPFONT ( 15, 128 ) ; |
| Size = MAP_APPFONT ( 90, 10 ) ; |
| TabStop = TRUE ; |
| Check = TRUE ; |
| Text [ en-US ] = "From ~database" ; |
| }; |
| RadioButton RB_DBFMT_FROM_USR |
| { |
| HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_DBFMT_FROM_USR" ; |
| Pos = MAP_APPFONT ( 15, 143 ) ; |
| Size = MAP_APPFONT ( 10, 10 ) ; |
| TabStop = TRUE ; |
| }; |
| ListBox LB_DBFMT_FROM_USR |
| { |
| HelpID = "sw:ListBox:DLG_AP_INSERT_DB_SEL:LB_DBFMT_FROM_USR" ; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 30, 142 ) ; |
| Size = MAP_APPFONT ( 75, 44 ) ; |
| TabStop = TRUE ; |
| DropDown = TRUE ; |
| AutoHScroll = TRUE ; |
| }; |
| /* -------------- Page Text / Fields -------------------------------- */ |
| ListBox LB_TXT_DB_COLUMN |
| { |
| HelpID = "sw:ListBox:DLG_AP_INSERT_DB_SEL:LB_TXT_DB_COLUMN" ; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 12, 41 ) ; |
| Size = MAP_APPFONT ( 93, 70 ) ; |
| TabStop = TRUE ; |
| Hide = TRUE ; |
| }; |
| ImageButton IB_DBCOL_TOEDIT |
| { |
| HelpID = "sw:ImageButton:DLG_AP_INSERT_DB_SEL:IB_DBCOL_TOEDIT" ; |
| Pos = MAP_APPFONT ( 111, 41 ) ; |
| Size = MAP_APPFONT ( 20, 12 ) ; |
| TabStop = TRUE ; |
| Hide = TRUE ; |
| ButtonImage = Image |
| { |
| ImageBitmap = Bitmap |
| { |
| File = "one_right.png" ; |
| }; |
| }; |
| }; |
| MultiLineEdit ED_DB_TEXT |
| { |
| HelpID = "sw:MultiLineEdit:DLG_AP_INSERT_DB_SEL:ED_DB_TEXT" ; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 137, 41 ) ; |
| Size = MAP_APPFONT ( 142, 70 ) ; |
| TabStop = TRUE ; |
| Left = TRUE ; |
| VScroll = TRUE ; |
| HScroll = TRUE ; |
| Hide = TRUE ; |
| IgnoreTab = TRUE ; |
| }; |
| FixedText FT_DB_PARA_COLL |
| { |
| Pos = MAP_APPFONT ( 118, 129 ) ; |
| Size = MAP_APPFONT ( 58, 8 ) ; |
| Text [ en-US ] = "Paragraph ~Style:" ; |
| Hide = TRUE ; |
| }; |
| ListBox LB_DB_PARA_COLL |
| { |
| HelpID = "sw:ListBox:DLG_AP_INSERT_DB_SEL:LB_DB_PARA_COLL" ; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 182, 127 ) ; |
| Size = MAP_APPFONT ( 97, 59 ) ; |
| TabStop = TRUE ; |
| DropDown = TRUE ; |
| Hide = TRUE ; |
| Sort = TRUE ; |
| }; |
| /* -------------- Page Table ---------------------------------------- */ |
| ListBox LB_TBL_DB_COLUMN |
| { |
| HelpID = "sw:ListBox:DLG_AP_INSERT_DB_SEL:LB_TBL_DB_COLUMN" ; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 12, 41 ) ; |
| Size = MAP_APPFONT ( 93, 70 ) ; |
| TabStop = TRUE ; |
| }; |
| ImageButton IB_DBCOL_ALL_TO |
| { |
| HelpID = "sw:ImageButton:DLG_AP_INSERT_DB_SEL:IB_DBCOL_ALL_TO" ; |
| Pos = MAP_APPFONT ( 111, 41 ) ; |
| Size = MAP_APPFONT ( 20, 12 ) ; |
| TabStop = TRUE ; |
| ButtonImage = Image |
| { |
| ImageBitmap = Bitmap |
| { |
| File = "all_right.png" ; |
| }; |
| }; |
| }; |
| ImageButton IB_DBCOL_ONE_TO |
| { |
| HelpID = "sw:ImageButton:DLG_AP_INSERT_DB_SEL:IB_DBCOL_ONE_TO" ; |
| Pos = MAP_APPFONT ( 111, 56 ) ; |
| Size = MAP_APPFONT ( 20, 12 ) ; |
| TabStop = TRUE ; |
| ButtonImage = Image |
| { |
| ImageBitmap = Bitmap |
| { |
| File = "one_right.png" ; |
| }; |
| }; |
| }; |
| ImageButton IB_DBCOL_ONE_FROM |
| { |
| HelpID = "sw:ImageButton:DLG_AP_INSERT_DB_SEL:IB_DBCOL_ONE_FROM" ; |
| Pos = MAP_APPFONT ( 111, 84 ) ; |
| Size = MAP_APPFONT ( 20, 12 ) ; |
| TabStop = TRUE ; |
| ButtonImage = Image |
| { |
| ImageBitmap = Bitmap |
| { |
| File = "one_left.png" ; |
| }; |
| }; |
| }; |
| ImageButton IB_DBCOL_ALL_FROM |
| { |
| HelpID = "sw:ImageButton:DLG_AP_INSERT_DB_SEL:IB_DBCOL_ALL_FROM" ; |
| Pos = MAP_APPFONT ( 111, 99 ) ; |
| Size = MAP_APPFONT ( 20, 12 ) ; |
| TabStop = TRUE ; |
| ButtonImage = Image |
| { |
| ImageBitmap = Bitmap |
| { |
| File = "all_left.png" ; |
| }; |
| }; |
| }; |
| FixedText FT_TABLE_COL |
| { |
| Pos = MAP_APPFONT ( 137, 31 ) ; |
| Size = MAP_APPFONT ( 75, 8 ) ; |
| |
| Text [ en-US ] = "Tab~le column(s)" ; |
| }; |
| ListBox LB_TABLE_COL |
| { |
| HelpID = "sw:ListBox:DLG_AP_INSERT_DB_SEL:LB_TABLE_COL" ; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 137, 41 ) ; |
| Size = MAP_APPFONT ( 75, 70 ) ; |
| TabStop = TRUE ; |
| }; |
| FixedLine FL_BOTTOM |
| { |
| Pos = MAP_APPFONT ( 0, 164 ) ; |
| Size = MAP_APPFONT ( 291, 8 ) ; |
| }; |
| CheckBox CB_TABLE_HEADON |
| { |
| HelpID = "sw:CheckBox:DLG_AP_INSERT_DB_SEL:CB_TABLE_HEADON" ; |
| Pos = MAP_APPFONT ( 111, 128 ) ; |
| Size = MAP_APPFONT ( 100, 10 ) ; |
| TabStop = TRUE ; |
| Check = TRUE ; |
| Text [ en-US ] = "Insert table heading" ; |
| }; |
| RadioButton RB_HEADL_COLNMS |
| { |
| HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_HEADL_COLNMS" ; |
| Pos = MAP_APPFONT ( 120, 142 ) ; |
| Size = MAP_APPFONT ( 90, 10 ) ; |
| TabStop = TRUE ; |
| Check = TRUE ; |
| Text [ en-US ] = "Apply column ~name" ; |
| }; |
| RadioButton RB_HEADL_EMPTY |
| { |
| HelpID = "sw:RadioButton:DLG_AP_INSERT_DB_SEL:RB_HEADL_EMPTY" ; |
| Pos = MAP_APPFONT ( 120, 155 ) ; |
| Size = MAP_APPFONT ( 90, 10 ) ; |
| TabStop = TRUE ; |
| Text [ en-US ] = "Create row only" ; |
| }; |
| PushButton PB_TBL_FORMAT |
| { |
| HelpID = "sw:PushButton:DLG_AP_INSERT_DB_SEL:PB_TBL_FORMAT" ; |
| Pos = MAP_APPFONT ( 214, 128 ) ; |
| Size = MAP_APPFONT ( 65, 12 ) ; |
| Text [ en-US ] = "Pr~operties..." ; |
| TabStop = TRUE ; |
| }; |
| PushButton PB_TBL_AUTOFMT |
| { |
| HelpID = "sw:PushButton:DLG_AP_INSERT_DB_SEL:PB_TBL_AUTOFMT" ; |
| Pos = MAP_APPFONT ( 214, 144 ) ; |
| Size = MAP_APPFONT ( 65, 12 ) ; |
| TabStop = TRUE ; |
| Text [ en-US ] = "Aut~oFormat..." ; |
| }; |
| String STR_NOTEMPL |
| { |
| Text [ en-US ] = "<none>" ; |
| }; |
| Text [ en-US ] = "Insert Database Columns" ; |
| }; |
| |
| // ********************************************************************** EOF |