<#-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <#-- FOP may require a library called JIMI to print certain graphical formats such as GIFs. Jimi is a Sun library which cannot be included in OFBIZ due to licensing incompatibility, but you can download it yourself at: http://java.sun.com/products/jimi/ and rename the ZIP file that comes with it as jimi-xxx.jar, then copy it into the same directory as fop.jar, which at this time is ${ofbiz.home}/framework/webapp/lib/ --> <#escape x as x?xml> <#-- these margins are arbitrary, please redefine as you see fit --> <#-- main body --> <#assign segments = Static["org.ofbiz.base.util.UtilHttp"].parseMultiFormData(parameters)> <#list segments as segment> <#-- this tells fop to put a page break before this content TODO: content-type must be dynamic --> <#if segments.size() == 0> No Shipping Labels Selected