diff options
author | Mehdi Houshmand <mehdi@apache.org> | 2012-04-27 13:11:06 +0000 |
---|---|---|
committer | Mehdi Houshmand <mehdi@apache.org> | 2012-04-27 13:11:06 +0000 |
commit | be77bea9baa51ef4bb6116d85edcf6a5b8f3fd67 (patch) | |
tree | a202bbbaaf76b6dd99d8692d64a4c0ded57e9c74 /examples | |
parent | c40d6029737141c4d86f3b6bde38ce444f8b3bb7 (diff) | |
download | xmlgraphics-fop-be77bea9baa51ef4bb6116d85edcf6a5b8f3fd67.tar.gz xmlgraphics-fop-be77bea9baa51ef4bb6116d85edcf6a5b8f3fd67.zip |
Fixed concurrency issue re:background-image on a fo:block. Also updated a couple license headers in the examples
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1331419 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples')
-rw-r--r-- | examples/embedding/java/embedding/ExampleEPS.java | 30 | ||||
-rw-r--r-- | examples/embedding/java/embedding/ExampleEPSSimple.java | 28 |
2 files changed, 30 insertions, 28 deletions
diff --git a/examples/embedding/java/embedding/ExampleEPS.java b/examples/embedding/java/embedding/ExampleEPS.java index ebf2b9a7d..d35413f60 100644 --- a/examples/embedding/java/embedding/ExampleEPS.java +++ b/examples/embedding/java/embedding/ExampleEPS.java @@ -1,18 +1,18 @@ /* * 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 - * + * 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. + * 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. */ /* $Id$ */ @@ -26,11 +26,13 @@ import java.io.OutputStream; import org.apache.avalon.framework.configuration.Configuration; import org.apache.avalon.framework.configuration.DefaultConfigurationBuilder; + +import org.apache.xmlgraphics.java2d.GraphicContext; +import org.apache.xmlgraphics.java2d.ps.EPSDocumentGraphics2D; + import org.apache.fop.fonts.FontInfo; import org.apache.fop.render.ps.NativeTextHandler; import org.apache.fop.svg.PDFDocumentGraphics2DConfigurator; -import org.apache.xmlgraphics.java2d.GraphicContext; -import org.apache.xmlgraphics.java2d.ps.EPSDocumentGraphics2D; public class ExampleEPS { diff --git a/examples/embedding/java/embedding/ExampleEPSSimple.java b/examples/embedding/java/embedding/ExampleEPSSimple.java index cbc353cd5..eec6d89f6 100644 --- a/examples/embedding/java/embedding/ExampleEPSSimple.java +++ b/examples/embedding/java/embedding/ExampleEPSSimple.java @@ -1,33 +1,33 @@ /* * 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 - * + * 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. + * 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. */ /* $Id$ */ - package embedding; import java.awt.Font; import java.io.FileOutputStream; import java.io.OutputStream; -import org.apache.fop.render.ps.NativeTextHandler; import org.apache.xmlgraphics.java2d.GraphicContext; import org.apache.xmlgraphics.java2d.ps.EPSDocumentGraphics2D; +import org.apache.fop.render.ps.NativeTextHandler; + public class ExampleEPSSimple { /** |