├── OnlinePreview
├── .classpath
├── .metadata
│ ├── .lock
│ ├── .log
│ ├── .plugins
│ │ ├── com.genuitec.eclipse.easie.tomcat.myeclipse
│ │ │ ├── __MACOSX
│ │ │ │ └── tomcat
│ │ │ │ │ └── conf
│ │ │ │ │ └── ._tomcat-users.xml
│ │ │ └── tomcat
│ │ │ │ ├── conf
│ │ │ │ ├── catalina.policy
│ │ │ │ ├── catalina.properties
│ │ │ │ ├── context.xml
│ │ │ │ ├── logging.properties
│ │ │ │ ├── server.xml
│ │ │ │ ├── tomcat-users.xml
│ │ │ │ └── web.xml
│ │ │ │ └── temp
│ │ │ │ └── safeToDelete.tmp
│ │ ├── com.genuitec.eclipse.sqlexplorer
│ │ │ ├── ConnectionProfiles.xml
│ │ │ └── SQLDrivers.xml
│ │ ├── com.genuitec.eclipse.templates
│ │ │ └── velocity.log
│ │ ├── com.genuitec.eclipse.webdesigner3
│ │ │ └── staticbindings_6.5.0.zmyeclipse650200806.css
│ │ ├── com.genuitec.org.hibernate.eclipse
│ │ │ └── hibernate-tools.log
│ │ ├── org.eclipse.ant.ui
│ │ │ └── dialog_settings.xml
│ │ ├── org.eclipse.core.resources
│ │ │ ├── .history
│ │ │ │ └── 5
│ │ │ │ │ └── 70421d93043400151a16ba74f60a1d29
│ │ │ ├── .projects
│ │ │ │ └── Test
│ │ │ │ │ ├── .indexes
│ │ │ │ │ └── ca
│ │ │ │ │ │ └── history.index
│ │ │ │ │ ├── .markers
│ │ │ │ │ └── org.eclipse.jdt.core
│ │ │ │ │ └── state.dat
│ │ │ ├── .root
│ │ │ │ ├── .indexes
│ │ │ │ │ ├── history.version
│ │ │ │ │ ├── properties.index
│ │ │ │ │ └── properties.version
│ │ │ │ └── 2.tree
│ │ │ └── .safetable
│ │ │ │ └── org.eclipse.core.resources
│ │ ├── org.eclipse.core.runtime
│ │ │ └── .settings
│ │ │ │ ├── com.genuitec.eclipse.aspphp.core.prefs
│ │ │ │ ├── com.genuitec.eclipse.ast.deploy.core.prefs
│ │ │ │ ├── com.genuitec.eclipse.derby.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.core.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.geronimo1.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.geronimo2.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.jboss.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.jboss2.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.jboss3.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.jboss4.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.jboss5.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.jetty.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.jetty4.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.jetty5.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.jetty6.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.jonas.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.jonas3.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.jonas4.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.jrun.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.jrun4.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.oracle.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.oracle10.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.oracle9.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.orion1.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.orion2.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.resin.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.resin2.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.resin3.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.sun.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.sun8.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.sun81.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.sun9.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.sunglassfish.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.sunglassfish2.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.tomcat.myeclipse.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.tomcat.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.tomcat4.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.tomcat5.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.tomcat6.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.weblogic.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.weblogic10.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.weblogic6.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.weblogic7.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.weblogic8.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.weblogic9.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.websphere.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.websphere5.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.websphere6.prefs
│ │ │ │ ├── com.genuitec.eclipse.easie.websphere61.prefs
│ │ │ │ ├── com.genuitec.eclipse.examples.prefs
│ │ │ │ ├── com.genuitec.eclipse.hibernate.prefs
│ │ │ │ ├── com.genuitec.eclipse.jsf.prefs
│ │ │ │ ├── com.genuitec.eclipse.webdesigner3.prefs
│ │ │ │ ├── com.genuitec.eclipse.wizards.prefs
│ │ │ │ ├── com.genuitec.myeclipse.compatibility.prefs
│ │ │ │ ├── org.eclipse.ant.ui.prefs
│ │ │ │ ├── org.eclipse.core.net.prefs
│ │ │ │ ├── org.eclipse.core.resources.prefs
│ │ │ │ ├── org.eclipse.core.runtime.prefs
│ │ │ │ ├── org.eclipse.debug.ui.prefs
│ │ │ │ ├── org.eclipse.jdt.core.prefs
│ │ │ │ ├── org.eclipse.jdt.launching.prefs
│ │ │ │ ├── org.eclipse.jdt.ui.prefs
│ │ │ │ ├── org.eclipse.jst.jsp.core.prefs
│ │ │ │ ├── org.eclipse.team.cvs.core.prefs
│ │ │ │ ├── org.eclipse.team.cvs.ui.prefs
│ │ │ │ ├── org.eclipse.team.ui.prefs
│ │ │ │ ├── org.eclipse.ui.browser.prefs
│ │ │ │ ├── org.eclipse.ui.editors.prefs
│ │ │ │ ├── org.eclipse.ui.ide.prefs
│ │ │ │ ├── org.eclipse.ui.intro.prefs
│ │ │ │ ├── org.eclipse.ui.intro.universal.prefs
│ │ │ │ ├── org.eclipse.ui.prefs
│ │ │ │ ├── org.eclipse.ui.workbench.prefs
│ │ │ │ ├── org.eclipse.update.scheduler.prefs
│ │ │ │ ├── org.eclipse.wst.dtd.core.prefs
│ │ │ │ ├── org.eclipse.wst.server.core.prefs
│ │ │ │ ├── org.eclipse.wst.sse.core.prefs
│ │ │ │ └── org.eclipse.wst.sse.ui.prefs
│ │ ├── org.eclipse.jdt.core
│ │ │ ├── 1163434034.index
│ │ │ ├── 1369741228.index
│ │ │ ├── 142012861.index
│ │ │ ├── 1635344632.index
│ │ │ ├── 1657330681.index
│ │ │ ├── 1661077143.index
│ │ │ ├── 1731260902.index
│ │ │ ├── 1735602787.index
│ │ │ ├── 1967075287.index
│ │ │ ├── 1975788299.index
│ │ │ ├── 2747605347.index
│ │ │ ├── 2753356437.index
│ │ │ ├── 3322029063.index
│ │ │ ├── externalLibsTimeStamps
│ │ │ ├── savedIndexNames.txt
│ │ │ └── variablesAndContainers.dat
│ │ ├── org.eclipse.jdt.debug.ui
│ │ │ └── dialog_settings.xml
│ │ ├── org.eclipse.jdt.launching
│ │ │ └── libraryInfos.xml
│ │ ├── org.eclipse.jdt.ui
│ │ │ ├── OpenTypeHistory.xml
│ │ │ ├── QualifiedTypeNameHistory.xml
│ │ │ └── dialog_settings.xml
│ │ ├── org.eclipse.jst.jsp.core
│ │ │ ├── jspsearch
│ │ │ │ └── 4198055246.index
│ │ │ └── taglibindex
│ │ │ │ └── 1657330681.dat
│ │ ├── org.eclipse.ui.ide
│ │ │ └── dialog_settings.xml
│ │ ├── org.eclipse.ui.workbench
│ │ │ ├── dialog_settings.xml
│ │ │ └── workbench.xml
│ │ ├── org.eclipse.wst.common.snippets
│ │ │ ├── hidden.xml
│ │ │ └── user.xml
│ │ ├── org.eclipse.wst.internet.cache
│ │ │ └── cache.xml
│ │ ├── org.eclipse.wst.xml.core
│ │ │ ├── default_catalog.xml
│ │ │ └── system_catalog.xml
│ │ ├── org.maven.ide.eclipse
│ │ │ ├── dialog_settings.xml
│ │ │ └── nexus
│ │ │ │ ├── central
│ │ │ │ ├── _0.cfs
│ │ │ │ ├── segments.gen
│ │ │ │ └── segments_2
│ │ │ │ └── local
│ │ │ │ ├── _0.cfs
│ │ │ │ ├── segments.gen
│ │ │ │ └── segments_2
│ │ └── org.springframework.ide.eclipse.aop.core
│ │ │ └── .springAop
│ └── version.ini
├── .mymetadata
├── .project
├── .settings
│ ├── .jsdtscope
│ ├── com.genuitec.eclipse.migration.prefs
│ ├── org.eclipse.jdt.core.prefs
│ ├── org.eclipse.wst.common.component
│ ├── org.eclipse.wst.common.project.facet.core.xml
│ ├── org.eclipse.wst.jsdt.ui.superType.container
│ └── org.eclipse.wst.jsdt.ui.superType.name
├── Test
│ ├── .classpath
│ ├── .mymetadata
│ ├── .project
│ └── WebRoot
│ │ ├── META-INF
│ │ └── MANIFEST.MF
│ │ ├── WEB-INF
│ │ └── web.xml
│ │ ├── documentUpload.jsp
│ │ └── index.jsp
├── WebRoot
│ ├── FlexPaperViewer.swf
│ ├── META-INF
│ │ └── MANIFEST.MF
│ ├── WEB-INF
│ │ ├── classes
│ │ │ ├── META-INF
│ │ │ │ └── MANIFEST.MF
│ │ │ └── com
│ │ │ │ └── cectsims
│ │ │ │ └── util
│ │ │ │ ├── DocConverter.class
│ │ │ │ └── Test.class
│ │ ├── lib
│ │ │ ├── DEPENDENCIES.txt
│ │ │ ├── commons-cli-1.2.jar
│ │ │ ├── commons-io-1.4.jar
│ │ │ ├── cos.jar
│ │ │ ├── jodconverter-2.2.2.jar
│ │ │ ├── jodconverter-cli-2.2.2.jar
│ │ │ ├── juh-3.0.1.jar
│ │ │ ├── jurt-3.0.1.jar
│ │ │ ├── ridl-3.0.1.jar
│ │ │ ├── slf4j-api-1.5.6.jar
│ │ │ ├── slf4j-jdk14-1.5.6.jar
│ │ │ ├── unoil-3.0.1.jar
│ │ │ └── xstream-1.3.1.jar
│ │ └── web.xml
│ ├── docUploadConvertAction.jsp
│ ├── documentUpload.jsp
│ ├── documentView.jsp
│ ├── index.jsp
│ └── js
│ │ ├── FlexPaperViewer.swf
│ │ ├── flexpaper.js
│ │ ├── flexpaper_flash.js
│ │ ├── flexpaper_flash_debug.js
│ │ ├── flexpaper_handlers.js
│ │ ├── jquery-1.6.2.min.js
│ │ └── jquery.js
└── src
│ ├── META-INF
│ └── MANIFEST.MF
│ └── com
│ └── cectsims
│ └── util
│ ├── DocConverter.java
│ └── Test.java
└── README.md
/OnlinePreview/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.lock
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/__MACOSX/tomcat/conf/._tomcat-users.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/__MACOSX/tomcat/conf/._tomcat-users.xml
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/conf/catalina.policy:
--------------------------------------------------------------------------------
1 | // ============================================================================
2 | // catalina.corepolicy - Security Policy Permissions for Tomcat 5
3 | //
4 | // This file contains a default set of security policies to be enforced (by the
5 | // JVM) when Catalina is executed with the "-security" option. In addition
6 | // to the permissions granted here, the following additional permissions are
7 | // granted to the codebase specific to each web application:
8 | //
9 | // * Read access to the document root directory
10 | //
11 | // $Id: catalina.policy 483089 2006-12-06 14:25:11Z remm $
12 | // ============================================================================
13 |
14 |
15 | // ========== SYSTEM CODE PERMISSIONS =========================================
16 |
17 |
18 | // These permissions apply to javac
19 | grant codeBase "file:${java.home}/lib/-" {
20 | permission java.security.AllPermission;
21 | };
22 |
23 | // These permissions apply to all shared system extensions
24 | grant codeBase "file:${java.home}/jre/lib/ext/-" {
25 | permission java.security.AllPermission;
26 | };
27 |
28 | // These permissions apply to javac when ${java.home] points at $JAVA_HOME/jre
29 | grant codeBase "file:${java.home}/../lib/-" {
30 | permission java.security.AllPermission;
31 | };
32 |
33 | // These permissions apply to all shared system extensions when
34 | // ${java.home} points at $JAVA_HOME/jre
35 | grant codeBase "file:${java.home}/lib/ext/-" {
36 | permission java.security.AllPermission;
37 | };
38 |
39 |
40 | // ========== CATALINA CODE PERMISSIONS =======================================
41 |
42 |
43 | // These permissions apply to the daemon code
44 | grant codeBase "file:${catalina.home}/bin/commons-daemon.jar" {
45 | permission java.security.AllPermission;
46 | };
47 |
48 | // These permissions apply to the logging API
49 | grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" {
50 | permission java.security.AllPermission;
51 | };
52 |
53 | // These permissions apply to the server startup code
54 | grant codeBase "file:${catalina.home}/bin/bootstrap.jar" {
55 | permission java.security.AllPermission;
56 | };
57 |
58 | // These permissions apply to the servlet API classes
59 | // and those that are shared across all class loaders
60 | // located in the "lib" directory
61 | grant codeBase "file:${catalina.home}/lib/-" {
62 | permission java.security.AllPermission;
63 | };
64 |
65 |
66 | // ========== WEB APPLICATION PERMISSIONS =====================================
67 |
68 |
69 | // These permissions are granted by default to all web applications
70 | // In addition, a web application will be given a read FilePermission
71 | // and JndiPermission for all files and directories in its document root.
72 | grant {
73 | // Required for JNDI lookup of named JDBC DataSource's and
74 | // javamail named MimePart DataSource used to send mail
75 | permission java.util.PropertyPermission "java.home", "read";
76 | permission java.util.PropertyPermission "java.naming.*", "read";
77 | permission java.util.PropertyPermission "javax.sql.*", "read";
78 |
79 | // OS Specific properties to allow read access
80 | permission java.util.PropertyPermission "os.name", "read";
81 | permission java.util.PropertyPermission "os.version", "read";
82 | permission java.util.PropertyPermission "os.arch", "read";
83 | permission java.util.PropertyPermission "file.separator", "read";
84 | permission java.util.PropertyPermission "path.separator", "read";
85 | permission java.util.PropertyPermission "line.separator", "read";
86 |
87 | // JVM properties to allow read access
88 | permission java.util.PropertyPermission "java.version", "read";
89 | permission java.util.PropertyPermission "java.vendor", "read";
90 | permission java.util.PropertyPermission "java.vendor.url", "read";
91 | permission java.util.PropertyPermission "java.class.version", "read";
92 | permission java.util.PropertyPermission "java.specification.version", "read";
93 | permission java.util.PropertyPermission "java.specification.vendor", "read";
94 | permission java.util.PropertyPermission "java.specification.name", "read";
95 |
96 | permission java.util.PropertyPermission "java.vm.specification.version", "read";
97 | permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
98 | permission java.util.PropertyPermission "java.vm.specification.name", "read";
99 | permission java.util.PropertyPermission "java.vm.version", "read";
100 | permission java.util.PropertyPermission "java.vm.vendor", "read";
101 | permission java.util.PropertyPermission "java.vm.name", "read";
102 |
103 | // Required for OpenJMX
104 | permission java.lang.RuntimePermission "getAttribute";
105 |
106 | // Allow read of JAXP compliant XML parser debug
107 | permission java.util.PropertyPermission "jaxp.debug", "read";
108 |
109 | // Precompiled JSPs need access to this package.
110 | permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime";
111 | permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime.*";
112 |
113 | };
114 |
115 |
116 | // You can assign additional permissions to particular web applications by
117 | // adding additional "grant" entries here, based on the code base for that
118 | // application, /WEB-INF/classes/, or /WEB-INF/lib/ jar files.
119 | //
120 | // Different permissions can be granted to JSP pages, classes loaded from
121 | // the /WEB-INF/classes/ directory, all jar files in the /WEB-INF/lib/
122 | // directory, or even to individual jar files in the /WEB-INF/lib/ directory.
123 | //
124 | // For instance, assume that the standard "examples" application
125 | // included a JDBC driver that needed to establish a network connection to the
126 | // corresponding database and used the scrape taglib to get the weather from
127 | // the NOAA web server. You might create a "grant" entries like this:
128 | //
129 | // The permissions granted to the context root directory apply to JSP pages.
130 | // grant codeBase "file:${catalina.home}/webapps/examples/-" {
131 | // permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
132 | // permission java.net.SocketPermission "*.noaa.gov:80", "connect";
133 | // };
134 | //
135 | // The permissions granted to the context WEB-INF/classes directory
136 | // grant codeBase "file:${catalina.home}/webapps/examples/WEB-INF/classes/-" {
137 | // };
138 | //
139 | // The permission granted to your JDBC driver
140 | // grant codeBase "jar:file:${catalina.home}/webapps/examples/WEB-INF/lib/driver.jar!/-" {
141 | // permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
142 | // };
143 | // The permission granted to the scrape taglib
144 | // grant codeBase "jar:file:${catalina.home}/webapps/examples/WEB-INF/lib/scrape.jar!/-" {
145 | // permission java.net.SocketPermission "*.noaa.gov:80", "connect";
146 | // };
147 |
148 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/conf/catalina.properties:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:16:19 CST 2015
2 | server.loader=
3 | package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.
4 | shared.loader=${catalina.home}/../../com.genuitec.eclipse.ws.xfire_6.5.0.zmyeclipse650200806/lib/*.jar
5 | package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
6 | common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar
7 | tomcat.util.buf.StringCache.byte.enabled=true
8 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/conf/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | WEB-INF/web.xml
6 |
7 |
8 |
11 |
12 |
14 |
17 |
18 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/conf/logging.properties:
--------------------------------------------------------------------------------
1 | handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 4admin.org.apache.juli.FileHandler, 5host-manager.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
2 |
3 | .handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
4 |
5 | ############################################################
6 | # Handler specific properties.
7 | # Describes specific configuration info for Handlers.
8 | ############################################################
9 |
10 | 1catalina.org.apache.juli.FileHandler.level = FINE
11 | 1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
12 | 1catalina.org.apache.juli.FileHandler.prefix = catalina.
13 |
14 | 2localhost.org.apache.juli.FileHandler.level = FINE
15 | 2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
16 | 2localhost.org.apache.juli.FileHandler.prefix = localhost.
17 |
18 | 3manager.org.apache.juli.FileHandler.level = FINE
19 | 3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
20 | 3manager.org.apache.juli.FileHandler.prefix = manager.
21 |
22 | 4admin.org.apache.juli.FileHandler.level = FINE
23 | 4admin.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
24 | 4admin.org.apache.juli.FileHandler.prefix = admin.
25 |
26 | 5host-manager.org.apache.juli.FileHandler.level = FINE
27 | 5host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
28 | 5host-manager.org.apache.juli.FileHandler.prefix = host-manager.
29 |
30 | java.util.logging.ConsoleHandler.level = FINE
31 | java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
32 |
33 |
34 | ############################################################
35 | # Facility specific properties.
36 | # Provides extra control for each logger.
37 | ############################################################
38 |
39 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
40 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.FileHandler
41 |
42 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level = INFO
43 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = 3manager.org.apache.juli.FileHandler
44 |
45 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/admin].level = INFO
46 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/admin].handlers = 4admin.org.apache.juli.FileHandler
47 |
48 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level = INFO
49 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = 5host-manager.org.apache.juli.FileHandler
50 |
51 | # For example, set the com.xyz.foo logger to only log SEVERE
52 | # messages:
53 | #org.apache.catalina.startup.ContextConfig.level = FINE
54 | #org.apache.catalina.startup.HostConfig.level = FINE
55 | #org.apache.catalina.session.ManagerBase.level = FINE
56 | #org.apache.catalina.core.AprLifecycleListener.level=FINE
57 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/conf/server.xml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
18 |
19 |
22 |
27 |
28 |
29 |
34 |
35 |
36 |
37 |
41 |
42 |
43 |
50 |
53 |
54 |
60 |
64 |
69 |
70 |
71 |
72 |
73 |
74 |
79 |
80 |
83 |
84 |
85 |
88 |
91 |
92 |
95 |
98 |
99 |
103 |
105 |
106 |
109 |
112 |
113 |
115 |
118 |
119 |
121 |
125 |
126 |
127 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/conf/tomcat-users.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/temp/safeToDelete.tmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/temp/safeToDelete.tmp
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/com.genuitec.eclipse.sqlexplorer/ConnectionProfiles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | false
4 |
5 | 4696db8f:14ecd35c0e0:-7fde
6 |
7 |
8 | 4696db8f:14ecd35c0e0:-7fdd
9 |
10 | MyEclipse Derby
11 | gFOjO/OmrJ8m4/rtM2cMIw==
12 | false
13 |
14 | 0
15 | jdbc:derby://localhost:1527/myeclipse
16 | classiccars
17 |
18 |
19 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/com.genuitec.eclipse.sqlexplorer/SQLDrivers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | net.sourceforge.jtds.jdbc.Driver
4 |
5 | -33
6 |
7 |
8 |
9 | Microsoft SQL Server (jTDS driver)
10 | jdbc:jtds:sqlserver://<hostname>[:<port>]/<dbname>
11 |
12 |
13 | com.microsoft.jdbc.sqlserver.SQLServerDriver
14 |
15 | -11
16 |
17 |
18 |
19 | Microsoft SQL Server
20 | jdbc:microsoft:sqlserver://<server_name>:<1433>
21 |
22 |
23 | org.apache.derby.jdbc.ClientDriver
24 |
25 | -29
26 |
27 |
28 |
29 | Derby
30 | jdbc:derby://<server_name>:<port>/<databaseName>[;create=true]
31 |
32 |
33 | org.hsqldb.jdbcDriver
34 |
35 | -18
36 |
37 |
38 |
39 | HSQLDB Server
40 | jdbc:hsqldb:hsql://<server>[:<1476>]
41 |
42 |
43 | org.enhydra.instantdb.jdbc.idbDriver
44 |
45 | -5
46 |
47 |
48 |
49 | InstantDB
50 | jdbc:idb:<pathname>
51 |
52 |
53 | com.mimer.jdbc.Driver
54 |
55 | -12
56 |
57 |
58 |
59 | Mimer SQL
60 | jdbc:mimer:[//[<user>[:<password>]@]<server>[:<1360>]][/<dbname>][property-list]
61 |
62 |
63 | net.sourceforge.jtds.jdbc.Driver
64 |
65 | -34
66 |
67 |
68 |
69 | Sybase (jTDS driver)
70 | jdbc:jtds:sybase://<hostname>[:<port>]/<dbname>
71 |
72 |
73 | com.pointbase.net.netJDBCDriver
74 |
75 | -23
76 |
77 |
78 |
79 | Pointbase Embedded
80 | jdbc:pointbase:embedded:<dbname>
81 |
82 |
83 | oracle.jdbc.driver.OracleDriver
84 |
85 | -2
86 |
87 |
88 |
89 | Oracle (OCI driver)
90 | jdbc:oracle:oci8:@<database_name>
91 |
92 |
93 | org.hsqldb.jdbcDriver
94 |
95 | -17
96 |
97 |
98 |
99 | HSQLDB Web Server
100 | jdbc:hsqldb:http://<server>[:<1476>]
101 |
102 |
103 | com.ibm.db2.jcc.DB2Driver
104 |
105 | -30
106 |
107 |
108 |
109 | Derby (IBM Universal driver)
110 | jdbc:db2://<server_name>:<port>/<databaseName>
111 |
112 |
113 | com.sybase.jdbc2.jdbc.SybDriver
114 |
115 | -8
116 |
117 |
118 |
119 | Sybase Adaptive Server Anywhere
120 | jdbc:sybase:Tds:<host>:<port>?ServiceName=<DBNAME>
121 |
122 |
123 | com.internetcds.jdbc.tds.Driver
124 |
125 | -16
126 |
127 |
128 |
129 | jTDS (FreeTDS)
130 | jdbc:freetds:sqlserver://<hostname>[:<4100>]/<dbname>[;<property>=<value>[;...]]
131 |
132 |
133 | uk.co.thinksql.ThinkSQLDriver
134 |
135 | -14
136 |
137 |
138 |
139 | ThinkSQL
140 | jdbc:thinksql://<server>:<9075>
141 |
142 |
143 | org.postgresql.Driver
144 |
145 | -7
146 |
147 |
148 |
149 | PostgreSQL
150 | jdbc:postgresql:[<//host>[:<5432>/]]<database>
151 |
152 |
153 | com.ibm.db2.jdbc.net.DB2Driver
154 |
155 | -31
156 |
157 |
158 |
159 | IBM DB2 (Universal driver)
160 | jdbc:db2://<host_name>:<port>/<dbname>
161 |
162 |
163 | org.hsqldb.jdbcDriver
164 |
165 | -20
166 |
167 |
168 |
169 | HSQLDB In-Memory
170 | jdbc:hsqldb:.
171 |
172 |
173 | com.sap.dbtech.jdbc.DriverSapDB
174 |
175 | -21
176 |
177 |
178 |
179 | SAPDB
180 | jdbc:sapdb:[//host/]dbname[?name=value[&name=value]*]
181 |
182 |
183 | org.hsqldb.jdbcDriver
184 |
185 | -19
186 |
187 |
188 |
189 | HSQLDB Standalone
190 | jdbc:hsqldb:<databaseName>
191 |
192 |
193 | com.pointbase.net.netJDBCDriver
194 |
195 | -22
196 |
197 |
198 |
199 | Pointbase Server
200 | jdbc:pointbase:server://<server_name>/<dbname>
201 |
202 |
203 | sun.jdbc.odbc.JdbcOdbcDriver
204 |
205 | -1
206 |
207 |
208 |
209 | JDBC ODBC Bridge
210 | jdbc:odbc:<alias>
211 |
212 |
213 | com.sybase.jdbc2.jdbc.SybDriver
214 |
215 | -9
216 |
217 |
218 |
219 | Sybase Adaptive Server Enterprise
220 | jdbc:sybase:Tds:<host>:<port>/<DBNAME>
221 |
222 |
223 | com.microsoft.sqlserver.jdbc.SQLServerDriver
224 |
225 | -28
226 |
227 |
228 |
229 | Microsoft SQL Server 2005
230 | jdbc:sqlserver://<server_name>:<port>[;databaseName=<dbname>]
231 |
232 |
233 | COM.ibm.db2.jdbc.net.DB2Driver
234 |
235 | -24
236 |
237 |
238 |
239 | IBM DB2 (App driver)
240 | jdbc:db2://<host_name>:6789/<dbname>
241 |
242 |
243 | org.sqlite.JDBC
244 |
245 | -35
246 |
247 |
248 |
249 | SQLite
250 | jdbc:sqlite:<path-to-db-file>
251 |
252 |
253 | org.axiondb.jdbc.AxionDriver
254 |
255 | -13
256 |
257 |
258 |
259 | Axion
260 | jdbc:axiondb:<database-name>[:<database-directory>]
261 |
262 |
263 | interbase.interclient.Driver
264 |
265 | -3
266 |
267 |
268 |
269 | InterClient
270 | jdbc:interbase://<server>/<full_db_path>
271 |
272 |
273 | com.ncr.teradata.TeraDriver
274 |
275 | -27
276 |
277 |
278 |
279 | Teradata
280 | jdbc:teradata:[//host[:1025]/]<database>
281 |
282 |
283 | oracle.jdbc.driver.OracleDriver
284 |
285 | -4
286 |
287 |
288 |
289 | Oracle (Thin driver)
290 | jdbc:oracle:thin:@<server>[:<1521>]:<database_name>
291 |
292 |
293 | com.mckoi.JDBCDriver
294 |
295 | -15
296 |
297 |
298 |
299 | Mckoi
300 | jdbc:mckoi://<host>[:9157][/<schema>]/
301 |
302 |
303 | com.mysql.jdbc.Driver
304 |
305 | -26
306 |
307 |
308 |
309 | MySQL Connector/J
310 | jdbc:mysql://<hostname>[<:3306>]/<dbname>
311 |
312 |
313 | org.firebirdsql.jdbc.FBDriver
314 |
315 | -25
316 |
317 |
318 |
319 | Firebird (JayBird JCA/JDBC driver)
320 | jdbc:firebirdsql:[//host[:port]/]<database>
321 |
322 |
323 | com.ibm.db2.jdbc.net.DB2Driver
324 |
325 | -32
326 |
327 |
328 |
329 | IBM DB2 (Universal Type 2 driver)
330 | jdbc:db2:<dbname>
331 |
332 |
333 | org.apache.derby.jdbc.ClientDriver
334 |
335 | 4696db8f:14ecd35c0e0:-7fde
336 |
337 |
338 |
339 |
340 | C:\Users\Administrator\.myeclipse\libs\derby_10.2.2.0\derbyclient.jar
341 |
342 |
343 | MyEclipse Derby
344 | jdbc:derby://<host>:<port>/<db>
345 |
346 |
347 | com.sunopsis.jdbc.driver.xml.SnpsXmlDriver
348 |
349 | -10
350 |
351 |
352 |
353 | Sunopsis XML
354 | jdbc:snps:xml?f=<file-name>&ro=true
355 |
356 |
357 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/com.genuitec.eclipse.templates/velocity.log:
--------------------------------------------------------------------------------
1 | Mon Jul 27 09:55:13 CST 2015 [debug] AvalonLogSystem initialized using logfile 'D:\MyEclipse\TestBaidu\.metadata\.plugins\com.genuitec.eclipse.templates\velocity.log'
2 | Mon Jul 27 09:55:13 CST 2015 [info] **************************************************************
3 | Mon Jul 27 09:55:13 CST 2015 [info] Starting Jakarta Velocity v1.4
4 | Mon Jul 27 09:55:13 CST 2015 [info] RuntimeInstance initializing.
5 | Mon Jul 27 09:55:13 CST 2015 [info] Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties
6 | Mon Jul 27 09:55:13 CST 2015 [info] Trying to use logger class org.apache.velocity.runtime.log.AvalonLogSystem
7 | Mon Jul 27 09:55:13 CST 2015 [info] Using logger class org.apache.velocity.runtime.log.AvalonLogSystem
8 | Mon Jul 27 09:55:13 CST 2015 [info] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
9 | Mon Jul 27 09:55:13 CST 2015 [info] Resource Loader Instantiated: com.genuitec.eclipse.templates.internal.PluginResourceLoader
10 | Mon Jul 27 09:55:13 CST 2015 [info] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
11 | Mon Jul 27 09:55:13 CST 2015 [info] Default ResourceManager initialization complete.
12 | Mon Jul 27 09:55:13 CST 2015 [info] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
13 | Mon Jul 27 09:55:13 CST 2015 [info] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
14 | Mon Jul 27 09:55:13 CST 2015 [info] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
15 | Mon Jul 27 09:55:13 CST 2015 [info] Loaded System Directive: org.apache.velocity.runtime.directive.Include
16 | Mon Jul 27 09:55:13 CST 2015 [info] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
17 | Mon Jul 27 09:55:14 CST 2015 [info] Created: 20 parsers.
18 | Mon Jul 27 09:55:14 CST 2015 [info] Velocimacro : initialization starting.
19 | Mon Jul 27 09:55:14 CST 2015 [info] Velocimacro : adding VMs from VM library template : VM_global_library.vm
20 | Mon Jul 27 09:55:14 CST 2015 [error] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
21 | Mon Jul 27 09:55:14 CST 2015 [info] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
22 | Mon Jul 27 09:55:14 CST 2015 [info] Velocimacro : VM library template macro registration complete.
23 | Mon Jul 27 09:55:14 CST 2015 [info] Velocimacro : allowInline = true : VMs can be defined inline in templates
24 | Mon Jul 27 09:55:14 CST 2015 [info] Velocimacro : allowInlineToOverride = true : VMs defined inline may replace previous VM definitions
25 | Mon Jul 27 09:55:14 CST 2015 [info] Velocimacro : allowInlineLocal = true : VMs defined inline will be local to their defining template only.
26 | Mon Jul 27 09:55:14 CST 2015 [info] Velocimacro : messages on : VM system will output logging messages
27 | Mon Jul 27 09:55:14 CST 2015 [info] Velocimacro : autoload off : VM system will not automatically reload global library macros
28 | Mon Jul 27 09:55:14 CST 2015 [info] Velocimacro : initialization complete.
29 | Mon Jul 27 09:55:14 CST 2015 [info] Velocity successfully started.
30 | Mon Jul 27 09:55:14 CST 2015 [info] ResourceManager : found templates/web.xml.vm with loader com.genuitec.eclipse.templates.internal.PluginResourceLoader
31 | Mon Jul 27 09:55:14 CST 2015 [info] ResourceManager : found /templates/velocity/welcome/Jsp.vtl with loader com.genuitec.eclipse.templates.internal.PluginResourceLoader
32 | Mon Jul 27 10:00:17 CST 2015 [info] ResourceManager : found templates/jsp/Jsp.vtl with loader com.genuitec.eclipse.templates.internal.PluginResourceLoader
33 | Mon Jul 27 10:00:17 CST 2015 [info] ResourceManager : found templates/jsp/JSPMetaTags.vtl with loader com.genuitec.eclipse.templates.internal.PluginResourceLoader
34 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/com.genuitec.org.hibernate.eclipse/hibernate-tools.log:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/com.genuitec.org.hibernate.eclipse/hibernate-tools.log
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.ant.ui/dialog_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.resources/.history/5/70421d93043400151a16ba74f60a1d29:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
2 | <%
3 | String path = request.getContextPath();
4 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
5 | %>
6 |
7 |
8 |
9 |
10 |
11 |
12 | My JSP 'documentUpload.jsp' starting page
13 |
14 |
15 |
16 |
17 |
18 |
19 |
22 |
23 |
24 |
25 |
26 | This is my JSP page.
27 |
28 |
29 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.resources/.projects/Test/.indexes/ca/history.index:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.core.resources/.projects/Test/.indexes/ca/history.index
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.resources/.projects/Test/.markers:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.core.resources/.projects/Test/.markers
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.resources/.projects/Test/org.eclipse.jdt.core/state.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.core.resources/.projects/Test/org.eclipse.jdt.core/state.dat
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index:
--------------------------------------------------------------------------------
1 | / org.eclipse.core.resources contentCacheState 2 contentCacheTimestamp
1438052332116 org.eclipse.jdt.core stateVersionNumber 21
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.resources/.root/2.tree:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.core.resources/.root/2.tree
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.aspphp.core.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:08:44 CST 2015
2 | outputCodeset=UTF-8
3 | eclipse.preferences.version=1
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.ast.deploy.core.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:19:46 CST 2015
2 | tomcat6Server.Test.isUptoDate=true
3 | tomcat6Server.Test.deploymentPath=D\:\\Tomcat 6.0\\webapps\\Test
4 | tomcat6Server.Test.isExploded=true
5 | tomcat6Server.Test.earProjectName=
6 | tomcat6Server.Test.type=WebDeployment
7 | tomcat6Server.Test.contextRoot=/Test
8 | tomcat6Server.Test.isDeployed=true
9 | tomcat6Server.Test.deployIsOverProject=false
10 | tomcat6Server.Test.shouldBackup=false
11 | eclipse.preferences.version=1
12 | tomcat6Server.Test.shouldOverwrite=false
13 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.derby.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:07:25 CST 2015
2 | eclipse.preferences.version=1
3 | DRIVER_CREATED=true
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.core.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:17:53 CST 2015
2 | defaultServerId=Tomcat 6.x
3 | eclipse.preferences.version=1
4 | JDK_INSTALLATION_NAME=myeclipse6.5
5 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.geronimo1.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:12 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.geronimo2.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:12 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.jboss.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:12 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.jboss2.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:12 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.jboss3.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:13 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.jboss4.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:13 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.jboss5.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:13 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.jetty.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:13 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.jetty4.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:13 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.jetty5.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:14 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.jetty6.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:14 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.jonas.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:14 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.jonas3.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:14 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.jonas4.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:14 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.jrun.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:15 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.jrun4.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:15 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.oracle.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:15 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.oracle10.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:15 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.oracle9.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:15 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.orion1.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:15 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.orion2.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:15 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.resin.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:15 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.resin2.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:15 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.resin3.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:15 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.sun.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:16 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.sun8.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:16 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.sun81.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:16 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.sun9.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:16 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.sunglassfish.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:16 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.sunglassfish2.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:16 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.tomcat.myeclipse.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:17:35 CST 2015
2 | SERVER_ENABLEMENT=false
3 | LIBRARY_PATH="F\:\\myeclipse6.5\\bin;F\:\\myeclipse6.5\\myeclipse\\eclipse\\plugins\\com.genuitec.eclipse.easie.tomcat.myeclipse_6.5.0.zmyeclipse650200806\\tomcat\\bin"
4 | tomcat.configuration.version.current=2
5 | eclipse.preferences.version=1
6 | JDK_HOME=F\:\\myeclipse6.5
7 | ENDORSED_DIRS="F\:\\myeclipse6.5\\myeclipse\\eclipse\\plugins\\com.genuitec.eclipse.easie.tomcat.myeclipse_6.5.0.zmyeclipse650200806\\tomcat/common/endorsed"
8 | JDK_INSTALLATION_NAME=myeclipse6.5
9 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.tomcat.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:17 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.tomcat4.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:17 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.tomcat5.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:17 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.tomcat6.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:20:38 CST 2015
2 | TOMCAT_HOME=D\:\\Tomcat 6.0
3 | TOMCAT_TEMP=D\:\\Tomcat 6.0\\temp
4 | LIBRARY_PATH="F\:\\myeclipse6.5\\bin;D\:\\Tomcat 6.0\\bin"
5 | TOMCAT_BASE=D\:\\Tomcat 6.0
6 | ENDORSED_DIRS="D\:\\Tomcat 6.0/common/endorsed"
7 | eclipse.preferences.version=1
8 | JDK_INSTALLATION_NAME=myeclipse6.5
9 | JDK_HOME=F\:\\myeclipse6.5
10 | SERVER_ENABLEMENT=true
11 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.weblogic.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:18 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.weblogic10.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:18 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.weblogic6.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:18 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.weblogic7.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:18 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.weblogic8.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:18 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.weblogic9.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:18 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.websphere.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:19 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.websphere5.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:19 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.websphere6.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:19 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.easie.websphere61.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:19 CST 2015
2 | eclipse.preferences.version=1
3 | JDK_INSTALLATION_NAME=myeclipse6.5
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.examples.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:07:25 CST 2015
2 | eclipse.preferences.version=1
3 | repository_added=true
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.hibernate.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:08:51 CST 2015
2 | me.pref.version=4.1
3 | eclipse.preferences.version=1
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.jsf.prefs:
--------------------------------------------------------------------------------
1 | #Tue Jul 28 11:10:45 CST 2015
2 | jsf.config.templates=<managed-bean>\r\n\thaha\r\n</managed-bean><managed-bean>\r\n\thaha\r\n</managed-bean><managed-bean>\r\n\thaha\r\n</managed-bean>
3 | eclipse.preferences.version=1
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.webdesigner3.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:20:38 CST 2015
2 | eclipse.preferences.version=1
3 | sash.position=0
4 | PaletteSize=125
5 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.wizards.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:07:25 CST 2015
2 | applet.template.2.label=Template for Applet with JDK1.4
3 | applet.template.1.label=Template for Applet with JDK1.3
4 | snippetLibIntalled_v5=true
5 | eclipse.preferences.version=1
6 | applethtml.template.1.label=Default Applet HTML template
7 | servlet.template.1=templates/Servlet.java
8 | applethtml.template.1=templates/Applet.html
9 | applet.template.2=templates/Applet14.java
10 | applet.template.1=templates/Applet.java
11 | servlet.template.1.label=Default template for Servlet
12 | doctype.html.8=<\!DOCTYPE HTML PUBLIC "-//IETF//DTD LEVEL1//EN">
13 | doctype.html.7=<\!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
14 | doctype.html.6=<\!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
15 | doctype.html.5=<\!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
16 | doctype.html.4=<\!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
17 | doctype.html.3=<\!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
18 | doctype.html.2=<\!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
19 | doctype.html.1=<\!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
20 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.myeclipse.compatibility.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:07:25 CST 2015
2 | eclipse.preferences.version=1
3 | preferencesMigrated=true
4 | preferencesMigrated60=true
5 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ant.ui.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:07:24 CST 2015
2 | problem_tasks=ignore
3 | problem_properties=ignore
4 | useQuickDiffPrefPage=true
5 | useAnnotationsPrefPage=true
6 | problem_classpath=warning
7 | problem_imports=warning
8 | problem_security=warning
9 | org.eclipse.ant.ui.customtemplates=
10 | eclipse.preferences.version=1
11 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.net.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:07:25 CST 2015
2 | org.eclipse.core.net.hasMigrated=true
3 | eclipse.preferences.version=1
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:55:18 CST 2015
2 | version=1
3 | eclipse.preferences.version=1
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.runtime.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:09:53 CST 2015
2 | content-types/org.eclipse.wst.javascript.core.javascriptsource/charset=UTF-8
3 | eclipse.preferences.version=1
4 | content-types/org.eclipse.jst.jsp.core.jspsource/charset=utf-8
5 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:00:21 CST 2015
2 | eclipse.preferences.version=1
3 | org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=\r\n\r\n
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:07:25 CST 2015
2 | org.eclipse.jdt.core.compiler.compliance=1.5
3 | org.eclipse.jdt.core.codeComplete.argumentPrefixes=
4 | org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
5 | org.eclipse.jdt.core.codeComplete.localSuffixes=
6 | org.eclipse.jdt.core.codeComplete.fieldPrefixes=
7 | org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
8 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
9 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
10 | org.eclipse.jdt.core.classpathVariable.MYECLIPSE_LIB_HOME=F\:/myeclipse6.5/myeclipse/eclipse/plugins/com.genuitec.eclipse.j2eedt.core_6.5.0.zmyeclipse650200806/data/libraryset
11 | org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch
12 | eclipse.preferences.version=1
13 | org.eclipse.jdt.core.codeComplete.fieldSuffixes=
14 | org.eclipse.jdt.core.codeComplete.argumentSuffixes=
15 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
16 | org.eclipse.jdt.core.codeComplete.localPrefixes=
17 | org.eclipse.jdt.core.compiler.source=1.5
18 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
19 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.launching.prefs:
--------------------------------------------------------------------------------
1 | #Tue Jul 28 11:10:45 CST 2015
2 | eclipse.preferences.version=1
3 | org.eclipse.jdt.launching.PREF_VM_XML=\r\n\r\n\r\n\r\n\r\n\r\n
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:07:25 CST 2015
2 | sourceHoverBackgroundColor=255,255,225
3 | spelling_locale=en_GB
4 | org.eclipse.jdt.ui.overrideannotation=true
5 | spelling_locale_initialized=true
6 | org.eclipse.jdt.ui.gettersetter.use.is=true
7 | useAnnotationsPrefPage=true
8 | eclipse.preferences.version=1
9 | org.eclipse.jface.textfont=1|Courier New|10.0|0|WINDOWS|1|0|0|0|0|0|0|0|0|1|0|0|0|0|Courier New;
10 | tabWidthPropagated=true
11 | org.eclipse.jdt.ui.editor.tab.width=
12 | org.eclipse.jdt.ui.exception.name=e
13 | fontPropagated=true
14 | org.eclipse.jdt.ui.text.custom_code_templates=
15 | org.eclipse.jdt.ui.javadoclocations.migrated=true
16 | proposalOrderMigrated=true
17 | org.eclipse.jdt.ui.ondemandthreshold=99
18 | org.eclipse.jdt.ui.formatterprofiles.version=11
19 | useQuickDiffPrefPage=true
20 | org.eclipse.jdt.ui.staticondemandthreshold=99
21 | org.eclipse.jdt.ui.importorder=java;javax;org;com;
22 | org.eclipse.jdt.ui.ignorelowercasenames=true
23 | org.eclipse.jdt.ui.text.code_templates_migrated=true
24 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jst.jsp.core.prefs:
--------------------------------------------------------------------------------
1 | #Tue Jul 28 11:10:45 CST 2015
2 | outputCodeset=UTF-8
3 | org.eclipse.jst.jsp.core.taglib.TaglibIndex=CLEAN
4 | jspIndexState=1
5 | eclipse.preferences.version=1
6 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.cvs.core.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:52:20 CST 2015
2 | repositories/%pserver%anonymous@examples.myeclipseide.com%%home%cvs%public%myeclipse%examples/location=\:pserver\:anonymous@examples.myeclipseide.com\:/home/cvs/public/myeclipse/examples
3 | eclipse.preferences.version=1
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.cvs.ui.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:07:25 CST 2015
2 | pref_first_startup=false
3 | eclipse.preferences.version=1
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:07:25 CST 2015
2 | eclipse.preferences.version=1
3 | org.eclipse.team.ui.first_time=false
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.browser.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:55:43 CST 2015
2 | browsers=\r\n\r\n\r\n\r\n\r\n
3 | eclipse.preferences.version=1
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:07:25 CST 2015
2 | eclipse.preferences.version=1
3 | overviewRuler_migration=migrated_3.1
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs:
--------------------------------------------------------------------------------
1 | #Tue Jul 28 11:10:43 CST 2015
2 | eclipse.preferences.version=1
3 | tipsAndTricks=true
4 | platformState=1438052332116
5 | EXIT_PROMPT_ON_CLOSE_LAST_WINDOW=false
6 | quickStart=true
7 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.intro.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:07:24 CST 2015
2 | eclipse.preferences.version=1
3 | com.genuitec.myeclipse.product.ide_INTRO_THEME=org.eclipse.ui.intro.universal.circles
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.intro.universal.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:07:24 CST 2015
2 | com.genuitec.myeclipse.product.ide_INTRO_ROOT_PAGES=overview,tutorials,samples,whatsnew
3 | eclipse.preferences.version=1
4 | com.genuitec.myeclipse.product.ide_INTRO_DATA=\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
5 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:54:24 CST 2015
2 | eclipse.preferences.version=1
3 | showIntro=false
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs:
--------------------------------------------------------------------------------
1 | #Tue Jul 28 10:59:58 CST 2015
2 | PLUGINS_NOT_ACTIVATED_ON_STARTUP=
3 | eclipse.preferences.version=1
4 | org.eclipse.ui.commands=\r\n
5 | ENABLED_DECORATORS=org.eclipse.jst.j2ee.navigator.ui.java.resource.decorator\:true,org.eclipse.wst.server.ui.decorator\:false,org.maven.ide.eclipse.mavenVersionDecorator\:false,com.aptana.ide.syncing.SyncConnectionDecorator\:true,com.aptana.ide.syncing.VirtualFileCloakedDecorator\:true,com.aptana.ide.syncing.VirtualFileManagerSyncDecorator\:true,com.aptana.ide.syncing.SyncProjectConnectionDecorator\:true,com.aptana.ide.syncing.VirtualProjectCloakedDecorator\:true,com.genuitec.myeclipse.ui.decoration.myEclipseUniversalDecorator\:true,org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.DependencyDecoration\:true,org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.ColumnDecoration\:true,org.eclipse.datatools.connectivity.sqm.core.internal.ui.explorer.ForeignKeyDecoration\:true,org.eclipse.datatools.connectivity.sqm.internal.core.ui.bookmarkDecoration\:true,org.eclipse.datatools.connectivity.ui.decorator.contentextension\:false,org.eclipse.jdt.ui.override.decorator\:true,org.eclipse.jdt.ui.interface.decorator\:false,org.eclipse.jst.j2ee.internal.ui.util.AnnotationIconDecorator_ejb\:true,org.eclipse.jst.j2ee.navigator.internal.J2EEProjectDecorator\:true,org.eclipse.jst.j2ee.internal.ui.util.AnnotationIconDecorator_servlet\:true,org.eclipse.pde.ui.binaryProjectDecorator\:false,org.eclipse.team.cvs.ui.decorator\:true,org.eclipse.ui.LinkedResourceDecorator\:true,org.eclipse.wst.rdb.core.internal.ui.explorer.DependencyDecoration\:true,org.eclipse.wst.rdb.core.internal.ui.explorer.ColumnDecoration\:true,org.eclipse.wst.rdb.core.internal.ui.explorer.ForeignKeyDecoration\:true,org.eclipse.wst.rdb.internal.core.ui.bookmarkDecoration\:true,org.eclipse.wst.rdb.internal.core.ui.indexTriggerDecoration\:true,org.eclipse.wst.rdb.server.ui.explorer.ServerStateDecoration\:true,org.eclipse.wst.rdb.core.internal.ui.explorer.FilterNodeDecoration\:true,org.maven.ide.eclipse.maven2decorator\:true,org.springframework.ide.eclipse.aop.ui.decorator.advicedecorator\:false,org.springframework.ide.eclipse.beans.ui.model.beansModelLabelDecorator\:true,org.springframework.ide.eclipse.javaconfig.ui.decorator.javaconfiguidecorator\:true,org.springframework.ide.eclipse.ui.model.modelLabelDecorator\:true,org.springframework.ide.eclipse.webflow.ui.model.webflowModelLabelDecorator\:true,
6 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.update.scheduler.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:07:24 CST 2015
2 | hour=1\:00 AM
3 | day=Every day
4 | eclipse.preferences.version=1
5 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.dtd.core.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:09:01 CST 2015
2 | outputCodeset=UTF-8
3 | eclipse.preferences.version=1
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.server.core.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:55:43 CST 2015
2 | module-start-timeout=300000
3 | eclipse.preferences.version=1
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.sse.core.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 09:55:22 CST 2015
2 | task-tag-projects-already-scanned=Test
3 | eclipse.preferences.version=1
4 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.sse.ui.prefs:
--------------------------------------------------------------------------------
1 | #Mon Jul 27 10:09:01 CST 2015
2 | useAnnotationsPrefPage=true
3 | eclipse.preferences.version=1
4 | hoverModifiers=combinationHover|true|0;problemHover|false|0;documentationHover|false|0;annotationHover|true|Shift;
5 | useQuickDiffPrefPage=true
6 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1163434034.index:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1163434034.index
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1369741228.index:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1369741228.index
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/142012861.index:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/142012861.index
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1635344632.index:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1635344632.index
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1657330681.index:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1657330681.index
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1661077143.index:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1661077143.index
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1731260902.index:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1731260902.index
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1735602787.index:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1735602787.index
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1967075287.index:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1967075287.index
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1975788299.index:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/1975788299.index
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/2747605347.index:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/2747605347.index
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/2753356437.index:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/2753356437.index
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/3322029063.index:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/3322029063.index
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt:
--------------------------------------------------------------------------------
1 | INDEX VERSION 1.121+D:\MyEclipse\TestBaidu\.metadata\.plugins\org.eclipse.jdt.core
2 | 1661077143.index
3 | 1975788299.index
4 | 1731260902.index
5 | 142012861.index
6 | 1635344632.index
7 | 1967075287.index
8 | 3322029063.index
9 | 2747605347.index
10 | 1163434034.index
11 | 1369741228.index
12 | 1657330681.index
13 | 1735602787.index
14 | 2753356437.index
15 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.debug.ui/dialog_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.launching/libraryInfos.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jst.jsp.core/jspsearch/4198055246.index:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jst.jsp.core/jspsearch/4198055246.index
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.jst.jsp.core/taglibindex/1657330681.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.jst.jsp.core/taglibindex/1657330681.dat
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 |
280 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 |
290 | -
291 |
292 |
293 | -
294 |
295 |
296 | -
297 |
298 |
299 | -
300 |
301 |
302 | -
303 |
304 |
305 | -
306 |
307 |
308 | -
309 |
310 |
311 | -
312 |
313 |
314 | -
315 |
316 |
317 |
318 |
319 |
320 |
321 |
322 |
323 |
324 |
325 |
326 |
327 |
328 |
329 |
330 |
331 |
332 |
333 |
334 |
335 |
336 |
337 |
338 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.wst.common.snippets/hidden.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.wst.common.snippets/hidden.xml
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.wst.common.snippets/user.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.eclipse.wst.common.snippets/user.xml
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.wst.internet.cache/cache.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.eclipse.wst.xml.core/default_catalog.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.maven.ide.eclipse/dialog_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.maven.ide.eclipse/nexus/central/_0.cfs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.maven.ide.eclipse/nexus/central/_0.cfs
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.maven.ide.eclipse/nexus/central/segments.gen:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.maven.ide.eclipse/nexus/central/segments.gen
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.maven.ide.eclipse/nexus/central/segments_2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.maven.ide.eclipse/nexus/central/segments_2
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.maven.ide.eclipse/nexus/local/_0.cfs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.maven.ide.eclipse/nexus/local/_0.cfs
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.maven.ide.eclipse/nexus/local/segments.gen:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.maven.ide.eclipse/nexus/local/segments.gen
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.maven.ide.eclipse/nexus/local/segments_2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/.metadata/.plugins/org.maven.ide.eclipse/nexus/local/segments_2
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/.plugins/org.springframework.ide.eclipse.aop.core/.springAop:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OnlinePreview/.metadata/version.ini:
--------------------------------------------------------------------------------
1 | org.eclipse.core.runtime=1
--------------------------------------------------------------------------------
/OnlinePreview/.mymetadata:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/OnlinePreview/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | TestBaiDu
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.wst.common.project.facet.core.builder
10 |
11 |
12 |
13 |
14 | com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator
25 |
26 |
27 |
28 |
29 | com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator
30 |
31 |
32 |
33 |
34 | org.eclipse.wst.validation.validationbuilder
35 |
36 |
37 |
38 |
39 | com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder
40 |
41 |
42 |
43 |
44 |
45 | org.eclipse.jem.workbench.JavaEMFNature
46 | org.eclipse.wst.common.modulecore.ModuleCoreNature
47 | com.genuitec.eclipse.ast.deploy.core.deploymentnature
48 | com.genuitec.eclipse.j2eedt.core.webnature
49 | org.eclipse.jdt.core.javanature
50 | org.eclipse.wst.jsdt.core.jsNature
51 | org.eclipse.wst.common.project.facet.core.nature
52 |
53 |
54 |
--------------------------------------------------------------------------------
/OnlinePreview/.settings/.jsdtscope:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/OnlinePreview/.settings/com.genuitec.eclipse.migration.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | performed.operation.install.java=1.0
3 | performed.operation.install.modulecore.nature=1.0
4 | performed.operation.me.configure.js=1.0
5 | performed.operation.me.create.deploymentAssembly=1.0
6 | performed.operation.me.create.deploymentAssembly.fixBuildPathEntries=1.0
7 | performed.operation.me.install.jstl=1.0
8 | performed.operation.me.migrate.webnature=1.0
9 | performed.operation.migrate.container.ids=1.0
10 |
--------------------------------------------------------------------------------
/OnlinePreview/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
4 | org.eclipse.jdt.core.compiler.compliance=1.5
5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7 | org.eclipse.jdt.core.compiler.source=1.5
8 |
--------------------------------------------------------------------------------
/OnlinePreview/.settings/org.eclipse.wst.common.component:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/OnlinePreview/.settings/org.eclipse.wst.common.project.facet.core.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/OnlinePreview/.settings/org.eclipse.wst.jsdt.ui.superType.container:
--------------------------------------------------------------------------------
1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary
--------------------------------------------------------------------------------
/OnlinePreview/.settings/org.eclipse.wst.jsdt.ui.superType.name:
--------------------------------------------------------------------------------
1 | Window
--------------------------------------------------------------------------------
/OnlinePreview/Test/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/OnlinePreview/Test/.mymetadata:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/OnlinePreview/Test/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | Test
4 |
5 |
6 |
7 |
8 |
9 | com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.jdt.core.javabuilder
15 |
16 |
17 |
18 |
19 | com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator
20 |
21 |
22 |
23 |
24 | com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator
25 |
26 |
27 |
28 |
29 | org.eclipse.wst.validation.validationbuilder
30 |
31 |
32 |
33 |
34 | com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder
35 |
36 |
37 |
38 |
39 |
40 | com.genuitec.eclipse.ast.deploy.core.deploymentnature
41 | com.genuitec.eclipse.j2eedt.core.webnature
42 | org.eclipse.jdt.core.javanature
43 |
44 |
45 |
--------------------------------------------------------------------------------
/OnlinePreview/Test/WebRoot/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Class-Path:
3 |
4 |
--------------------------------------------------------------------------------
/OnlinePreview/Test/WebRoot/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 | index.jsp
9 |
10 |
11 |
--------------------------------------------------------------------------------
/OnlinePreview/Test/WebRoot/documentUpload.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2 |
3 |
4 |
5 |
6 |
7 |
8 | 文档在线预览系统
9 |
60 |
61 |
62 |
63 |
88 |
89 |
90 |
91 |
--------------------------------------------------------------------------------
/OnlinePreview/Test/WebRoot/index.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
2 | <%
3 | String path = request.getContextPath();
4 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
5 | %>
6 |
7 |
8 |
9 |
10 |
11 |
12 | My JSP 'index.jsp' starting page
13 |
14 |
15 |
16 |
17 |
18 |
21 |
22 |
23 |
24 | This is my JSP page.
25 |
26 |
27 |
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/FlexPaperViewer.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/FlexPaperViewer.swf
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Class-Path:
3 |
4 |
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/classes/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 |
3 |
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/classes/com/cectsims/util/DocConverter.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/WEB-INF/classes/com/cectsims/util/DocConverter.class
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/classes/com/cectsims/util/Test.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/WEB-INF/classes/com/cectsims/util/Test.class
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/lib/DEPENDENCIES.txt:
--------------------------------------------------------------------------------
1 | To use the library in your own Java app you need
2 |
3 | * commons-io
4 | * jodconverter
5 | * juh
6 | * jurt
7 | * ridl
8 | * slf4j-api
9 | * slf4j-jdk14 or another slf4j implementation - see http://slf4j.org
10 | * unoil
11 | * xstream - only if you use XmlDocumentFormatRegistry
12 |
13 | The command line interface additionally requires
14 |
15 | * commons-cli
16 | * jodconverter-cli
17 |
18 |
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/lib/commons-cli-1.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/WEB-INF/lib/commons-cli-1.2.jar
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/lib/commons-io-1.4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/WEB-INF/lib/commons-io-1.4.jar
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/lib/cos.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/WEB-INF/lib/cos.jar
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/lib/jodconverter-2.2.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/WEB-INF/lib/jodconverter-2.2.2.jar
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/lib/jodconverter-cli-2.2.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/WEB-INF/lib/jodconverter-cli-2.2.2.jar
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/lib/juh-3.0.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/WEB-INF/lib/juh-3.0.1.jar
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/lib/jurt-3.0.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/WEB-INF/lib/jurt-3.0.1.jar
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/lib/ridl-3.0.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/WEB-INF/lib/ridl-3.0.1.jar
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/lib/slf4j-api-1.5.6.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/WEB-INF/lib/slf4j-api-1.5.6.jar
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/lib/slf4j-jdk14-1.5.6.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/WEB-INF/lib/slf4j-jdk14-1.5.6.jar
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/lib/unoil-3.0.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/WEB-INF/lib/unoil-3.0.1.jar
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/lib/xstream-1.3.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/WEB-INF/lib/xstream-1.3.1.jar
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 | index.jsp
9 |
10 |
11 |
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/docUploadConvertAction.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2 | <%@page import="com.oreilly.servlet.*" %>
3 | <%@page import="com.oreilly.servlet.multipart.*" %>
4 | <%@page import="java.util.Enumeration"%>
5 | <%@page import="java.io.*"%>
6 | <%@page import="com.cectsims.util.DocConverter"%>
7 | <%
8 | String saveDirectory=application.getRealPath("/")+"upload";
9 | System.out.println(saveDirectory);
10 | int maxPostSize=50*1024*1024;
11 | DefaultFileRenamePolicy dfp=new DefaultFileRenamePolicy();
12 | MultipartRequest multi=new MultipartRequest(request,saveDirectory,maxPostSize,"UTF-8",dfp);
13 | Enumeration files=multi.getFileNames();
14 | while(files.hasMoreElements()){
15 | System.err.println("ccc");
16 | String name=(String)files.nextElement();
17 | File f=multi.getFile(name);
18 | if(f!=null){
19 | String fileName=multi.getFilesystemName(name);
20 | System.out.println("ddddddddd"+fileName);
21 | //h获取上传文件的车站名
22 | String extName=fileName.substring(fileName.lastIndexOf(".")+1);
23 | //文件全路径
24 | String lastFileName=saveDirectory+"\\"+fileName;
25 | //获取需要转换的文件名,将路径名中得\替换为/
26 | String converfilename=saveDirectory.replaceAll("\\\\","/")+"/"+fileName;
27 | System.out.println("adajsdjas"+converfilename);
28 | //调用转换类DocConverter,并将需要转换的文件传递给该类的构造方法
29 | DocConverter d=new DocConverter(converfilename);
30 | //调用conver方法开始转换,先执行doc2pdf()将office文件转换为pdf;再执行pdf2swf()将pdf转换为swf;
31 | d.conver();
32 | //调用getswfPath()方法,打印转换后的swf文件路径
33 | System.out.println("aaaaaaaaaaa"+d.getswfPath());
34 | //生成swf相对路径,以便传递给flexpaper播放器
35 | String swfpath="upload"+d.getswfPath().substring(d.getswfPath().lastIndexOf("/"));
36 | System.out.println("文件路径"+swfpath);
37 | //将相对路径放入session中保存
38 | session.setAttribute("swfpath",swfpath);
39 | out.println("上传的文件:"+lastFileName);
40 | out.println("文件类型"+extName);
41 | out.println("
");
42 | }
43 | }
44 | %>
45 |
46 |
47 |
48 |
49 | Insert title here
50 |
78 |
79 |
80 |
81 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/documentUpload.jsp:
--------------------------------------------------------------------------------
1 | <%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2 |
3 |
4 |
5 |
6 | 文档在线预览系统
7 |
9 |
10 |
11 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/documentView.jsp:
--------------------------------------------------------------------------------
1 | <%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2 | <%
3 | String swfFilePath=session.getAttribute("swfpath").toString();
4 | System.out.println("展示路径"+swfFilePath);
5 | %>
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
16 |
29 | 在线文档预览
30 |
31 |
32 |
73 |
74 |
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/index.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
2 | <%
3 | String path = request.getContextPath();
4 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
5 | %>
6 |
7 |
8 |
9 |
10 |
11 |
12 | My JSP 'index.jsp' starting page
13 |
14 |
15 |
16 |
17 |
18 |
21 |
22 |
23 |
24 | This is my JSP page.
25 |
26 |
27 |
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/js/FlexPaperViewer.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/liaowp/OnlinePreview/64edd7568fea5017ff881aaac679352b7e20198d/OnlinePreview/WebRoot/js/FlexPaperViewer.swf
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/js/flexpaper.js:
--------------------------------------------------------------------------------
1 | /**
2 | The FlexPaper Project
3 |
4 | This file is part of FlexPaper.
5 |
6 | FlexPaper is free software: you can redistribute it and/or modify
7 | it under the terms of the GNU General Public License as published by
8 | the Free Software Foundation, version 3 of the License.
9 |
10 | FlexPaper is distributed in the hope that it will be useful,
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | GNU General Public License for more details.
14 |
15 | You should have received a copy of the GNU General Public License
16 | along with FlexPaper. If not, see .
17 |
18 | For more information on FlexPaper please see the FlexPaper project
19 | home page: http://flexpaper.devaldi.com
20 | */
21 |
22 | /**
23 | *
24 | * FlexPaper helper function for retrieving a active FlexPaper instance
25 | *
26 | */
27 | window.$FlexPaper = window.getDocViewer = window["$FlexPaper"] = function(id){
28 | var instance = (id==="undefined")?"":id;
29 |
30 | return window["FlexPaperViewer_Instance"+instance].getApi();
31 | };
32 |
33 | /**
34 | *
35 | * FlexPaper embedding (name of placeholder, config)
36 | *
37 | */
38 | window.FlexPaperViewerEmbedding = window.$f = function(id, args) {
39 | var config = args.config;
40 | var _SWFFile,_PDFFile,_IMGFiles,_JSONFile = "",_jsDirectory="",_cssDirectory="",_localeDirectory="";_WMode = (config.WMode!=null||config.wmmode!=null?config.wmmode||config.WMode:"window");
41 | var _uDoc = ((config.DOC !=null)?unescape(config.DOC):null);
42 | var instance = "FlexPaperViewer_Instance"+((id==="undefined")?"":id);
43 | var _JSONDataType = (config.JSONDataType!=null)?config.JSONDataType:"json";
44 | if (_uDoc != null) {
45 | _SWFFile = translateUrlByFormat(_uDoc,"swf");
46 | _PDFFile = translateUrlByFormat(_uDoc,"pdf");
47 | _JSONFile = translateUrlByFormat(_uDoc,_JSONDataType);
48 | _IMGFiles = translateUrlByFormat(_uDoc,"png");
49 | }
50 |
51 | _SWFFile = (config.SwfFile!=null?config.SwfFile:_SWFFile);
52 | _SWFFile = (config.SWFFile!=null?config.SWFFile:_SWFFile);
53 | _PDFFile = (config.PDFFile!=null?config.PDFFile:_PDFFile);
54 | _IMGFiles = (config.IMGFiles!=null?config.IMGFiles:_IMGFiles);
55 | _IMGFiles = (config.PageImagePattern!=null?config.PageImagePattern:_IMGFiles);
56 | _JSONFile = (config.JSONFile!=null?config.JSONFile:_JSONFile);
57 | _jsDirectory = (config.jsDirectory!=null?config.jsDirectory:FLEXPAPER.detectjsdir());
58 | _cssDirectory = (config.cssDirectory!=null?config.cssDirectory:FLEXPAPER.detectcssdir());
59 | _localeDirectory = (config.localeDirectory!=null?config.localeDirectory:"locale/");
60 | if(_SWFFile!=null && _SWFFile.indexOf("{" )==0 && _SWFFile.indexOf("[*," ) > 0 && _SWFFile.indexOf("]" ) > 0){_SWFFile = escape(_SWFFile);} // split file fix
61 | window[instance] = flashembed(id, {
62 | src : _jsDirectory+"FlexPaperViewer.swf",
63 | version : [10, 0],
64 | expressInstall : "js/expressinstall.swf",
65 | wmode : _WMode
66 | },{
67 | ElementId : id,
68 | SwfFile : _SWFFile,
69 | PdfFile : _PDFFile,
70 | IMGFiles : _IMGFiles,
71 | JSONFile : _JSONFile,
72 | useCustomJSONFormat : config.useCustomJSONFormat,
73 | JSONPageDataFormat : config.JSONPageDataFormat,
74 | JSONDataType : _JSONDataType,
75 | Scale : (config.Scale!=null)?config.Scale:0.8,
76 | ZoomTransition : (config.ZoomTransition!=null)?config.ZoomTransition:'easeOut',
77 | ZoomTime : (config.ZoomTime!=null)?config.ZoomTime:0.5,
78 | ZoomInterval : (config.ZoomInterval)?config.ZoomInterval:0.2,
79 | FitPageOnLoad : (config.FitPageOnLoad!=null)?config.FitPageOnLoad:false,
80 | FitWidthOnLoad : (config.FitWidthOnLoad!=null)?config.FitWidthOnLoad:false,
81 | FullScreenAsMaxWindow : (config.FullScreenAsMaxWindow!=null)?config.FullScreenAsMaxWindow:false,
82 | ProgressiveLoading : (config.ProgressiveLoading!=null)?config.ProgressiveLoading:false,
83 | MinZoomSize : (config.MinZoomSize!=null)?config.MinZoomSize:0.2,
84 | MaxZoomSize : (config.MaxZoomSize!=null)?config.MaxZoomSize:5,
85 | SearchMatchAll : (config.SearchMatchAll!=null)?config.SearchMatchAll:false,
86 | SearchServiceUrl : config.SearchServiceUrl,
87 | InitViewMode : config.InitViewMode,
88 | BitmapBasedRendering : (config.BitmapBasedRendering!=null)?config.BitmapBasedRendering:false,
89 | StartAtPage : config.StartAtPage,
90 | PrintPaperAsBitmap : (config.PrintPaperAsBitmap!=null)?config.PrintPaperAsBitmap:false,
91 | AutoAdjustPrintSize : (config.AutoAdjustPrintSize!=null)?config.AutoAdjustPrintSize:false,
92 |
93 | EnableCornerDragging : ((config.EnableCornerDragging!=null)?config.EnableCornerDragging:true), // FlexPaper Zine parameter
94 | BackgroundColor : config.BackgroundColor, // FlexPaper Zine parameter
95 | PanelColor : config.PanelColor, // FlexPaper Zine parameter
96 | BackgroundAlpha : config.BackgroundAlpha, // FlexPaper Zine parameter
97 | UIConfig : config.UIConfig, // FlexPaper Zine parameter
98 |
99 | ViewModeToolsVisible : ((config.ViewModeToolsVisible!=null)?config.ViewModeToolsVisible:true),
100 | ZoomToolsVisible : ((config.ZoomToolsVisible!=null)?config.ZoomToolsVisible:true),
101 | NavToolsVisible : ((config.NavToolsVisible!=null)?config.NavToolsVisible:true),
102 | CursorToolsVisible : ((config.SearchToolsVisible!=null)?config.CursorToolsVisible:true),
103 | SearchToolsVisible : ((config.SearchToolsVisible!=null)?config.SearchToolsVisible:true),
104 | StickyTools : config.StickyTools,
105 | Toolbar : config.Toolbar,
106 | DocSizeQueryService : config.DocSizeQueryService,
107 |
108 | RenderingOrder : config.RenderingOrder,
109 |
110 | localeChain : (config.localeChain!=null)?config.localeChain:"en_US",
111 | jsDirectory : _jsDirectory,
112 | cssDirectory : _cssDirectory,
113 | localeDirectory : _localeDirectory,
114 | key : config.key
115 | });
116 | };
117 |
118 | function translateUrlByDocument(url,document){
119 | return (url!=null && url.indexOf('{doc}') > 0 ? url.replace("{doc}", document):null);
120 | }
121 |
122 | function translateUrlByFormat(url,format){
123 | if(url.indexOf("{") == 0 && format != "swf"){ // loading in split file mode
124 | url = url.substring(1,url.lastIndexOf(","));
125 | url = url.replace("[*,0]","{page}")
126 | }
127 | return (url!=null && url.indexOf('{format}') > 0 ? url.replace("{format}", format):null);
128 | }
129 |
130 | /**
131 | *
132 | * FlexPaper embedding functionality. Based on FlashEmbed
133 | *
134 | */
135 |
136 | (function() {
137 |
138 | var IE = document.all,
139 | URL = 'http://www.adobe.com/go/getflashplayer',
140 | JQUERY = typeof jQuery == 'function',
141 | RE = /(\d+)[^\d]+(\d+)[^\d]*(\d*)/,
142 | MOBILE = (function(){try {return 'ontouchstart' in document.documentElement;} catch (e) {return false;} })(),
143 | GLOBAL_OPTS = {
144 | // very common opts
145 | width: '100%',
146 | height: '100%',
147 | id: "_" + ("" + Math.random()).slice(9),
148 |
149 | // flashembed defaults
150 | allowfullscreen: true,
151 | allowscriptaccess: 'always',
152 | quality: 'high',
153 | allowFullScreenInteractive : true,
154 |
155 | // flashembed specific options
156 | version: [10, 0],
157 | onFail: null,
158 | expressInstall: null,
159 | w3c: false,
160 | cachebusting: false
161 | };
162 |
163 | window.isTouchScreen = MOBILE;
164 |
165 | if (window.attachEvent) {
166 | window.attachEvent("onbeforeunload", function() {
167 | __flash_unloadHandler = function() {};
168 | __flash_savedUnloadHandler = function() {};
169 | });
170 | }
171 |
172 | // simple extend
173 | function extend(to, from) {
174 | if (from) {
175 | for (var key in from) {
176 | if (from.hasOwnProperty(key)) {
177 | to[key] = from[key];
178 | }
179 | }
180 | }
181 | return to;
182 | }
183 |
184 | // used by Flash to dispatch a event properly
185 | window.dispatchJQueryEvent = function (elementId,eventName,args){
186 | jQuery('#'+elementId).trigger(eventName,args);
187 | }
188 |
189 | // used by asString method
190 | function map(arr, func) {
191 | var newArr = [];
192 | for (var i in arr) {
193 | if (arr.hasOwnProperty(i)) {
194 | newArr[i] = func(arr[i]);
195 | }
196 | }
197 | return newArr;
198 | }
199 |
200 | window.flashembed = function(root, opts, conf) {
201 | // root must be found / loaded
202 | if (typeof root == 'string') {
203 | root = document.getElementById(root.replace("#", ""));
204 | }
205 | // not found
206 | if (!root) { return; }
207 |
208 | root.onclick = function(){return false;}
209 |
210 | if (typeof opts == 'string') {
211 | opts = {src: opts};
212 | }
213 |
214 | return new Flash(root, extend(extend({}, GLOBAL_OPTS), opts), conf);
215 | };
216 |
217 | // flashembed "static" API
218 | var f = extend(window.flashembed, {
219 |
220 | conf: GLOBAL_OPTS,
221 |
222 | getVersion: function() {
223 | var fo, ver;
224 |
225 | try {
226 | ver = navigator.plugins["Shockwave Flash"].description.slice(16);
227 | } catch(e) {
228 |
229 | try {
230 | fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
231 | ver = fo && fo.GetVariable("$version");
232 |
233 | } catch(err) {
234 | try {
235 | fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
236 | ver = fo && fo.GetVariable("$version");
237 | } catch(err2) { }
238 | }
239 | }
240 |
241 | ver = RE.exec(ver);
242 | return ver ? [ver[1], ver[3]] : [0, 0];
243 | },
244 |
245 | asString: function(obj) {
246 |
247 | if (obj === null || obj === undefined) { return null; }
248 | var type = typeof obj;
249 | if (type == 'object' && obj.push) { type = 'array'; }
250 |
251 | switch (type){
252 |
253 | case 'string':
254 | obj = obj.replace(new RegExp('(["\\\\])', 'g'), '\\$1');
255 |
256 | // flash does not handle %- characters well. transforms "50%" to "50pct" (a dirty hack, I admit)
257 | obj = obj.replace(/^\s?(\d+\.?\d+)%/, "$1pct");
258 | return '"' +obj+ '"';
259 |
260 | case 'array':
261 | return '['+ map(obj, function(el) {
262 | return f.asString(el);
263 | }).join(',') +']';
264 |
265 | case 'function':
266 | return '"function()"';
267 |
268 | case 'object':
269 | var str = [];
270 | for (var prop in obj) {
271 | if (obj.hasOwnProperty(prop)) {
272 | str.push('"'+prop+'":'+ f.asString(obj[prop]));
273 | }
274 | }
275 | return '{'+str.join(',')+'}';
276 | }
277 |
278 | // replace ' --> " and remove spaces
279 | return String(obj).replace(/\s/g, " ").replace(/\'/g, "\"");
280 | },
281 |
282 | getHTML: function(opts, conf) {
283 |
284 | opts = extend({}, opts);
285 | opts.id = opts.id + (" " + Math.random()).slice(9);
286 |
287 | /******* OBJECT tag and it's attributes *******/
288 | var html = '";
335 |
336 | return html;
337 | },
338 |
339 | isSupported: function(ver) {
340 | return VERSION[0] > ver[0] || VERSION[0] == ver[0] && VERSION[1] >= ver[1];
341 | }
342 |
343 | });
344 |
345 | var VERSION = f.getVersion();
346 |
347 | function Flash(root, opts, conf) {
348 | var userAgent = navigator.userAgent.toLowerCase();
349 | var browser = {
350 | version: (userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/) || [])[1],
351 | safari: /webkit/.test(userAgent),
352 | opera: /opera/.test(userAgent),
353 | msie: /msie/.test(userAgent) && !/opera/.test(userAgent),
354 | mozilla: /mozilla/.test(userAgent) && !/(compatible|webkit)/.test(userAgent),
355 | chrome: /chrome/.test(userAgent)
356 | };
357 |
358 | // Default to a rendering mode if its not set
359 | if(!conf.RenderingOrder && conf.SwfFile != null){conf.RenderingOrder = "flash";}
360 |
361 | // version is ok
362 | if (f.isSupported(opts.version)) {
363 | root.innerHTML = f.getHTML(opts, conf);
364 | // express install
365 | } else if (opts.expressInstall && f.isSupported([6, 65])) {
366 | root.innerHTML = f.getHTML(extend(opts, {src: opts.expressInstall}), {
367 | MMredirectURL: location.href,
368 | MMplayerType: 'PlugIn',
369 | MMdoctitle: document.title
370 | });
371 |
372 | } else { //use html viewer or die
373 | // fail #2.1 custom content inside container
374 | if (!root.innerHTML.replace(/\s/g, '')) {
375 | var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
376 |
377 | root.innerHTML =
378 | "Your browser is not compatible with FlexPaper
" +
379 | "Upgrade to a newer browser or download Adobe Flash Player 10 or higher.
" +
380 | "Click on the icon below to download the latest version of Adobe Flash" +
381 | "
";
383 |
384 | if (root.tagName == 'A') {
385 | root.onclick = function() {
386 | location.href = URL;
387 | };
388 | }
389 | }
390 |
391 | // onFail
392 | if (opts.onFail) {
393 | var ret = opts.onFail.call(this);
394 | if (typeof ret == 'string') { root.innerHTML = ret; }
395 | }
396 | }
397 |
398 | // http://flowplayer.org/forum/8/18186#post-18593
399 | if (IE) {
400 | window[opts.id] = document.getElementById(opts.id);
401 | }
402 |
403 | // API methods for callback
404 | extend(this, {
405 |
406 | getRoot: function() {
407 | return root;
408 | },
409 |
410 | getOptions: function() {
411 | return opts;
412 | },
413 |
414 |
415 | getConf: function() {
416 | return conf;
417 | },
418 |
419 | getApi: function() {
420 | return root.firstChild;
421 | }
422 |
423 | });
424 | }
425 |
426 | // setup jquery support
427 | if (JQUERY) {
428 | jQuery.fn.flashembed = function(opts, conf) {
429 | return this.each(function() {
430 | jQuery(this).data("flashembed", flashembed(this, opts, conf));
431 | });
432 | };
433 |
434 | jQuery.fn.FlexPaperViewer = function(args){
435 | this.element = new FlexPaperViewerEmbedding(this.attr('id'),args);
436 | };
437 | }else{
438 | throw new Error("jQuery missing!");
439 | }
440 | })();
441 |
442 |
443 | /**
444 | * 描述:拷贝FlexPaper_zine_trial,获取项目的flexpaper js文件路径
445 | * @author:xuzengqiang
446 | * @since :2015-6-5 11:10:04
447 | */
448 | (function() {
449 | if(!window.FLEXPAPER){
450 | window.FLEXPAPER = {};
451 | }
452 |
453 | /**
454 | * 描述:获取js文件目录
455 | */
456 | FLEXPAPER.detectjsdir = function(){
457 | if(jQuery('script[src$="flexpaper.js"]').length>0){
458 | return jQuery('script[src$="flexpaper.js"]').attr('src').replace('flexpaper.js','');
459 | }else{
460 | return "js/";
461 | }
462 | };
463 |
464 | FLEXPAPER.detectcssdir= function(){
465 | if(jQuery('link[href$="flexpaper.css"]').length>0){
466 | return jQuery('link[href$="flexpaper.css"]').attr('href').replace('flexpaper_zine.css','');
467 | }else{
468 | return "css/";
469 | }
470 | };
471 | })();
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/js/flexpaper_flash.js:
--------------------------------------------------------------------------------
1 | window.$FlexPaper = window["$FlexPaper"] = function(){
2 | if (window['flexpaper'])
3 | return window['flexpaper'];
4 | else
5 | window['flexpaper'] = window.FlexPaperViewer_Instance.getApi();
6 |
7 | return window['flexpaper'];
8 | };
9 |
10 | /**
11 | *
12 | * FlexPaper constructor (name of swf, name of placeholder, config)
13 | *
14 | */
15 | window.FlexPaperViewer = window.$f = function() {
16 | var config = arguments[2].config;
17 |
18 | window.FlexPaperViewer_Instance = flashembed(arguments[1], {
19 |
20 | src: arguments[0]+".swf",
21 | version: [10, 0],
22 | expressInstall: "js/expressinstall.swf"
23 | },{
24 | SwfFile : config.SwfFile,
25 | Scale : config.Scale,
26 | ZoomTransition : config.ZoomTransition,
27 | ZoomTime : config.ZoomTime,
28 | ZoomInterval : config.ZoomInterval,
29 | FitPageOnLoad : config.FitPageOnLoad,
30 | FitWidthOnLoad : config.FitWidthOnLoad,
31 | FullScreenAsMaxWindow : config.FullScreenAsMaxWindow,
32 | ProgressiveLoading : config.ProgressiveLoading,
33 | MinZoomSize : config.MinZoomSize,
34 | MaxZoomSize : config.MaxZoomSize,
35 | SearchMatchAll : config.SearchMatchAll,
36 | SearchServiceUrl : config.SearchServiceUrl,
37 | InitViewMode : config.InitViewMode,
38 | BitmapBasedRendering : config.BitmapBasedRendering,
39 | StartAtPage : config.StartAtPage,
40 | PrintPaperAsBitmap : config.PrintPaperAsBitmap,
41 | AutoAdjustPrintSize : config.AutoAdjustPrintSize,
42 |
43 | ViewModeToolsVisible : config.ViewModeToolsVisible,
44 | ZoomToolsVisible : config.ZoomToolsVisible,
45 | NavToolsVisible : config.NavToolsVisible,
46 | CursorToolsVisible : config.CursorToolsVisible,
47 | SearchToolsVisible : config.SearchToolsVisible,
48 |
49 | RenderingOrder : config.RenderingOrder,
50 |
51 | localeChain : config.localeChain,
52 | key : config.key
53 | });
54 | };
55 |
56 |
57 |
58 | /**
59 | * Handles the event of external links getting clicked in the document.
60 | *
61 | * @example onExternalLinkClicked("http://www.google.com")
62 | *
63 | * @param String link
64 | */
65 | function onExternalLinkClicked(link){
66 | // alert("link " + link + " clicked" );
67 | window.location.href = link;
68 | }
69 |
70 | /**
71 | * Recieves progress information about the document being loaded
72 | *
73 | * @example onProgress( 100,10000 );
74 | *
75 | * @param int loaded
76 | * @param int total
77 | */
78 | function onProgress(loadedBytes,totalBytes){
79 | }
80 |
81 | /**
82 | * Handles the event of a document is in progress of loading
83 | *
84 | */
85 | function onDocumentLoading(){
86 | }
87 |
88 | /**
89 | * Receives messages about the current page being changed
90 | *
91 | * @example onCurrentPageChanged( 10 );
92 | *
93 | * @param int pagenum
94 | */
95 | function onCurrentPageChanged(pagenum){
96 | }
97 |
98 | /**
99 | * Receives messages about the document being loaded
100 | *
101 | * @example onDocumentLoaded( 20 );
102 | *
103 | * @param int totalPages
104 | */
105 | function onDocumentLoaded(totalPages){
106 | }
107 |
108 | /**
109 | * Handles the event of a document is in progress of loading
110 | *
111 | */
112 | function onPageLoading(pageNumber){
113 | }
114 |
115 | /**
116 | * Receives messages about the page loaded
117 | *
118 | * @example onPageLoaded( 1 );
119 | *
120 | * @param int pageNumber
121 | */
122 | function onPageLoaded(pageNumber){
123 | }
124 |
125 | /**
126 | * Receives error messages when a document is not loading properly
127 | *
128 | * @example onDocumentLoadedError( "Network error" );
129 | *
130 | * @param String errorMessage
131 | */
132 | function onDocumentLoadedError(errMessage){
133 | }
134 |
135 | /**
136 | * Receives error messages when a document has finished printed
137 | *
138 | * @example onDocumentPrinted();
139 | *
140 | */
141 | function onDocumentPrinted(){
142 | }
143 |
144 |
145 |
146 | /**
147 | *
148 | * FlexPaper embedding functionality. Based on FlashEmbed
149 | *
150 | */
151 |
152 | (function() {
153 |
154 | var IE = document.all,
155 | URL = 'http://www.adobe.com/go/getflashplayer',
156 | JQUERY = typeof jQuery == 'function',
157 | RE = /(\d+)[^\d]+(\d+)[^\d]*(\d*)/,
158 | GLOBAL_OPTS = {
159 | // very common opts
160 | width: '100%',
161 | height: '100%',
162 | id: "_" + ("" + Math.random()).slice(9),
163 |
164 | // flashembed defaults
165 | allowfullscreen: true,
166 | allowscriptaccess: 'always',
167 | quality: 'high',
168 |
169 | // flashembed specific options
170 | version: [3, 0],
171 | onFail: null,
172 | expressInstall: null,
173 | w3c: false,
174 | cachebusting: false
175 | };
176 |
177 | if(IE){GLOBAL_OPTS.cachebusting=true;}
178 |
179 | // version 9 bugfix: (http://blog.deconcept.com/2006/07/28/swfobject-143-released/)
180 | if (window.attachEvent) {
181 | window.attachEvent("onbeforeunload", function() {
182 | __flash_unloadHandler = function() {};
183 | __flash_savedUnloadHandler = function() {};
184 | });
185 | }
186 |
187 | // simple extend
188 | function extend(to, from) {
189 | if (from) {
190 | for (var key in from) {
191 | if (from.hasOwnProperty(key)) {
192 | to[key] = from[key];
193 | }
194 | }
195 | }
196 | return to;
197 | }
198 |
199 | // used by asString method
200 | function map(arr, func) {
201 | var newArr = [];
202 | for (var i in arr) {
203 | if (arr.hasOwnProperty(i)) {
204 | newArr[i] = func(arr[i]);
205 | }
206 | }
207 | return newArr;
208 | }
209 |
210 | window.flashembed = function(root, opts, conf) {
211 |
212 | // root must be found / loaded
213 | if (typeof root == 'string') {
214 | root = document.getElementById(root.replace("#", ""));
215 | }
216 |
217 | // not found
218 | if (!root) { return; }
219 |
220 | root.onclick = function(){return false;}
221 |
222 | if (typeof opts == 'string') {
223 | opts = {src: opts};
224 | }
225 |
226 | return new Flash(root, extend(extend({}, GLOBAL_OPTS), opts), conf);
227 | };
228 |
229 | // flashembed "static" API
230 | var f = extend(window.flashembed, {
231 |
232 | conf: GLOBAL_OPTS,
233 |
234 | getVersion: function() {
235 | var fo, ver;
236 |
237 | try {
238 | ver = navigator.plugins["Shockwave Flash"].description.slice(16);
239 | } catch(e) {
240 |
241 | try {
242 | fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
243 | ver = fo && fo.GetVariable("$version");
244 |
245 | } catch(err) {
246 | try {
247 | fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
248 | ver = fo && fo.GetVariable("$version");
249 | } catch(err2) { }
250 | }
251 | }
252 |
253 | ver = RE.exec(ver);
254 | return ver ? [ver[1], ver[3]] : [0, 0];
255 | },
256 |
257 | asString: function(obj) {
258 |
259 | if (obj === null || obj === undefined) { return null; }
260 | var type = typeof obj;
261 | if (type == 'object' && obj.push) { type = 'array'; }
262 |
263 | switch (type){
264 |
265 | case 'string':
266 | obj = obj.replace(new RegExp('(["\\\\])', 'g'), '\\$1');
267 |
268 | // flash does not handle %- characters well. transforms "50%" to "50pct" (a dirty hack, I admit)
269 | obj = obj.replace(/^\s?(\d+\.?\d+)%/, "$1pct");
270 | return '"' +obj+ '"';
271 |
272 | case 'array':
273 | return '['+ map(obj, function(el) {
274 | return f.asString(el);
275 | }).join(',') +']';
276 |
277 | case 'function':
278 | return '"function()"';
279 |
280 | case 'object':
281 | var str = [];
282 | for (var prop in obj) {
283 | if (obj.hasOwnProperty(prop)) {
284 | str.push('"'+prop+'":'+ f.asString(obj[prop]));
285 | }
286 | }
287 | return '{'+str.join(',')+'}';
288 | }
289 |
290 | // replace ' --> " and remove spaces
291 | return String(obj).replace(/\s/g, " ").replace(/\'/g, "\"");
292 | },
293 |
294 | getHTML: function(opts, conf) {
295 |
296 | opts = extend({}, opts);
297 |
298 | /******* OBJECT tag and it's attributes *******/
299 | var html = '";
346 |
347 | return html;
348 | },
349 |
350 | isSupported: function(ver) {
351 | return VERSION[0] > ver[0] || VERSION[0] == ver[0] && VERSION[1] >= ver[1];
352 | }
353 |
354 | });
355 |
356 | var VERSION = f.getVersion();
357 |
358 | function Flash(root, opts, conf) {
359 |
360 | // version is ok
361 | if (f.isSupported(opts.version)) {
362 | root.innerHTML = f.getHTML(opts, conf);
363 |
364 | // express install
365 | } else if (opts.expressInstall && f.isSupported([6, 65])) {
366 | root.innerHTML = f.getHTML(extend(opts, {src: opts.expressInstall}), {
367 | MMredirectURL: location.href,
368 | MMplayerType: 'PlugIn',
369 | MMdoctitle: document.title
370 | });
371 |
372 | } else {
373 |
374 | // fail #2.1 custom content inside container
375 | if (!root.innerHTML.replace(/\s/g, '')) {
376 | /* root.innerHTML =
377 | "
Flash version " + opts.version + " or greater is required
" +
378 | "" +
379 | (VERSION[0] > 0 ? "Your version is " + VERSION : "You have no flash plugin installed") +
380 | "
" +
381 |
382 | (root.tagName == 'A' ? "Click here to download latest version
" :
383 | "Download latest version from here
");
384 | */
385 | var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
386 |
387 | root.innerHTML = "
";
389 |
390 | if (root.tagName == 'A') {
391 | root.onclick = function() {
392 | location.href = URL;
393 | };
394 | }
395 | }
396 |
397 | // onFail
398 | if (opts.onFail) {
399 | var ret = opts.onFail.call(this);
400 | if (typeof ret == 'string') { root.innerHTML = ret; }
401 | }
402 | }
403 |
404 | // http://flowplayer.org/forum/8/18186#post-18593
405 | if (IE) {
406 | window[opts.id] = document.getElementById(opts.id);
407 | }
408 |
409 | // API methods for callback
410 | extend(this, {
411 |
412 | getRoot: function() {
413 | return root;
414 | },
415 |
416 | getOptions: function() {
417 | return opts;
418 | },
419 |
420 |
421 | getConf: function() {
422 | return conf;
423 | },
424 |
425 | getApi: function() {
426 | return root.firstChild;
427 | }
428 |
429 | });
430 | }
431 |
432 | // setup jquery support
433 | if (JQUERY) {
434 |
435 | // tools version number
436 | jQuery.tools = jQuery.tools || {version: '1.2.5'};
437 |
438 | jQuery.tools.flashembed = {
439 | conf: GLOBAL_OPTS
440 | };
441 |
442 | jQuery.fn.flashembed = function(opts, conf) {
443 | return this.each(function() {
444 | $(this).data("flashembed", flashembed(this, opts, conf));
445 | });
446 | };
447 | }
448 |
449 | })();
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/js/flexpaper_flash_debug.js:
--------------------------------------------------------------------------------
1 | window.$FlexPaper = window["$FlexPaper"] = function(){
2 | if (window['flexpaper'])
3 | return window['flexpaper'];
4 | else
5 | window['flexpaper'] = window.FlexPaperViewer_Instance.getApi();
6 |
7 | return window['flexpaper'];
8 | };
9 |
10 | /**
11 | *
12 | * FlexPaper constructor (name of swf, name of placeholder, config)
13 | *
14 | */
15 | window.FlexPaperViewer = window.$f = function() {
16 | var config = arguments[2].config;
17 |
18 | window.FlexPaperViewer_Instance = flashembed(arguments[1], {
19 |
20 | src: arguments[0]+".swf",
21 | version: [10, 0],
22 | expressInstall: "js/expressinstall.swf"
23 | },{
24 | SwfFile : config.SwfFile,
25 | Scale : config.Scale,
26 | ZoomTransition : config.ZoomTransition,
27 | ZoomTime : config.ZoomTime,
28 | ZoomInterval : config.ZoomInterval,
29 | FitPageOnLoad : config.FitPageOnLoad,
30 | FitWidthOnLoad : config.FitWidthOnLoad,
31 | FullScreenAsMaxWindow : config.FullScreenAsMaxWindow,
32 | ProgressiveLoading : config.ProgressiveLoading,
33 | MinZoomSize : config.MinZoomSize,
34 | MaxZoomSize : config.MaxZoomSize,
35 | SearchMatchAll : config.SearchMatchAll,
36 | SearchServiceUrl : config.SearchServiceUrl,
37 | InitViewMode : config.InitViewMode,
38 | BitmapBasedRendering : config.BitmapBasedRendering,
39 | StartAtPage : config.StartAtPage,
40 | PrintPaperAsBitmap : config.PrintPaperAsBitmap,
41 | AutoAdjustPrintSize : config.AutoAdjustPrintSize,
42 |
43 | ViewModeToolsVisible : config.ViewModeToolsVisible,
44 | ZoomToolsVisible : config.ZoomToolsVisible,
45 | NavToolsVisible : config.NavToolsVisible,
46 | CursorToolsVisible : config.CursorToolsVisible,
47 | SearchToolsVisible : config.SearchToolsVisible,
48 |
49 | RenderingOrder : config.RenderingOrder,
50 |
51 | localeChain : config.localeChain,
52 | key : config.key
53 | });
54 | };
55 |
56 |
57 |
58 | /**
59 | * Handles the event of external links getting clicked in the document.
60 | *
61 | * @example onExternalLinkClicked("http://www.google.com")
62 | *
63 | * @param String link
64 | */
65 | function onExternalLinkClicked(link){
66 | $("#txt_eventlog").val('onExternalLinkClicked:' + link + '\n' + $("#txt_eventlog").val());
67 | }
68 |
69 | /**
70 | * Recieves progress information about the document being loaded
71 | *
72 | * @example onProgress( 100,10000 );
73 | *
74 | * @param int loaded
75 | * @param int total
76 | */
77 | function onProgress(loadedBytes,totalBytes){
78 | $("#txt_progress").val('onProgress:' + loadedBytes + '/' + totalBytes + '\n');
79 | }
80 |
81 | /**
82 | * Handles the event of a document is in progress of loading
83 | *
84 | */
85 | function onDocumentLoading(){
86 | $("#txt_eventlog").val('onDocumentLoading' + '\n' + $("#txt_eventlog").val());
87 | }
88 |
89 | /**
90 | * Handles the event of a document is in progress of loading
91 | *
92 | */
93 | function onPageLoading(pageNumber){
94 | $("#txt_eventlog").val('onPageLoading:' + pageNumber + '\n' + $("#txt_eventlog").val());
95 | }
96 |
97 | /**
98 | * Receives messages about the current page being changed
99 | *
100 | * @example onCurrentPageChanged( 10 );
101 | *
102 | * @param int pagenum
103 | */
104 | function onCurrentPageChanged(pagenum){
105 | $("#txt_eventlog").val('onCurrentPageChanged:' + pagenum + '\n' + $("#txt_eventlog").val());
106 | }
107 |
108 | /**
109 | * Receives messages about the document being loaded
110 | *
111 | * @example onDocumentLoaded( 20 );
112 | *
113 | * @param int totalPages
114 | */
115 | function onDocumentLoaded(totalPages){
116 | $("#txt_eventlog").val('onDocumentLoaded:' + totalPages + '\n' + $("#txt_eventlog").val());
117 | }
118 |
119 | /**
120 | * Receives messages about the page loaded
121 | *
122 | * @example onPageLoaded( 1 );
123 | *
124 | * @param int pageNumber
125 | */
126 | function onPageLoaded(pageNumber){
127 | $("#txt_eventlog").val('onPageLoaded:' + pageNumber + '\n' + $("#txt_eventlog").val());
128 | }
129 |
130 | /**
131 | * Receives messages about the page loaded
132 | *
133 | * @example onErrorLoadingPage( 1 );
134 | *
135 | * @param int pageNumber
136 | */
137 | function onErrorLoadingPage(pageNumber){
138 | $("#txt_eventlog").val('onErrorLoadingPage:' + pageNumber + '\n' + $("#txt_eventlog").val());
139 | }
140 |
141 | /**
142 | * Receives error messages when a document is not loading properly
143 | *
144 | * @example onDocumentLoadedError( "Network error" );
145 | *
146 | * @param String errorMessage
147 | */
148 | function onDocumentLoadedError(errMessage){
149 | $("#txt_eventlog").val('onDocumentLoadedError:' + errMessage + '\n' + $("#txt_eventlog").val());
150 | }
151 |
152 | /**
153 | * Receives error messages when a document has finished printed
154 | *
155 | * @example onDocumentPrinted();
156 | *
157 | */
158 | function onDocumentPrinted(){
159 | $("#txt_eventlog").val('onDocumentPrinted\n' + $("#txt_eventlog").val());
160 | }
161 |
162 |
163 | /**
164 | *
165 | * FlexPaper embedding functionality. Based on FlashEmbed
166 | *
167 | */
168 |
169 | (function() {
170 |
171 | var IE = document.all,
172 | URL = 'http://www.adobe.com/go/getflashplayer',
173 | JQUERY = typeof jQuery == 'function',
174 | RE = /(\d+)[^\d]+(\d+)[^\d]*(\d*)/,
175 | GLOBAL_OPTS = {
176 | // very common opts
177 | width: '100%',
178 | height: '100%',
179 | id: "_" + ("" + Math.random()).slice(9),
180 |
181 | // flashembed defaults
182 | allowfullscreen: true,
183 | allowscriptaccess: 'always',
184 | quality: 'high',
185 |
186 | // flashembed specific options
187 | version: [3, 0],
188 | onFail: null,
189 | expressInstall: null,
190 | w3c: false,
191 | cachebusting: false
192 | };
193 |
194 | if(IE){GLOBAL_OPTS.cachebusting=true;}
195 |
196 | // version 9 bugfix: (http://blog.deconcept.com/2006/07/28/swfobject-143-released/)
197 | if (window.attachEvent) {
198 | window.attachEvent("onbeforeunload", function() {
199 | __flash_unloadHandler = function() {};
200 | __flash_savedUnloadHandler = function() {};
201 | });
202 | }
203 |
204 | // simple extend
205 | function extend(to, from) {
206 | if (from) {
207 | for (var key in from) {
208 | if (from.hasOwnProperty(key)) {
209 | to[key] = from[key];
210 | }
211 | }
212 | }
213 | return to;
214 | }
215 |
216 | // used by asString method
217 | function map(arr, func) {
218 | var newArr = [];
219 | for (var i in arr) {
220 | if (arr.hasOwnProperty(i)) {
221 | newArr[i] = func(arr[i]);
222 | }
223 | }
224 | return newArr;
225 | }
226 |
227 | window.flashembed = function(root, opts, conf) {
228 |
229 | // root must be found / loaded
230 | if (typeof root == 'string') {
231 | root = document.getElementById(root.replace("#", ""));
232 | }
233 |
234 | // not found
235 | if (!root) { return; }
236 |
237 | root.onclick = function(){return false;}
238 |
239 | if (typeof opts == 'string') {
240 | opts = {src: opts};
241 | }
242 |
243 | return new Flash(root, extend(extend({}, GLOBAL_OPTS), opts), conf);
244 | };
245 |
246 | // flashembed "static" API
247 | var f = extend(window.flashembed, {
248 |
249 | conf: GLOBAL_OPTS,
250 |
251 | getVersion: function() {
252 | var fo, ver;
253 |
254 | try {
255 | ver = navigator.plugins["Shockwave Flash"].description.slice(16);
256 | } catch(e) {
257 |
258 | try {
259 | fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
260 | ver = fo && fo.GetVariable("$version");
261 |
262 | } catch(err) {
263 | try {
264 | fo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
265 | ver = fo && fo.GetVariable("$version");
266 | } catch(err2) { }
267 | }
268 | }
269 |
270 | ver = RE.exec(ver);
271 | return ver ? [ver[1], ver[3]] : [0, 0];
272 | },
273 |
274 | asString: function(obj) {
275 |
276 | if (obj === null || obj === undefined) { return null; }
277 | var type = typeof obj;
278 | if (type == 'object' && obj.push) { type = 'array'; }
279 |
280 | switch (type){
281 |
282 | case 'string':
283 | obj = obj.replace(new RegExp('(["\\\\])', 'g'), '\\$1');
284 |
285 | // flash does not handle %- characters well. transforms "50%" to "50pct" (a dirty hack, I admit)
286 | obj = obj.replace(/^\s?(\d+\.?\d+)%/, "$1pct");
287 | return '"' +obj+ '"';
288 |
289 | case 'array':
290 | return '['+ map(obj, function(el) {
291 | return f.asString(el);
292 | }).join(',') +']';
293 |
294 | case 'function':
295 | return '"function()"';
296 |
297 | case 'object':
298 | var str = [];
299 | for (var prop in obj) {
300 | if (obj.hasOwnProperty(prop)) {
301 | str.push('"'+prop+'":'+ f.asString(obj[prop]));
302 | }
303 | }
304 | return '{'+str.join(',')+'}';
305 | }
306 |
307 | // replace ' --> " and remove spaces
308 | return String(obj).replace(/\s/g, " ").replace(/\'/g, "\"");
309 | },
310 |
311 | getHTML: function(opts, conf) {
312 |
313 | opts = extend({}, opts);
314 |
315 | /******* OBJECT tag and it's attributes *******/
316 | var html = '";
363 |
364 | return html;
365 | },
366 |
367 | isSupported: function(ver) {
368 | return VERSION[0] > ver[0] || VERSION[0] == ver[0] && VERSION[1] >= ver[1];
369 | }
370 |
371 | });
372 |
373 | var VERSION = f.getVersion();
374 |
375 | function Flash(root, opts, conf) {
376 |
377 | // version is ok
378 | if (f.isSupported(opts.version)) {
379 | root.innerHTML = f.getHTML(opts, conf);
380 |
381 | // express install
382 | } else if (opts.expressInstall && f.isSupported([6, 65])) {
383 | root.innerHTML = f.getHTML(extend(opts, {src: opts.expressInstall}), {
384 | MMredirectURL: location.href,
385 | MMplayerType: 'PlugIn',
386 | MMdoctitle: document.title
387 | });
388 |
389 | } else {
390 |
391 | // fail #2.1 custom content inside container
392 | if (!root.innerHTML.replace(/\s/g, '')) {
393 | /* root.innerHTML =
394 | "Flash version " + opts.version + " or greater is required
" +
395 | "" +
396 | (VERSION[0] > 0 ? "Your version is " + VERSION : "You have no flash plugin installed") +
397 | "
" +
398 |
399 | (root.tagName == 'A' ? "Click here to download latest version
" :
400 | "Download latest version from here
");
401 | */
402 | var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
403 |
404 | root.innerHTML = "
";
406 |
407 | if (root.tagName == 'A') {
408 | root.onclick = function() {
409 | location.href = URL;
410 | };
411 | }
412 | }
413 |
414 | // onFail
415 | if (opts.onFail) {
416 | var ret = opts.onFail.call(this);
417 | if (typeof ret == 'string') { root.innerHTML = ret; }
418 | }
419 | }
420 |
421 | // http://flowplayer.org/forum/8/18186#post-18593
422 | if (IE) {
423 | window[opts.id] = document.getElementById(opts.id);
424 | }
425 |
426 | // API methods for callback
427 | extend(this, {
428 |
429 | getRoot: function() {
430 | return root;
431 | },
432 |
433 | getOptions: function() {
434 | return opts;
435 | },
436 |
437 |
438 | getConf: function() {
439 | return conf;
440 | },
441 |
442 | getApi: function() {
443 | return root.firstChild;
444 | }
445 |
446 | });
447 | }
448 |
449 | // setup jquery support
450 | if (JQUERY) {
451 |
452 | // tools version number
453 | jQuery.tools = jQuery.tools || {version: '1.2.5'};
454 |
455 | jQuery.tools.flashembed = {
456 | conf: GLOBAL_OPTS
457 | };
458 |
459 | jQuery.fn.flashembed = function(opts, conf) {
460 | return this.each(function() {
461 | $(this).data("flashembed", flashembed(this, opts, conf));
462 | });
463 | };
464 | }
465 |
466 | })();
--------------------------------------------------------------------------------
/OnlinePreview/WebRoot/js/flexpaper_handlers.js:
--------------------------------------------------------------------------------
1 | /**
2 | █▒▓▒░ The FlexPaper Project
3 |
4 | This file is part of FlexPaper.
5 |
6 | FlexPaper is free software: you can redistribute it and/or modify
7 | it under the terms of the GNU General Public License as published by
8 | the Free Software Foundation, version 3 of the License.
9 |
10 | FlexPaper is distributed in the hope that it will be useful,
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | GNU General Public License for more details.
14 |
15 | You should have received a copy of the GNU General Public License
16 | along with FlexPaper. If not, see .
17 |
18 | For more information on FlexPaper please see the FlexPaper project
19 | home page: http://flexpaper.devaldi.com
20 | */
21 |
22 | jQuery(function() {
23 | /**
24 | * Handles the event of external links getting clicked in the document.
25 | *
26 | * @example onExternalLinkClicked("http://www.google.com")
27 | *
28 | * @param String link
29 | */
30 | jQuery('#documentViewer').bind('onExternalLinkClicked',function(e,link){
31 | window.open(link,'_flexpaper_exturl');
32 | });
33 |
34 | /**
35 | * Recieves progress information about the document being loaded
36 | *
37 | * @example onProgress( 100,10000 );
38 | *
39 | * @param int loaded
40 | * @param int total
41 | */
42 | jQuery('#documentViewer').bind('onProgress',function(e,loadedBytes,totalBytes){
43 |
44 | });
45 |
46 | /**
47 | * Handles the event of a document is in progress of loading
48 | *
49 | */
50 | jQuery('#documentViewer').bind('onDocumentLoading',function(e){
51 |
52 | });
53 |
54 | /**
55 | * Handles the event of a document is in progress of loading
56 | *
57 | */
58 | jQuery('#documentViewer').bind('onPageLoading',function(e,pageNumber){
59 |
60 | });
61 |
62 | /**
63 | * Receives messages about the current page being changed
64 | *
65 | * @example onCurrentPageChanged( 10 );
66 | *
67 | * @param int pagenum
68 | */
69 | jQuery('#documentViewer').bind('onCurrentPageChanged',function(e,pagenum){
70 | // if GANumber is supplied then lets track this as a Google Analytics event.
71 | if(jQuery(this).data('TrackingNumber')){
72 | var _gaq = window._gaq || [];window._gaq=_gaq;
73 | var trackingDoc = jQuery(this).data('TrackingDocument');
74 | var pdfFileName = trackingDoc.substr(0,trackingDoc.indexOf(".pdf")+4);
75 |
76 | _gaq.push(['_setAccount', jQuery(this).data('TrackingNumber')]);
77 | _gaq.push(['_trackEvent', 'PDF Documents', 'Page View', pdfFileName + ' - page ' + pagenum]);
78 |
79 | (function() {
80 | var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
81 | ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
82 | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
83 | })();
84 | }
85 | });
86 |
87 | /**
88 | * Receives messages about the document being loaded
89 | *
90 | * @example onDocumentLoaded( 20 );
91 | *
92 | * @param int totalPages
93 | */
94 | jQuery('#documentViewer').bind('onDocumentLoaded',function(e,totalPages){
95 |
96 | });
97 |
98 | /**
99 | * Receives messages about the page loaded
100 | *
101 | * @example onPageLoaded( 1 );
102 | *
103 | * @param int pageNumber
104 | */
105 | jQuery('#documentViewer').bind('onPageLoaded',function(e,pageNumber){
106 |
107 | });
108 |
109 | /**
110 | * Receives messages about the page loaded
111 | *
112 | * @example onErrorLoadingPage( 1 );
113 | *
114 | * @param int pageNumber
115 | */
116 | jQuery('#documentViewer').bind('onErrorLoadingPage',function(e,pageNumber){
117 |
118 | });
119 |
120 | /**
121 | * Receives error messages when a document is not loading properly
122 | *
123 | * @example onDocumentLoadedError( "Network error" );
124 | *
125 | * @param String errorMessage
126 | */
127 | jQuery('#documentViewer').bind('onDocumentLoadedError',function(e,errMessage){
128 |
129 | });
130 |
131 | /**
132 | * Receives error messages when a document has finished printed
133 | *
134 | * @example onDocumentPrinted();
135 | *
136 | */
137 | jQuery('#documentViewer').bind('onDocumentPrinted',function(e,numPages){
138 |
139 | });
140 | });
--------------------------------------------------------------------------------
/OnlinePreview/src/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 |
3 |
--------------------------------------------------------------------------------
/OnlinePreview/src/com/cectsims/util/DocConverter.java:
--------------------------------------------------------------------------------
1 | package com.cectsims.util;
2 |
3 | import java.io.BufferedInputStream;
4 | import java.io.File;
5 | import java.io.IOException;
6 | import java.io.InputStream;
7 | import com.artofsolving.jodconverter.DocumentConverter;
8 | import com.artofsolving.jodconverter.openoffice.connection.OpenOfficeConnection;
9 | import com.artofsolving.jodconverter.openoffice.connection.SocketOpenOfficeConnection;
10 | import com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter;
11 |
12 |
13 | /**
14 | * doc docx格式转换
15 | */
16 | public class DocConverter {
17 | private static final int environment = 1;// 环境 1:Windows 2:Linux
18 | private String fileString;// (只涉及PDF2swf路径问题)
19 | private String outputPath = "";// 输入路径 ,如果不设置就输出在默认 的位置
20 | private String fileName;
21 | private File pdfFile;
22 | private File swfFile;
23 | private File docFile;
24 |
25 | public DocConverter(String fileString) {
26 | ini(fileString);
27 | System.out.println("文件路径"+fileString);
28 | }
29 |
30 | /**
31 | * * 重新设置file
32 | *
33 | * @param fileString
34 | * 32.
35 | */
36 | public void setFile(String fileString) {
37 | ini(fileString);
38 | }
39 |
40 | /**
41 | * * 初始化
42 | *
43 | * @param fileString
44 | *
45 | */
46 | private void ini(String fileString) {
47 | this.fileString = fileString;
48 | fileName = fileString.substring(0, fileString.lastIndexOf("."));
49 | docFile = new File(fileString);
50 | pdfFile = new File(fileName+ ".pdf");
51 | swfFile = new File(fileName+ ".swf");
52 | }
53 |
54 | /**
55 | * 转为PDF
56 | *
57 | * @param file
58 | *
59 | */
60 | private void doc2pdf() throws Exception {
61 | if (docFile.exists()) {
62 | if (!pdfFile.exists()) {
63 | OpenOfficeConnection connection = new SocketOpenOfficeConnection(8100);
64 | try {
65 | connection.connect();
66 | DocumentConverter converter = new OpenOfficeDocumentConverter(
67 | connection);
68 | converter.convert(docFile, pdfFile);
69 | // close the connection
70 | connection.disconnect();
71 | System.out.println("****pdf转换成功,PDF输出: "+ pdfFile.getPath() + "****");
72 | } catch (java.net.ConnectException e) {
73 | e.printStackTrace();
74 | System.out.println("****swf转换器异常,openoffice 服务未启动!****");
75 | throw e;
76 | } catch (com.artofsolving.jodconverter.openoffice.connection.OpenOfficeException e) {
77 | e.printStackTrace();
78 | System.out.println("****swf转换器异常,读取转换文件 失败****");
79 | throw e;
80 | } catch (Exception e) {
81 | e.printStackTrace();
82 | throw e;
83 | }
84 | } else {
85 | System.out.println("****已经转换为pdf,不需要再进行转化 ****");
86 | }
87 | } else {
88 | System.out.println("****swf转换器异常,需要转换的文档不存在, 无法转换****");
89 | }
90 | }
91 |
92 | /** * 转换成 swf */
93 | @SuppressWarnings("unused")
94 | private void pdf2swf() throws Exception {
95 | Runtime r = Runtime.getRuntime();
96 | if (!swfFile.exists()) {
97 | if (pdfFile.exists()) {
98 | if (environment == 1) {// windows环境处理
99 | try {
100 | Process p = r.exec("D:/Program/swfttools/pdf2swf.exe "+ pdfFile.getPath() + " -o "+ swfFile.getPath() + " -T 9");
101 | System.out.print(loadStream(p.getInputStream()));
102 | System.err.print(loadStream(p.getErrorStream()));
103 | System.out.print(loadStream(p.getInputStream()));
104 | System.err.println("****swf转换成功,文件输出: "+swfFile.getPath() + "****");
105 | if (pdfFile.exists()){
106 | pdfFile.delete();
107 | }
108 | } catch (IOException e) {
109 | e.printStackTrace();
110 | throw e;
111 | }
112 | } else if (environment == 2) {// linux环境处理
113 | try {
114 | Process p = r.exec("pdf2swf" + pdfFile.getPath()+ " -o " + swfFile.getPath() + " -T 9");
115 | System.out.print(loadStream(p.getInputStream()));
116 | System.err.print(loadStream(p.getErrorStream()));
117 | System.err.println("****swf转换成功,文件输出: "+ swfFile.getPath() + "****");
118 | if (pdfFile.exists()) {
119 | pdfFile.delete();
120 | }
121 | } catch (Exception e) {
122 | e.printStackTrace();
123 | throw e;
124 | }
125 | }
126 | } else {
127 | System.out.println("****pdf不存在,无法转换****");
128 | }
129 | } else {
130 | System.out.println("****swf已经存在不需要转换****");
131 | }
132 | }
133 |
134 | static String loadStream(InputStream in) throws IOException {
135 | int ptr = 0;
136 | in = new BufferedInputStream(in);
137 | StringBuffer buffer = new StringBuffer();
138 | while ((ptr = in.read()) != -1) {
139 | buffer.append((char) ptr);
140 | }
141 | return buffer.toString();
142 | }
143 |
144 | /**
145 | * * 转换主方法
146 | */
147 | @SuppressWarnings("unused")
148 | public boolean conver() {
149 | if (swfFile.exists()) {
150 | System.out.println("****swf转换器开始工作,该文件已经转换为 swf****");
151 | return true;
152 | }
153 | if (environment == 1) {
154 | System.out.println("****swf转换器开始工作,当前设置运行环境 windows****");
155 | } else {
156 | System.out.println("****swf转换器开始工作,当前设置运行环境 linux****");
157 | }
158 | try {
159 | doc2pdf();
160 | pdf2swf();
161 | } catch (Exception e) {
162 | e.printStackTrace();
163 | return false;
164 | }
165 | System.out.println("文件存在吗?"+swfFile);
166 | if (swfFile.exists()) {
167 | System.out.println("存在");
168 | return true;
169 | } else {
170 | System.out.println("不存在");
171 | return false;
172 | }
173 | }
174 |
175 | /**
176 | *返回文件路径
177 | * @param
178 | */
179 | public String getswfPath(){
180 | if (this.swfFile.exists()){
181 | String tempString = swfFile.getPath();
182 | tempString = tempString.replaceAll("\\\\", "/");
183 | System.out.println("最后文件路径为"+tempString);
184 | return tempString;
185 | } else {
186 | return "文件不存在";
187 | }
188 | }
189 |
190 | /**
191 | * 设置输出路径
192 | *
193 | * @param outputPath
194 | */
195 | public void setOutputPath(String outputPath){
196 | this.outputPath = outputPath;
197 | if (!outputPath.equals("")) {
198 | String realName = fileName.substring(fileName.lastIndexOf("/"),
199 | fileName.lastIndexOf("."));
200 | if (outputPath.charAt(outputPath.length()) == '/') {
201 | swfFile = new File(outputPath + realName + ".swf");
202 | } else {
203 | swfFile = new File(outputPath + realName + ".swf");
204 | }
205 | }
206 | }
207 | }
208 |
209 |
--------------------------------------------------------------------------------
/OnlinePreview/src/com/cectsims/util/Test.java:
--------------------------------------------------------------------------------
1 | package com.cectsims.util;
2 | import java.net.URL;
3 | import javax.xml.namespace.QName;
4 | import org.apache.axis.client.Call;
5 | import org.apache.axis.client.Service;
6 |
7 | public class Test {
8 | public static void main(String[] args) {
9 | String targetEendPoint="https://localhost:8888/axis/HelloAXIS.jws";
10 | // Service service=new SerialArray();
11 | //Call call=(Call)service.createCall();
12 | // call.setOperationName(new QName(targetEendPoint),"Hello"));
13 | // call.setTargetEndpointAddress(new URL(targetEendPoint));
14 | // String result=(String)call.invoke(new Object[]{"lwp"});
15 | // System.out.println(result);
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # OnlinePreview
2 | 这一个使用java语言实现office和pdf文件在线预览的DEMO。
3 |
4 | 主要包含以下简单的内容:
5 |
6 | 1、word、excel、ppt转换为pdf文件。
7 | 2、pdf转换为swf的文件。
8 | 3、可以在浏览器预览word、excel、ppt、pdf。
9 |
10 |
--------------------------------------------------------------------------------