Hi
I am using Telerik for WPF to develop my application. I am trying to develop an application that enable user to draft a document which follows a certain format ( I means well defined paragraphs, header, sub-headers etc). Initially I created data entry forms using MVVM approach but this proved to be unmanageable as there were literally many (>40 and growing ) formats. So my idea is instead of designing data entry forms, I would like to use MS Word approach that is to provide template for each type of document, and this templates come complete with shadow text that serve as hint/guide to user on what to write in the particular paragraph/section. For some section it will be pre-populated with data extracted from database. For example under geography section the system will automatically populate it with data/map snapshot from GIS system.
Most of the sample documents that I have are in Word format, which I intent to save as template in strict open xml format. I have come across a Telerik demo that shows how to protect certain part of the document but I have not been able to see how this was specified in source document (xml input doc).
What I am trying to do/know now is
1- how to read template generated in MS-Word into RadRichTextBox
2- is the open xml format is the right format that can act as template document in RadRichTextBox
3- how to do shadow text that serves as hint
4- how to protect selectively part of the document
I really appreciate if someone can guide me, as I am very new in C# and Telerik, thanks.
Regards
tawfek
I am using Telerik for WPF to develop my application. I am trying to develop an application that enable user to draft a document which follows a certain format ( I means well defined paragraphs, header, sub-headers etc). Initially I created data entry forms using MVVM approach but this proved to be unmanageable as there were literally many (>40 and growing ) formats. So my idea is instead of designing data entry forms, I would like to use MS Word approach that is to provide template for each type of document, and this templates come complete with shadow text that serve as hint/guide to user on what to write in the particular paragraph/section. For some section it will be pre-populated with data extracted from database. For example under geography section the system will automatically populate it with data/map snapshot from GIS system.
Most of the sample documents that I have are in Word format, which I intent to save as template in strict open xml format. I have come across a Telerik demo that shows how to protect certain part of the document but I have not been able to see how this was specified in source document (xml input doc).
What I am trying to do/know now is
1- how to read template generated in MS-Word into RadRichTextBox
2- is the open xml format is the right format that can act as template document in RadRichTextBox
3- how to do shadow text that serves as hint
4- how to protect selectively part of the document
I really appreciate if someone can guide me, as I am very new in C# and Telerik, thanks.
Regards
tawfek