C# XAML RichTextBox FlowDocument Tables and OpenXMLWordProcessing

I need to add some table handling capability to a project that I’m working on.

The project is Windows C# XAML and the requirement is to have a RichTextBox on a form. In that RichTextBox there is a table that the user can edit. The result can be both serialized/deserialized with buttons AND can be added to a Word file using another button.

The conceptual visual is attached.

I only care about the RichTextBox for this project. The other fields in the attached image are there to show context.

Here are the requirements:

Format: C# XAML Application (I need the code of course – not just the exe) and it does not rely on third party libraries.

In a Window there is a RichTextBox. The user can add a table to that field with an Add Table button. The table would look like the one in the image above with four columns and two rows. It can be built in code.

The user can add a row to the table with an Add Row button. This would add a row underneath the current row (where the caret is positioned).

The user can delete a row from the table with a Delete Row button. This would delete the row where the caret is currently positioned.

The user can also Add Columns, Delete Columns in a similar manner to the Row events above.

The user can make a column wider with the Increase Width button. This would widen the column where the caret is currently positioned. Each click would increase the width by an amount set in a variable (say a default of 10pixels).

The user can make a column more narrow with the Decrease Width button. Each click would reduce the width by an amount set in a variable (say a default of 10pixels).

The user can Save/Serialize the FlowDocument belonging to the RichTextBox to a file (XMLSerialization) with a Save button.

The user can Open a serialized FlowDocument with an Open button. and the RichTextBox then displays the content from that file.

Now for the output to Word:

The user clicks a Insert into Word button and the content of the FlowDocument is appended to an existing word file that the user selects.

In the Word document, the table looks the same as in the RichTextBox.

I’d like you to use [login to view URL] for this. I’ve tried exporting to rich text but it just doesn’t give the result that I need. Also – we cannot use [login to view URL] to use the Word application to do the work. We have to build the table and inject it into the DOCX file without it.

That means we need a method to process the FlowDocument table and turn it into a DocumentFormat.OpenXml.Wordprocessing.Table.

Skills: C# Programming, WPF, .NET, Windows Desktop

See more: richtextbox tables, turn rich text box asp, richtextbox copy rich text clipboard, vbnet rich text box tables, turn cartoon looks, c#/xaml, c# xaml freelancer, domain name is expiring in the next 2 days however the client has decided to renew it at the current registrar and then transfer, how do i find overseas freelancers to take a 3d design and turn it into a cad drawing, how much does it cost to get a desugner website built, how much would it cost me to get an app built from start to finish in vietnam, i need a good editor to help edit my book nd turn it into a novel nd market it in the uk, it looks like you ve already got snapmyscreen get a free screenshot tool an online image editor and more all in one free and con, turn it garlic press, turn-it garlic press, turn it in com, what does it looks at freelance java, graphic design turn it up, I want to work at home on C and without taking any payment for it .I have experience as a C programmer . I have my own PC .

About the Employer:
( 17 reviews ) Lindfield, Australia

Project ID: #20469518

Awarded to:


Hello, sir. I have read your project descriptions and very excited about having the ability to complete your project. Because I have full experience in C#/XAML design and development. Especially, I have already some ce More

$499 AUD in 3 days
(0 Reviews)

15 freelancers are bidding on average $619 for this job


Hi there, I am interested in the project. I have reviewed the requirement details and I am sure I can provide you a solution exactly same functionality you are looking for. For word document append/merge, I can use the More

$555 AUD in 7 days
(120 Reviews)

Hello, Dear. You are looking for a C# windows app for concept. This is exactly what I specialized in. Talk about a perfect match! I ll keep this short and we can go into more details when we chat. Before anything e More

$700 AUD in 7 days
(14 Reviews)

hello,how are you. i read your bid carefully. i am C#, WPF expert and have full experience for 7 years. C#, WPF is my top skill and my interested skill. I can provide most quality and high fast. if you want to success, More

$500 AUD in 7 days
(14 Reviews)

Dear Sir I've read your job very carefully and understand what you want. I'm a C#, .NET Programming and Software Development expert. I have developed many projects. Any of your requirements are welcome. I can start you More

$700 AUD in 5 days
(9 Reviews)

Hi there, I have read your project description and i'm confident i can do this project for you perfectly.I still have a few questions. please leave a message on my chat so we can discuss the budget and deadline of the More

$1500 AUD in 7 days
(7 Reviews)

I have many experiences in C#. I can show you my projects via chatting. I can complete your project successfully. Thanks.

$500 AUD in 7 days
(11 Reviews)

Dear sir. Your project attracted my attention at first glance, because I've extensive experience in C# Programming. I'm really confident about your project, and very eager to join your project. If we have a chance to c More

$500 AUD in 7 days
(7 Reviews)

Dear sir. I read your project description very carefully. I've really rich experience in developing C# Program, so your project is very interesting to me. In the past, I developed many projects related on Programming s More

$400 AUD in 7 days
(10 Reviews)

hello mate how are you? i m glad to place a bid to your project i read your project description and i am so interested as C# WPF Desktop developer . i have many years of experiences in Xaml WPF desktop software develop More

$300 AUD in 5 days
(23 Reviews)

Hi Dear client. As a full stack web developer, I have an experience of 6+ years in Android, IOS, React-Native, Ionic, C#, RabitMQ, Redis, Angular, D3, P5, Canvas, WebGL, Vue, Laravel, Codeigniter, NodeJS, PHP, Python, More

$500 AUD in 7 days
(2 Reviews)

Ready to join Good project and like this challenge Experience 8 years in web and desktop application My skill : - SQL Server - - MVC - Net Core - Angular - C# - Vb.Net - Javascript - Jquery - Json - Bootstr More

$833 AUD in 15 days
(6 Reviews)

Dear Sir! I read your description very carefully and checked the [login to view URL] too. As I have rich experiences in Office management programming in C# and also have ones in C# programming, I think I can offer you th More

$300 AUD in 7 days
(2 Reviews)

Hello Client! I have gone through your project description. You want to get work document as doing same as RichTextBox by using OpenXML. I can do it and can help you. Please contact me and discuss in detail. Thanks.

$1000 AUD in 2 days
(0 Reviews)

Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned "I can do th More

$500 AUD in 7 days
(0 Reviews)