-
公开(公告)号:US20130262987A1
公开(公告)日:2013-10-03
申请号:US13685272
申请日:2012-11-26
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Wenfang Tang , Weidong Liu
IPC: G06F17/22
CPC classification number: G06F17/2247 , G06F17/2264
Abstract: Embodiments of the present invention disclose a document processing method and apparatus. The method includes: obtaining an initial document; converting the initial document and forming a target extensible application markup language XAML document, where the target XAML document at least includes a basic content and an extended content, and the extended content has a plurality of user-defined attribute tags. By adopting the present invention, attribute marking may be performed according to the document content, and the document content may be correspondingly displayed according to an attribute tag. Therefore, the document content can be viewed in a filtered manner according to an attribute type, and the effect of “what you see is what you get” is achieved in a text editing display interface.
Abstract translation: 本发明的实施例公开了一种文件处理方法和装置。 该方法包括:获取初始文档; 转换初始文档并形成目标可扩展应用标记语言XAML文档,其中目标XAML文档至少包括基本内容和扩展内容,并且扩展内容具有多个用户定义的属性标签。 通过采用本发明,可以根据文档内容进行属性标记,并且可以根据属性标签相应地显示文档内容。 因此,可以根据属性类型以过滤的方式查看文档内容,并且在文本编辑显示界面中实现“您看到的是什么”的效果。