coffeycathal_cp
22c64009b2
Removed all references (that I could find) to en-IE and replaced them with CultureInfo.CurrentLanguage
14 jaren geleden
coffeycathal_cp
67187a7a21
Fixed loads of bugs and issues. All test cases still pass.
14 jaren geleden
coffeycathal_cp
245f8cad79
Bug fix for issue found by RobHamlin.
InsertTable(index, x, y) was calling itself recursively instead of calling its base implementation which caused a stackoverflow.
14 jaren geleden
coffeycathal_cp
4535f49bab
Fixed a silly bug within document.InsertTable(int, int).
This bug caused a Table to be inserted "inside" the first element of a document's XML instead of "as" the first element.
14 jaren geleden
coffeycathal_cp
c9469689b6
Added a patch provided by ArtFeel. By default the document language use to be English (Ireland). DocX now uses CurrentCulture to infer the correct language. You can know also specify a specific language.
Thank you for this patch ArtFeel. Also thanks to MadBoy for reminding me about it, without you this might have been lost in the discussions section of codeplex. Sorry about the delay Madboy.
14 jaren geleden
coffeycathal_cp
d19899e7a5
14 jaren geleden
DragonFire_cp
2f19e10c1c
Fix InsertDocument bag
14 jaren geleden
DragonFire_cp
0d97ddd6d6
Chaged InsertChart method
14 jaren geleden
DragonFire_cp
1772024263
Add InsertParagraphs method
14 jaren geleden
DragonFire_cp
da940113f7
Refactored InsertRow methods
14 jaren geleden
DragonFire_cp
5d9fa34e5e
Added Table.InsertRow(Row row) and Table.InsertRow(Row row, Int32 index) methods. These methods insert a copy of original row into the table.
14 jaren geleden
DragonFire_cp
6b142e0016
I have added chart's functionality (Bar, Line and Pie charts) with the legend, axis and 3D.
Also have changed our example.
14 jaren geleden
DragonFire_cp
9016b17d34
Divided the chart example in the three new examples
14 jaren geleden
coffeycathal_cp
428d237114
DocX.cs: Added the Properties PageWidth and PageHeight.
Paragraph.cs: Added the Properties LineSpacing, LineSpacingBefore and LineSpacingAfter.
14 jaren geleden
DragonFire_cp
a843dc915a
Implemented a line chart, a pie chart and a bar chart.
14 jaren geleden
DragonFire_cp
ba0c0871eb
Completed to implement simple Chart and Series classes
14 jaren geleden
DragonFire_cp
c8e4262a6d
Made insert chart method and created legend class for this chart
14 jaren geleden
DragonFire_cp
8aba78443b
Fix GetNextFreeRelationshipID method
14 jaren geleden
DragonFire_cp
e37bcfe010
Fix Paragraph runs bag.
Start to develop chart functionality.
14 jaren geleden
DragonFire_cp
a51588f35e
Refactor the Table class: RowCount, ColumnCount, Rows properties and Insert/Remove methods. Also refactor CreateTable method - extract the same method CreateTableCell. Add powerfull unit test for this.
14 jaren geleden
coffeycathal_cp
fbea5f0b5b
14 jaren geleden
coffeycathal_cp
22bb86a8da
Fix for (Issue Tracker) Item #9526
14 jaren geleden
DragonFire_cp
43ed54b97c
Remove bin/debug/docx.dll for correct team working.
14 jaren geleden
coffeycathal_cp
041a5c2a15
Edited .sln to remove deleted projects.
14 jaren geleden
coffeycathal_cp
8ad45705ce
Deleted ConsoleApplication1
14 jaren geleden
coffeycathal_cp
ef282be801
Delete ConsoleApplication3
14 jaren geleden
DragonFire_cp
ab0640f886
Change example project, fix Table.RemoveColumn null reference exception.
14 jaren geleden
DragonFire_cp
c0f5ba0eed
ApplyTemplate bag has been fixed.
Added AppendEquation method into Paragraph and InsertEquation method into Container/Header/Footer/DocX classes.
14 jaren geleden
coffeycathal_cp
689f778abf
Table.removeRow(int index) has been fixed.
Added the method Row.Remove() its easier than calling Table.removeRow(int index)
14 jaren geleden
bdm_cp
c31f80e350
Added additional tests to replace finctions, including verifying additional aspects of the expected input file.
15 jaren geleden
coffeycathal_cp
949a0f3828
Fixed a bug that was causing Paragraphs defined inside <snd> tags from being populated.
15 jaren geleden
coffeycathal_cp
fae1cfe176
Fixed a bug with ReplaceText.
Fixed a bug with DocX ignoring the CAPS Element.
15 jaren geleden
coffeycathal_cp
c582fc9487
One more time
15 jaren geleden
coffeycathal_cp
a4da01131d
Full checkin
15 jaren geleden
coffeycathal_cp
c0e3ffde2a
Added StrongNameKeys
15 jaren geleden
bdm_cp
4cb37f630d
Added ReplaceTests.docx in the project \documents\ folder
15 jaren geleden
bdm_cp
72d5772459
Removed the Strong Name Key
15 jaren geleden
bdm_cp
87ab31c133
Removed strong name key, added replaceTests.docx as part of unit tests.
15 jaren geleden
coffeycathal_cp
33a9b7bcf9
Fixed a bug with ReplaceText which was not preserving text formatting.
15 jaren geleden
coffeycathal_cp
4695789cc1
DocX no longer miss recognizes Shapes as Images. DocX does not yet support Shapes or Charts.
15 jaren geleden
coffeycathal_cp
cd4dc19ae0
Fixed an issue with Paragraphs inside Tables not knowing which document they belong to.
15 jaren geleden
coffeycathal_cp
addbd332fa
Fixed StrongNameKey.pfx issues, password is Quvu4rey.
15 jaren geleden
coffeycathal_cp
d72617beae
Fixed issues with StrongNameKey.pfx
15 jaren geleden
bdm_cp
b97394809d
Added FindUniqueByPattern and FindAllbyPattern.
Added a new unit test to test ReplaceText, based on ReplaceTests.docx
The Test fails. This functionality worked in the previous release.
15 jaren geleden
bdm_cp
ae48e62a69
Fixed all warnings. Most were "Exception e" where "Exception" was sufficient, but some were "hiding" base methods that needed a "new" keyword.
Removed the strong name key as per Cathal's suggestion.
15 jaren geleden
coffeycathal_cp
eb656ba719
Added a check to stop the creation of a Table with 0 columns or rows.
Word dose not let you do this and DocX aims to create documents that Word can open.
15 jaren geleden
coffeycathal_cp
b5aa4ee366
Fixed a bug which resulted in Table.rows being null.
15 jaren geleden
coffeycathal_cp
f54ef25657
Fixed a bug with InsertParagraphAfterSelf and InsertParagraphBeforeSelf.
Big thanks to np83 not only for finding this bug but also posting a fix and unit tests.
15 jaren geleden
coffeycathal_cp
e0a7e8dd15
Files needed to run all unit tests.
15 jaren geleden
coffeycathal_cp
68351622e7
Added basic support for PageNumber and PageCount place holders.
When inserted into a Header or Footer Word will automatically display the correct value foreach page.
Word will not automatically update these place holders if inserted inside a document level Paragraph.
You need to right click and select update field. I therefore suggest that you only use these place holders inside Headers and Footers.
Added
-------
Paragraph.AppendPageNumber(PageNumberFormat)
Paragraph.InsertPageNumber(PageNumberFormat, int index)
Paragraph.AppendPageCount(PageNumberFormat)
Paragraph.InsertPageCount(PageNumberFormat, int index)
Example
-----------
// Create a new document.
using (DocX document = DocX.Create(@"Test.docx"))
{
// Add Headers to the document.
document.AddHeaders();
// Get the default Header.
Header header = document.Headers.odd;
// Insert a Paragraph into the Header.
Paragraph p0 = header.InsertParagraph();
// Append place holders for PageNumber and PageCount into the Header.
// Word will replace these with the correct value foreach Page.
p0.Append("Page (");
p0.AppendPageNumber(PageNumberFormat.normal);
p0.Append(" of ");
p0.AppendPageCount(PageNumberFormat.normal);
p0.Append(")");
// Save the document.
document.Save();
}
15 jaren geleden