54 |
|
|
55 |
papercode = cell; |
papercode = cell; |
56 |
|
|
|
/* |
|
|
Cell colorCell = cell.s(Dims.d_user_3_id); |
|
|
if(colorCell != null && colorCell.t().length() > 0) { |
|
|
int i = 0xffffff; |
|
|
try { |
|
|
i = Integer.parseInt(colorCell.t(),16); |
|
|
} catch(NumberFormatException e) { |
|
|
// e.printStackTrace(); |
|
|
i = 0xffffff; |
|
|
// pa("NumberFormatException: \""+colorCell.t()+"\""); |
|
|
} |
|
|
bgcolor = new Color(i); |
|
|
} |
|
|
*/ |
|
57 |
} |
} |
58 |
static Rectangle rect = new Rectangle(); |
static Rectangle rect = new Rectangle(); |
59 |
static Rectangle rect2 = new Rectangle(); |
static Rectangle rect2 = new Rectangle(); |
79 |
static HashMap papers = new HashMap(); |
static HashMap papers = new HashMap(); |
80 |
|
|
81 |
GZZGL.PaperQuad getPaperQuad(Cell c) { |
GZZGL.PaperQuad getPaperQuad(Cell c) { |
|
throw new UnsupportedOperationException(); |
|
|
/* |
|
82 |
GZZGL.PaperQuad ret = (GZZGL.PaperQuad)papers.get(c); |
GZZGL.PaperQuad ret = (GZZGL.PaperQuad)papers.get(c); |
83 |
if(ret == null) { |
if(ret == null) { |
84 |
GZZGL.Paper pap; |
Paper pap; |
85 |
GZZGL.PaperQuad pq; |
GZZGL.PaperQuad pq; |
86 |
pap = GZZGL.createPaper(c.hashCode()); |
pap = PaperMill.getInstance().getPaper(c.hashCode()); |
87 |
ret = GZZGL.createPaperQuad(pap, -1, -1, 1, 1); |
ret = GZZGL.createPaperQuad(pap, -1, -1, 1, 1); |
88 |
papers.put(c, ret); |
papers.put(c, ret); |
89 |
} |
} |
90 |
return ret; |
return ret; |
|
*/ |
|
91 |
} |
} |
92 |
|
|
93 |
|
|
95 |
int[] list, int curs, int coordsys1, |
int[] list, int curs, int coordsys1, |
96 |
int coordsys2) { |
int coordsys2) { |
97 |
|
|
98 |
/* |
GZZGL.PaperQuad pq = getPaperQuad(papercode); |
|
GZZGL.PaperQuad pq = getPaperQuad(papercode); |
|
99 |
curs = pq.addToListGL(win, list, curs, coordsys1, coordsys2); |
curs = pq.addToListGL(win, list, curs, coordsys1, coordsys2); |
|
*/ |
|
100 |
return curs; |
return curs; |
101 |
} |
} |
102 |
|
|