bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); if (log.isTraceEnabled()) { log.trace("in readExternal"); } bodyReadOnly = in.readBoolean(); byte type = in.readByte(); if (log.isTraceEnabled()) { log.trac...
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); if (log.isTraceEnabled()) { log.trace("in readExternal"); } bodyReadOnly = in.readBoolean(); byte type = in.readByte(); if (log.isTraceEnabled()) { log.trac...
54,873
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); if (log.isTraceEnabled()) { log.trace("in writeExternal"); } out.writeBoolean(bodyReadOnly); if (payload == null) { out.writeByte(NULL); } else { out.write(...
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); if (log.isTraceEnabled()) { log.trace("in writeExternal"); } if (payload == null) { out.writeByte(NULL); } else { out.write(STRING); out.writeUTF((St...
54,874
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); if (log.isTraceEnabled()) { log.trace("in writeExternal"); } out.writeBoolean(bodyReadOnly); if (payload == null) { out.writeByte(NULL); } else { out.write(...
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); if (log.isTraceEnabled()) { log.trace("in writeExternal"); } out.writeBoolean(bodyReadOnly); if (payload == null) { out.writeByte(NULL); } else { out.write(...
54,875
public void commit(Xid xid, boolean onePhase) throws XAException { if (log.isTraceEnabled()) { log.trace("Commit xid=" + xid + ", onePhase=" + onePhase + " " + this); } rm.commit(xid, onePhase, connection); }
public void commit(Xid xid, boolean onePhase) throws XAException { if (trace) { log.trace("Commit xid=" + xid + ", onePhase=" + onePhase + " " + this); } rm.commit(xid, onePhase, connection); }
54,877
public void end(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) { log.trace("End xid=" + xid + ", flags=" + flags + " " +this); } synchronized (this) { switch (flags) { case TMSUSPEND : unsetCurrentTransactionId(xid); ...
public void end(Xid xid, int flags) throws XAException { if (trace) { log.trace("End xid=" + xid + ", flags=" + flags + " " +this); } synchronized (this) { switch (flags) { case TMSUSPEND : unsetCurrentTransactionId(xid); rm.su...
54,878
public void forget(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Forget xid=" + xid + " " + this); } }
public void forget(Xid xid) throws XAException { if (trace) { log.trace("Forget xid=" + xid + " " + this); } }
54,879
public int prepare(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Prepare xid=" + xid + " " + this); } return rm.prepare(xid, connection); }
public int prepare(Xid xid) throws XAException { if (trace) { log.trace("Prepare xid=" + xid + " " + this); } return rm.prepare(xid, connection); }
54,880
public Xid[] recover(int flags) throws XAException { if (log.isTraceEnabled()) { log.trace("Recover flags=" + flags + " " + this); } return rm.recover(flags, connection); }
public Xid[] recover(int flags) throws XAException { if (trace) { log.trace("Recover flags=" + flags + " " + this); } return rm.recover(flags, connection); }
54,881
public void rollback(Xid xid) throws XAException { if (log.isTraceEnabled()) { log.trace("Rollback xid=" + xid + " " + this); } rm.rollback(xid, connection); }
public void rollback(Xid xid) throws XAException { if (trace) { log.trace("Rollback xid=" + xid + " " + this); } rm.rollback(xid, connection); }
54,882
private void setCurrentTransactionId(final Xid xid) { if (xid == null) throw new org.jboss.util.NullArgumentException("xid"); if (log.isTraceEnabled()) { log.trace("Setting current tx xid=" + xid + " previous: " + sessionState.getCurrentTxId() + " " + this); } sessionState....
private void setCurrentTransactionId(final Xid xid) { if (xid == null) throw new org.jboss.util.NullArgumentException("xid"); if (trace) { log.trace("Setting current tx xid=" + xid + " previous: " + sessionState.getCurrentTxId() + " " + this); } sessionState.setCurrentTxId(...
54,883
public void start(Xid xid, int flags) throws XAException { if (log.isTraceEnabled()) { log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); } boolean convertTx = false; if (sessionState.getCurrentTxId() != null) { if (flags == TMNOFLAGS && sessionStat...
public void start(Xid xid, int flags) throws XAException { if (trace) { log.trace("Start xid=" + xid + ", flags=" + flags + " " + this); } boolean convertTx = false; if (sessionState.getCurrentTxId() != null) { if (flags == TMNOFLAGS && sessionState.getCurrentTxI...
54,884
public String toString() { return "JBossXAResource[" + Util.guidToString(sessionState.getDelegate().getID())+ "]"; }
public String toString() { return "JBossXAResource[" + sessionState.getDelegate().getID()+ "]"; }
54,885
private void unsetCurrentTransactionId(final Xid xid) { if (xid == null) throw new org.jboss.util.NullArgumentException("xid"); if (log.isTraceEnabled()) { log.trace("Unsetting current tx xid=" + xid + " previous: " + sessionState.getCurrentTxId() + " " + this); } //...
private void unsetCurrentTransactionId(final Xid xid) { if (xid == null) throw new org.jboss.util.NullArgumentException("xid"); if (trace) { log.trace("Unsetting current tx xid=" + xid + " previous: " + sessionState.getCurrentTxId() + " " + this); } // Don't unset th...
54,886
protected void startLayout(Graphics g) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } Element html = (Element)doc.getDocumentElement(); Element body = x.child( html, "body" ); body = html; newContex...
protected void startLayout(Graphics g) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } Element html = (Element)doc.getDocumentElement(); Element body = x.child( html, "body" ); body = html; newContex...
54,887
protected void startLayout(Graphics g) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } Element html = (Element)doc.getDocumentElement(); Element body = x.child( html, "body" ); body = html; newContex...
protected void startLayout(Graphics g) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } Element html = (Element)doc.getDocumentElement(); Element body = x.child( html, "body" ); body = html; newContex...
54,888
private synchronized void completeLayout() { //u.p("layout thread ending"); done = true; graphics = null; panel.repaint(); }
private synchronized void completeLayout() { //u.p("layout thread ending"); done = true; graphics = null; panel.repaint(); }
54,891
public void run() { //u.p("layout thread starting"); //u.p("graphics = " + graphics); panel.startLayout(graphics); this.completeLayout(); }
public void run() { //u.p("layout thread starting"); //u.p("graphics = " + graphics); panel.startLayout(graphics); this.completeLayout(); }
54,893
public synchronized void startLayout(Graphics g) { if(isLayoutDone()) { //u.p("really starting new thread"); done = false; graphics = g; new Thread(this).start(); } else { //u.p("layout already in progress. skipping layout"); } }
public synchronized void startLayout(Graphics g) { if(isLayoutDone()) { //u.p("really starting new thread"); done = false; graphics = g; if(threaded) { new Thread(this).start(); } else { run(); } } else { //u.p("layout already in progress. skippin...
54,894
public void testGetPreConfClientId_2() throws Exception { InitialContext ctx = new InitialContext(); TransactionManager mgr = (TransactionManager)ctx.lookup(TransactionManagerService.JNDI_NAME); DataSource ds = (DataSource)ctx.lookup("java:/DefaultDS"); String username = new GUID().toString(); ...
public void testGetPreConfClientId_2() throws Exception { InitialContext ctx = new InitialContext(); TransactionManager mgr = (TransactionManager)ctx.lookup(TransactionManagerService.JNDI_NAME); DataSource ds = (DataSource)ctx.lookup("java:/DefaultDS"); String username = new GUID().toString(); ...
54,897
public void setDataSource(String dataSourceJNDIName) throws Exception { this.dataSourceJNDIName = dataSourceJNDIName; InitialContext ic = new InitialContext(); ds = (DataSource)ic.lookup(dataSourceJNDIName); ic.close(); }
public void setDataSource(String dataSourceJNDIName) throws Exception { this.dataSourceJNDIName = dataSourceJNDIName; InitialContext ic = new InitialContext(); ds = (DataSource)ic.lookup(dataSourceJNDIName); ic.close(); }
54,900
public ClientProducerDelegate(String objectID) { super(objectID); }
public ClientProducerDelegate(int objectID) { super(objectID); }
54,902
public String toString() { return "ProducerDelegate[" + Util.guidToString(id) + "]"; }
public String toString() { return "ProducerDelegate[" + id + "]"; }
54,903
protected void tearDown() throws Exception { ServerManagement.setDefaultSecurityConfig(oldDefaultConfig); ServerManagement.undeployQueue("testQueue"); ServerManagement.undeployQueue("testTopic"); ServerManagement.undeployTopic("securedTopic"); ServerManagement.undeployTopic("unsecure...
protected void tearDown() throws Exception { ServerManagement.setDefaultSecurityConfig(oldDefaultConfig); ServerManagement.undeployQueue("testQueue"); ServerManagement.undeployQueue("testTopic"); ServerManagement.undeployTopic("securedTopic"); ServerManagement.undeployTopic("unsecure...
54,905
private void adjustHeight(Context c, Box block) { if (block.content instanceof AnonymousBlockContent) { return; } CalculatedStyle style = c.getCurrentStyle(); if (style.hasProperty("height")) { //float new_height = c.css.getFloatProperty(elem, "height", c.getExtents...
private void adjustHeight(Context c, Box block) { if (block.content instanceof AnonymousBlockContent) { return; } CalculatedStyle style = c.getCurrentStyle(); if (style.hasProperty("height")) { //float new_height = c.css.getFloatProperty(elem, "height", c.getExtents...
54,906
ResultEdgeLineWidthHandler(WorkflowGraph graph, Point location, int lineWidth, String name) { super(name); this.graph = graph; this.location = location; this.iWidth = lineWidth; }
ResultEdgeLineWidthHandler(WorkflowGraph graph, Point location, int lineWidth, String name) { super(name); this.graph = graph; this.location = location; this.width = lineWidth; }
54,907
public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = (graph.getGraphLayoutCache().getMapping(cell, false)); if(view instanceof CustomEdgeView) ...
public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = (graph.getGraphLayoutCache().getMapping(cell, false)); if(graph.getModel().isEdge(cell)) ...
54,908
public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = (graph.getGraphLayoutCache().getMapping(cell, false)); if(view instanceof CustomEdgeView) ...
public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = (graph.getGraphLayoutCache().getMapping(cell, false)); if(view instanceof CustomEdgeView) ...
54,909
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext((Graphics2D) g);//getContext().setMaxWidth(0); this.la...
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext((Graphics2D) g);//getContext().setMaxWidth(0); this.la...
54,910
public synchronized MessageIdGenerator getGenerator(String serverId, ConnectionDelegate cd) throws JMSException { Holder h = (Holder)holders.get(serverId); if (h == null) { h = new Holder(new MessageIdGenerator(cd, BLOCK_SIZE)); holders.put(serverId, h); } else { ...
public synchronized MessageIdGenerator getGenerator(String serverId, ConnectionFactoryDelegate cfd) throws JMSException { Holder h = (Holder)holders.get(serverId); if (h == null) { h = new Holder(new MessageIdGenerator(cd, BLOCK_SIZE)); holders.put(serverId, h); } else...
54,911
public synchronized MessageIdGenerator getGenerator(String serverId, ConnectionDelegate cd) throws JMSException { Holder h = (Holder)holders.get(serverId); if (h == null) { h = new Holder(new MessageIdGenerator(cd, BLOCK_SIZE)); holders.put(serverId, h); } else { ...
public synchronized MessageIdGenerator getGenerator(String serverId, ConnectionDelegate cd) throws JMSException { Holder h = (Holder)holders.get(serverId); if (h == null) { h = new Holder(new MessageIdGenerator(cfd, BLOCK_SIZE)); holders.put(serverId, h); } else {...
54,912
public String toString() { return "Line: (" + x + "," + y + ")Xx(" + width + "," + height + ")" + " baseline = " + getBaseline(); }
public String toString() { return "Line: (" + x + "," + y + ")x(" + width + "," + height + ")" + " baseline = " + getBaseline(); }
54,913
public void tearDown() throws Exception { ServerManagement.undeployTopic("Topic"); ServerManagement.undeployTopic("Topic2"); ServerManagement.undeployQueue("Queue"); //ServerManagement.deInit(); super.tearDown(); }
public void tearDown() throws Exception { ServerManagement.undeployTopic("Topic"); ServerManagement.undeployTopic("Topic2"); ServerManagement.undeployQueue("Queue"); //ServerManagement.deInit(); super.tearDown(); }
54,914
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
54,915
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
54,916
protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R...
protectedvoidpaintMenuItem(Graphicsg,JComponentc,IconcheckIcon,IconarrowIcon,Colorbackground,Colorforeground,intdefaultTextIconGap){JMenuItemm=(JMenuItem)c;Rectangletr=newRectangle();//textrectangleRectangleir=newRectangle();//iconrectangleRectanglevr=newRectangle();//viewrectangleRectanglebr=newRectangle();//borderrec...
54,917
public synchronized final void handleInterrupt(int irq) { processQueues(); }
public synchronized final void handleInterrupt(int irq) { processQueues(); }
54,918
final void setMode(int mode) { writeController(CCMD_WRITE_MODE); writeData(mode); }
final void setMode(int mode) { writeController(CCMD_WRITE_MODE); writeData(mode); }
54,919
private final void waitWrite() { int count = 0; while (((readStatus() & STAT_IBF) != 0) && (count < 1000)) { count++; Thread.yield(); } }
private final void waitWrite() { int count = 0; while (((readStatus() & STAT_IBF) != 0) && (count < 1000)) { count++; Thread.yield(); } }
54,920
private final void waitWrite() { int count = 0; while (((readStatus() & STAT_IBF) != 0) && (count < 1000)) { count++; Thread.yield(); } }
private final void waitWrite() { int count = 0; while (((readStatus() & STAT_IBF) != 0) && (count < 1000)) { count++; Thread.yield(); } }
54,921
private void writeController(int b) { waitWrite(); ioResCtrl.outPortByte(PS2_CTRL_PORT, b); }
private void writeController(int b) { waitWrite(); ioResCtrl.outPortByte(PS2_CTRL_PORT, b); }
54,923
private final void writeData(int b) { waitWrite(); ioResData.outPortByte(PS2_DATA_PORT, b); }
private final void writeData(int b) { waitWrite(); ioResData.outPortByte(PS2_DATA_PORT, b); }
54,924
public Context getInitialContext(Hashtable environment) throws NamingException { String s = (String)environment.get(Constants.SERVER_INDEX_PROPERTY_NAME); if (s == null) { throw new IllegalArgumentException("Initial context environment must contain " + ...
public Context getInitialContext(Hashtable environment) throws NamingException { String s = (String)environment.get(Constants.SERVER_INDEX_PROPERTY_NAME); if (s == null) { throw new IllegalArgumentException("Initial context environment must contain " + ...
54,925
public static InlineBox generateFirstLetterInlineBox( Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail ) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start)...
public static InlineBox generateFirstLetterInlineBox( Context c, Node node, int start, String text, InlineBox prev, InlineBox prev_align, int avail ) { // u.p("gen first letter box"); // u.p("node = " + node); // u.p("start = " + start)...
54,926
public static boolean isFirstLetter(Context c, Node node, int start) { //u.p("looking at node: " + node); //u.p("start = " + start); if(start > 0) { return false; } if(node == null) { return false; } if(node.getParentNode().getFirstChild() != no...
public static boolean isFirstLetter(Context c, Node node, int start) { //u.p("looking at node: " + node); //u.p("start = " + start); if(start > 0) { return true; } if(node == null) { return true; } if(node.getParentNode().getFirstChild() != node...
54,928
private static void styleInlineBox(Context c, CalculatedStyle style, InlineBox box) { box.color = style.getColor(); TextDecoration.setupTextDecoration( style, box.node, box ); Font font = FontUtil.getFont( c, style, box.node); box.setFont( font ); box.width = FontUtil.len( c, box....
public static void styleInlineBox(Context c, CalculatedStyle style, InlineBox box) { box.color = style.getColor(); TextDecoration.setupTextDecoration( style, box.node, box ); Font font = FontUtil.getFont( c, style, box.node); box.setFont( font ); box.width = FontUtil.len( c, box.g...
54,929
private static void styleInlineBox(Context c, CalculatedStyle style, InlineBox box) { box.color = style.getColor(); TextDecoration.setupTextDecoration( style, box.node, box ); Font font = FontUtil.getFont( c, style, box.node); box.setFont( font ); box.width = FontUtil.len( c, box....
VerticalAlign.setupVerticalAlign( c, style, box ); VerticalAlign.setupVerticalAlign( c, style, box ); VerticalAlign.setupVerticalAlign( c, style, box ); VerticalAlign.setupVerticalAlign( c, style, box ); privateVerticalAlign.setupVerticalAlign( c, style, box ); staticVerticalAlign.setupVerticalAlign( c, style, box ); v...
54,930
public synchronized int registerConnectionFactory(String clientID, JNDIBindings jndiBindings) throws Exception { //String id = generateConnectionFactoryID(); int id = serverPeer.getNextObjectID(); ServerConnectionFactoryEndpoint endpoint = ...
publicsynchronizedintregisterConnectionFactory(StringclientID,JNDIBindingsjndiBindings)throwsException{//Stringid=generateConnectionFactoryID();intid=serverPeer.getNextObjectID();ServerConnectionFactoryEndpointendpoint=newServerConnectionFactoryEndpoint(id,serverPeer,clientID,jndiBindings);ClientConnectionFactoryDelega...
54,932
public void tearDown() throws Exception { //ServerManagement.deInit(); super.tearDown(); log.debug("tear down done"); }
public void tearDown() throws Exception { //ServerManagement.deInit(); super.tearDown(); log.debug("tear down done"); }
54,933
public void tearDown() throws Exception { //ServerManagement.deInit(); super.tearDown(); }
public void tearDown() throws Exception { //ServerManagement.deInit(); super.tearDown(); }
54,934
protected Font resolveFont(Context c, String font, float size, String weight, String style) { // normalize the font name if(font.equals("serif")) { font = "Serif"; } if(font.equals("sans-serif")) { font = "SansSerif"; } if(font.equals("monospace")) { ...
protected Font resolveFont(Context c, String font, float size, String weight, String style) { // normalize the font name if(font.equals("serif")) { font = "Serif"; } if(font.equals("sans-serif")) { ...
54,935
public static void dumpFontMetrics(Font font, Graphics g) { FontMetrics fm = g.getFontMetrics(font); logger.info("Font: " + font.toString()); logger.info("FontMetrics: " + fm.toString()); logger.info("Ascent: " + fm.getAscent()); logger.info("Descent: " + fm.getDescent()); logger.info("Height: " + fm....
publicstaticvoiddumpFontMetrics(Fontfont,Graphicsg){FontMetricsfm=g.getFontMetrics(font);logger.info("Font:"+font.toString());logger.info("FontMetrics:"+fm.toString());logger.info("Ascent:"+fm.getAscent());logger.info("Descent:"+fm.getDescent());logger.info("Height:"+fm.getHeight());logger.info("Leading:"+fm.getLeading...
54,937
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,938
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont(); if(qu...
54,939
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,940
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,941
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,942
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,943
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,944
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
public static Font getElementFont(Context c, Element el) {// TODO: need to discuss what sort of caching should be going on here, because relative// datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e);Font f = c.getGraphics().getFont();if(quick) {//f = ...
54,945
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,946
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,947
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,948
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
public static Font getElementFont(Context c, Element el) {// TODO: need to discuss what sort of caching should be going on here, because relative// datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e);Font f = c.getGraphics().getFont();if(quick) {//f = ...
54,949
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,950
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,951
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,952
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,953
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,954
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,955
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,956
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
public static Font getElementFont(Context c, Element el) {// TODO: need to discuss what sort of caching should be going on here, because relative// datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e);Font f = c.getGraphics().getFont();if(quick) {//f = ...
54,957
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,958
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,959
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,960
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,961
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,962
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,963
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,964
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,965
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,966
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,967
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,968
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
public static Font getElementFont(Context c, Element el) {// TODO: need to discuss what sort of caching should be going on here, because relative// datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e);Font f = c.getGraphics().getFont();if(quick) {//f = ...
54,969
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
public static Font getElementFont(Context c, Element el) {// TODO: need to discuss what sort of caching should be going on here, because relative// datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e);Font f = c.getGraphics().getFont();if(quick) {//f = ...
54,970
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,971
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,972
public static Font getElementFont(Context c, Element el) { // TODO: need to discuss what sort of caching should be going on here, because relative // datatypes like EM and EX depend in part on the 'current' font for an element (PWW 14/08/04) //u.p("testing node: " + e); Font f = c.getGraphics().getFont...
publicstaticFontgetElementFont(Contextc,Elementel){//TODO:needtodiscusswhatsortofcachingshouldbegoingonhere,becauserelative//datatypeslikeEMandEXdependinpartonthe'current'fontforanelement(PWW14/08/04)//u.p("testingnode:"+e);Fontf=c.getGraphics().getFont();if(quick){//f=f.deriveFont((float)((int)(Math.random()*10)));ret...
54,973
public static int len(Context c, Node node, String str, Font font) { return c.getGraphics().getFontMetrics(font).stringWidth(str);}
publicstaticintlen(Contextc,Nodenode,Stringstr,Fontfont){returnc.getGraphics().getFontMetrics(font).stringWidth(str);}
54,974
public static int len(Context c, Node node, String str, Font font) { return c.getGraphics().getFontMetrics(font).stringWidth(str);}
publicstaticintlen(Contextc,Nodenode,Stringstr,Fontfont){returnc.getGraphics().getFontMetrics(font).stringWidth(str);}
54,975
public static void setupTextDecoration(Context c, Node node, InlineBox box) { Element el = null; if(node instanceof Element) { el = (Element)node; } else { el = (Element)node.getParentNode(); } String text_decoration = c.css.getStringProperty(el,"text-decoration"); if(text_decoration != ...
publicstaticvoidsetupTextDecoration(Contextc,Nodenode,InlineBoxbox){Elementel=null;if(nodeinstanceofElement){el=(Element)node;}else{el=(Element)node.getParentNode();}Stringtext_decoration=c.css.getStringProperty(el,"text-decoration");if(text_decoration!=null&&text_decoration.equals("underline")){box.underline=true;}if(...
54,976
public static void setupTextDecoration(Context c, Node node, InlineBox box) { Element el = null; if(node instanceof Element) { el = (Element)node; } else { el = (Element)node.getParentNode(); } String text_decoration = c.css.getStringProperty(el,"text-decoration"); if(text_decoration != ...
publicstaticvoidsetupTextDecoration(Contextc,Nodenode,InlineBoxbox){Elementel=null;if(nodeinstanceofElement){el=(Element)node;}else{el=(Element)node.getParentNode();}Stringtext_decoration=c.css.getStringProperty(el,"text-decoration");if(text_decoration!=null&&text_decoration.equals("underline")){box.underline=true;}if(...
54,977
public static void setupTextDecoration(Context c, Node node, InlineBox box) { Element el = null; if(node instanceof Element) { el = (Element)node; } else { el = (Element)node.getParentNode(); } String text_decoration = c.css.getStringProperty(el,"text-decoration"); if(text_decoration != ...
publicstaticvoidsetupTextDecoration(Contextc,Nodenode,InlineBoxbox){Elementel=null;if(nodeinstanceofElement){el=(Element)node;}else{el=(Element)node.getParentNode();}Stringtext_decoration=c.css.getStringProperty(el,"text-decoration");if(text_decoration!=null&&text_decoration.equals("underline")){box.underline=true;}if(...
54,978
public static void setupTextDecoration(Context c, Node node, InlineBox box) { Element el = null; if(node instanceof Element) { el = (Element)node; } else { el = (Element)node.getParentNode(); } String text_decoration = c.css.getStringProperty(el,"text-decoration"); if(text_decoration != ...
publicstaticvoidsetupTextDecoration(Contextc,Nodenode,InlineBoxbox){Elementel=null;if(nodeinstanceofElement){el=(Element)node;}else{el=(Element)node.getParentNode();}Stringtext_decoration=c.css.getStringProperty(el,"text-decoration");if(text_decoration!=null&&text_decoration.equals("underline")){box.underline=true;}if(...
54,979
public static void setupTextDecoration(Context c, Node node, InlineBox box) { Element el = null; if(node instanceof Element) { el = (Element)node; } else { el = (Element)node.getParentNode(); } String text_decoration = c.css.getStringProperty(el,"text-decoration"); if(text_decoration != ...
publicstaticvoidsetupTextDecoration(Contextc,Nodenode,InlineBoxbox){Elementel=null;if(nodeinstanceofElement){el=(Element)node;}else{el=(Element)node.getParentNode();}Stringtext_decoration=c.css.getStringProperty(el,"text-decoration");if(text_decoration!=null&&text_decoration.equals("underline")){box.underline=true;}if(...
54,980
public static void setupTextDecoration(Context c, Node node, InlineBox box) { Element el = null; if(node instanceof Element) { el = (Element)node; } else { el = (Element)node.getParentNode(); } String text_decoration = c.css.getStringProperty(el,"text-decoration"); if(text_decoration != ...
public} String text_decoration = c.css.getStringProperty(el,"text-decoration"); if(text_decoration != null && text_decoration.equals("underline")) { box.underline = true; } if(text_decoration != null && text_decoration.equals("line-through")) { box.strikethrough = true; } if(text_decoration != null && text_decoration.e...
54,981
public static void setupTextDecoration(Context c, Node node, InlineBox box) { Element el = null; if(node instanceof Element) { el = (Element)node; } else { el = (Element)node.getParentNode(); } String text_decoration = c.css.getStringProperty(el,"text-decoration"); if(text_decoration != ...
public static void setupTextDecoration(Context c, Node node, InlineBox box) { Element el = null; if(node instanceof Element) { el = (Element)node; } else { el = (Element)node.getParentNode(); } String text_decoration = c.css.getStringProperty(el,"text-decoration"); if(text_decoration != ...
54,982
public static void setupVerticalAlign(Context c, Node node, InlineBox box) { //u.p("setup vertical align: node = " + node + " box = " + box); // get the parent node for styling Node parent = node.getParentNode(); //u.p("parent = " + parent); Element elem = null; if(node.getNodeType() == node.TEXT_NODE...
publicstaticvoidsetupVerticalAlign(Contextc,Nodenode,InlineBoxbox){//u.p("setupverticalalign:node="+node+"box="+box);//gettheparentnodeforstylingNodeparent=node.getParentNode();//u.p("parent="+parent);Elementelem=null;if(node.getNodeType()==node.TEXT_NODE){parent=parent.getParentNode();elem=(Element)node.getParentNode(...
54,983
public static void setupVerticalAlign(Context c, Node node, InlineBox box) { //u.p("setup vertical align: node = " + node + " box = " + box); // get the parent node for styling Node parent = node.getParentNode(); //u.p("parent = " + parent); Element elem = null; if(node.getNodeType() == node.TEXT_NODE...
publicstaticvoidsetupVerticalAlign(Contextc,Nodenode,InlineBoxbox){//u.p("setupverticalalign:node="+node+"box="+box);//gettheparentnodeforstylingNodeparent=node.getParentNode();//u.p("parent="+parent);Elementelem=null;if(node.getNodeType()==node.TEXT_NODE){parent=parent.getParentNode();elem=(Element)node.getParentNode(...
54,984
public static void setupVerticalAlign(Context c, Node node, InlineBox box) { //u.p("setup vertical align: node = " + node + " box = " + box); // get the parent node for styling Node parent = node.getParentNode(); //u.p("parent = " + parent); Element elem = null; if(node.getNodeType() == node.TEXT_NODE...
publicstaticvoidsetupVerticalAlign(Contextc,Nodenode,InlineBoxbox){//u.p("setupverticalalign:node="+node+"box="+box);//gettheparentnodeforstylingNodeparent=node.getParentNode();//u.p("parent="+parent);Elementelem=null;if(node.getNodeType()==node.TEXT_NODE){parent=parent.getParentNode();elem=(Element)node.getParentNode(...
54,985
public static void setupVerticalAlign(Context c, Node node, InlineBox box) { //u.p("setup vertical align: node = " + node + " box = " + box); // get the parent node for styling Node parent = node.getParentNode(); //u.p("parent = " + parent); Element elem = null; if(node.getNodeType() == node.TEXT_NODE...
publicstaticvoidsetupVerticalAlign(Contextc,Nodenode,InlineBoxbox){//u.p("setupverticalalign:node="+node+"box="+box);//gettheparentnodeforstylingNodeparent=node.getParentNode();//u.p("parent="+parent);Elementelem=null;if(node.getNodeType()==node.TEXT_NODE){parent=parent.getParentNode();elem=(Element)node.getParentNode(...
54,986