From lechner@cs.uml.edu Sun Mar 20 01:09:56 2005 Subject: More tests on bde2javao4f To: kevincy@netscape.net, kyang@cs.uml.edu Date: Sun, 20 Mar 2005 01:09:55 -0500 (EST) Tests of bde2java04f, 050319-20: RJLRef: $PH/COOL-BDE/bde2java/bde2java04f/bde2java04fTests050320/bde2java04fTesting050320.txt (This is a continuation of bde2java04fTest050319.txt) Update 050320:1530 at end adds results on loading bde2java04f output files into bdeunix.) ------------------------------------ HA and GX: Multiple text lines can be added to HN and CG. When Text Create is selected again, any text that wrapped around from the previous line comes up again . This might be added to or stay in the GX or HA lines. Text Move ONLY works for the first line of text, in Captions. It should drag ALL lines along with the first one not leave the lower lines behind when line 1 was moved. Added lines can also be selected, but only if inside the border. (They should be selectable even outside their parent node, regardless of whether he Node is selected first and remembered. Text lines can be moved outside but only while touching [?] the node border. These are not selectable again except possibly if overlapping the border. Rendering text to .gif or .ps files for printing is problematic. It may disapear or overlap or relocate to ulcorner. See last parag. below. HL and HP: After Bendpts are selected for Bendpt Restyle, they remain highlighted forever, on all links. This prevents display of future link selections. (e.g. for Link Delete). Link and Bendpt Delete work OK. Node Delete is a No-Op until connected links are removed first. All other deletes work immediately and delete their text content. Bendpt Restyle: each click cycles a bendpt (except the origin) arrowhead direction thru forward, reverse, and none. There are no link segment pattern or width options like bdeUnix. File I/O: File Saveas always displays local PC window. It's a pain to navigate from My Doc'ts (default) to public_html/... I don't know how to update a file on the remote host.??? Text printout: File Print has save-as-ps and save-as-gif optiona, both buggy.s The .ps files either lose all text or ovelap it at ulcorner. The .gif files doshow test in approx the right places. On WInXP PC< Adobe converst both .gif and .ps to .pdf before printing. Diagrams are small and grainy. These test files I managed to save to PC in My Doc'ts. Later I moved them to the test directory C:\Documents and Settings\Robert Lechner\ public_html\COOL-BDE\bde2java\bde2java04fTests050320 I copied these files to $PH/COOL-BDE/bde2java/bde2java04f/bde2java04fTests050320 RJL Update 050320:1530 I copied bde2javaTest050320b.bde to bde2javaTest050320b.dat so bdeunix would load it. That worked - I could see same 2 diagrams. Save/reopen also worked. bdeunix cannot select text; the parent node selection fails. Parent CG selection may work but text not selectable. bde2gif is not compiled into this version. The print as .ps does work - see .ps file. HG000002.ps was created in bde2java04fxa from bde2javaTest050320b.bde; bde2javaTest050320bHG000002.ps was created in bdeunix from bde2javaTest050320b.dat. TBFixed: bde2java04f needs filename prefix to HG#.ps Here is diff betwen java and unix ($RL/bde/rc/fprint) .ps output: TBD: Pass Text macro string argument (missing from both versions of HG2.ps) TBD: Filter to quote mismatched '('')' in Text string argument to PS. ------------------------------------------------ saturn.cs.uml.edu(138)> diff HG000002.ps bde2javaTest050320bHG000002.ps 5,6c5 < %%Title: C:\Documents and Settings\Robert Lechner\My Documents.ps < --- > %%Title: bde2javaTest050320bHG000002.ps 145,151c144,154 < 0 -560 ( Guest 20Mar2005/023 C:\Documents and Settings\Robert Lechner\Desktop) Text < 124 -104 100 50 Rectangle < 174 -79 () Text < 30 -219 100 50 Rectangle < 80 -194 () Text < 196 -213 100 50 Rectangle < 246 -188 () Text --- > 173.000000 -378.000000 (CG1 GX2: Can't select/move Text.) Text > 173.000000 -378.000000 () Text > 196.000000 -213.000000 100.000000 50.000000 Rectangle > 246.000000 -188.000000 () Text > 236.000000 -148.000000 (HN000003 text line 1) Text > 30.000000 -219.000000 100.000000 50.000000 Rectangle > 80.000000 -194.000000 () Text > 63.000000 -194.000000 (HN000002) Text > 124.000000 -104.000000 100.000000 50.000000 Rectangle > 174.000000 -79.000000 () Text > 164.000000 -39.000000 (HN000001 Text Line 1) Text saturn.cs.uml.edu(139)> ----------------------------------------------------