iText 5

PdfPRow

PdfPRow Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf iTextSharp.text.pdf.PdfPRow[[PdfPRow]] end subgraph iTextSharp.text.pdf.interfaces iTextSharp.text.pdf.interfaces.IAccessibleElement[[IAccessibleElement]] class iTextSharp.text.pdf.interfaces.IAccessibleElement interfaceStyle; end iTextSharp.text.pdf.interfaces.IAccessibleElement --> iTextSharp.text.pdf.PdfPRow

Members

Properties

Public properties

Type

Name

Methods

bool

Adjusted

get, set

AccessibleElementId

ID

get, set

bool

IsInline

get

float

MaxHeights

get, set

bool

MayNotBreak

get, set

PdfName

Role

get, set

Methods

Public methods

Returns

Name

void

CopyRowContent

(

PdfPTable

table, int idx)

PdfObject

GetAccessibleAttribute

(

PdfName

key)

Dictionary<

PdfName

,

PdfObject

>

GetAccessibleAttributes

()

PdfPCell

[]

GetCells

()

float

GetMaxRowHeightsWithoutCalculating

()

bool

HasRowspan

()

bool

IsCalculated

()

void

SetAccessibleAttribute

(

PdfName

key,

PdfObject

value)

void

SetExtraHeight

(int cell, float height)

void

SetFinalMaxHeights

(float maxHeight)

bool

SetWidths

(float``[] widths)

PdfPRow

SplitRow

(

PdfPTable

table, int rowIndex, float new_height)

void

SplitRowspans

(

PdfPTable

original, int originalIdx,

PdfPTable

part, int partIdx)

void

WriteBorderAndBackground

(float xPos, float yPos, float currentMaxHeight,

PdfPCell

cell,

PdfContentByte

[] canvases)

void

WriteCells

(int colStart, int colEnd, float xPos, float yPos,

PdfContentByte

[] canvases, bool reusable)

Protected internal methods

Returns

Name

void

CalculateHeights

()

void

InitExtraHeights

()

Protected methods

Returns

Name

void

RestoreCanvases

(

PdfContentByte

[] canvases)

void

SaveAndRotateCanvases

(

PdfContentByte

[] canvases, float a, float b, float c, float d, float e, float f)

Internal methods

Returns

Name

float``[]

GetEventWidth

(float xPos, float``[] absoluteWidths)

Public Static methods

Returns

Name

float

SetColumn

(

ColumnText

ct, float left, float bottom, float right, float top)

Details

Inheritance

Constructors

PdfPRow [1/3]

Source code

public PdfPRow(PdfPCell[] cells)

Arguments

Type

Name

Description

PdfPCell

[]

cells

PdfPRow [2/3]

Source code

public PdfPRow(PdfPCell[] cells, PdfPRow source)

Arguments

Type

Name

Description

PdfPCell

[]

cells

PdfPRow

source

PdfPRow [3/3]

Source code

public PdfPRow(PdfPRow row)

Arguments

Type

Name

Description

PdfPRow

row

Methods

SetWidths

Source code

public virtual bool SetWidths(float[] widths)

Arguments

Type

Name

Description

float``[]

widths

InitExtraHeights

Source code

protected internal virtual void InitExtraHeights()

SetExtraHeight

Source code

public virtual void SetExtraHeight(int cell, float height)

Arguments

Type

Name

Description

int

cell

float

height

CalculateHeights

Source code

protected internal virtual void CalculateHeights()

WriteBorderAndBackground

Source code

public virtual void WriteBorderAndBackground(float xPos, float yPos, float currentMaxHeight, PdfPCell cell, PdfContentByte[] canvases)

Arguments

Type

Name

Description

float

xPos

float

yPos

float

currentMaxHeight

PdfPCell

cell

PdfContentByte

[]

canvases

SaveAndRotateCanvases

Source code

protected virtual void SaveAndRotateCanvases(PdfContentByte[] canvases, float a, float b, float c, float d, float e, float f)

Arguments

Type

Name

Description

PdfContentByte

[]

canvases

float

a

float

b

float

c

float

d

float

e

float

f

RestoreCanvases

Source code

protected virtual void RestoreCanvases(PdfContentByte[] canvases)

Arguments

Type

Name

Description

PdfContentByte

[]

canvases

SetColumn

Source code

public static float SetColumn(ColumnText ct, float left, float bottom, float right, float top)

Arguments

Type

Name

Description

ColumnText

ct

float

left

float

bottom

float

right

float

top

WriteCells

Source code

public virtual void WriteCells(int colStart, int colEnd, float xPos, float yPos, PdfContentByte[] canvases, bool reusable)

Arguments

Type

Name

Description

int

colStart

int

colEnd

float

xPos

float

yPos

PdfContentByte

[]

canvases

bool

reusable

IsCalculated

Source code

public virtual bool IsCalculated()

GetEventWidth

Source code

internal float GetEventWidth(float xPos, float[] absoluteWidths)

Arguments

Type

Name

Description

float

xPos

float``[]

absoluteWidths

CopyRowContent

Source code

public virtual void CopyRowContent(PdfPTable table, int idx)

Arguments

Type

Name

Description

PdfPTable

table

int

idx

SplitRow

Source code

public virtual PdfPRow SplitRow(PdfPTable table, int rowIndex, float new_height)

Arguments

Type

Name

Description

PdfPTable

table

int

rowIndex

float

new_height

GetMaxRowHeightsWithoutCalculating

Source code

public virtual float GetMaxRowHeightsWithoutCalculating()

SetFinalMaxHeights

Source code

public virtual void SetFinalMaxHeights(float maxHeight)

Arguments

Type

Name

Description

float

maxHeight

SplitRowspans

Source code

public virtual void SplitRowspans(PdfPTable original, int originalIdx, PdfPTable part, int partIdx)

Arguments

Type

Name

Description

PdfPTable

original

int

originalIdx

PdfPTable

part

int

partIdx

GetCells

Source code

public virtual PdfPCell GetCells()

HasRowspan

Source code

public virtual bool HasRowspan()

GetAccessibleAttribute

Source code

public virtual PdfObject GetAccessibleAttribute(PdfName key)

Arguments

Type

Name

Description

PdfName

key

SetAccessibleAttribute

Source code

public virtual void SetAccessibleAttribute(PdfName key, PdfObject value)

Arguments

Type

Name

Description

PdfName

key

PdfObject

value

GetAccessibleAttributes

Source code

public virtual Dictionary<PdfName, PdfObject> GetAccessibleAttributes()

Properties

MayNotBreak

public virtual bool MayNotBreak { get; set; }

MaxHeights

public virtual float MaxHeights { get; set; }

Adjusted

public virtual bool Adjusted { get; set; }

Role

public virtual PdfName Role { get; set; }

ID

public virtual AccessibleElementId ID { get; set; }

IsInline

public virtual bool IsInline { get; }

Generated with ModularDoc