[Checkins] SVN: zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/ new demo

Andreas Jung andreas at andreas-jung.com
Sun Oct 19 04:53:14 EDT 2008


Log message for revision 92368:
  new demo
  

Changed:
  A   zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/business_card.css
  A   zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/business_card_templates.html
  D   zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/demo_styles.css
  D   zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/fop_styles.css
  U   zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/resources.ini

-=-
Added: zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/business_card.css
===================================================================
--- zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/business_card.css	                        (rev 0)
+++ zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/business_card.css	2008-10-19 08:53:13 UTC (rev 92368)
@@ -0,0 +1,49 @@
+            @page {
+                size: 81mm 57mm;
+                margin: 5mm 5mm 5mm 5mm;
+            }
+
+            #logo {
+                position: absolute;
+                margin-left: 0mm;
+                margin-top: 0mm;
+                width: 40mm;
+                height: 20mm;
+            }
+
+            #desc {
+                position: absolute;
+                font-family: sans-serif;
+                font-size: 10px;
+                color: #555555;
+                margin-left: 0mm;
+                margin-top: 25mm;
+                width: 40mm;
+                height: 20mm;
+            }
+
+            #address {
+                position: absolute;
+                font-family: sans-serif;
+                font-size: 9px;
+                margin-left: 40mm;
+                margin-top: 25mm;
+                height: 40mm;
+                width: 40mm;
+            }
+
+            ul { 
+                    margin: 0mm;
+                    margin-left: 0mm;
+                    margin-top: 0mm;
+              }
+
+            li { 
+                 padding-left: 0mm; 
+                 list-style-position: inside;
+             }
+
+            @font-face {
+                font-family: sans-serif;
+                src: local("Trebuchet MS")
+            }

Added: zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/business_card_templates.html
===================================================================
--- zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/business_card_templates.html	                        (rev 0)
+++ zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/business_card_templates.html	2008-10-19 08:53:13 UTC (rev 92368)
@@ -0,0 +1,45 @@
+<html>
+    <head>
+        <tal:loop repeat="css options/stylesheets">
+            <style type="text/css"
+                   tal:content="structure options/stylesheets/?css"  
+            />
+        </tal:loop>
+    </head>
+    <body>
+        <div id="logo">
+            <img src="zopyx1.png" />
+        </div>
+        <div id="desc">
+            <ul>
+                <li>
+            Python, Zope &amp; Plone
+                </li>
+                <li>
+            Software-Entwicklung
+                </li>
+                <li>
+            Beratung
+                <li>
+            E-Publishing, Web-to-Print
+            </li>
+        </ul>
+        </div>
+            
+        <div id="address">
+            <span tal:replace="options/fullname | nothing">Andreas Jung</span>
+            <br/>
+            Charlottenstr. 37/1
+            <br/>
+            D-72070 T&uuml;bingen
+            <br/>
+            Tel. +49-(0)7071-793257
+            <br/>
+            Fax. +49-(0)7071-7936840
+            <br/>
+            E-Mail: info at zopyx.com
+            <br/>
+            Web: www.zopyx.com
+         </div>
+    </body>
+</html>


Property changes on: zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/business_card_templates.html
___________________________________________________________________
Name: svn:mergeinfo
   + 

Deleted: zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/demo_styles.css
===================================================================
--- zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/demo_styles.css	2008-10-19 08:46:42 UTC (rev 92367)
+++ zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/demo_styles.css	2008-10-19 08:53:13 UTC (rev 92368)
@@ -1,5 +0,0 @@
-/* Demo styles */
-
-body {
-    font-size: 12px;
-}

Deleted: zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/fop_styles.css
===================================================================
--- zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/fop_styles.css	2008-10-19 08:46:42 UTC (rev 92367)
+++ zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/fop_styles.css	2008-10-19 08:53:13 UTC (rev 92368)
@@ -1,6 +0,0 @@
-/* FOP styles */
-
-h1 {font-size: 20px; color: blue;}
-h2 {font-size: 16px; color: green;}
-pre {background-color: #cccccc; display: block;}
-

Modified: zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/resources.ini
===================================================================
--- zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/resources.ini	2008-10-19 08:46:42 UTC (rev 92367)
+++ zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo2/resources/resources.ini	2008-10-19 08:53:13 UTC (rev 92368)
@@ -1,6 +1,6 @@
 [demo]
-for-converter = pdf-fop, pdf-prince, fo, odt-xfc, rtf-xfc, wml-xfc, ooxml-xfc, pdf-xinc
-description = Demo Demo Demo    
-template = demo_template.pt
-styles = fop_styles.css
-         demo_styles.css
+for-converter = pdf-prince
+description = Businesscard demo
+template = business_card_template.pt
+styles = business_card.css
+         



More information about the Checkins mailing list