Преглед изворни кода

Target framework changed to 3.5 for backward compatibility with some slight changes for that to work.

master
MadBoy_cp пре 12 година
родитељ
комит
e1a8316e6c

+ 1
- 1
DocX/Container.cs Прегледај датотеку

@@ -467,7 +467,7 @@ namespace Novacode
public virtual void InsertAtBookmark(string toInsert, string bookmarkName)
{
if (String.IsNullOrWhiteSpace(bookmarkName))
if (bookmarkName.IsNullOrWhiteSpace())
throw new ArgumentException("bookmark cannot be null or empty", "bookmarkName");
var headerCollection = Document.Headers;

+ 1
- 1
DocX/DocX.csproj Прегледај датотеку

@@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Novacode</RootNamespace>
<AssemblyName>DocX</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>

+ 7
- 0
DocX/HelperFunctions.cs Прегледај датотеку

@@ -17,6 +17,13 @@ namespace Novacode
{
public const string DOCUMENT_DOCUMENTTYPE = "application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml";
public const string TEMPLATE_DOCUMENTTYPE = "application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml";
public static bool IsNullOrWhiteSpace(this string value)
{
if (value == null) return true;
return string.IsNullOrEmpty(value.Trim());
}
/// <summary>
/// Checks whether 'toCheck' has all children that 'desired' has and values of 'val' attributes are the same
/// </summary>

+ 1
- 1
Documentation/Documentation.shfbproj Прегледај датотеку

@@ -20,7 +20,7 @@
<Language>en-US</Language>
<HelpFileFormat>HtmlHelp1</HelpFileFormat>
<IndentHtml>False</IndentHtml>
<FrameworkVersion>.NET Framework 4.0</FrameworkVersion>
<FrameworkVersion>.NET Framework 3.5</FrameworkVersion>
<KeepLogFile>True</KeepLogFile>
<DisableCodeBlockComponent>False</DisableCodeBlockComponent>
<CppCommentsFixup>False</CppCommentsFixup>

BIN
Documentation/Help/Documentation.chm Прегледај датотеку


Loading…
Откажи
Сачувај