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

word¡¢ppt¡¢excle ת»»html£¬²ÉÓÃjacob

ÏÂÔØ jacob-1.15-M3
µØÖ·http://sourceforge.net/projects/jacob-project/
¿ª·¢¹¤¾ß MyEclipse8.0 ÂÌÉ«°æ¡¢Tomcat 6.0 ÂÌÉ«°æ£¬JDK 1.6£¬XPϵͳ£¬J2EEÏîÄ¿
ÔÚMyEclipseÖÐÅäÖÃTomcat£¬Ê¹ÓÃ×Ô¼º°²×°µÄJDK
½Ó×ÅÅäÖÃMyEclipse µÄJRE
Window---Preferences--Java---Installed JREs--Ñ¡Ôñ֮ǰÅäÖÃTomcatʱ¼ÓÈëµÄjdk
°Ñjacob-1.15-M3-x86.dll ·Åµ½ÕâĿ¼ÏÂ
C:\Program Files\Java\jdk1.6.0_10\jre\bin
°Ñjacob.jar ·Åµ½ÕâĿ¼ÏÂ
D:\tomcat6\lib
Jacob2Html.java Õâ¸öÀàÊÇÔÚÍøÉÏÕҵģ¬Ë­Ð´ÁË£¬ÎҼDz»µÃÁË¡£
package jacob;
//import org.apache.commons.logging.Log;
//import org.apache.commons.logging.LogFactory;
//import com.hz.dao.NoticeDAO;
import com.jacob.activeX.ActiveXComponent;
import com.jacob.com.Dispatch;
import com.jacob.com.Variant;
public class Jacob2Html
{
// private static final Log log = LogFactory.getLog(Jacob2Html.class);
 /** 
     * PowerPointת³ÉHTML 
     * @param pptPath PowerPointÎļþȫ·¾¶ 
     * @param htmlfile ת»»ºóHTML´æ·Å·¾¶ 
    */ 
    public static void pptToHtml(String pptPath, String htmlPath)  
    {  
     ActiveXComponent offCom = new ActiveXComponent("PowerPoint.Application");
        try 
        {  
         offCom.setProperty("Visible", new Variant(true));  
            Dispatch excels = offCom.getProperty("Presentations").toDispatch();  
            Dispatch excel = Dispatch.invoke(excels,
             "Open",Dispatch.Method, new Object[] { pptPath, new Variant(false),  new Variant(false) }, new int[1]).toDispatch();  
 &nbs


Ïà¹ØÎĵµ£º

htmlÖеÄdiv±êÇ©µÄº¬ÒåºÍÓ¦ÓÃ

CSSÊÇDHTMLµÄ»ù´¡£¬CSSÓÃÓÚÉ趨HTMLÔªËØÔÚÒ³ÃæÉϵÄÏÔʾ·ç¸ñ£¬¶øCSS-PÔòÊÇCSSµÄÒ»¸öÀ©Õ¹£¬Ëü¿ÉÓÃÀ´¿ØÖÆHTMLÔªËØÔÚÍøÒ³ÉÏ»òÕß˵ÔÚ´°¿ÚµÄλÖá£ÏÂÃæµÄÁ½¸öÁ´½ÓÌṩÁËCSSºÍCSS£­PÏ꾡µÄ¼¼ÊõÊֲ᣺
¡¡¡¡ W3C CSS-Positioning
¡¡¡¡ Builder.com's CSS Guide
¡¡¡¡ ÔÚ±¾¿Î³ÌÖУ¬½«»á·´¸´µØ¶ÔCSS½øÐнéÉÜ¡£
¡¡¡¡ ʹÓÃDIV±êÇ©
¡¡ ......

java¶ÁÈ¡htmlÎļþ²¢³éÈ¡a hrefÏà¹ØÁ¬½ÓºÍÁ´½Ó±êÌâ

import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.*;
import java.io.*;
import java.nio.CharBuffer;
public class RegTest
{
    public static void main(String[] args)
    {
        //¶¨ÒåÒ»¸öÎÄÕÂÁÐ ......

¿ÎÄÚÍâhtmlС½á

  
u
<BODY></BODY>±ê¼ÇµÄÊÇÍøÒ³µÄÖ÷Ì壺ËüµÄÊôÐÔÓУºtext:Éè¼ÆÒ³ÃæÎÄ×ÖµÄ×ÖÌåÑÕÉ«£» Bgcolor:É趨ҳÃæµÄ±³¾°ÑÕÉ«£»Background:
É趨ҳÃæµÄ±³¾°Í¼Ïñ£» BGPROPERTIES£ºÉ趨ҳÃæµÄͼƬÊÇ·ñËæ×ÅÒ³Ãæ¹ö¶¯¶ø¹ö¶¯£»Link:É趨µÄÁ´½ÓĬÈÏÑÕÉ«£»Alink£ºÉ趨Êó±ê½Ó½üʱµÄÁ´½ÓÑÕÉ«£»Vlink£ºÉ趨ÒѾ­·ÃÎʹýµÄÁ ......

½«HTMLÒ³ÃæǶÈëFLEXÓ¦ÓÃÖÐ

ÏÈÓÃÏֳɵÄ×é¼þÍæһϣ¬Ò»»áÔÙÈ¥¿´¿´×é¼þÔ´ÂëÑо¿Ò»Ï¡£
http://code.google.com/p/flex-iframe/
ÏÂÔØÁËflexiframe.swc£¬ÒýÈ빤³Ì¡£
flex´úÂë
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute"
   ......

Struts html:link ±êÇ©µÄʹÓÃ

Struts -- html:link ±êÇ©µÄʹÓÃ
 
<html:link> ±êÇ©ÓÃÓÚÉú³ÉHTML <a> ÔªËØ¡£<html:link> ÔÚ´´½¨³¬Á´½Óʱ£¬ÓÐÁ½¸öÓŵ㣺
(1) ÔÊÐíÔÚURL ÖÐÒÔ¶àÖÖ·½Ê½°üº¬ÇëÇó²ÎÊý¡£
(2) µ±Óû§ä¯ÀÀÆ÷¹Ø±ÕCookie ʱ£¬»á×Ô¶¯ÖØдURL£¬°ÑSessionID ×÷ΪÇëÇó²ÎÊý°üº¬ÔÚURL ÖУ¬ÓÃÓÚ¸ú×ÙÓû§µÄSession ״̬¡£
< ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ