将自编辑器中文本的字体更改保存到SQL [英] save font changes of a text in a self editor to SQL

查看:122
本文介绍了将自编辑器中文本的字体更改保存到SQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。



我在Windows Notepade中为我的软件提供了一个编辑器,用于显示特殊信息并将其显示给用户。



用户能够进行一些更改,如字体大小更改或粗体显示编辑器在文本中的某些位置并保存在SQL中,然后通过microsoft report viewer打印文本,但更改没有显示在报告和实际他们不保存在sql的任何地方。



现在这是我的问题,有一个自编辑但它不保存文本编辑和sql中的字体编辑。



不知道该怎么做。



感谢所有

Hello every body

I cunstructed an EDITOR seems to windows Notepade for my software to bring out special informations and show them to the user.

the user has ability to make some changes like Font size change or bold some where in text by the editor and save in SQL and then print the text via microsoft report viewer but the changes have not shown in report and actualy they don''t save anywhere in sql.

now thats my problem, have a self editor but it doesn''t save Text editing and font edits in sql.

don''t know what to do.

thanks for all

推荐答案

报表查看器已经能够以各种类型导出(excel ,pdf和word)自动,但它不允许用户更改数据,我们不知道你的编辑对文本做了什么,只有你可以回答这个问题。 ''Esc''字符在你的编辑器中需要特殊的句柄逻辑。就像PIEBALDconsult所说的那样,如果你在编辑器中使用RichTextBox,它就能够创建特殊的字符和字体,我想在编辑程序中使用Reportviewer添加逻辑而不是打印导出到RFT或PDF并打印并保存文档SQL中的blob类型字段。
The report viewer already has the ability to export in various types (excel, pdf and word) automatically,but it does not allow the user to change the data, we don''t know what your Editor is doing with the text, only you can answer that question. ''Esc'' chararaters require special handle logic in you editor. Like PIEBALDconsult said, if you use the RichTextBox in your editor it has the ability to create special chars and fonts, I guess instead of printing using the Reportviewer add logic in your Editor program to export to RFT or PDF and print and save the Document in a blob type field in SQL.


这篇关于将自编辑器中文本的字体更改保存到SQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆