ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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 5 of file HFile_rtf.php.

Member Function Documentation

◆ donothing()

HFile_rtf::donothing (   $keywordin)

Definition at line 90 of file HFile_rtf.php.

91{
92 return $keywordin;
93}

◆ HFile_rtf()

HFile_rtf::HFile_rtf ( )

Definition at line 6 of file HFile_rtf.php.

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

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