Method | Description | |
---|---|---|
AddImage ( int fileId, |
||
GeneratePdf ( Project project, bool draft ) : byte[] |
Generates a pdf document
|
|
PdfMerger ( List |
||
PdfService ( IRepository |
||
ScanForImage ( string txt, |
||
WatermarkPdf ( byte pdf, string watermarkTxt ) : byte[] | ||
WriteToPdf ( byte pdf, string stringToWriteToPdf ) : byte[] |
Adds a watermark to all pages in the pdf, even takes into account orientation http://footheory.com/blogs/donnfelker/archive/2008/05/11/using-itextsharp-to-watermark-write-text-to-existing-pdf-s.aspx |
Method | Description | |
---|---|---|
AddCoverpage ( |
||
AddDisclaimerInformation ( |
Add in the light grey disclaimer on the bottom of the front page
|
|
AddGlossary ( |
||
AddHtmlText ( string text, |
Parse out the html and format it using iTextSharp's stuff http://blog.dmbcllc.com/2009/07/28/itextsharp-html-to-pdf-parsing-html/ (not being used) |
|
AddProjectInformation ( |
Adds in the project name, and clien information
|
|
AddRequirementTable ( |
||
AddSectionHeader ( string title, |
||
AddToPage ( |
Adds the table to the document taking into account what is currently on the page
|
|
AddUseCases ( |
||
AddWorkerInformation ( |
Adds in worker information, Department(s), Unit(s), and PM/Lead Programmer
|
|
BuildDocObject ( List |
||
BuildListObject ( List |
||
BuildUseCaseTable ( UseCase useCase ) : |
||
CreateCell ( |
Defaults to creating cell with no border and no padding
|
|
CreateTableHeader ( string text, |
Creates a formatted cell for a table header
|
|
DrawBoxForCover ( |
Draws the box on the cover page that contains the date
|
|
GetHypotenuseAngleInDegreesFrom ( double opposite, double adjacent ) : double |
Calculates the angle for the watermark http://footheory.com/blogs/donnfelker/archive/2008/05/11/using-itextsharp-to-watermark-write-text-to-existing-pdf-s.aspx |
|
HandleTag ( Stack |
Generates new phrase element with all sub formatting
|
|
InitializeDocument ( ) : void | ||
InitializeTable ( int columns = 1 ) : |
Initializes a pdf p table
|
|
IsReadyToProcess ( string tag ) : bool |
Determines if readed end of block element that cooresponds to iTextSharp objects
|
public AddImage ( int fileId, |
||
fileId | int | |
pCell | ||
return | void |
public GeneratePdf ( Project project, bool draft ) : byte[] | ||
project | Project | |
draft | bool | |
return | byte[] |
public PdfService ( IRepository |
||
fileRepository | IRepository |
|
sectionTypeRepository | IRepository |
|
return | System |
public ScanForImage ( string txt, |
||
txt | string | |
pCell | ||
return | string |
public WatermarkPdf ( byte pdf, string watermarkTxt ) : byte[] | ||
byte | ||
watermarkTxt | string | |
return | byte[] |
public WriteToPdf ( byte pdf, string stringToWriteToPdf ) : byte[] | ||
byte | ||
stringToWriteToPdf | string | |
return | byte[] |