@@ -40,57 +40,6 @@ public function testEmptyStyles()
4040 }
4141 }
4242
43- public function testIndentation ()
44- {
45- $ indentation = new \PhpOffice \PhpWord \Style \Indentation ();
46- $ indentation ->setLeft (1 );
47- $ indentation ->setRight (2 );
48- $ indentation ->setFirstLine (3 );
49-
50- $ indentWriter = new \PhpOffice \PhpWord \Writer \RTF \Style \Indentation ($ indentation );
51- $ indentWriter ->setParentWriter (new RTF ());
52- $ result = $ indentWriter ->write ();
53-
54- Assert::assertEquals ('\fi3\li1\ri2 ' , $ result );
55- }
56-
57- public function testRightTab ()
58- {
59- $ tabRight = new \PhpOffice \PhpWord \Style \Tab ();
60- $ tabRight ->setType (\PhpOffice \PhpWord \Style \Tab::TAB_STOP_RIGHT );
61- $ tabRight ->setPosition (5 );
62-
63- $ tabWriter = new \PhpOffice \PhpWord \Writer \RTF \Style \Tab ($ tabRight );
64- $ tabWriter ->setParentWriter (new RTF ());
65- $ result = $ tabWriter ->write ();
66-
67- Assert::assertEquals ('\tqr\tx5 ' , $ result );
68- }
69-
70- public function testCenterTab ()
71- {
72- $ tabRight = new \PhpOffice \PhpWord \Style \Tab ();
73- $ tabRight ->setType (\PhpOffice \PhpWord \Style \Tab::TAB_STOP_CENTER );
74-
75- $ tabWriter = new \PhpOffice \PhpWord \Writer \RTF \Style \Tab ($ tabRight );
76- $ tabWriter ->setParentWriter (new RTF ());
77- $ result = $ tabWriter ->write ();
78-
79- Assert::assertEquals ('\tqc\tx0 ' , $ result );
80- }
81-
82- public function testDecimalTab ()
83- {
84- $ tabRight = new \PhpOffice \PhpWord \Style \Tab ();
85- $ tabRight ->setType (\PhpOffice \PhpWord \Style \Tab::TAB_STOP_DECIMAL );
86-
87- $ tabWriter = new \PhpOffice \PhpWord \Writer \RTF \Style \Tab ($ tabRight );
88- $ tabWriter ->setParentWriter (new RTF ());
89- $ result = $ tabWriter ->write ();
90-
91- Assert::assertEquals ('\tqdec\tx0 ' , $ result );
92- }
93-
9443 public function testBorderWithNonRegisteredColors ()
9544 {
9645 $ border = new Border ();
0 commit comments