浏览代码

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)

正在加载...
取消
保存