/** * Retrieve the list of layout for the * text node. */ protected List getTextRuns(TextNode node){ //System.out.println(node.getTextRuns()); if ( node.getTextRuns() == null ){ //TODO : need to work out a solution //to compute the text runs node.getPrimitiveBounds(); } //System.out.println(node.getTextRuns()); return node.getTextRuns(); }
/** * Retrieve the list of layout for the * text node. */ protected List getTextRuns(TextNode node){ //System.out.println(node.getTextRuns()); if ( node.getTextRuns() == null ){ //TODO : need to work out a solution //to compute the text runs node.getPrimitiveBounds(); } //System.out.println(node.getTextRuns()); return node.getTextRuns(); }
/** * Retrieve the list of layout for the * text node. */ protected List getTextRuns(TextNode node){ //System.out.println(node.getTextRuns()); if ( node.getTextRuns() == null ){ //TODO : need to work out a solution //to compute the text runs node.getPrimitiveBounds(); } //System.out.println(node.getTextRuns()); return node.getTextRuns(); }