HiraokaHyperTools.iTextSharp-LGPL
0.2.5
|
Classes | |
class | Indentation |
class | PdfCatalog |
class | PdfInfo |
class | RenderingContext |
Public Member Functions | |
override bool | Add (IElement element) |
override void | Open () |
override void | Close () |
override bool | NewPage () |
override bool | SetPageSize (Rectangle pageSize) |
override bool | SetMargins (float marginLeft, float marginRight, float marginTop, float marginBottom) |
override bool | SetMarginMirroring (bool MarginMirroring) |
override bool | SetMarginMirroringTopBottom (bool MarginMirroringTopBottom) |
override void | ResetPageCount () |
override void | ResetHeader () |
override void | ResetFooter () |
float | GetVerticalPosition (bool ensureNewLine) |
void | ClearTextWrap () |
![]() | |
Document () | |
Constructs a new Document-object. More... | |
Document (Rectangle pageSize) | |
Constructs a new Document-object. More... | |
Document (Rectangle pageSize, float marginLeft, float marginRight, float marginTop, float marginBottom) | |
Constructs a new Document-object. More... | |
void | AddDocListener (IDocListener listener) |
Adds a IDocListener to the Document. More... | |
void | RemoveIDocListener (IDocListener listener) |
Removes a IDocListener from the Document. More... | |
bool | AddHeader (string name, string content) |
Adds a user defined header to the document. More... | |
bool | AddTitle (string title) |
Adds the title to a Document. More... | |
bool | AddSubject (string subject) |
Adds the subject to a Document. More... | |
bool | AddKeywords (string keywords) |
Adds the keywords to a Document. More... | |
bool | AddAuthor (string author) |
Adds the author to a Document. More... | |
bool | AddCreator (string creator) |
Adds the creator to a Document. More... | |
bool | AddProducer () |
Adds the producer to a Document. More... | |
bool | AddCreationDate () |
Adds the current date and time to a Document. More... | |
float | GetLeft (float margin) |
Returns the lower left x-coordinate considering a given margin. More... | |
float | GetRight (float margin) |
Returns the upper right x-coordinate, considering a given margin. More... | |
float | GetTop (float margin) |
Returns the upper right y-coordinate, considering a given margin. More... | |
float | GetBottom (float margin) |
Returns the lower left y-coordinate, considering a given margin. More... | |
bool | IsOpen () |
Checks if the document is open. More... | |
bool | IsMarginMirroring () |
Protected Attributes | |
bool | isSectionTitle = false |
int | leadingCount = 0 |
byte[] | xmpMetadata = null |
float | nextMarginLeft |
float | nextMarginRight |
float | nextMarginTop |
float | nextMarginBottom |
PdfViewerPreferencesImp | viewerPreferences = new PdfViewerPreferencesImp() |
int | markPoint |
Rectangle | nextPageSize = null |
Hashtable | thisBoxSize = new Hashtable() |
Hashtable | boxSize = new Hashtable() |
int | duration =-1 |
PdfTransition | transition =null |
PdfDictionary | pageAA = null |
![]() | |
bool | open |
summary> Has the document allready been closed? More... | |
bool | close |
Rectangle | pageSize |
The size of the page. More... | |
float | marginLeft = 0 |
summary> margin in x direction starting from the right More... | |
float | marginRight = 0 |
summary> margin in y direction starting from the top More... | |
float | marginTop = 0 |
summary> margin in y direction starting from the bottom More... | |
float | marginBottom = 0 |
bool | marginMirroring = false |
bool | marginMirroringTopBottom = false |
summary> Content of JavaScript onLoad function More... | |
string | javaScript_onLoad = null |
summary> Content of JavaScript onUnLoad function More... | |
string | javaScript_onUnLoad = null |
summary> Style class in HTML body tag More... | |
string | htmlStyleClass = null |
int | pageN = 0 |
Current pagenumber More... | |
HeaderFooter | header = null |
summary> This is the textual part of the footer More... | |
HeaderFooter | footer = null |
int | chapternumber = 0 |
Properties | |
float | Leading [get, set] |
byte[] | XmpMetadata [set] |
override int | PageCount [set] |
override HeaderFooter | Header [set] |
override HeaderFooter | Footer [set] |
PdfOutline | RootOutline [get] |
PdfCollection | Collection [set] |
PdfAcroForm | AcroForm [get] |
![]() | |
virtual HeaderFooter | Header [set] |
Changes the header of this document. More... | |
virtual HeaderFooter | Footer [set] |
Changes the footer of this document. More... | |
virtual int | PageCount [set] |
Sets the page number. More... | |
int | PageNumber [get] |
Returns the current page number. More... | |
float | LeftMargin [get] |
Returns the left margin. More... | |
float | RightMargin [get] |
Return the right margin. More... | |
float | TopMargin [get] |
Returns the top margin. More... | |
float | BottomMargin [get] |
Returns the bottom margin. More... | |
float | Left [get] |
Returns the lower left x-coordinate. More... | |
float | Right [get] |
Returns the upper right x-coordinate. More... | |
float | Top [get] |
Returns the upper right y-coordinate. More... | |
float | Bottom [get] |
Returns the lower left y-coordinate. More... | |
Rectangle | PageSize [get] |
Gets the pagesize. More... | |
static String | Product [get] |
static String | Release [get] |
static string | Version [get] |
Gets the iText version. More... | |
string | JavaScript_onLoad [get, set] |
Gets the JavaScript onLoad command. More... | |
string | JavaScript_onUnLoad [get, set] |
Gets the JavaScript onUnLoad command. More... | |
string | HtmlStyleClass [get, set] |
Gets the style class of the HTML body tag More... | |
![]() | |
int | PageCount [set] |
Sets the page number. More... | |
HeaderFooter | Header [set] |
Changes the header of this document. More... | |
HeaderFooter | Footer [set] |
Changes the footer of this document. More... | |
Additional Inherited Members | |
![]() | |
static bool | Compress = true |
summary> Scales the WMF font size. The default value is 0.86. More... | |
static float | WmfFontCorrection = 0.86f |
summary> The IDocListener. More... | |
PdfDocument
is the class that is used by PdfWriter
to translate a Document
into a PDF with different pages.
A PdfDocument
always listens to a Document
and adds the Pdf representation of every Element
that is added to the Document
.
|
virtual |
Signals that an Element
was added to the Document
.
element | the element to add |
true
if the element was added, false
if not. DocumentException | when a document isn't open yet, or has been closed |
Reimplemented from iTextSharp.text.Document.
void iTextSharp.text.pdf.PdfDocument.ClearTextWrap | ( | ) |
Method added by Pelikan Stephan
|
virtual |
Closes the document. Once all the content has been written in the body, you have to close the body. After that nothing can be written to the body anymore.
Reimplemented from iTextSharp.text.Document.
float iTextSharp.text.pdf.PdfDocument.GetVerticalPosition | ( | bool | ensureNewLine | ) |
Gets the current vertical page position.
ensureNewLine | Tells whether a new line shall be enforced. This may cause side effects for elements that do not terminate the lines they've started because those lines will get terminated. |
|
virtual |
Makes a new page and sends it to the PdfWriter
.
bool
DocumentException | on error |
Reimplemented from iTextSharp.text.Document.
|
virtual |
Opens the document.
You have to open the document before you can begin to add content to the body of the document.
Reimplemented from iTextSharp.text.Document.
|
virtual |
Resets the footer of this document.
Reimplemented from iTextSharp.text.Document.
|
virtual |
Resets the header of this document.
Reimplemented from iTextSharp.text.Document.
|
virtual |
Sets the page number to 0.
Reimplemented from iTextSharp.text.Document.
|
virtual |
Reimplemented from iTextSharp.text.Document.
|
virtual |
Reimplemented from iTextSharp.text.Document.
|
virtual |
Sets the margins.
marginLeft | the margin on the left |
marginRight | the margin on the right |
marginTop | the margin on the top |
marginBottom | the margin on the bottom |
bool
Reimplemented from iTextSharp.text.Document.
|
virtual |
Sets the pagesize.
pageSize | the new pagesize |
true
if the page size was set Reimplemented from iTextSharp.text.Document.
|
protected |
This is the size of the several boxes that will be used in the next page.
|
protected |
The duration of the page
|
protected |
Signals that onParagraph is valid (to avoid that a Chapter/Section title is treated as a Paragraph).
|
protected |
Signals that the current leading has to be subtracted from a YMark object.
|
protected |
|
protected |
margin in y direction starting from the bottom. Will be valid in the next page
|
protected |
margin in x direction starting from the left. Will be valid in the next page
|
protected |
margin in x direction starting from the right. Will be valid in the next page
|
protected |
margin in y direction starting from the top. Will be valid in the next page
|
protected |
This is the size of the next page.
|
protected |
|
protected |
This is the size of the several boxes of the current Page.
|
protected |
The page transition
|
protected |
Contains the Viewer preferences of this PDF document.
|
protected |
XMP Metadata for the page.
|
get |
Gets the AcroForm object.
|
set |
Sets the collection dictionary.
collection | a dictionary of type PdfCollection |
|
set |
Changes the footer of this document.
footer | the new footer |
|
set |
Changes the header of this document.
header | the new header |
|
getset |
Getter for the current leading.
|
set |
Sets the page number.
pageN | the new page number |
|
get |
Gets the root outline. All the outlines must be created with a parent. The first level is created with this outline.
|
set |
Use this method to set the XMP Metadata.
xmpMetadata | The xmpMetadata to set. |