We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e97f35b commit edb7752Copy full SHA for edb7752
src/PhpWord/Writer/RTF/Style/Tab.php
@@ -51,8 +51,11 @@ public function write()
51
if (isset($tabs[$style->getLeader()])) {
52
$content .= $tabs[$style->getLeader()];
53
}
54
- $content .= '\tx' . round($style->getPosition());
55
-
+ if ($style->getType() == \PhpOffice\PhpWord\Style\Tab::TAB_STOP_BAR) {
+ $content .= '\tb' . round($style->getPosition());
56
+ } else {
57
+ $content .= '\tx' . round($style->getPosition());
58
+ }
59
return $content;
60
61
0 commit comments