80 |
|
|
81 |
if (dbg) pa("ENF LIST: " + enfList); |
if (dbg) pa("ENF LIST: " + enfList); |
82 |
|
|
83 |
if(hook != null) { |
boolean drawFrame = false; |
84 |
if (span instanceof TextSpan) |
if (span instanceof TextSpan) { |
85 |
|
if(hook != null) |
86 |
context.setCellView(new CellViewPlugin(orig_cv, hook)); |
context.setCellView(new CellViewPlugin(orig_cv, hook)); |
87 |
else |
else |
88 |
context.setCellView( |
context.setCellView(orig_cv); |
|
new CellViewPlugin(new PageSpanCellView(), hook)); |
|
89 |
} |
} |
90 |
else { |
else { |
91 |
if (span instanceof TextSpan) |
if(hook != null) |
92 |
context.setCellView(orig_cv); |
context.setCellView( |
93 |
|
new CellViewPlugin(new PageSpanCellView(), hook)); |
94 |
else |
else |
95 |
context.setCellView(new PageSpanCellView()); |
context.setCellView(new PageSpanCellView()); |
96 |
|
|
97 |
|
drawFrame = true; |
98 |
} |
} |
99 |
|
|
100 |
CellView cv = context.getCellView(); |
CellView cv = context.getCellView(); |
101 |
|
|
102 |
Cell firstCoord = item.s(d_coords, 1); |
Cell firstCoord = item.s(d_coords, 1); |
114 |
place[0]-bs[0]/2, place[1]-bs[1]/2, |
place[0]-bs[0]/2, place[1]-bs[1]/2, |
115 |
1, 1, bs[0], bs[1]); |
1, 1, bs[0], bs[1]); |
116 |
|
|
117 |
|
//vs.map.put(, box); |
118 |
|
|
119 |
if (vs.coords instanceof GLVobCoorder && cullCS > 0) { |
if (vs.coords instanceof GLVobCoorder && cullCS > 0) { |
120 |
int cull = ((GLVobCoorder)vs.coords).cull(box, cullCS); |
int cull = ((GLVobCoorder)vs.coords).cull(box, cullCS); |
121 |
vs.matcher.add(box, cull, item+"cull"); |
vs.matcher.add(box, cull, item+"cull"); |