Definition at line 21 of file ilFormFieldParserTest.php.
◆ testA4()
ilFormFieldParserTest::testA4 |
( |
| ) |
|
Definition at line 23 of file ilFormFieldParserTest.php.
25 $xlstProcess = $this->getMockBuilder(ilCertificateXlstProcess::class)
31 $formFields = $parser->fetchDefaultFormFields($content);
36 'pagewidth' =>
'21cm',
37 'pageheight' =>
'29.7cm',
38 'margin_body_top' =>
'0cm',
39 'margin_body_right' =>
'2cm',
40 'margin_body_bottom' =>
'0cm',
41 'margin_body_left' =>
'2cm',
42 'certificate_text' =>
''
◆ testA4Landscape()
ilFormFieldParserTest::testA4Landscape |
( |
| ) |
|
Definition at line 135 of file ilFormFieldParserTest.php.
137 $xlstProcess = $this->getMockBuilder(ilCertificateXlstProcess::class)
141 ->expects($this->once())
144 $content =
'page-width="29.7cm" page-height="21cm" <fo:region-body margin="1cm 2cm 3cm 4cm"/>';
147 $formFields = $parser->fetchDefaultFormFields($content);
151 'pageformat' =>
'a4landscape',
152 'pagewidth' =>
'29.7cm',
153 'pageheight' =>
'21cm',
154 'margin_body_top' =>
'1cm',
155 'margin_body_right' =>
'2cm',
156 'margin_body_bottom' =>
'3cm',
157 'margin_body_left' =>
'4cm',
158 'certificate_text' =>
''
◆ testA5()
ilFormFieldParserTest::testA5 |
( |
| ) |
|
Definition at line 77 of file ilFormFieldParserTest.php.
79 $xlstProcess = $this->getMockBuilder(ilCertificateXlstProcess::class)
83 ->expects($this->once())
86 $content =
'page-width="14.8cm" page-height="21cm" <fo:region-body margin="1cm 2cm 3cm 4cm"/>';
89 $formFields = $parser->fetchDefaultFormFields($content);
94 'pagewidth' =>
'14.8cm',
95 'pageheight' =>
'21cm',
96 'margin_body_top' =>
'1cm',
97 'margin_body_right' =>
'2cm',
98 'margin_body_bottom' =>
'3cm',
99 'margin_body_left' =>
'4cm',
100 'certificate_text' =>
''
◆ testA5Landscape()
ilFormFieldParserTest::testA5Landscape |
( |
| ) |
|
Definition at line 106 of file ilFormFieldParserTest.php.
108 $xlstProcess = $this->getMockBuilder(ilCertificateXlstProcess::class)
112 ->expects($this->once())
115 $content =
'page-width="21cm" page-height="14.8cm" <fo:region-body margin="1cm 2cm 3cm 4cm"/>';
118 $formFields = $parser->fetchDefaultFormFields($content);
122 'pageformat' =>
'a5landscape',
123 'pagewidth' =>
'21cm',
124 'pageheight' =>
'14.8cm',
125 'margin_body_top' =>
'1cm',
126 'margin_body_right' =>
'2cm',
127 'margin_body_bottom' =>
'3cm',
128 'margin_body_left' =>
'4cm',
129 'certificate_text' =>
''
◆ testCustomPageWidth()
ilFormFieldParserTest::testCustomPageWidth |
( |
| ) |
|
Definition at line 48 of file ilFormFieldParserTest.php.
50 $xlstProcess = $this->getMockBuilder(ilCertificateXlstProcess::class)
54 ->expects($this->once())
57 $content =
'page-width="210mm" page-height="310mm" <fo:region-body margin="1cm 2cm 3cm 4cm"/>';
60 $formFields = $parser->fetchDefaultFormFields($content);
64 'pageformat' =>
'custom',
65 'pagewidth' =>
'210mm',
66 'pageheight' =>
'310mm',
67 'margin_body_top' =>
'1cm',
68 'margin_body_right' =>
'2cm',
69 'margin_body_bottom' =>
'3cm',
70 'margin_body_left' =>
'4cm',
71 'certificate_text' =>
''
◆ testLetter()
ilFormFieldParserTest::testLetter |
( |
| ) |
|
Definition at line 193 of file ilFormFieldParserTest.php.
195 $xlstProcess = $this->getMockBuilder(ilCertificateXlstProcess::class)
199 ->expects($this->once())
202 $content =
'page-width="8.5in" page-height="11in" <fo:region-body margin="1cm 2cm 3cm 4cm"/>';
205 $formFields = $parser->fetchDefaultFormFields($content);
209 'pageformat' =>
'letter',
210 'pagewidth' =>
'8.5in',
211 'pageheight' =>
'11in',
212 'margin_body_top' =>
'1cm',
213 'margin_body_right' =>
'2cm',
214 'margin_body_bottom' =>
'3cm',
215 'margin_body_left' =>
'4cm',
216 'certificate_text' =>
''
◆ testLetterLandscape()
ilFormFieldParserTest::testLetterLandscape |
( |
| ) |
|
Definition at line 164 of file ilFormFieldParserTest.php.
166 $xlstProcess = $this->getMockBuilder(ilCertificateXlstProcess::class)
170 ->expects($this->once())
173 $content =
'page-width="11in" page-height="8.5in" <fo:region-body margin="1cm 2cm 3cm 4cm"/>';
176 $formFields = $parser->fetchDefaultFormFields($content);
180 'pageformat' =>
'letterlandscape',
181 'pagewidth' =>
'11in',
182 'pageheight' =>
'8.5in',
183 'margin_body_top' =>
'1cm',
184 'margin_body_right' =>
'2cm',
185 'margin_body_bottom' =>
'3cm',
186 'margin_body_left' =>
'4cm',
187 'certificate_text' =>
''
The documentation for this class was generated from the following file: