Преглед на файлове

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

master
PrzemyslawKlys преди 9 години
родител
ревизия
452e19690d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      DocX/Paragraph.cs

+ 1
- 1
DocX/Paragraph.cs Целия файл

@@ -724,7 +724,7 @@ namespace Novacode
XElement pPr = GetOrCreate_pPr();
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));
if (left != null)

Loading…
Отказ
Запис