Ejemplo n.º 1
0
 public InvocationContext(ITextContext iTextContext) throws IOException, DocumentException {
   this.iTextContext = iTextContext;
   this.styles = iTextContext.styles();
   // ---
   this.fontAwesome = new FontAwesomeAdapter();
   this.processorDefault = new DefaultProcessor();
   this.fontStack = new Stack<Font>();
   this.fontStack.push(styles.defaultFont());
   this.tableStack = new Stack<TableInfos>();
   this.cellStylerStack = new Stack<CellStyler>();
   this.treeNavigation = new TreeNavigation();
   this.references = new References();
 }
Ejemplo n.º 2
0
 public Font peekSymbolFont() {
   return ITextUtils.adjustWithStyles(styles.getSymbolFont(), peekFont());
 }