X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2Fforms%2Fform_external.fd;h=b4a5e0500e1bd91190a464586c39525e18593274;hb=7ae6332b03d5df51348c08e50211bac9e8da9f31;hp=252ff602fa8a93ca213448a734b7a0a4287db779;hpb=a0a3586e883bf70a7941f338a2dc44a1e5d9f6e2;p=lyx.git diff --git a/src/frontends/xforms/forms/form_external.fd b/src/frontends/xforms/forms/form_external.fd index 252ff602fa..b4a5e0500e 100644 --- a/src/frontends/xforms/forms/form_external.fd +++ b/src/frontends/xforms/forms/form_external.fd @@ -3,19 +3,116 @@ 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: 560 -Height: 310 -Number of Objects: 12 +Width: 385 +Height: 305 +Number of Objects: 5 + +-------------------- +class: FL_BOX +type: FLAT_BOX +box: 0 0 385 305 +boxtype: FL_FLAT_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_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: 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_SouthEast FL_SouthEast +name: button_apply +callback: C_FormDialogView_ApplyCB +argument: 0 + +-------------------- +class: FL_BUTTON +type: NORMAL_BUTTON +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: Cancel|^[ +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_SouthEast FL_SouthEast +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 560 310 +box: 0 0 375 235 boxtype: FL_UP_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER @@ -30,202 +127,610 @@ name: callback: argument: +-------------------- +class: FL_INPUT +type: NORMAL_INPUT +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: File:|#F +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: input_file +callback: C_FormDialogView_InputCB +argument: 0 + +-------------------- +class: FL_BUTTON +type: NORMAL_BUTTON +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: Browse...|#B +shortcut: +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_CHOICE type: NORMAL_CHOICE -box: 130 10 300 30 +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 +label: Template:|#T shortcut: resize: FL_RESIZE_ALL -gravity: FL_NorthWest FL_NorthEast +gravity: FL_NoGravity FL_NoGravity name: choice_template -callback: C_FormBaseInputCB +callback: C_FormDialogView_InputCB argument: 0 -------------------- class: FL_BROWSER type: NORMAL_BROWSER -box: 130 50 300 130 +box: 25 110 325 90 boxtype: FL_DOWN_BOX colors: FL_COL1 FL_YELLOW -alignment: FL_ALIGN_TOP +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_COL1 FL_YELLOW +alignment: FL_ALIGN_CENTER +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +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_NorthWest FL_SouthEast -name: browser_helptext +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: 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: 130 190 190 30 +box: 205 70 120 25 boxtype: FL_DOWN_BOX colors: FL_COL1 FL_MCOL -alignment: FL_ALIGN_LEFT +alignment: FL_ALIGN_TOP_LEFT style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK -label: File|#F +label: Scale:|#l shortcut: resize: FL_RESIZE_ALL -gravity: FL_SouthWest FL_SouthEast -name: input_filename -callback: C_FormBaseInputCB +gravity: FL_NoGravity FL_NoGravity +name: input_displayscale +callback: C_FormDialogView_InputCB argument: 0 -------------------- -class: FL_BUTTON -type: NORMAL_BUTTON -box: 330 190 100 30 +class: FL_TEXT +type: NORMAL_TEXT +box: 325 65 25 30 +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: % +shortcut: +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_NORMAL_SIZE +size: FL_DEFAULT_SIZE lcol: FL_BLACK -label: Browse...|#B +label: shortcut: resize: FL_RESIZE_ALL -gravity: FL_SouthEast FL_SouthEast -name: button_filenamebrowse -callback: C_FormBaseInputCB -argument: 0 +gravity: FL_NoGravity FL_NoGravity +name: +callback: +argument: -------------------- class: FL_INPUT type: NORMAL_INPUT -box: 130 230 300 30 +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: Parameters|#P +label: Angle:|#n shortcut: resize: FL_RESIZE_ALL -gravity: FL_SouthWest FL_SouthEast -name: input_parameters -callback: C_FormBaseInputCB +gravity: FL_NoGravity FL_NoGravity +name: input_angle +callback: C_FormDialogView_InputCB argument: 0 -------------------- -class: FL_BUTTON -type: NORMAL_BUTTON -box: 435 50 110 30 -boxtype: FL_UP_BOX +class: FL_CHOICE +type: NORMAL_CHOICE +box: 75 70 120 25 +boxtype: FL_FRAME_BOX colors: FL_COL1 FL_BLACK -alignment: FL_ALIGN_CENTER +alignment: FL_ALIGN_LEFT style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Edit file|#E +label: Origin:|#O shortcut: resize: FL_RESIZE_ALL -gravity: FL_NorthEast FL_NorthEast -name: button_edit -callback: C_FormBaseInputCB +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_BUTTON -type: NORMAL_BUTTON -box: 435 90 110 30 +class: FL_BOX +type: UP_BOX +box: 0 0 375 235 boxtype: FL_UP_BOX -colors: FL_COL1 FL_BLACK +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: View result|#V +label: Width:|#W shortcut: resize: FL_RESIZE_ALL -gravity: FL_NorthEast FL_NorthEast -name: button_view -callback: C_FormBaseInputCB +gravity: FL_NoGravity FL_NoGravity +name: input_width +callback: C_FormDialogView_InputCB argument: 0 -------------------- -class: FL_BUTTON -type: NORMAL_BUTTON -box: 435 130 110 30 -boxtype: FL_UP_BOX +class: FL_CHOICE +type: NORMAL_CHOICE +box: 230 40 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_width +callback: C_FormDialogView_InputCB +argument: 0 + +-------------------- +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_CENTER style: FL_NORMAL_STYLE size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Update result|#U +label: Maintain aspect ratio|#M shortcut: resize: FL_RESIZE_ALL -gravity: FL_NorthEast FL_NorthEast -name: button_update -callback: C_FormBaseInputCB +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_BUTTON -type: RETURN_BUTTON -box: 255 270 90 30 +class: FL_BOX +type: UP_BOX +box: 0 0 375 235 boxtype: FL_UP_BOX -colors: FL_COL1 FL_BLACK +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_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: OK -shortcut: ^M +label: x +shortcut: resize: FL_RESIZE_ALL -gravity: FL_SouthEast FL_SouthEast -name: button_ok -callback: C_FormBaseOKCB +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: Clip to bounding box|#b +shortcut: +resize: FL_RESIZE_ALL +gravity: FL_NoGravity FL_NoGravity +name: check_bbox +callback: C_FormDialogView_InputCB argument: 0 -------------------- class: FL_BUTTON type: NORMAL_BUTTON -box: 355 270 90 30 +box: 215 20 135 25 boxtype: FL_UP_BOX -colors: FL_COL1 FL_BLACK +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_FormBaseApplyCB +gravity: FL_NoGravity FL_NoGravity +name: button_get_bbox +callback: C_FormDialogView_InputCB argument: 0 -------------------- -class: FL_BUTTON -type: NORMAL_BUTTON -box: 455 270 90 30 +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|#C^[ +label: Format:|#t shortcut: resize: FL_RESIZE_ALL -gravity: FL_SouthEast FL_SouthEast -name: button_cancel -callback: C_FormBaseCancelCB +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 ==============================