All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fj_doc_mod_fop_config.template.fop_doc.ftl Maven / Gradle / Ivy

The newest version!

<#assign comp=docBase.stableInfo['doc-version-compatibility']!'2-x' ><#if (comp = '1-x') ><#import "/macro/doc_element_1-x.ftl" as doc_element><#else><#import "/macro/doc_element.ftl" as doc_element>
<#import "/macro/doc_info.ftl" as doc_info>
<#assign docInfo=docBase.info/>
xml:lang="${docBase.infoDocLanguage}"
	<@doc_info.checkDefaultFont info=docInfo/> 
	xmlns:fo="http://www.w3.org/1999/XSL/Format"
	xmlns:fox="http://xmlgraphics.apache.org/fop/extensions">
	
		
			<#assign bodyMarginTop="">
			<#assign bodyMarginBottom="">
			<#if (docBase.useHeader)>
				<#assign headerSize="${docBase.docHeader.expectedSize}mm">
				<#assign bodyMarginTop=" margin-top='${headerSize}' ">
			
			<#if (docBase.useFooter)>
				<#assign footerSize="${docBase.docFooter.expectedSize}mm">
				<#assign bodyMarginBottom=" margin-bottom='${footerSize}' ">
												
				
			<#if (docBase.useHeader)>
            	
            
            <#if (docBase.useFooter)>
            	
            
		
	
	
	<#if (docBase.infoDocTitle)?? || (docBase.infoDocSubject)?? || (docBase.infoDocAuthor)?? || (docBase.infoDocLanguage)??>
		
		  
		    
		      
		        <#if (docBase.infoDocTitle)??>${docBase.infoDocTitle}
		        <#if (docBase.infoDocAuthor)??>${docBase.infoDocAuthor}
		        <#if (docBase.infoDocSubject)??>${docBase.infoDocSubject}
		        <#if (docBase.infoDocLanguage)??>${docBase.infoDocLanguage}
		      
		      
		      	<#if (docBase.infoDocCreator)??>${docBase.infoDocCreator}<#else>Apache FOP over Fugerit Venus DOC
		      
		    
		  
		
	
	
	<#if (docBase.docBookmarkTree)??>
		
			<#list docBase.docBookmarkTree.elementList as docBookmark>	
		    
		    	${docBookmark.title}
		    
		    
		
	
	
	
		<#if (docBase.useHeader)>
			
				
				<@doc_element.handleElementList elements=docBase.docHeader.elementList/>
					
	        
        
        <#if (docBase.useFooter)>
	        
	        	
	            <@doc_element.handleElementList elements=docBase.docFooter.elementList/>
	            
	        
        			
		
		
	        <#if ( (docBase.docBackground)?? && docBase.docBackground.elementList?size > 0 )>
				
		            <@doc_element.handleElementList elements=docBase.docBackground.elementList/>
					        
	        		
		
			
				<@doc_element.handleElementList elements=docBase.docBody.elementList/>	
				
		
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy