Bug 164606 [regression]The Text Border Can not print in PDF
engine/org.eclipse.birt.report.engine.emitter.pdf/src/org/eclipse/birt/report/engine/emitter/pdf/PDFEmitter.java
ULocale.getDefault( ) ).getRoot( ) );
			TOCNode tocRoot = tocHandler.getTOCRoot();
			if (tocRoot == null || tocRoot.getChildren().isEmpty())
			{
				writer.setViewerPreferences(PdfWriter.PageModeUseNone);
			}
			else
			{
				writer.setViewerPreferences(PdfWriter.PageModeUseOutlines);
				PdfOutline root = cb.getRootOutline();
				tocHandler.createTOC(tocRoot, root);
			}
			if(doc.isOpen( ))
			{
				doc.close();
			}
		}
		
		public void setTotalPage(ITextArea totalPage)
		{
			drawTextAt(totalPage, 0, 0, tpl, tpl.getHeight());
		}
		public void visitText(ITextArea textArea)
		{
			ContainerPosition curPos;
			if ( !containerStack.isEmpty() )
				curPos = (ContainerPosition)containerStack.peek();	
			else 
				curPos = new ContainerPosition(0, 0);
			int x = curPos.x + textArea.getX();