From: vincent@cubedesigners.com Date: Wed, 5 Dec 2012 09:34:58 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8e23d8d03934dba86d8ce19995b31e8b9bfccc84;p=cubeextranet.git --- diff --git a/fluidbook/tools/FWSTK_Resources/nbproject/private/private.xml b/fluidbook/tools/FWSTK_Resources/nbproject/private/private.xml index b386d60a1..6c4cdc21b 100644 --- a/fluidbook/tools/FWSTK_Resources/nbproject/private/private.xml +++ b/fluidbook/tools/FWSTK_Resources/nbproject/private/private.xml @@ -1,6 +1,7 @@ + file:/H:/Works/extranet/fluidbook/tools/FWSTK_Resources/src/org/apache/pdfbox/resources/cmap/Add-RKSJ-V file:/H:/Works/extranet/fluidbook/tools/FWSTK_Resources/src/org/apache/pdfbox/resources/cmap/Identity-H diff --git a/fluidbook/tools/fwstk/nbproject/build-impl.xml b/fluidbook/tools/fwstk/nbproject/build-impl.xml index 1dff7cf41..7ea024035 100644 --- a/fluidbook/tools/fwstk/nbproject/build-impl.xml +++ b/fluidbook/tools/fwstk/nbproject/build-impl.xml @@ -79,43 +79,6 @@ is divided into following sections: - - - - - - - - - - - - - - - - - - - - - - - - - - Must set platform.home - Must set platform.bootcp - Must set platform.java - Must set platform.javac - - The J2SE Platform is not correctly set up. - Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files. - Either open the project in the IDE and setup the Platform with the same name or add it manually. - For example like this: - ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.${platform.active}.home" in a .properties file) - or ant -Dplatforms.${platform.active}.home=<path_to_JDK_home> jar (where no properties file is used) - @@ -248,6 +211,15 @@ is divided into following sections: + + + + + + + + + @@ -315,7 +287,7 @@ is divided into following sections: - + @@ -354,7 +326,7 @@ is divided into following sections: - + @@ -420,6 +392,11 @@ is divided into following sections: + + + + + @@ -429,7 +406,7 @@ is divided into following sections: - + @@ -443,7 +420,7 @@ is divided into following sections: - + @@ -452,8 +429,12 @@ is divided into following sections: - - + + + + + + @@ -480,7 +461,7 @@ is divided into following sections: - + @@ -560,7 +541,7 @@ is divided into following sections: - + @@ -576,7 +557,7 @@ is divided into following sections: - + @@ -585,8 +566,12 @@ is divided into following sections: - - + + + + + + @@ -758,9 +743,6 @@ is divided into following sections: - - - @@ -776,9 +758,7 @@ is divided into following sections: - - - + @@ -803,7 +783,7 @@ is divided into following sections: - + @@ -830,7 +810,7 @@ is divided into following sections: - + @@ -963,7 +943,7 @@ is divided into following sections: - + @@ -1017,7 +997,7 @@ is divided into following sections: - ${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class} + java -cp "${run.classpath.with.dist.jar}" ${main.class} @@ -1044,7 +1024,7 @@ is divided into following sections: To run this application from the command line without Ant, try: - ${platform.java} -jar "${dist.jar.resolved}" + java -jar "${dist.jar.resolved}" @@ -1235,7 +1215,7 @@ is divided into following sections: - + diff --git a/fluidbook/tools/fwstk/nbproject/genfiles.properties b/fluidbook/tools/fwstk/nbproject/genfiles.properties index 2b32d9ec2..ff028331a 100644 --- a/fluidbook/tools/fwstk/nbproject/genfiles.properties +++ b/fluidbook/tools/fwstk/nbproject/genfiles.properties @@ -1,8 +1,8 @@ -build.xml.data.CRC32=1c2c8395 +build.xml.data.CRC32=75d32fc3 build.xml.script.CRC32=ef618d2d -build.xml.stylesheet.CRC32=28e38971@1.44.1.45 +build.xml.stylesheet.CRC32=28e38971@1.55.1.46 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=1c2c8395 -nbproject/build-impl.xml.script.CRC32=8b7167f5 -nbproject/build-impl.xml.stylesheet.CRC32=6ddba6b6@1.53.1.46 +nbproject/build-impl.xml.data.CRC32=75d32fc3 +nbproject/build-impl.xml.script.CRC32=893f2795 +nbproject/build-impl.xml.stylesheet.CRC32=c6d2a60f@1.55.1.46 diff --git a/fluidbook/tools/fwstk/nbproject/private/config.properties b/fluidbook/tools/fwstk/nbproject/private/config.properties index 5aa2fea7b..9d6df0f95 100644 --- a/fluidbook/tools/fwstk/nbproject/private/config.properties +++ b/fluidbook/tools/fwstk/nbproject/private/config.properties @@ -1 +1 @@ -config=Extract_Links +config=Extract_texts diff --git a/fluidbook/tools/fwstk/nbproject/private/private.properties b/fluidbook/tools/fwstk/nbproject/private/private.properties index 6a461bf46..4935a57da 100644 --- a/fluidbook/tools/fwstk/nbproject/private/private.properties +++ b/fluidbook/tools/fwstk/nbproject/private/private.properties @@ -4,4 +4,4 @@ do.depend=false do.jar=true javac.debug=true javadoc.preview=true -user.properties.file=C:\\Users\\Vincent\\AppData\\Roaming\\NetBeans\\7.2\\build.properties +user.properties.file=H:\\Applications\\Roaming\\Netbeans\\user\\build.properties diff --git a/fluidbook/tools/fwstk/nbproject/private/private.xml b/fluidbook/tools/fwstk/nbproject/private/private.xml index 3a4147f25..3a048af1e 100644 --- a/fluidbook/tools/fwstk/nbproject/private/private.xml +++ b/fluidbook/tools/fwstk/nbproject/private/private.xml @@ -4,5 +4,11 @@ file:/H:/Works/cubeExtranet/fluidbook/tools/fwstk/src/com/fluidbook/fwstk/Main.java + file:/H:/Works/cubeExtranet/fluidbook/tools/fwstk/src/cube/util/Array.java + file:/H:/Works/cubeExtranet/fluidbook/tools/fwstk/src/com/fluidbook/fwstk/layout/Word.java + file:/H:/Works/cubeExtranet/fluidbook/tools/fwstk/src/com/fluidbook/fwstk/layout/LayoutStripper.java + file:/H:/Works/cubeExtranet/fluidbook/tools/fwstk/src/com/fluidbook/fwstk/CustomStripper.java + file:/H:/Works/cubeExtranet/fluidbook/tools/fwstk/src/com/fluidbook/fwstk/TextsThread.java + file:/H:/Works/cubeExtranet/fluidbook/tools/fwstk/src/com/fluidbook/fwstk/Link.java diff --git a/fluidbook/tools/fwstk/nbproject/project.properties b/fluidbook/tools/fwstk/nbproject/project.properties index 4fc47a56b..1d69fd626 100644 --- a/fluidbook/tools/fwstk/nbproject/project.properties +++ b/fluidbook/tools/fwstk/nbproject/project.properties @@ -33,6 +33,7 @@ file.reference.bcprov-jdk16-146.jar=lib/bcprov-jdk16-146.jar file.reference.commons-logging-1.1.1.jar=lib/commons-logging-1.1.1.jar file.reference.fontbox-1.7.1.jar=lib\\fontbox-1.7.1.jar file.reference.FWSTK_Resources.jar=../FWSTK_Resources/dist/FWSTK_Resources.jar +file.reference.icu4j-50_1.jar=H:\\Works\\Java\\jar\\icu4j-50_1.jar file.reference.Java-resources=../../../../Java/resources file.reference.jempbox-1.7.1.jar=lib\\jempbox-1.7.1.jar file.reference.pdfbox-1.7.1.jar=lib\\pdfbox-1.7.1.jar @@ -49,7 +50,8 @@ javac.classpath=\ ${file.reference.FWSTK_Resources.jar}:\ ${file.reference.fontbox-1.7.1.jar}:\ ${file.reference.jempbox-1.7.1.jar}:\ - ${file.reference.pdfbox-1.7.1.jar} + ${file.reference.pdfbox-1.7.1.jar}:\ + ${file.reference.icu4j-50_1.jar} # Space-separated list of extra javac options javac.compilerargs= javac.deprecation=false @@ -86,7 +88,7 @@ main.class=com.fluidbook.fwstk.Main manifest.file=manifest.mf meta.inf.dir=${src.dir}/META-INF mkdist.disabled=false -platform.active=JDK_1.7 +platform.active=default_platform run.classpath=\ ${build.classes.dir}:\ ${javac.classpath} diff --git a/fluidbook/tools/fwstk/nbproject/project.xml b/fluidbook/tools/fwstk/nbproject/project.xml index fecc0cd7d..2f3c04693 100644 --- a/fluidbook/tools/fwstk/nbproject/project.xml +++ b/fluidbook/tools/fwstk/nbproject/project.xml @@ -4,7 +4,6 @@ fwstk - diff --git a/inc/ws/Metier/class.ws.document.php b/inc/ws/Metier/class.ws.document.php index d9be84896..da911fd70 100644 --- a/inc/ws/Metier/class.ws.document.php +++ b/inc/ws/Metier/class.ws.document.php @@ -53,7 +53,7 @@ class wsDocument extends cubeMetier { protected static $resolution2multiply = array(72 => 2, 100 => 2, 150 => 3, 200 => 3, 300 => 3, 450 => 4, 600 => 5); // Number section styles protected static - $numberStyles = array('NoNumber' => 'no', 'DecimalArabicNumerals' => 'decimal', + $numberStyles = array('NoNumber' => 'no', 'DecimalArabicNumerals' => 'decimal', 'UppercaseRomanNumerals' => 'roman_up', 'LowercaseRomanNumerals' => 'roman_low', 'UppercaseLetters' => 'letters_up', 'LowercaseLetters' => 'letters_low'); diff --git a/inc/ws/Util/class.ws.tools.php b/inc/ws/Util/class.ws.tools.php index 08e3486fb..1c206c6c7 100644 --- a/inc/ws/Util/class.ws.tools.php +++ b/inc/ws/Util/class.ws.tools.php @@ -2,7 +2,7 @@ class wsTools { - public static function encodeWebVideos($file, $dir=null, $async=true, $force=false) { + public static function encodeWebVideos($file, $dir = null, $async = true, $force = false) { if (is_null($dir)) { $dir = dirname($file); } @@ -64,15 +64,14 @@ class wsTools { } self::copy($png, $dest . '/' . $icon . '.png'); } - + public static function copy($source, $dest) { - if(!file_exists($source)){ + if (!file_exists($source)) { return; } copy($source, $dest); touch($dest, filemtime($source)); } - } ?>