Table of Contents

Property DoNotUnifyTabStopHandling

Namespace
MigraDoc
Assembly
MigraDoc.DocumentObjectModel.dll

DoNotUnifyTabStopHandling

In RTF a single decimal tabstop in a table is a special case. In contrast to other tabstops, multiple tabstops in tables and decimal tabstops outside of tables, the content is here aligned to the tabstop without the need of a tab. Adding a tab in RTF would move the content to the next (not existing) tabstop and would perhaps result in an unwanted line break. Since Version 6.0.0 PDFsharp provides a consistent behavior through PDF and RTF generation and all tabstop usages. With that change a tab is always needed to reach a tabstop. To achieve this, the RTF TabStopsRenderer will render an additional left aligned tabstop at position 0, if TabStops is inside a cell and contains only one tabstop, which is set to decimal alignment and a position greater than 0. Set this property to true to reactivate the old behavior without any corrections for this special case by PDFsharp.

public static bool DoNotUnifyTabStopHandling { get; set; }

Property Value

bool