Jump to content

Formatting Objects Processor: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
add logo
 
(76 intermediate revisions by 63 users not shown)
Line 1: Line 1:
{{multiple issues|
{{ Infobox_Software
{{Only primary sources|date=April 2023}}
| name = Apache FOP
{{Update|date=April 2023}}
| logo =
{{More citations needed|date=April 2023}}
| screenshot =
| caption =
| developer = [[Apache Software Foundation]]
| latest_release_version = 0.95beta
| latest_release_date = [[March 22]], [[2008]]
| latest_preview_version =
| latest_preview_date =
| operating_system = [[Cross-platform]]
| programming_language = [[Java_(programming_language)|Java]]
| genre = [[XSL-FO]]
| license = [[Apache License]] 2.0
| website = http://xmlgraphics.apache.org/fop
}}
}}
{{short description|Java-based document converter}}
{{otheruses|FOP (disambiguation)}}
{{Infobox software
'''Formatting Objects Processor''' ('''FOP''') is a [[Java (programming language)|Java]] application that converts [[XSL-FO]] files to [[portable document format|PDF]] or other printable formats.
| name = Apache FOP
| logo = Apache FOP logo.png
| logo size = 200px
| screenshot =
| caption =
| author = [[James Tauber]]
| developer = [[Apache Software Foundation]]
| latest release version = {{wikidata|property|reference|P348}}
| latest release date = {{start date and age|{{wikidata|qualifier|P348|P577}}}}
| latest preview version =
| latest preview date =
| operating system = [[Cross-platform]]
| programming language = [[Java (programming language)|Java]]
| genre = [[XSL-FO]]
| license = [[Apache License 2.0]]
| website = {{URL|https://xmlgraphics.apache.org/fop}}
}}

'''Formatting Objects Processor''' ('''FOP''', also known as '''Apache FOP''') is a [[Java (programming language)|Java]] application that converts [[XSL Formatting Objects]] (XSL-FO) files to [[Portable Document Format|PDF]] or other printable formats.
FOP was originally developed by [[James Tauber]] who donated it to the [[Apache Software Foundation]] in 1999. It is part of the [[Apache XML Graphics]] project.
FOP was originally developed by [[James Tauber]] who donated it to the [[Apache Software Foundation]] in 1999. It is part of the [[Apache XML Graphics]] project.


FOP is [[open source software]], and is distributed under the [[Apache Software License]].
FOP is [[open source software]], and is distributed under the [[Apache License 2.0]].


== Current Status ==
==Current status==
The latest version of Apache FOP is 2.9.<ref>{{cite web|url=https://xmlgraphics.apache.org/fop/status.html|title=Apache FOP Status}}</ref> This is the eleventh stable release.


==Major limitations==
The latest version of Apache FOP is 0.95 beta. The code has undergone a substantial rewrite compared to the original 0.20.5 version that was the old stable version. As of release 0.91alpha, FOP is much more compliant to the XSL-FO Recommendation.
Most important elements added in XSL-FO 1.1 (flow maps, table markers, indexes. etc.) are not available <ref>{{cite web|url=https://xmlgraphics.apache.org/fop/compliance-static.html|title=Apache FOP XSL-FO Compliance}}</ref>


In addition, older XSL-FO 1.0 features are still not fully supported including automatic table layout, floats and more.
== Input Support ==


==Input support==
Apache FOP supports embedding a number of image formats in the XSL-FO (through the <fo:external-graphic> element). These include:
Apache FOP supports embedding a number of image formats in the XSL-FO (through the <code><fo:external-graphic></code> element). These include:


* [[Scalable Vector Graphics|SVG]]
* [[Scalable Vector Graphics|SVG]]
* [[Portable Network Graphics|PNG]]
* Bitmap [[BMP file format|BMP]]
* Bitmap [[BMP file format|BMP]]
* [[PostScript]] (as EPS)
* [[PostScript]] (as EPS)
Line 35: Line 47:
* Some [[TIFF]] formats.
* Some [[TIFF]] formats.


Apache FOP implements the <code><fo:float></code> element with some limitations.<ref>{{cite web |url=https://xmlgraphics.apache.org/fop/2.0/releaseNotes_2.0.html |title=Apache FOP 2.0 release notes |access-date=2015-12-18}}</ref> In versions prior to 2.0, external graphics objects were limited to being drawn inline or in a block with no wrapped text.
== Output Formats ==


==Output formats==
Apache FOP supports the following output formats:
Apache FOP supports the following output formats:


* [[PDF]] (best output support), including [[PDF/X]] and [[PDF/A]] with some limitations<ref>{{cite web |url=https://xmlgraphics.apache.org/fop/0.95/pdfx.html |title=FOP 0.95 - PDF/X (ISO 15930) |access-date=2011-05-22}}</ref>
* [[PDF]] (best output support)
* [[ASCII]] text file facsimile
* [[ASCII]] text file facsimile
* [[PostScript]]
* [[PostScript]]
Line 51: Line 64:
*[[Scalable Vector Graphics|SVG]]
*[[Scalable Vector Graphics|SVG]]


== See also ==
==See also==
{{Portal|Free and open-source software}}
* [[XSL-FO]]
* [[XSL Formatting Objects]] (XSL-FO)
* [[Extensible Stylesheet Language|XSL]]
* [[Extensible Stylesheet Language|XSL]]


== External links ==
==External links==
* [http://xmlgraphics.apache.org/fop/ Apache FOP Project]
* [https://xmlgraphics.apache.org/fop/ Apache FOP Project]
* [https://www.data2type.de/en/xml-xslt-xslfo/xsl-fo/formatter-comparison/ XSL-FO formatter comparison]
* [http://www.ibstaff.net/fmartinez/?p=15 VelFop: Dynamic FOP with Velocity]


==References==
{{apache}}
{{Reflist}}


{{Apache Software Foundation}}

[[Category:Apache Software Foundation|FOP]]
[[Category:Free system software]]
[[Category:Free system software]]
[[Category:Apache Software Foundation]]
[[Category:Free software programmed in Java (programming language)]]
[[Category:Java libraries]]
[[Category:Java (programming language) libraries]]


{{compu-library-stub}}


{{compu-library-stub}}
[[de:Apache Formatting Objects Processor]]
[[hu:Formatting Objects Processor]]
[[ja:Apache FOP]]
[[pl:FOP]]
[[ru:FOP]]

Latest revision as of 03:25, 16 May 2024

Apache FOP
Original author(s)James Tauber
Developer(s)Apache Software Foundation
Stable release
2.10[1] / 1 October 2024; 3 months ago (1 October 2024)
Repository
Written inJava
Operating systemCross-platform
TypeXSL-FO
LicenseApache License 2.0
Websitexmlgraphics.apache.org/fop

Formatting Objects Processor (FOP, also known as Apache FOP) is a Java application that converts XSL Formatting Objects (XSL-FO) files to PDF or other printable formats. FOP was originally developed by James Tauber who donated it to the Apache Software Foundation in 1999. It is part of the Apache XML Graphics project.

FOP is open source software, and is distributed under the Apache License 2.0.

Current status

[edit]

The latest version of Apache FOP is 2.9.[2] This is the eleventh stable release.

Major limitations

[edit]

Most important elements added in XSL-FO 1.1 (flow maps, table markers, indexes. etc.) are not available [3]

In addition, older XSL-FO 1.0 features are still not fully supported including automatic table layout, floats and more.

Input support

[edit]

Apache FOP supports embedding a number of image formats in the XSL-FO (through the <fo:external-graphic> element). These include:

Apache FOP implements the <fo:float> element with some limitations.[4] In versions prior to 2.0, external graphics objects were limited to being drawn inline or in a block with no wrapped text.

Output formats

[edit]

Apache FOP supports the following output formats:

In progress:

See also

[edit]
[edit]

References

[edit]
  1. ^ "Release 2.10". 1 October 2024. Retrieved 12 October 2024.
  2. ^ "Apache FOP Status".
  3. ^ "Apache FOP XSL-FO Compliance".
  4. ^ "Apache FOP 2.0 release notes". Retrieved 2015-12-18.
  5. ^ "FOP 0.95 - PDF/X (ISO 15930)". Retrieved 2011-05-22.