Project

General

Profile

Files » multicell.txt

Andrei Bintintan, 08/30/2013 03:01 PM

 
1
<p><h3>Description:</h3>
2

    
3
	This <b>FPDF addon</b> allows creation of an <b>Advanced Multicell</b> which uses as input a <b>TAG based formatted string</b> instead of a simple string. The use of tags allows to change the font, the style (<b>bold</b>, <i>italic</i>, <u>underline</u>), the size, and the color of characters and many other features.
4
	The call of the function is pretty similar to the Multicell function in the FPDF base class with some extended parameters.
5

    
6
<h3>Features:</h3>
7

    
8
	- Text can be <hh>aligned</hh>, <hh>centered</hh> or <hh>justified</hh>
9
	- Different <font>Font</font>, <size>Sizes</size>, <style>Styles</style>, <color>Colors</color> can be used 
10
	- The cell block can be framed and the background painted
11
	- <style href='www.fpdf.org'>Links</style> can be used in any tag
12
	- <h4>TAB</h4> spaces (<b>\	</b>) can be used
13
	- Variable Y relative positions can be used for <ss ypos='-0.8'>Subscript</ss> or <ss ypos='1.1'>Superscript</ss>
14
	- Cell padding (left, right, top, bottom)
15
	- Controlled Tag Sizes can be used</p>
16

    
17
	<size size='50' >Paragraph Example:~~~</size><font> - Paragraph 1</font>
18
	<p size='60' > ~~~</p><font> - Paragraph 2</font>
19
	<p size='60' > ~~~</p> - Paragraph 2
20
	<p size='70' >Sample text~~~</p><p> - Paragraph 3</p>
21
	<p size='50' >Sample text~~~</p> - Paragraph 1
22
	<p size='60' > ~~~</p><h4> - Paragraph 2</h4>
23

    
24
<h3>Observations:</h3><p>
25

    
26
	- If no <h4><TAG></h4> is specified then the FPDF current settings(font, style, size, color) are used
27
	- The <h4>ttags</h4> tag name is reserved for the TAB SPACES
28
</p>
(1-1/8)