Jason Judge

Results 292 comments of Jason Judge

The same happens for Libra Office, except none of the tabs work (titles or paragraphs). The RTF output passes the raw tab character through. I'm wondering if the instance it...

Looking into the DOCX source, it looks like tab characters are carried through to that too, so they are in there.

Looking at the source of the DOCX document after saving it with a manual tab added, MS Word seems to add a tab as an XML element rather than a...

Spent hours trying to understand the code, but have not yet been able to wrap my head around it. What I suspect needs to happen to fix this, is text...

Last one for tonight. This awful, nasty, dirty hack fixes the XML for tab characters for **DOCX ONLY**: ``` php protected function tabXml($string) { return str_replace("\t", '', $string); } ......

I'm assuming ODT and RTF both have their own way of encoding tabs, which is why using `\t` (as [the samples](https://github.com/PHPOffice/PHPWord/blob/2bcfacfbf9ee8553ea06750ec311a4a45ead4beb/samples/Sample_02_TabStops.php) suggest) do not work for them either.

ODT is a simpler "hack" as the text-run tags don't need to be closed and reopened: ``` php protected function tabOdtXml($string) { return str_replace("\t", '', $string); } ``` But again,...

RTF uses `\tab` to indicate a tab is present. However, the RTF output of this library does not yet seem to support tab stops, so you are limited to the...

This hack is in a site that has been running for three years, so I expect the core library has changed since then (or maybe it hasn't). I use this...

Also these two lines in the view needed updating from: dragMode: '{{$getDragMode()}}', viewMode: {{$getViewMode()}}, to dragMode: '{{$getDragMode()->value}}', viewMode: {{$getViewMode()->value}}, I'm guessing Laravel 8 `e()` accepts an `enum` as well as...