X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2Fforms%2Fform_external.fd;h=b4a5e0500e1bd91190a464586c39525e18593274;hb=7ae6332b03d5df51348c08e50211bac9e8da9f31;hp=675dd27789294b88f717e3e472cbd7960e20611e;hpb=6a50ae699bfd893ff7e956785c168c4f8ef88238;p=lyx.git diff --git a/src/frontends/xforms/forms/form_external.fd b/src/frontends/xforms/forms/form_external.fd index 675dd27789..b4a5e0500e 100644 --- a/src/frontends/xforms/forms/form_external.fd +++ b/src/frontends/xforms/forms/form_external.fd @@ -3,20 +3,20 @@ Magic: 13000 Internal Form Definition File (do not change) -Number of forms: 1 +Number of forms: 7 Unit of measure: FL_COORD_PIXEL SnapGrid: 5 =============== FORM =============== Name: form_external -Width: 395 -Height: 375 -Number of Objects: 14 +Width: 385 +Height: 305 +Number of Objects: 5 -------------------- class: FL_BOX type: FLAT_BOX -box: 0 0 395 375 +box: 0 0 385 305 boxtype: FL_FLAT_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER @@ -32,88 +32,226 @@ callback: argument: -------------------- -class: FL_INPUT -type: NORMAL_INPUT -box: 90 195 195 25 -boxtype: FL_DOWN_BOX -colors: FL_COL1 FL_MCOL -alignment: FL_ALIGN_LEFT +class: FL_TABFOLDER +type: TOP_TABFOLDER +box: 5 5 375 255 +boxtype: FL_FLAT_BOX +colors: FL_COL1 FL_COL1 +alignment: FL_ALIGN_TOP_LEFT +style: FL_NORMAL_STYLE +size: FL_DEFAULT_SIZE +lcol: FL_BLACK +label: +shortcut: +resize: FL_RESIZE_NONE +gravity: FL_NoGravity FL_NoGravity +name: tabfolder +callback: +argument: + +-------------------- +class: FL_BUTTON +type: RETURN_BUTTON +box: 100 270 90 25 +boxtype: FL_UP_BOX +colors: FL_COL1 FL_COL1 +alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK -label: File:|#F +label: OK +shortcut: ^M +resize: FL_RESIZE_ALL +gravity: FL_SouthEast FL_SouthEast +name: button_ok +callback: C_FormDialogView_OKCB +argument: 0 + +-------------------- +class: FL_BUTTON +type: NORMAL_BUTTON +box: 195 270 90 25 +boxtype: FL_UP_BOX +colors: FL_COL1 FL_COL1 +alignment: FL_ALIGN_CENTER +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Apply|#A shortcut: resize: FL_RESIZE_ALL -gravity: FL_SouthWest FL_SouthEast -name: input_filename -callback: C_FormDialogView_InputCB +gravity: FL_SouthEast FL_SouthEast +name: button_apply +callback: C_FormDialogView_ApplyCB argument: 0 -------------------- class: FL_BUTTON type: NORMAL_BUTTON -box: 290 195 100 25 +box: 290 270 90 25 boxtype: FL_UP_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Browse...|#B +label: Cancel|^[ shortcut: resize: FL_RESIZE_ALL gravity: FL_SouthEast FL_SouthEast -name: button_browse -callback: C_FormDialogView_InputCB +name: button_close +callback: C_FormDialogView_CancelCB argument: 0 +=============== FORM =============== +Name: form_external_file +Width: 375 +Height: 235 +Number of Objects: 7 + +-------------------- +class: FL_BOX +type: UP_BOX +box: 0 0 375 235 +boxtype: FL_UP_BOX +colors: FL_COL1 FL_COL1 +alignment: FL_ALIGN_CENTER +style: FL_NORMAL_STYLE +size: FL_DEFAULT_SIZE +lcol: FL_BLACK +label: +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: +callback: +argument: + -------------------- class: FL_INPUT type: NORMAL_INPUT -box: 90 230 195 25 +box: 50 15 210 25 boxtype: FL_DOWN_BOX colors: FL_COL1 FL_MCOL alignment: FL_ALIGN_LEFT style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Parameters:|#P +label: File:|#F shortcut: resize: FL_RESIZE_ALL -gravity: FL_SouthWest FL_SouthEast -name: input_parameters +gravity: FL_NoGravity FL_NoGravity +name: input_file callback: C_FormDialogView_InputCB argument: 0 -------------------- class: FL_BUTTON type: NORMAL_BUTTON -box: 290 230 100 25 +box: 265 15 100 25 boxtype: FL_UP_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Edit file|#E +label: Browse...|#B shortcut: -resize: FL_RESIZE_NONE -gravity: FL_SouthEast FL_SouthEast +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: button_browse +callback: C_FormDialogView_InputCB +argument: 0 + +-------------------- +class: FL_BUTTON +type: NORMAL_BUTTON +box: 265 45 100 25 +boxtype: FL_UP_BOX +colors: FL_COL1 FL_COL1 +alignment: FL_ALIGN_CENTER +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Edit File...|#E +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity name: button_edit callback: C_FormDialogView_InputCB argument: 0 -------------------- -class: FL_LABELFRAME -type: ENGRAVED_FRAME -box: 5 270 385 55 +class: FL_CHOICE +type: NORMAL_CHOICE +box: 140 80 120 25 +boxtype: FL_FRAME_BOX +colors: FL_COL1 FL_BLACK +alignment: FL_ALIGN_LEFT +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Template:|#T +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: choice_template +callback: C_FormDialogView_InputCB +argument: 0 + +-------------------- +class: FL_BROWSER +type: NORMAL_BROWSER +box: 25 110 325 90 +boxtype: FL_DOWN_BOX +colors: FL_COL1 FL_YELLOW +alignment: FL_ALIGN_BOTTOM +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: browser_template +callback: +argument: + +-------------------- +class: FL_CHECKBUTTON +type: PUSH_BUTTON +box: 25 205 180 25 boxtype: FL_NO_BOX -colors: FL_BLACK FL_COL1 -alignment: FL_ALIGN_TOP_LEFT +colors: FL_COL1 FL_YELLOW +alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK -label: LyX View +label: Draft|#D +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: check_draft +callback: C_FormDialogView_InputCB +argument: 0 + +=============== FORM =============== +Name: form_external_lyxview +Width: 375 +Height: 235 +Number of Objects: 5 + +-------------------- +class: FL_BOX +type: UP_BOX +box: 0 0 375 235 +boxtype: FL_UP_BOX +colors: FL_COL1 FL_COL1 +alignment: FL_ALIGN_CENTER +style: FL_NORMAL_STYLE +size: FL_DEFAULT_SIZE +lcol: FL_BLACK +label: shortcut: resize: FL_RESIZE_ALL gravity: FL_NoGravity FL_NoGravity @@ -121,20 +259,98 @@ name: callback: argument: +-------------------- +class: FL_CHECKBUTTON +type: PUSH_BUTTON +box: 30 20 170 25 +boxtype: FL_NO_BOX +colors: FL_COL1 FL_YELLOW +alignment: FL_ALIGN_CENTER +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Show in LyX|#S +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: check_show +callback: C_FormDialogView_InputCB +argument: 0 + +-------------------- +class: FL_CHOICE +type: NORMAL_CHOICE +box: 30 70 155 25 +boxtype: FL_FRAME_BOX +colors: FL_COL1 FL_BLACK +alignment: FL_ALIGN_TOP_LEFT +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Display:|#D +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: choice_show +callback: C_FormDialogView_InputCB +argument: 0 + +-------------------- +class: FL_INPUT +type: NORMAL_INPUT +box: 205 70 120 25 +boxtype: FL_DOWN_BOX +colors: FL_COL1 FL_MCOL +alignment: FL_ALIGN_TOP_LEFT +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Scale:|#l +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: input_displayscale +callback: C_FormDialogView_InputCB +argument: 0 + -------------------- class: FL_TEXT type: NORMAL_TEXT -box: 155 285 25 25 +box: 325 65 25 30 boxtype: FL_FLAT_BOX colors: FL_COL1 FL_MCOL -alignment: FL_ALIGN_CENTER|FL_ALIGN_INSIDE +alignment: FL_ALIGN_LEFT|FL_ALIGN_INSIDE style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK label: % shortcut: -resize: FL_RESIZE_NONE -gravity: FL_East FL_East +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: +callback: +argument: + +=============== FORM =============== +Name: form_external_rotate +Width: 375 +Height: 235 +Number of Objects: 3 + +-------------------- +class: FL_BOX +type: UP_BOX +box: 0 0 375 235 +boxtype: FL_UP_BOX +colors: FL_COL1 FL_COL1 +alignment: FL_ALIGN_CENTER +style: FL_NORMAL_STYLE +size: FL_DEFAULT_SIZE +lcol: FL_BLACK +label: +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity name: callback: argument: @@ -142,127 +358,379 @@ argument: -------------------- class: FL_INPUT type: NORMAL_INPUT -box: 85 285 70 25 +box: 75 40 120 25 boxtype: FL_DOWN_BOX colors: FL_COL1 FL_MCOL alignment: FL_ALIGN_LEFT style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Scale:|#S +label: Angle:|#n shortcut: -resize: FL_RESIZE_X -gravity: FL_West FL_East -name: input_lyxscale +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: input_angle callback: C_FormDialogView_InputCB argument: 0 -------------------- class: FL_CHOICE type: NORMAL_CHOICE -box: 265 285 115 25 +box: 75 70 120 25 boxtype: FL_FRAME_BOX colors: FL_COL1 FL_BLACK alignment: FL_ALIGN_LEFT style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Display:|#D +label: Origin:|#O shortcut: -resize: FL_RESIZE_NONE -gravity: FL_East FL_East -name: choice_display +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: choice_origin +callback: C_FormDialogView_InputCB +argument: 0 + +=============== FORM =============== +Name: form_external_scale +Width: 375 +Height: 235 +Number of Objects: 6 + +-------------------- +class: FL_BOX +type: UP_BOX +box: 0 0 375 235 +boxtype: FL_UP_BOX +colors: FL_COL1 FL_COL1 +alignment: FL_ALIGN_CENTER +style: FL_NORMAL_STYLE +size: FL_DEFAULT_SIZE +lcol: FL_BLACK +label: +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: +callback: +argument: + +-------------------- +class: FL_INPUT +type: NORMAL_INPUT +box: 95 40 125 25 +boxtype: FL_DOWN_BOX +colors: FL_COL1 FL_MCOL +alignment: FL_ALIGN_LEFT +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Width:|#W +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: input_width callback: C_FormDialogView_InputCB argument: 0 -------------------- class: FL_CHOICE type: NORMAL_CHOICE -box: 140 5 160 25 +box: 230 40 95 25 boxtype: FL_FRAME_BOX -colors: FL_COL1 FL_RIGHT_BCOL +colors: FL_COL1 FL_BLACK alignment: FL_ALIGN_LEFT style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Template:|#T +label: shortcut: resize: FL_RESIZE_ALL -gravity: FL_NorthWest FL_NorthEast -name: choice_template +gravity: FL_NoGravity FL_NoGravity +name: choice_width callback: C_FormDialogView_InputCB argument: 0 -------------------- -class: FL_BROWSER -type: NORMAL_BROWSER -box: 10 35 380 140 +class: FL_INPUT +type: NORMAL_INPUT +box: 95 75 125 25 boxtype: FL_DOWN_BOX +colors: FL_COL1 FL_MCOL +alignment: FL_ALIGN_LEFT +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Height:|#H +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: input_height +callback: C_FormDialogView_InputCB +argument: 0 + +-------------------- +class: FL_CHOICE +type: NORMAL_CHOICE +box: 230 75 95 25 +boxtype: FL_FRAME_BOX +colors: FL_COL1 FL_BLACK +alignment: FL_ALIGN_LEFT +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: choice_height +callback: C_FormDialogView_InputCB +argument: 0 + +-------------------- +class: FL_CHECKBUTTON +type: PUSH_BUTTON +box: 95 110 205 25 +boxtype: FL_NO_BOX colors: FL_COL1 FL_YELLOW -alignment: FL_ALIGN_TOP +alignment: FL_ALIGN_CENTER +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Maintain aspect ratio|#M +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: check_aspectratio +callback: C_FormDialogView_InputCB +argument: 0 + +=============== FORM =============== +Name: form_external_crop +Width: 375 +Height: 235 +Number of Objects: 9 + +-------------------- +class: FL_BOX +type: UP_BOX +box: 0 0 375 235 +boxtype: FL_UP_BOX +colors: FL_COL1 FL_COL1 +alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE size: FL_DEFAULT_SIZE lcol: FL_BLACK label: shortcut: resize: FL_RESIZE_ALL -gravity: FL_NorthWest FL_SouthEast -name: browser_helptext +gravity: FL_NoGravity FL_NoGravity +name: callback: argument: -------------------- -class: FL_BUTTON -type: RETURN_BUTTON -box: 110 340 90 25 -boxtype: FL_UP_BOX -colors: FL_COL1 FL_COL1 +class: FL_TEXT +type: NORMAL_TEXT +box: 100 65 30 20 +boxtype: FL_FLAT_BOX +colors: FL_COL1 FL_MCOL +alignment: FL_ALIGN_LEFT|FL_ALIGN_INSIDE +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: x +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: +callback: +argument: + +-------------------- +class: FL_TEXT +type: NORMAL_TEXT +box: 210 65 30 20 +boxtype: FL_FLAT_BOX +colors: FL_COL1 FL_MCOL +alignment: FL_ALIGN_LEFT|FL_ALIGN_INSIDE +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: y +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: +callback: +argument: + +-------------------- +class: FL_CHECKBUTTON +type: PUSH_BUTTON +box: 30 20 170 25 +boxtype: FL_NO_BOX +colors: FL_COL1 FL_YELLOW alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK -label: OK -shortcut: ^M +label: Clip to bounding box|#b +shortcut: resize: FL_RESIZE_ALL -gravity: FL_SouthEast FL_SouthEast -name: button_ok -callback: C_FormDialogView_OKCB +gravity: FL_NoGravity FL_NoGravity +name: check_bbox +callback: C_FormDialogView_InputCB argument: 0 -------------------- class: FL_BUTTON type: NORMAL_BUTTON -box: 205 340 90 25 +box: 215 20 135 25 boxtype: FL_UP_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Apply|#A +label: Get from File|#G shortcut: resize: FL_RESIZE_ALL -gravity: FL_SouthEast FL_SouthEast -name: button_apply -callback: C_FormDialogView_ApplyCB +gravity: FL_NoGravity FL_NoGravity +name: button_get_bbox +callback: C_FormDialogView_InputCB argument: 0 -------------------- -class: FL_BUTTON -type: NORMAL_BUTTON -box: 300 340 90 25 +class: FL_INPUT +type: NORMAL_INPUT +box: 100 85 100 25 +boxtype: FL_DOWN_BOX +colors: FL_COL1 FL_MCOL +alignment: FL_ALIGN_LEFT +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Right top:|#t +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: input_xr +callback: C_FormDialogView_InputCB +argument: 0 + +-------------------- +class: FL_INPUT +type: NORMAL_INPUT +box: 210 85 100 25 +boxtype: FL_DOWN_BOX +colors: FL_COL1 FL_MCOL +alignment: FL_ALIGN_LEFT +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: input_yt +callback: C_FormDialogView_InputCB +argument: 0 + +-------------------- +class: FL_INPUT +type: NORMAL_INPUT +box: 100 120 100 25 +boxtype: FL_DOWN_BOX +colors: FL_COL1 FL_MCOL +alignment: FL_ALIGN_LEFT +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Left bottom:|#L +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: input_xl +callback: C_FormDialogView_InputCB +argument: 0 + +-------------------- +class: FL_INPUT +type: NORMAL_INPUT +box: 210 120 100 25 +boxtype: FL_DOWN_BOX +colors: FL_COL1 FL_MCOL +alignment: FL_ALIGN_LEFT +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: input_yb +callback: C_FormDialogView_InputCB +argument: 0 + +=============== FORM =============== +Name: form_external_options +Width: 375 +Height: 235 +Number of Objects: 3 + +-------------------- +class: FL_BOX +type: UP_BOX +box: 0 0 375 235 boxtype: FL_UP_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE +size: FL_DEFAULT_SIZE +lcol: FL_BLACK +label: +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: +callback: +argument: + +-------------------- +class: FL_CHOICE +type: NORMAL_CHOICE +box: 40 50 90 25 +boxtype: FL_FRAME_BOX +colors: FL_COL1 FL_BLACK +alignment: FL_ALIGN_TOP_LEFT +style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Cancel|^[ +label: Format:|#t shortcut: resize: FL_RESIZE_ALL -gravity: FL_SouthEast FL_SouthEast -name: button_close -callback: C_FormDialogView_CancelCB +gravity: FL_NoGravity FL_NoGravity +name: choice_option +callback: C_FormDialogView_InputCB +argument: 0 + +-------------------- +class: FL_INPUT +type: NORMAL_INPUT +box: 140 50 210 25 +boxtype: FL_DOWN_BOX +colors: FL_COL1 FL_MCOL +alignment: FL_ALIGN_TOP_LEFT +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Option:|#p +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: input_option +callback: C_FormDialogView_InputCB argument: 0 ==============================