You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by er...@apache.org on 2010/05/17 22:17:31 UTC
svn commit: r945340 - in
/ofbiz/trunk/framework/common/webcommon/includes/fo: pm-iso216.fo.ftl
start.fo.ftl
Author: erwan
Date: Mon May 17 20:17:30 2010
New Revision: 945340
URL: http://svn.apache.org/viewvc?rev=945340&view=rev
Log:
Adding ISO216 pageMasters, and including all the page formats in start.fo.ftl, so it can be used when printing a document
Added:
ofbiz/trunk/framework/common/webcommon/includes/fo/pm-iso216.fo.ftl (with props)
Modified:
ofbiz/trunk/framework/common/webcommon/includes/fo/start.fo.ftl
Added: ofbiz/trunk/framework/common/webcommon/includes/fo/pm-iso216.fo.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/includes/fo/pm-iso216.fo.ftl?rev=945340&view=auto
==============================================================================
--- ofbiz/trunk/framework/common/webcommon/includes/fo/pm-iso216.fo.ftl (added)
+++ ofbiz/trunk/framework/common/webcommon/includes/fo/pm-iso216.fo.ftl Mon May 17 20:17:30 2010
@@ -0,0 +1,35 @@
+<#--
+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.
+-->
+ <fo:simple-page-master master-name="iso216-portrait"
+ page-width="210mm" page-height="297mm"
+ margin-top="20mm" margin-bottom="20mm"
+ margin-left="15mm" margin-right="15mm">
+ <fo:region-body margin-top="30mm" margin-bottom="12mm"/>
+ <fo:region-before extent="25mm"/>
+ <fo:region-after extent="12mm" />
+ </fo:simple-page-master>
+
+ <fo:simple-page-master master-name="iso216-landscape"
+ page-width="210mm" page-height="297mm"
+ margin-top="15mm" margin-bottom="15mm"
+ margin-left="20mm" margin-right="20mm">
+ <fo:region-body margin-top="25mm" margin-bottom="12mm"/>
+ <fo:region-before extent="25mm"/>
+ <fo:region-after extent="12mm" />
+ </fo:simple-page-master>
Propchange: ofbiz/trunk/framework/common/webcommon/includes/fo/pm-iso216.fo.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/framework/common/webcommon/includes/fo/pm-iso216.fo.ftl
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/trunk/framework/common/webcommon/includes/fo/pm-iso216.fo.ftl
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: ofbiz/trunk/framework/common/webcommon/includes/fo/start.fo.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/includes/fo/start.fo.ftl?rev=945340&r1=945339&r2=945340&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/webcommon/includes/fo/start.fo.ftl (original)
+++ ofbiz/trunk/framework/common/webcommon/includes/fo/start.fo.ftl Mon May 17 20:17:30 2010
@@ -33,6 +33,9 @@ under the License.
<#include pageMaster/>
</#list>
<#else>
+ <#include "component://common/webcommon/includes/fo/pm-11x17.fo.ftl"/>
+ <#include "component://common/webcommon/includes/fo/pm-iso216.fo.ftl"/>
+ <#include "component://common/webcommon/includes/fo/pm-legal.fo.ftl"/>
<#include "component://common/webcommon/includes/fo/pm-letter.fo.ftl"/>
</#if>
</fo:layout-master-set>