public int getPrintOffset() { return (context.getActionStack() != null) ? context.getActionStack().size() : 0; }