|  |  | @ -12,6 +12,7 @@ package siprp.ficha; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.evolute.utils.UnicodeChecker; |  |  |  | import com.evolute.utils.UnicodeChecker; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.evolute.utils.fop.FOPCreator; |  |  |  | import com.evolute.utils.fop.FOPCreator; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.evolute.utils.fop.FOPPrinter; |  |  |  | import com.evolute.utils.fop.FOPPrinter; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import com.evolute.utils.fop.PDFCreator; | 
			
		
	
		
		
			
				
					
					|  |  |  | import java.io.ByteArrayInputStream; |  |  |  | import java.io.ByteArrayInputStream; | 
			
		
	
		
		
			
				
					
					|  |  |  | import java.io.ByteArrayOutputStream; |  |  |  | import java.io.ByteArrayOutputStream; | 
			
		
	
		
		
			
				
					
					|  |  |  | import java.io.InputStream; |  |  |  | import java.io.InputStream; | 
			
		
	
	
		
		
			
				
					|  |  | @ -24,6 +25,7 @@ import java.util.HashMap; | 
			
		
	
		
		
			
				
					
					|  |  |  | public class FichaAptidaoCreator implements FichaAptidaoConstants |  |  |  | public class FichaAptidaoCreator implements FichaAptidaoConstants | 
			
		
	
		
		
			
				
					
					|  |  |  | { |  |  |  | { | 
			
		
	
		
		
			
				
					
					|  |  |  | 	private final FOPCreator fopCreator; |  |  |  | 	private final FOPCreator fopCreator; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 	private final PDFCreator pdfCreator; | 
			
		
	
		
		
			
				
					
					|  |  |  | 	private final FOPPrinter fopPrinter; |  |  |  | 	private final FOPPrinter fopPrinter; | 
			
		
	
		
		
			
				
					
					|  |  |  | 	 |  |  |  | 	 | 
			
		
	
		
		
			
				
					
					|  |  |  | 	private static FichaAptidaoCreator creator = null; |  |  |  | 	private static FichaAptidaoCreator creator = null; | 
			
		
	
	
		
		
			
				
					|  |  | @ -32,6 +34,7 @@ public class FichaAptidaoCreator implements FichaAptidaoConstants | 
			
		
	
		
		
			
				
					
					|  |  |  | 	private FichaAptidaoCreator() |  |  |  | 	private FichaAptidaoCreator() | 
			
		
	
		
		
			
				
					
					|  |  |  | 	{ |  |  |  | 	{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 		fopCreator = FOPCreator.getFOPCreator(); |  |  |  | 		fopCreator = FOPCreator.getFOPCreator(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		pdfCreator = PDFCreator.getPDFCreator(); | 
			
		
	
		
		
			
				
					
					|  |  |  | 		fopPrinter = FOPPrinter.getFOPPrinter(); |  |  |  | 		fopPrinter = FOPPrinter.getFOPPrinter(); | 
			
		
	
		
		
			
				
					
					|  |  |  | 	} |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  | 	 |  |  |  | 	 | 
			
		
	
	
		
		
			
				
					|  |  | @ -99,7 +102,8 @@ public class FichaAptidaoCreator implements FichaAptidaoConstants | 
			
		
	
		
		
			
				
					
					|  |  |  | 	} |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  | 	 |  |  |  | 	 | 
			
		
	
		
		
			
				
					
					|  |  |  | 	public byte[] createPDF( byte[] fo ) |  |  |  | 	public byte[] createPDF( byte[] fo ) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 		throws Exception | 
			
		
	
		
		
			
				
					
					|  |  |  | 	{ |  |  |  | 	{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 		return null; |  |  |  | 		return pdfCreator.createPdfFromFo( fo ); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 	} |  |  |  | 	} | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |