Quellcode durchsuchen

Setting IndentationBefore and IndentationAfter makes an error when decimalsign is not a dot -> patch provided by lucwuyts

master
PrzemyslawKlys vor 9 Jahren
Ursprung
Commit
452e19690d
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      DocX/Paragraph.cs

+ 1
- 1
DocX/Paragraph.cs Datei anzeigen

XElement pPr = GetOrCreate_pPr(); XElement pPr = GetOrCreate_pPr();
XElement ind = GetOrCreate_pPr_ind(); XElement ind = GetOrCreate_pPr_ind();
string indentation = ((indentationBefore / 0.1) * 57).ToString();
string indentation = ((indentationBefore / 0.1) * 57).ToString(CultureInfo.GetCultureInfo("en-GB"));
XAttribute left = ind.Attribute(XName.Get("left", DocX.w.NamespaceName)); XAttribute left = ind.Attribute(XName.Get("left", DocX.w.NamespaceName));
if (left != null) if (left != null)

Laden…
Abbrechen
Speichern