/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 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.bmp" ; }; MaskColor = IMAGE_MASK_COLOR ; }; }; 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.bmp" ; }; MaskColor = IMAGE_MASK_COLOR ; }; }; 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.bmp" ; }; MaskColor = IMAGE_MASK_COLOR ; }; }; 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.bmp" ; }; MaskColor = IMAGE_MASK_COLOR ; }; }; 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.bmp" ; }; MaskColor = IMAGE_MASK_COLOR ; }; }; 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 ] = "" ; }; Text [ en-US ] = "Insert Database Columns" ; };