ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_rtf Class Reference
+ Inheritance diagram for HFile_rtf:
+ Collaboration diagram for HFile_rtf:

Public Member Functions

 HFile_rtf ()
 
 donothing ($keywordin)
 

Detailed Description

Definition at line 7 of file HFile_rtf.php.

Member Function Documentation

◆ donothing()

HFile_rtf::donothing (   $keywordin)

Definition at line 94 of file HFile_rtf.php.

95 {
96 return $keywordin;
97 }

◆ HFile_rtf()

HFile_rtf::HFile_rtf ( )

Definition at line 9 of file HFile_rtf.php.

10 {
11 $this->HFile();
12 /*************************************/
13 // Beautifier Highlighting Configuration File
14 // Rich Text Format
15 /*************************************/
16 // Flags
17
18 $this->nocase = "0";
19 $this->notrim = "0";
20 $this->perl = "0";
21
22 // Colours
23
24 $this->colours = array("blue", "purple", "gray");
25 $this->quotecolour = "blue";
26 $this->blockcommentcolour = "green";
27 $this->linecommentcolour = "green";
28
29 // Indent Strings
30
31 $this->indent = array();
32 $this->unindent = array();
33
34 // String characters and delimiters
35
36 $this->stringchars = array();
37 $this->delimiters = array("#", "$", "%", "&", "(", ")", "+", ",", "-", ".", " ", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "<", "=", ">", "[", "\\", "]", "^", "_", "{", "|", "}", "~", "`");
38 $this->escchar = "";
39
40 // Comment settings
41
42 $this->linecommenton = array("");
43 $this->blockcommenton = array("");
44 $this->blockcommentoff = array("");
45
46 // Keywords (keyword mapping to colour number)
47
48 $this->keywords = array(
49 "\\ansi" => "1",
50 "\\author" => "1",
51 "\\b" => "1",
52 "\\company" => "1",
53 "\\deff" => "1",
54 "\\f" => "1",
55 "\\fmodern" => "1",
56 "\\fnil" => "1",
57 "\\fonttbl" => "1",
58 "\\froman" => "1",
59 "\\fswiss" => "1",
60 "\\ftech" => "1",
61 "\\i" => "1",
62 "\\info" => "1",
63 "\\operator" => "1",
64 "\\par" => "1",
65 "\\pard" => "1",
66 "\\qc" => "1",
67 "\\qj" => "1",
68 "\\ql" => "1",
69 "\\qr" => "1",
70 "\\rtf" => "1",
71 "\\title" => "1",
72 "\\ul" => "1",
73 "\\*" => "2",
74 "\\fs24" => "3",
75 "\\margl" => "3",
76 "\\margr" => "3",
77 "\\sa" => "3",
78 "\\sb" => "3");
79
80 // Special extensions
81
82 // Each category can specify a PHP function that returns an altered
83 // version of the keyword.
84
85
86
87 $this->linkscripts = array(
88 "1" => "donothing",
89 "2" => "donothing",
90 "3" => "donothing");
91 }

The documentation for this class was generated from the following file: