Allowing InsertColumn method take into account merged cells for multiple
row add columns where the count of cells is less than the index but is
not less table column count
On mono, the OriginalString of a Uri sometimes is prefixed with file:// leading to issues when combining paths. We strip the prefix if necesary to avoid that.
Moved from MSTest to NUnit. Visual Studio Integration for NUnit can be downloaded here: https://visualstudiogallery.msdn.microsoft.com/0da0f6bd-9bb6-4ae3-87a8-537788622f2d
Using AppDomain.CurrentDomain.BaseDirectory instead of Assembly.GetExecutingAssembly().Location to the determine the location of .docx files and other resources. This method is invariant under the test runner in use.
Resources are set to "Copy if newer" to include them during build.
Fix to prevent deadlocks in multi-threaded applications
See https://support.microsoft.com/en-us/kb/2996566 (Issue 1) for more
details. But in summary if the document is larger than 10Mb, then deadlocks
can occur in multi-threaded applications.
Added new example to show how to add image to Word document. It's also available as part of blog http://evotec.pl/docx-add-image-to-microsoft-word-document-programmatically/
Changed some solution settings to make sure it works with AnyCpu.
Fixed the problem with setting the column width for the whole table.
Without this patch the SetColumnWidth method throws the
NullReferenceException if the column widths haven't been initialized
before. Added the test to check the issue and to see whether it's fixed.
Chnaged 15 to 20 multiplier in margins and page size so that margins and page size are effectively set/retrieved in points (pts). This is a breaking change potentially, but otherwise it is not clear what the units are for page width, height, and margins.