本文介绍了如何在VC中存储多格式元素数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Dear All, the questions puzzled us for a long time.
Question 1:How to store the data which comprises pictures , tables, formatted text and hyperlink text in VC? That is to say, in which format or through which technique to achieve this goal. Refer to the MFC example programme Wordpad, we can save it as .doc document. But we don’t want to do so.
Above-mentioned pictures, tables, formatted text are the same as those in Word. But hyperlink text is about this mentioned as follow:
In the picture above(coming from MSDN), blue strings are hyperlink format. When click on the strings, the text which notes the strings is shown within a yellow rectangle. So, to implement the hyperlink, information including the strings, the notes, and the link info is needed to be stored.
Question 2:How to implement the effect as the same as the Collapse/Expand shown in codeproject.com in CrichEditView?(pictures coming from www.codeproject.com) Explained as follow:when click on the hyperlink text Collapse(shown as the picture 1), the yellow region is hidden. And the Collapse is converted to string Expand synchronously(shown as the picture 2). The text in the yellow region of picutre 1 can be edited. So, my question is: how to implement the effects of Collapse and Expand?
图片1 br />
图2
谢谢,最诚挚的问候。
Picture 1
Picture 2
Thanks, my best regards to you.
推荐答案
这篇关于如何在VC中存储多格式元素数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!