Subversion Repositories qbpwcf-lib(archive)

Rev

Rev 915 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 liveuser 1
<?php
2
 
3
/**
4
 * A Class containing constants used in the library.
5
 *
6
 * @author Issam RACHDI
7
 */
8
 
9
class StyleConstants {
10
 
11
	const NONE = 1;
12
	const NORMAL = 7;
13
	const AUTO = 22;
14
 
15
	/** Lower case text transform */const LOWER_CASE = 2;
16
	/** Upper case text transform */const UPPER_CASE = 3;
17
	/** Capitalize text transform */const CAPITALIZE = 4;
18
 
19
	/** Single line */const SINGLE = 5;
20
	/** Double line */const DOUBLE = 6;
21
 
22
	/** Below the baseline */const SUB = 9;
23
	/** Above the baseline */const SUPER = 10;
24
 
25
	/** Italic */const ITALIC = 12;
26
	/** Oblique */const OBLIQUE = 13;
27
 
28
	/** Italic */const EMBOSSED = 14;
29
	/** Oblique */const ENGRAVED = 15;
30
 
31
	/** Solid Underline */const SOLID = 16;
32
	/** Dotted Underline */const DOTTED = 17;
33
	/** Dash Underline */const DASH = 18;
34
	/** Long dash Underline */const LONG_DASH = 19;
35
	/** Dot dot dash Underline */const DOT_DOT_DASH = 20;
36
	/** Wave Underline */const WAVE = 21;
37
 
38
	/** Bold line */const BOLD = 24;
39
	/** Thin Underline */const THIN = 25;
40
	/** Medium Underline */const MEDIUM = 27;
41
	/** Thick Underline */const THICK = 28;
42
 
43
	/** Continuous underline */const CONTINUOUS = 29;
44
	/** Skip white spaces when underlining */const SKIP_WHITE_SPACE = 30;
45
 
46
	/** Letters */const LETTERS = 31;
47
	/** Letters */const LINES = 32;
48
 
49
	/** Specifies that the content is to be aligned on the start-edge in the inline-progression-direction. */const START = 33;
50
	/** Specifies that the content is to be aligned on the end-edge in the inline-progression-direction. */const END = 34;
51
	/** (Interpreted as START if for progression-direction.), (Align table left) */const LEFT = 35;
52
	/** (Interpreted as END if for progression-direction.), (Align table right) */const RIGHT = 36;
53
	/** (Specifies that the content is to be centered in the inline-progression-direction.), (Center the table) */const CENTER = 37;
54
	/** Specifies that the contents is to be expanded to fill the available width in the inline-progression-direction.*/const JUSTIFY = 38;
55
 
56
	/** The lines of a paragraph should be kept together on the same page or column */const ALWAYS = 39;
57
 
58
	/** Page break */const PAGE = 40;
59
	/** Column break */const COLUMN = 41;
60
 
61
	/** Transparent */const TRANSPARENT = 42;
62
 
63
	/** No repetition */const NO_REPEAT = 43;
64
	/** Repeat background image */const REPEAT = 44;
65
	/** Stretch image */const STRETCH = 45;
66
 
67
	/** Top */const TOP = 46;
68
	/** Bottom */const BOTTOM = 47;
69
	/** Middle */const MIDDLE = 48;
70
	/** Baseline */const BASELINE = 49;
71
 
72
	/** Inline components and text within a line are written left-to-right. Lines and blocks are placed top-to-bottom. */const LR_TB = 50;
73
	/** Inline components and text within a line are written right-to-left. Lines and blocks are placed top-to-bottom. */const RL_TB = 51;
74
	/** Inline components and text within a line are written top-to-bottom. Lines and blocks are placed right-to-left. */const TB_RL = 52;
75
	/** Inline components and text within a line are stacked top-to-bottom. Lines and blocks are stacked left-to-right. */const TB_LR = 53;
76
	/** Shorthand for lr-tb. */const LR = 54;
77
	/** Shorthand for rl-tb. */const RL = 55;
78
	/** Shorthand for tb-rl. */const TB = 56;
79
 
80
	/** Portrait */const PORTRAIT = 57;
81
	/** Landscape */const LANDSCAPE = 58;
82
 
83
	/** Current page number */const PAGE_NUMBER = 59;
84
	/** Current date */const CURRENT_DATE = 60;
85
 
86
	/** In the case of table: The table fills all the space between the left and right margins,  */const MARGINS = 61;
87
 
88
	const COLLAPSING = 62;
89
	const SEPARATING = 63;
90
 
91
	const FIX = 64;
92
	const VALUE_TYPE = 65;
93
 
94
	const LTR = 66;
95
	const TTB = 67;
96
 
97
	const WRAP = 68;
98
	const NO_WRAP = 69;
99
 
100
	const BULLET = '&#x2022;';
101
	const BLACK_CIRCLE = '&#x25CF;';
102
	const CHECK_MARK = '&#x2714;';
103
	const BALLOT_X = '&#x2717;';
104
	const RIGHT_ARROW = '&#x2794;';
105
	const RIGHT_ARROWHEAD = '&#x27A2;';
106
 
107
	const RUBY_ABOVE = 70;
108
	const RUBY_BELOW = 71;
109
 
110
	const DISTRIBUTE_LETTER = 72;
111
	const DISTRIBUTE_SPACE = 73;
112
 
113
	const FOOTNOTE = 74;
114
	const ENDNOTE = 75;
115
}
116
 
117
?>
118