When creating a PDF there is a problem in the way the tags structure is created, this create an issue when using a read aloud program, as the order of the tags is generated in a LTR ways instead the expected RTL for hebrew. Maybe I am missing a property or do to much. What I need is an accesible document so the tags are readable. i will like to save the paragraph for example, i also found in the properties something strange (not the main issue probably)
So I will say, Do I have control in the order of the tags from LTR? Can it be creatd as Paragraph? Can i change the Properies to hebrew and RTL in Properies? Thanks
The code:
var options = new PdfSaveOptions
{
ExportDocumentStructure = true,
OptimizeOutput = true,
FontEmbeddingMode = PdfFontEmbeddingMode.EmbedAll,
JpegQuality = 100,
ColorMode = ColorMode.Grayscale,
UseCoreFonts = false,
Compliance = PdfCompliance.PdfA1a,
OutlineOptions =
{
CreateMissingOutlineLevels =true,//outlineOptions.CreateMissingOutlineLevels,
CreateOutlinesForHeadingsInTables=true,//outlineOptions.CreateMissingOutlineLevels,
DefaultBookmarksOutlineLevel= 0,//outlineOptions.DefaultBookmarksOutlineLevel,
ExpandedOutlineLevels = 6,//outlineOptions.ExpandedOutlineLevels,
HeadingsOutlineLevels = 6,//outlineOptions.HeadingsOutlineLevels,
}
};
doc.Save(instructions.Target, options);
871085.pdf (166.5 KB)
2020-11-16_12h50_44.png (142.6 KB)