Class Xml2PdfTag_paragraph

Description

<paragraph> tag.

This tag is used to wride text with options of displaying like background, borders etc...

  1. <paragraph width="50" border="1" bordercolor="#c4e3e3" 
  2.            fontsize="20" left="50" top="50" 
  3.            position="absolute" fill="1" fillcolor="#c4e9f8">
  4. my paragraph is very beautifull !
  5. </paragraph>

Located in /plugins/tags/xml2pdf.tag.paragraph.php (line 40)

Xml2PdfTag
   |
   --Xml2PdfTextTag
      |
      --Xml2PdfTag_paragraph
Direct descendents
Class Description
 class Xml2PdfTag_date <date> tag.
 class Xml2PdfTag_numerotation <numerotation> tag.
 class Xml2PdfTag_data <data> tag.
Variable Summary
 string $align
 boolean $border
 string $borderColor
 boolean $fill
 string $fillColor
 float $left
 object $parent
 string $position
 float $top
 float $width
Method Summary
 void __construct (object $pdf, array $tagProperties, object $parent)
 void close ()
Variables
string $align = PDF_DEFAULT_PARAGRAPH_ALIGN (line 95)

paragraph alignment

  • access: public
boolean $border = PDF_DEFAULT_PARAGRAPH_BORDER (line 53)

draw paragraph borders.

  • access: public
string $borderColor = PDF_DEFAULT_PARAGRAPH_BORDERCOLOR (line 59)

paragraph borders color.

  • access: public
boolean $fill = PDF_DEFAULT_PARAGRAPH_FILL (line 65)

fill the paragraph.

  • access: public
string $fillColor = PDF_DEFAULT_PARAGRAPH_FILLCOLOR (line 71)

paragraph fill color.

  • access: public
float $left = 0 (line 83)

paragraph left margin.

  • access: public
object $parent = false (line 101)

parent tag.

  • access: protected
string $position = PDF_DEFAULT_PARAGRAPH_POSITION (line 89)

type of positioning.

  • access: public
float $top = 0 (line 77)

paragraph top margin.

  • access: public
float $width = null (line 47)

paragraph width.

  • access: public

Inherited Variables

Inherited from Xml2PdfTextTag

Xml2PdfTextTag::$font
Xml2PdfTextTag::$fontColor
Xml2PdfTextTag::$fontSize
Xml2PdfTextTag::$fontStyle
Xml2PdfTextTag::$lineHeight
Xml2PdfTextTag::$styleStack
Xml2PdfTextTag::$textAlign
Xml2PdfTextTag::$useStyle
Xml2PdfTextTag::$_indent
Xml2PdfTextTag::$_x

Inherited from Xml2PdfTag

Xml2PdfTag::$content
Xml2PdfTag::$pdf
Methods
Constructor __construct (line 116)

Constructor.

Parse the tag attributes.

  • access: public
void __construct (object $pdf, array $tagProperties, object $parent)
  • object $pdf: Object Pdf
  • array $tagProperties: tag attributes
  • object $parent: parent tag

Redefinition of:
Xml2PdfTextTag::__construct()
Constructor.

Redefined in descendants as:
close (line 173)

Render the paragraph or add it to the parent tag.

  • access: public
void close ()

Redefinition of:
Xml2PdfTextTag::close()
Manage the trext writing.

Redefined in descendants as:

Inherited Methods

Inherited From Xml2PdfTextTag

 Xml2PdfTextTag::__construct()
 Xml2PdfTextTag::close()
 Xml2PdfTextTag::render()
 Xml2PdfTextTag::_cleanContent()
 Xml2PdfTextTag::_makeLine()
 Xml2PdfTextTag::_parseContent()
 Xml2PdfTextTag::_printLine()
 Xml2PdfTextTag::_setStyle()

Inherited From Xml2PdfTag

 Xml2PdfTag::__construct()
 Xml2PdfTag::addContent()
 Xml2PdfTag::close()

Documentation generated on Wed, 11 Oct 2006 22:27:27 +0200 by phpDocumentor 1.3.0