Skip to content

Commit

Permalink
Remove all arrays from the picture settings dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland-Lannuzel committed Jan 3, 2024
1 parent 655cce6 commit 39ccf1b
Show file tree
Hide file tree
Showing 16 changed files with 287 additions and 310 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
Form:C1466.pictSettings[wk anchor vertical align:K81:239]:=_anchorVerticalAlign-1
Form:C1466.pictSettings[wk anchor vertical offset:K81:238]:=0
//Case of
//: (_anchorOrigin=1)
//Form.pictSettings[wk anchor origin]:=wk paper box
//: (_anchorOrigin=2)
//Form.pictSettings[wk anchor origin]:=wk header box
//: (_anchorOrigin=3)
//Form.pictSettings[wk anchor origin]:=wk footer box
//End case

Form:C1466.pictSettings[wk anchor origin:K81:235]:=Form:C1466.anchorOrigin.originValues[Form:C1466.anchorOrigin.index]

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Form:C1466.pictSettings[wk anchor layout:K81:227]:=Form:C1466.anchorLayout.anchorValues[Form:C1466.anchorLayout.index]
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Form:C1466.pictSettings[wk anchor horizontal align:K81:237]:=Form:C1466.anchorHorizontalAlign.index
Form:C1466.pictSettings[wk anchor horizontal offset:K81:236]:=0
Original file line number Diff line number Diff line change
@@ -1,24 +1,2 @@
Case of
: (_anchorLayout=1)
Form:C1466.pictSettings[wk anchor layout:K81:227]:=wk behind text:K81:240 // wk behind text-image is anchored, behind the text

: (_anchorLayout=2)
Form:C1466.pictSettings[wk anchor layout:K81:227]:=wk in front of text:K81:241 // wk in front of text - image is anchored, in front of the text

// new values v20 R5
: (_anchorLayout=3)
Form:C1466.pictSettings[wk anchor layout:K81:227]:=wk text wrap top bottom:K81:379

: (_anchorLayout=4)
Form:C1466.pictSettings[wk anchor layout:K81:227]:=wk text wrap square left:K81:382

: (_anchorLayout=5)
Form:C1466.pictSettings[wk anchor layout:K81:227]:=wk text wrap square right:K81:383

: (_anchorLayout=6)
Form:C1466.pictSettings[wk anchor layout:K81:227]:=wk text wrap square:K81:380

: (_anchorLayout=7)
Form:C1466.pictSettings[wk anchor layout:K81:227]:=wk text wrap square largest:K81:384

End case
Form:C1466.pictSettings[wk anchor vertical align:K81:239]:=Form:C1466.anchorVerticalAlign.index
Form:C1466.pictSettings[wk anchor vertical offset:K81:238]:=0
Original file line number Diff line number Diff line change
@@ -1,27 +1,14 @@



If (_anchorPage<=4)
Case of
: (_anchorPage=1)
Form:C1466.pictSettings[wk anchor page:K81:231]:=wk anchor all:K81:229

: (_anchorPage=2)
Form:C1466.pictSettings[wk anchor page:K81:231]:=wk anchor first page:K81:232

: (_anchorPage=3)
Form:C1466.pictSettings[wk anchor page:K81:231]:=wk anchor left page:K81:233

: (_anchorPage=4)
Form:C1466.pictSettings[wk anchor page:K81:231]:=wk anchor right page:K81:234

End case
If (Form:C1466.anchorPage.index<=3)

Form:C1466.pictSettings[wk anchor page:K81:231]:=Form:C1466.anchorPage.anchorValues[Form:C1466.anchorPage.index] //wk anchor all
Form:C1466.display.anchorPage:=Form:C1466.pictSettings[wk anchor page:K81:231] // negative value = not displayed
GOTO OBJECT:C206(*; "")


Else //_anchorPage=5
Else //Form.anchorPage.index = 4

UI_PictureSettings // no wait. otherwise GOTO OBJECT(*; "anchorPageNumberInput") will not work

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@


Case of
: (_anchorSection=1)
: (Form:C1466.anchorSection.index=0)
Form:C1466.pictSettings[wk anchor section:K81:228]:=wk anchor all:K81:229
Form:C1466.display.anchorSection:=wk anchor all:K81:229 // negative value = not displayed

GOTO OBJECT:C206(*; "")

: (_anchorSection=2)
: (Form:C1466.anchorSection.index=1)

UI_PictureSettings // no wait. otherwise GOTO OBJECT(*; "anchorPageNumberInput") will not work
Form:C1466.display.anchorSection:=1
Expand All @@ -19,3 +19,4 @@ End case

SET TIMER:C645(-1)


This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Form:C1466.pictSettings[wk image display mode:K81:340]:=Form:C1466.displayFormat.formatValues[Form:C1466.displayFormat.index]
//SET TIMER(-1)
Loading

0 comments on commit 39ccf1b

Please sign in to comment.