ImagePrint/ImagePrintEngine/DeviceProtocols/xhtmlfilecomposer/data/xhtmlfiletemplate.txt
branchRCL_3
changeset 28 d59c248c9d36
parent 0 d11fb78c4374
equal deleted inserted replaced
27:159fc2f68139 28:d59c248c9d36
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       
     3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       
     4 <html xmlns="http://www.w3.org/1999/xhtml">
       
     5 
       
     6 <!-- adaptive-template - 02.19.04 - version 0.1 -->
       
     7 
       
     8 	<head>
       
     9 		<meta name="copyright" content="Copyright 2005 Nokia"/>
       
    10 		<title>XHTML-print template</title>
       
    11 		<style type="text/css">
       
    12 			@media print { @page {size:<<pageWidth>> <<pageHeight>>; margin:<<pageMargin>>;}}
       
    13 
       
    14 			body { padding:0mm; }
       
    15 
       
    16 			div.page { position:relative; page-break-after:always; }
       
    17 			div.page_last { position:relative;}
       
    18 
       
    19 			#img_frame {
       
    20 				overflow:hidden;
       
    21 				padding:0mm;
       
    22 				position:absolute;
       
    23 				width:<<imgFrameWidth>>; height:<<imgFrameHeight>>;}
       
    24 
       
    25 			<<framePosition>>
       
    26 			<<imageDetails>>
       
    27 
       
    28 		</style>
       
    29 	</head>
       
    30 
       
    31 	<body>
       
    32 		<<page>>
       
    33 	</body>
       
    34 </html>
       
    35 
       
    36 <!--
       
    37 <<positionStart>>
       
    38 			.position<<posId>> {top:<<positionTop>>; left:<<positionLeft>>;}<<positionEnd>>
       
    39 <<imgStart>>
       
    40 			.img_details<<detId>> { width:<<imgWidth>>; height:<<imgHeight>>; margin-<<imgMargin>>; image-orientation:<<imgOrientation>>;}<<imgEnd>>
       
    41 <<frameStart>>
       
    42 			<div id="img_frame" class="position<<posId>>">
       
    43 				<img class="img_details<<detId>>" src="<<imgName>>" alt=""/>
       
    44 			</div> <<frameEnd>>
       
    45 <<pageStart>>
       
    46 		<div class="<<pageType>>">
       
    47 			<<frame>>
       
    48 		</div> <<pageEnd>>
       
    49 -->