I need your help again.
A little background information : I'm writing an application that automatically imports the contents of a Microsoft Word document paragraph by paragraph.
Depending on the style of the paragraph a new document is created, possible made as a response to a previously created document or the contents of the paragraph is added to the rich text field of the current notes document.
As far as creating the documents and linking them as responses to keep the hierarchy intact there's no problem.
There's no problem for adding regular text and keeping the format (font, color, bold, italic, underline) properties of the text while importing the text in the rich text item.
I face however two problems :
1) How can I create a bulletted list in the rich text item?
There are two levels of bullets, normal indent and one indent more.
So I need to be able to set the level of indentation.
2) How can I create a table in the rich text item?
The table needs to keep the format of the original word table.
So it should be possible to merge cells across both columns and rows.
The text inside the cells should stay formatted as it is in word.
Now I've had a look around the web already and it seems obvious that I need to use C API to get this done.
I have one problem though: I don't have the time to really examine C API and write it out.
So my question is :
Have any of you guys ever in the past created a rich text item or appended to an existing rich text item using C API?
I would really appreciate if you could give me :
1. declarations of needed C API functions
2. a code example to import a table into an existing rich text item
3. a code example of how to create a bulleted paragraph in an existing rich text item
The maximum amount of points for a question at EE is 500, but If needed, I can post follow-up questions.
Thanks in Advance,