diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2012-03-21 15:12:43 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2012-03-21 15:12:43 +0000 |
commit | b9fbfa6b71b5e0d67806c066ea422819de08f3b2 (patch) | |
tree | ea0b24983c14733ec584a04b79ac108634a9cef2 /test/pdf/accessibility/background-image_jpg_single.fo | |
parent | 54b6471e8fe27378222389de496721cc379a812d (diff) | |
download | xmlgraphics-fop-b9fbfa6b71b5e0d67806c066ea422819de08f3b2.tar.gz xmlgraphics-fop-b9fbfa6b71b5e0d67806c066ea422819de08f3b2.zip |
Added support for PDF object streams.Temp_PDF_ObjectStreams
When accessibility is enabled and PDF version 1.5 selected, the structure tree will be stored in object streams in order to reduce the size of the final PDF.
This can lead to file reductions by up to 75%
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PDF_ObjectStreams@1303431 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/pdf/accessibility/background-image_jpg_single.fo')
-rw-r--r-- | test/pdf/accessibility/background-image_jpg_single.fo | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/test/pdf/accessibility/background-image_jpg_single.fo b/test/pdf/accessibility/background-image_jpg_single.fo new file mode 100644 index 000000000..1efd10deb --- /dev/null +++ b/test/pdf/accessibility/background-image_jpg_single.fo @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<!-- + 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. +--> +<!-- $Id$ --> +<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" language="en" country="GB"> + <fo:layout-master-set> + <fo:simple-page-master master-name="page" + page-height="220pt" page-width="320pt" margin="10pt"> + <fo:region-body background-image="../../resources/images/bgimg72dpi.jpg" + background-repeat="no-repeat" background-position-horizontal="50%" + background-position-vertical="50%"/> + </fo:simple-page-master> + </fo:layout-master-set> + <fo:page-sequence master-reference="page"> + <fo:flow flow-name="xsl-region-body" hyphenate="true" text-align="justify"> + <fo:block>Apache FOP (Formatting Objects Processor) is a print formatter driven by XSL + formatting objects (XSL-FO) and an output independent formatter. It is a Java application + that reads a formatting object (FO) tree and renders the resulting pages to a specified + output.</fo:block> + </fo:flow> + </fo:page-sequence> +</fo:root> |