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

Merge pull request #68 from delphin0850/delphin0850-patch-1

Delphin0850 Merge for Headers and Footers margin attribute
master
PrzemyslawKlys преди 9 години
родител
ревизия
5cb0916bb4
променени са 2 файла, в които са добавени 4491 реда и са изтрити 0 реда
  1. 4459
    0
      DocX.cs
  2. 32
    0
      DocX/DocX.cs

+ 4459
- 0
DocX.cs
Файловите разлики са ограничени, защото са твърде много
Целия файл


+ 32
- 0
DocX/DocX.cs Целия файл

@@ -150,6 +150,38 @@ namespace Novacode
}
}
/// <summary>
/// Header margin value in points. 1pt = 1/72 of an inch. Word internally writes docx using units = 1/20th of a point.
/// </summary>
public float MarginHeader
{
get
{
return getMarginAttribute(XName.Get("header", DocX.w.NamespaceName));
}
set
{
setMarginAttribute(XName.Get("header", DocX.w.NamespaceName), value);
}
}
/// <summary>
/// Footer margin value in points. 1pt = 1/72 of an inch. Word internally writes docx using units = 1/20th of a point.
/// </summary>
public float MarginFooter
{
get
{
return getMarginAttribute(XName.Get("footer", DocX.w.NamespaceName));
}
set
{
setMarginAttribute(XName.Get("footer", DocX.w.NamespaceName), value);
}
}
/// <summary>
/// Page width value in points. 1pt = 1/72 of an inch. Word internally writes docx using units = 1/20th of a point.
/// </summary>

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