Re: [Kraft-user] Formatierungen
Kraft helps to handle daily quotes and invoices in your small business
Brought to you by:
kfreitag
From: Sebastian <se...@ar...> - 2013-11-03 21:03:35
|
Hallo, > Und dann: > >>> Dann ist das Bild aber fest und nicht unter dem letzten Wort? > >> > >> Ja, fest. Du sprachst von "in der Fusszeile" ;-). > > > > Beim Dokument erstellen wird mir eine Fußzeile angeboten wenn ich diese > > Auswähle erscheint im Fenster die Überschrift Dokumentfuß. Im Feld > > darunter > > kann ich meinen Text eingeben. Darunter hätte ich gerne das Bild > > (eingescannte Unterschrift) Sieht einfach netter aus mit etwas > > handschriftlichem.> > >> Ein "floatendes" Bild in der sog. "Story" des RML dokumentes soll auch > >> gehen, lt. Beispielen von Reportlab so: > >> > >> <illustration height="100" width="432"> > >> > >> <rect x="0" y="0" width="432" height="100" fill="0" stroke="1"/> > >> <image file="internet_access.pdf" x="0" y="0"/> > >> > >> </illustration> > > > > <illustration height="-5mm" width="50mm"> > > > > <rect x="50mm" y="0mm" width="100mm" height="10mm" fill="0" > > > > stroke="0"/> > > > > <image file="/home/sebastian/Privat/Unterschrift.png" x="0" > > y="0"/> > > > > </illustration> > > > > Damit bekomme ich das Bild in die Datei. Aber nicht da wo ich möchte. > > Jetzt > > habe ich das Bild nach einer Leerseite mit Seitennummer. Auf dieser 3. > > Seite springt es zwar etwas hin und her je nach dem welche Parameter ich > > Ändere. Leider bekomme ich dabei aber nicht heraus welches von den Vier > > Koordinatenpaaren wofür steht. Das Bild behält immer die selbe Größe > > leider zu groß. Der Transparente Hintergrund wird schwarz, geht > > Transparenz überhaupt? > Transparenz geht. Ich habs mit einem png mit Transparenz probiert. > > Die Parameter sind allerdings interessant! X zählt von links nach > rechts, wie man es erwarten würde. Y zählt von unten nach oben, dh. wenn > man etwas runterrutschen möchte, muss man Y verkleinern. Auch relativ > scheinbar. > > Ich konnte jedenfalls mit dieser eingefügten Illustration die > Unterschrift einbinden unter dem Abschlußtext: > > <para style="text"> > {{GOODBYE}} > </para> > <illustration width="175" height="75"> > <image x="0" y="-10" width="105" height="55" > file="/home/kf/Documents/unterschrift.png" /> > <rect x="0" y="-10" width="105" height="55" /> > </illustration> > <nextFrame/> Den Rahmen will ich nicht dafür braucht es bei mir noch die Ergänzung stroke="0" und wenn ich die Füllung nicht ebenfalls auf null setze erhalte ich einen schwarzen Block, bzw muss der Parameter ganz raus. Damit lässt sich aber nicht mein Transparenzproblem lösen. Musste die Bilddatei jetzt mit einem Weißem Hintergrund versehen. <rect x="0" y="-10" width="270" height="55" fill="0" stroke="0"/> > > (ich poste jetzt mal nur den Snippet auf die Liste, da das komplette > Template recht viel "persönliche" Daten enthält.) Wie bekomme ich die 2 Seite mit Seitennummer und sonst leer weg? Gruß Sebastian |