[TYPO3-german] Mehrzeiligen Text im GIFBUILDER mit Zeilenumbruch erstellen

Heike Herzog-Kuhnke hhk at kuhnke-owl.de
Thu Nov 24 18:47:28 CET 2011


Habe es jetz so gelöst, da scheinbar das splitten einer Konstante geht, 
aber nur für den ersten Teil - Why ever...

page.20.marks.ZITAT = COA
page.20.marks.ZITAT.wrap = |
page.20.marks.ZITAT {
        10 = IMAGE
        10.file = GIFBUILDER
        10.file {
            XY = 220, 300
            transparentBackground =1

            10 = TEXT
            10.text.insertData = 1
            10.text.field =subtitle
            10.text.listNum.splitChar = |
            10.text.listNum=0
            10.offset = 10, 30
            10.fontColor=#347708
            10.fontFile=fileadmin/fonts/schrift.ttf
            10.fontSize=20

            20 < .10
            20.text.listNum=1
            20.offset=10,30+[10.h]+6
            30 < .10
            30.text.listNum=2
            30.offset=10,30+[10.h]+6+[20.h]+3
            40 < .10
            40.text.listNum=3
            40.offset=10,30+[10.h]+6+[20.h]+6+[30.h]
            50 < .10
            50.text.listNum=4
            50.offset=10,30+[10.h]+6+[20.h]+6+[30.h]+6+[40.h]
            60 = TEXT
            60.text = {$zitatWer}
            60.fontColor=#3c3c3c
            60.fontSize=15
            60.fontFile=fileadmin/fonts/schrift.ttf
            60.niceText=1
            60.offset=60,30+[10.h]+6+[20.h]+6+[30.h]+6+[40.h]+6+[50.h]

   }
       }

Nurnoch der Autor des Zitates ist in einer Konstante, was auch 
funktioniert. Was ein wenig blöd ist, sind die Zeilenabstände. ICh habe 
in irgendeinem meiner Bücher mal einen Tipp  gefunden, wie man das 
automatisch schön hinbekommt. Leider finde ich die Stelle nciht mehr. 
Hätte hierfür jemnd einen Tipp oder Link für mcih?

Gruß
Heike



More information about the TYPO3-german mailing list