Fop hyph jar download




















Because of licensing issues and for convenience , all hyphenation patterns for FOP are made available through the Objects For Formatting Objects project. If you have made improvements to an existing FOP hyphenation pattern, or if you have created one from scratch, please consider contributing these to OFFO so that they can benefit other FOP users as well.

Please inquire on the FOP User mailing list. The LPPL puts restrictions on file names in redistributed derived works which we feel can't guarantee.

Some hyphenation pattern files have other or additional restrictions, for example against use for commercial purposes. Although Apache FOP cannot redistribute hyphenation pattern files that do not conform with its license scheme, that does not necessarily prevent users from using such hyphenation patterns with FOP. However, it does place on the user the responsibility for determining whether the user can rightly use such hyphenation patterns under the hyphenation pattern license.

The user is responsible to settle license issues for hyphenation pattern files that are obtained from non-Apache sources. The country code is optional, and should be used only if needed.

For example:. FOP does not check whether the language and country specified in the FO source are actually from the current standard, but it relies on it being two letter strings in a few places. So you can make up your own codes for custom hyphenation patterns, but they should be two letter strings too patches for proper handling extensions are welcome. When FOP is built from scratch, and there are pattern source file s present in the directory pointed to by the user.

Put the pattern source file s into a directory of your choice and configure FOP to look for custom patterns in this directory, by setting the configuration option. Either of these three options will ensure hyphenation is working when using FOP from the command-line. If you would like to build your own hyphenation pattern files, or modify existing ones, this section will help you understand how to do so.

Even when creating a pattern file from scratch, it may be beneficial to start with an existing file and modify it. Here is a brief explanation of the contents of FOP's hyphenation patterns: The remaining content of this section should be considered "draft" quality.

It was drafted from theoretical literature, and has not been tested against actual FOP behavior. It may contain errors or omissions. Do not rely on these instructions without testing everything stated here. If you use these instructions, please provide feedback on the FOP User mailing list , either confirming their accuracy, or raising specific problems that we can address. It has nothing to do with the hyphenation character used in FOP, use the XSLFO hyphenation-character property for defining the hyphenation character there.

There is no default, if you declare exceptions with hyphenations, you must declare the hyphen-char too. This element is unused and not even read. It should be considered a documentation for parameters used during pattern generation.

The members of each set should be treated as equivalent for purposes of hyphenation, usually upper and lower case of the same character. The first character of the set is the canonical character, the patterns and exceptions should only contain these canonical representation characters except digits for weight, the period. PDF encryption is only available if FOP was compiled with encryption support and if compatible encryption support is available at run time.

Currently, only the JCE is supported. Check the Details. FOP's entry point for your own scripts is the class org. The arguments consist of the options and infile and outfile specifications as shown above for the standard scripts. You may wish to review the standard scripts to make sure that you get your environment properly configured. If you use hyphenation, you must put fop-hyph. This works if you put fop. If you use hyphenation, you must also put fop-hyph.

In both cases the arguments consist of the options and infile and outfile specifications as shown above for the standard scripts. If FOP is started without a proper classpath, it tries to add its dependencies dynamically.

If the system property fop. Otherwise the current working directory is the base directory. If the base directory is called build , then its parent directory becomes the base directory. FOP expects to find fop. Subsequently FOP adds all jar files in the lib directory to the classpath. The lib directory is either the lib subdirectory of the base directory, or, if that does not exist, the base directory itself. Although FOP controls both of these processes, the first is included merely as a convenience and for performance reasons.

Only the second is part of FOP's core processing. If a user has a problem running FOP, it is important to determine which of these two processes is causing the problem. If the problem is in the first process, the user's stylesheet is likely the cause. If the problem is in the second process, FOP may have a bug or an unimplemented feature that does require attention from the FOP development team. To make the intermediate FO file visible, the FOP distribution includes the "-foout" option which causes FOP to run only the first transformation step, and write the results to a file.

See also the Xalan command-line below. The -foout option works the same way as if you would call the Xalan command-line :. FOP can consume quite a bit of memory, even though this has been continually improved. This is partly inherent to the formatting process and partly caused by implementation choices. All FO processors currently on the market have memory problems with certain layouts. Increase memory available to the JVM. See the -Xmx option for more information.



0コメント

  • 1000 / 1000