Fast and easy to use cross-platform .NET library that creates or modifies Microsoft Word (DocX) and later also Excel (XLSX) files without installing any software. Library is based on Open XML SDK
MIT License
289
stars
50
forks
source link
Improve textboxes to allow multiple Runs/Paragraphs **Breaking Changes** #225
Added Paragraphs property, allowing for full manipulation
var textBox = document.AddTextBox("[Grab your reader’s attention with a great quote from the document or use this space to emphasize a key point. To place this text box anywhere on the page, just drag it.]");
Console.WriteLine("TextBox Text: " + textBox.Paragraphs[0].Text);
textBox.Paragraphs[0].Text = "We can then modify the text box text";
Console.WriteLine("TextBox Text: " + textBox.Paragraphs[0].Text);
Console.WriteLine("TextBoc Color: " + textBox.Paragraphs[0].Color.ToString());
textBox.Paragraphs[0].Text = "This is a text box 1";
Console.WriteLine("TextBox Text: " + textBox.Paragraphs[0].Text);
This PR solves:
224
There are Breaking Changes:
Text
propertyWordParagraph
propertyParagraphs
property, allowing for full manipulation