소스 검색

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…
취소
저장