• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PHPOffice / PHPWord / 25414441731

06 May 2026 03:12AM UTC coverage: 94.696% (-2.1%) from 96.757%
25414441731

Pull #2874

github

web-flow
Merge 3fa85d6e3 into 0ab0b4940
Pull Request #2874: Addresses issue #12

135 of 420 new or added lines in 30 files covered. (32.14%)

1 existing line in 1 file now uncovered.

12588 of 13293 relevant lines covered (94.7%)

34.84 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/PhpWord/Style/TOF.php
1
<?php
2

3
/**
4
 * This file is part of PHPWord - A pure PHP library for reading and writing
5
 * word processing documents.
6
 *
7
 * PHPWord is free software distributed under the terms of the GNU Lesser
8
 * General Public License version 3 as published by the Free Software Foundation.
9
 *
10
 * For the full copyright and license information, please read the LICENSE
11
 * file that was distributed with this source code. For the full list of
12
 * contributors, visit https://github.com/PHPOffice/PHPWord/contributors.
13
 *
14
 * @see         https://github.com/PHPOffice/PHPWord
15
 *
16
 * @license     http://www.gnu.org/licenses/lgpl.txt LGPL version 3
17
 */
18

19
namespace PhpOffice\PhpWord\Style;
20

21
/**
22
 * TOF style.
23
 */
24
class TOF extends Tab
25
{
26
    /**
27
     * Create a new TOF Style.
28
     */
29
    public function __construct()
30
    {
NEW
31
        parent::__construct(self::TAB_STOP_RIGHT, 9360, self::TAB_LEADER_DOT);
×
32
    }
33

34
    /**
35
     * Get Tab Position.
36
     *
37
     * @return float|int
38
     */
39
    public function getTabPos()
40
    {
NEW
41
        return $this->getPosition();
×
42
    }
43

44
    /**
45
     * Set Tab Position.
46
     *
47
     * @param float|int $value
48
     *
49
     * @return Tab
50
     */
51
    public function setTabPos($value)
52
    {
NEW
53
        return $this->setPosition($value);
×
54
    }
55

56
    /**
57
     * Get Tab Leader.
58
     *
59
     * @return string
60
     */
61
    public function getTabLeader()
62
    {
NEW
63
        return $this->getLeader();
×
64
    }
65

66
    /**
67
     * Set Tab Leader.
68
     *
69
     * @param string $value
70
     *
71
     * @return Tab
72
     */
73
    public function setTabLeader($value = self::TAB_LEADER_DOT)
74
    {
NEW
75
        return $this->setLeader($value);
×
76
    }
77
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc