Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

IText Éú³Értf ÄÚÈÝÖк¬ÓÐHTML±êÇ©´¦Àí

import java.io.FileOutputStream;
import java.io.OutputStream;
import java.io.StringReader;
import java.util.List;
import com.lowagie.text.Document;
import com.lowagie.text.PageSize;
import com.lowagie.text.Paragraph;
import com.lowagie.text.html.simpleparser.HTMLWorker;
import com.lowagie.text.html.simpleparser.StyleSheet;
import com.lowagie.text.rtf.RtfWriter2;
public class ItextCreateRTF {
public static void main(String[] args) throws Exception {
OutputStream out=new FileOutputStream("D://a.rtf");
Document document = new Document(PageSize.A4);
RtfWriter2.getInstance(document,out );
document.open();
// ÉèÖÃÖÐÎÄ×ÖÌå
Paragraph context = new Paragraph();
String s="<span style="\" mce_style="\""color: rgb(165, 42, 42);\">·½·¨Èöµ©·¨<br><img src="\" mce_src="\""D:\\soft\\apache-tomcat-6.0.10\\webapps\\pms\\upload/requirement/979/281/633/SLIEdY9Sdl1266902295468.jpg\" style="\" mce_style="\""max-width: 100%;\"><br><br></span><table style="\" mce_style="\""width: 200px;\" bgcolor=\"#000000\" cellpadding=\"4\" cellspacing=\"1\"><tbody><tr><td bgcolor=\"#ffffff\"><span style="\" mce_style="\""color: rgb(165, 42, 42);\"><span style="\" mce_style="\""background-color: rgb(0, 255, 0);\"><span style="\" mce_style="\""font-size: 16px;\">·ÖÈöµ©·ÉÈ÷<br></span></span></span></td><td bgcolor=\"#ffffff\"><span style="\" mce_style="\""color: rgb(165, 42, 42);\"><span style="\" mce_style="\""background-color: rgb(0, 255, 0);\"><span style="\" mce


Ïà¹ØÎĵµ£º

HTML INPUT±êÇ©

<OBJECT id=WebBrowser height=0 width=0
classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2></OBJECT>
<INPUT onclick=document.all.WebBrowser.ExecWB(1,1) type=button value=´ò¿ª name=Button1>
<INPUT onclick=document.all.WebBrowser.ExecWB(4,1) type=button value=Áí´æΪ name=Butt ......

WebClientºÍWebRequest»ñÈ¡html´úÂë

<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head i ......

ÓÐÁËHTML5£¬Flash»¹ÄÜ×߶àÔ¶£¿

̸µ½
Flash
ÄÜ×߶àÔ¶µÄÎÊÌâʱ£¬ÎÒÃDz»µÃ²»ÏÈÁÄÁÄ×÷Ϊ
Flash
Ç°±²µÄ
Applet
¡£
 
ËùÒÔÒªÌáËü£¬ÊÇÒòΪÈËÀàÀúÊ·ÉϵÚÒ»¸öÔËÐÐÔÚä¯ÀÀÆ÷Ö®ÉϵĽ»»¥Ê½Ó¦Ó㬱¾À´¾ÍÊÇ
Java
С³ÌÐò£¬¶ø·Çʲô
Flash
¡£
 
ÔçÔÚ
1995
ÄêÖ®³õ£¬µ±
Gosling
ºÍ
Gage
ÔÚ
WebRunner
ä¯ÀÀÆ÷£¨¼´ÈÕºóµÄ
HotJava
ä¯ÀÀÆ÷£©ÉÏ ......

C/C++´úÂëת»»¼ÓÁÁΪHTML´úÂë

½«C/C++³ÌÐò·Åµ½ÍøÂçÉϲ¢²»ÊǼòµ¥µÄ¸´ÖÆÕ³Ìù£¬´ó²¿·ÖÍøÕ¾ºÍblogÊDz»Ìṩ´úÂëµÄÖ±½ÓÕ³ÌùµÄ£¨µ±È»CSDNÊDz»´íµÄ£©£¬Ö®Ç°ÔÚsinaд²©¿ÍµÄʱºò¾ÍÅöµ½ÀàËƵÄÎÊÌâ¡£
C/C++×¥»»ÎªHTMLµÄ¹Ø¼üÊÇ´¦Àí×¢ÊÍ£¬¹Ø¼ü×Ö¡£µ±È»Ò²¿ÉÒÔ¶Ô×Ö·û´®£¬Êý×Ö½øÐÐÒ»¶¨µÄ¼ÓÁÁ´¦Àí¡£
1.ÎÒÒÔÇ°ÓÃC++д¹ýÒ»¸ö³ÌÐò£¬Æäʵ±íÃæÉÏÊÇC++£¬Ö»ÊÇÊä³öÓÃÁËcoutºÍcin¶ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ