com.itextpdf.tool.itextdoc.pdf
Class DocumentationPipelineCoreImpl

java.lang.Object
  extended by com.itextpdf.tool.itextdoc.pdf.DocumentationPipelineCoreImpl
All Implemented Interfaces:
DocumentationPipelineCore

public class DocumentationPipelineCoreImpl
extends Object
implements DocumentationPipelineCore

Author:
redlab

Constructor Summary
DocumentationPipelineCoreImpl(PdfUtil pdfutil)
           
 
Method Summary
 void closeBookMark(DocumentationPipelineContext dpc)
           
 void closePdf(WorkerContext ctx)
           
 void closeValidPart(Tag t, DocumentationPipelineContext dpc)
           
 void createIBookMark(DocumentationPipelineContext dpc, Map<String,String> attributes)
           
 void handleCodePart(Tag t, ProcessObject po, DocumentationPipelineContext dpc)
           
 boolean isValidPart(Tag t)
          Verifies that the tag is a part tag valid for PDF creation.
 void openBody(Tag t, DocumentationPipelineContext dpc)
           
 void openCss(Tag t, DocumentationPipelineContext dpc)
           
 void openPdf(WorkerContext ctx, Tag t, DocumentationPipelineContext dpc)
           
 void openValidPart(Tag t, DocumentationPipelineContext dpc)
           
 void setImageProvider(WorkerContext ctx, Tag t)
           
 void setLinkProvider(WorkerContext ctx, Tag t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentationPipelineCoreImpl

public DocumentationPipelineCoreImpl(PdfUtil pdfutil)
Parameters:
pdfutil -
Method Detail

isValidPart

public boolean isValidPart(Tag t)
Description copied from interface: DocumentationPipelineCore
Verifies that the tag is a part tag valid for PDF creation.

Specified by:
isValidPart in interface DocumentationPipelineCore
Parameters:
t - the Tag to check
Returns:
true if the tag is valid

openBody

public void openBody(Tag t,
                     DocumentationPipelineContext dpc)
Specified by:
openBody in interface DocumentationPipelineCore

openCss

public void openCss(Tag t,
                    DocumentationPipelineContext dpc)
             throws PipelineException
Specified by:
openCss in interface DocumentationPipelineCore
Throws:
PipelineException

openPdf

public void openPdf(WorkerContext ctx,
                    Tag t,
                    DocumentationPipelineContext dpc)
             throws NoCustomContextException,
                    FileNotFoundException,
                    DocumentException
Specified by:
openPdf in interface DocumentationPipelineCore
Throws:
NoCustomContextException
FileNotFoundException
DocumentException

openValidPart

public void openValidPart(Tag t,
                          DocumentationPipelineContext dpc)
                   throws FileNotFoundException,
                          UnsupportedEncodingException
Specified by:
openValidPart in interface DocumentationPipelineCore
Throws:
FileNotFoundException
UnsupportedEncodingException

closeValidPart

public void closeValidPart(Tag t,
                           DocumentationPipelineContext dpc)
Specified by:
closeValidPart in interface DocumentationPipelineCore

closePdf

public void closePdf(WorkerContext ctx)
              throws PipelineException
Specified by:
closePdf in interface DocumentationPipelineCore
Throws:
PipelineException

handleCodePart

public void handleCodePart(Tag t,
                           ProcessObject po,
                           DocumentationPipelineContext dpc)
Specified by:
handleCodePart in interface DocumentationPipelineCore

closeBookMark

public void closeBookMark(DocumentationPipelineContext dpc)
Specified by:
closeBookMark in interface DocumentationPipelineCore

createIBookMark

public void createIBookMark(DocumentationPipelineContext dpc,
                            Map<String,String> attributes)
Specified by:
createIBookMark in interface DocumentationPipelineCore

setImageProvider

public void setImageProvider(WorkerContext ctx,
                             Tag t)
                      throws NoCustomContextException
Specified by:
setImageProvider in interface DocumentationPipelineCore
Throws:
NoCustomContextException

setLinkProvider

public void setLinkProvider(WorkerContext ctx,
                            Tag t)
                     throws NoCustomContextException
Specified by:
setLinkProvider in interface DocumentationPipelineCore
Throws:
NoCustomContextException


Copyright © 2011 1T3XT BVBA. All Rights Reserved.