hi,

i am new to openxml and i need some help,

i need to write a simple word document with some text, my code looks something like this:

foreach (var line in formatedFile)
            {
                Text newLine = new Text(line);
                
                Run run = new Run(newLine);
                Paragraph para = new Paragraph(run);
                Body body = new Body(para);
                mainPart.Document.Append(body);
            }

now since the text is in Hebrew the punctuation gets all messed up,

how can i solve this?

i searched a bit and found there is a RightToLeft class but i don't seem to understand how to work with it..

can any one help me?

p.s

is there a place to learn openxml basics in a simple way?

thank you very much in advance.