|
|
|
|
eknori
@Notes Preisträger
Moderator
Gold Platin u.s.w. member:)
    
Offline
Geschlecht: 
Beiträge: 11500
|
 |
« Antworten #4 am: 16.04.02 - 11:46:09 » |
|
Hier ist eine Anleitung, um einen eigenen Brifkopf in Notes zu erstellen. Aus verständlichen gründen gebe ich den Text im englischen Original wieder ( aus der Knowledge Base )
How to Implement a Custom Letterhead in an R5 Mail File
Problem:
How can a custom Letterhead be added to the Notes R5 mail template?
Solution:
The Elements
In Notes Release 5.0, Letterhead graphics are made up of two Image Resources: a main element, and a background. The main element is the image that appears to the left of the address information on the form. The background image is tiled behind the address information.
What You'll Be Modifying - The Calendar Profile and Memo Forms
You must modify the Calendar Profile form and the Memo form in order to add customer Letterheads.
Within the Calendar Profile form, you must add your additional Letterhead choices to the DefaultLogo listbox field (see list below in Supporting Information section). When adding additional Letterhead styles, it is suggested that you use the alias format naming convention currently used. It is also suggested that you start numbering your custom Letterheads at a value of 50, so as not to interfere with the Letterhead numbers that ship with the Mail template.
You must also alter the formula for the BGTableColor field, in both the Calendar Profile form and the Memo form. This must be altered in both forms as the field is Computed for Display, and not actually saved in the Calendar Profile document. The BGTableColor formula logic relies on the fact that the Letterhead choices have aliases that all start with StdNotesLtr. For example, the Pony Express letterhead has an alias of StdNotesLtr17. The formula strips all of the alias name except the number, which is then used to identify which of the six (6) canned backgrounds is used. The canned backgrounds have names of bg_0, bg_1 ... bg_5. When creating additional custom backgrounds, you must use the existing naming convention. It is suggested that additional background image resources are numbered 10 and greater (for example, bg_10).
Steps To Create a Custom Letterhead:
1. Create an Image Resource for the main element. The recommended size is 88 pixels high and 70 pixels wide (although a size as large as 90 x 85 should fit in most cases). Change the alias so that the name conforms to the established naming convention (for example, StdNotesLtr##). Note that when working with Windows Paint, you can set the size of the object by using the menu option: Image, Attributes. Pels is synonymous with Pixels.
Note: In reply chains, the main element will be taken off of the background and will appear on its own. So, it is important that your main element look good on a white background, as well as on the neutral background. Make sure there are no white or dark "halos" appearing around the main element when it appears on either white or textured backgrounds.
2. Create an Image Resource for the background. As the background is tiled, it does not have a specific size requirement. Change the name and the alias so that it conforms to the established naming convention (for example, bg_##).
3. Edit the Calendar Profile form's DefaultLogo listbox field and add the new graphic choice with its alias. For example: "Our letterhead|StdNotesLtr50"
4. Edit the Calendar Profile form's formula for the BGTableColor field. You must alter the logic to include a check for the new Letterhead's number.
For example:
Given our new Letterhead alias of StdNotesLtr50, and a new background image resource of bg_10 (for example), our modified formula for the BGTableColor field would need to check for a value of 50 and return a value of 10.
The end of the current formula is as follows: ... Image = 3:4:13:24; @Return(BG_IMAGE_PREFIX + "5"); @Return(BG_IMAGE_PREFIX + "0") )
The modified formula checks for the new Letterhead number and returns the appropriate background number: ... Image = 3:4:13:24; @Return(BG_IMAGE_PREFIX + "5"); Image = 50; @Return(BG_IMAGE_PREFIX + "10"); @Return(BG_IMAGE_PREFIX + "0") )
(See the full formula for the BGTableColor field in the Supporting Information section below.)
5. The adapted BGTableColor formula needs to be copied and pasted into the Memo form's BGTableColor field.
Supporting Information:
Full Formula Used for BGTableColor Field:
Below is the full formula used for the BGTableColor field.
Logo:= DefaultLogo; BG_IMAGE_PREFIX:="BG_";
@If (Logo = ""; @Set("Logo";"StdNotesLtr0"); "" );
Image:=@Right(Logo;"StdNotesLtr");
@If (Image = "Gateway"; @Return(BG_IMAGE_PREFIX + "3"); @Set("Image";@TextToNumber(Image)) ); @If (Image = 9:20:27; @Return(BG_IMAGE_PREFIX + "1"); Image = 14:6:22:30; @Return(BG_IMAGE_PREFIX + "2"); Image = 2:15:18:28:29; @Return(BG_IMAGE_PREFIX + "3"); Image = 7:8:17; @Return(BG_IMAGE_PREFIX + "4"); Image = 3:4:13:24; @Return(BG_IMAGE_PREFIX + "5"); @Return(BG_IMAGE_PREFIX + "0") )
List of Letterheads (and their aliases) that shipped with Notes release 5.0:
Bouncy Earth|StdNotesLtr1 Buck Rogers Mail|StdNotesLtr2 Computer Chip|StdNotesLtr3 Decco|StdNotesLtr4 Falling Spheres|StdNotesLtr5 Frank Lloyd|StdNotesLtr7 From The Desk|StdNotesLtr8 Gateway|StdNotesLtrGateway Geometry |StdNotesLtr9 Gray Gradient with Lines|StdNotesLtr13 Green and Yellow Diamond|StdNotesLtr14 Leaves|StdNotesLtr6 Marquee|StdNotesLtr34 Metal Plate|StdNotesLtr15 Pencil and Grid|StdNotesLtr16 Plain Text|StdNotesLtr0 Pony Express|StdNotesLtr17 Post Mark|StdNotesLtr33 Primitive|StdNotesLtr20 Purple Geometry|StdNotesLtr18 Slashed Lines with Globe|StdNotesLtr21 Squiggle with Backdrop|StdNotesLtr22 Squiggly Line|StdNotesLtr23 Tacks|StdNotesLtr24 Tape|StdNotesLtr25 Teal and Yellow Lines|StdNotesLtr26 Three Dimensional Relief|StdNotesLtr27 Torn Paper|StdNotesLtr28 Triangle with Dots|StdNotesLtr30 Triangles|StdNotesLtr29 Wild Confetti|StdNotesLtr32
|
|
« Letzte Änderung: 01.01.70 - 01:00:00 von 1034200800 »
|
Gespeichert
|
|
|
|
|
|
eknori
@Notes Preisträger
Moderator
Gold Platin u.s.w. member:)
    
Offline
Geschlecht: 
Beiträge: 11500
|
 |
« Antworten #7 am: 16.04.02 - 13:00:34 » |
|
|
|
« Letzte Änderung: 01.01.70 - 01:00:00 von 1034200800 »
|
Gespeichert
|
|
|
|
|
Joern
Frischling

Offline
Geschlecht: 
Beiträge: 45

Don't think twice, it's all right !
|
 |
« Antworten #9 am: 17.07.02 - 13:34:41 » |
|
 Hier steht's detailiert in Deutsch wie es geht ! -> http://www.arras-online.de <- Gruss Joern
|
|
« Letzte Änderung: 01.01.70 - 01:00:00 von 1034200800 »
|
Gespeichert
|
Gruss Jörn
-> Domino 8.5.x Enterprise - W2003/2008 - 32-64bit / Cluster -> Clients: 8.5.x (deutsch) - W7/XP Professional
|
|
|
|
|
naruto25
Junior Mitglied
 
Offline
Beiträge: 82
|
 |
« Antworten #12 am: 25.09.14 - 14:10:07 » |
|
Hallo, ich wollte das auch mal versuchen. Ich nutze jedoch 8.5. Ist die Anleitung auch für diese Version?  Auf jedenfall wollte ich mich nach dieser Anleitung halten: http://www.ibm.com/developerworks/lotus/library/ls-custom_letterhead/Punkt 1-3 sind nachvollziehbar. Aber Punkt 4 komme ich nicht mehr weiter, da weiß ich nicht wo ich da hin muss. Wo soll die Forms List sein?? Bitte eine exakte und leichte Beschreibung. Danke im Voraus. Gruß, Tobi
|
|
« Letzte Änderung: 25.09.14 - 14:12:10 von naruto25 »
|
Gespeichert
|
|
|
|
|
Andrew Harder
Senior Mitglied
   
Offline
Geschlecht: 
Beiträge: 294

|
 |
« Antworten #14 am: 25.09.14 - 15:23:36 » |
|
Aber Punkt 4 komme ich nicht mehr weiter, da weiß ich nicht wo ich da hin muss. Wo soll die Forms List sein?? Genau da, so es in dem Text beschrieben ist: Im Desgner unter "Forms" --> "CalendarProfile" Wenn Du den deutschen Designer nutzt (keine Ahnung ob es den noch gibt, habe den noch nie genutzt), dann ist das: "Masken" --> "Kalenderprofil" Bitte eine exakte und leichte Beschreibung. Was an der verlinkten Anleitung ist denn ungenau oder schwer zu verstehen?
|
|
|
Gespeichert
|
Andy
|
|
|
naruto25
Junior Mitglied
 
Offline
Beiträge: 82
|
 |
« Antworten #15 am: 25.09.14 - 17:26:08 » |
|
@ Bernhard das weiß ich, es ging lediglich nur ums Prinzip und möchte es für mich selbst wissen, wie was funktioniert bzw. einzustellen ist. @Andrew Ja, ich nutze die deutsche Version. Und danke für deinen Tipp. Zu deiner Frage: So wie du es geschrieben hast, würden es eventuell andere etwas komplizierter machen. Ich wusste jetzt nicht, dass es z.B. mit den Forms List die Masken gemeint waren. Du hast es ja gut und verständlich erklärt 
|
|
|
Gespeichert
|
|
|
|
WildVirus
Gold Platin u.s.w. member:)
    
Offline
Geschlecht: 
Beiträge: 658

|
 |
« Antworten #16 am: 25.09.14 - 20:21:12 » |
|
@Bernhard - warum so kritisch ?
Wir haben bei uns mehrere Firmen im Konzern, jede mit eigenem Logo. Und damit sofort ersichtlich ist, von welcher Gesellschaft die Mail kommt, haben wir unser Template angepasst. Alle Standardtemplates aus der Auswahl raus, dafür unsere Liste rein, Gesellschaft A, B, C, D.
Funzt perfekt und wurde von allen begrüßt.
Und dass es nicht ins Internet geht, stört auch keinen.
Je nach Firmenkonstellation kann es sinnvoll sein, lohnt sich aber nicht -und da bin ich bei Dir- in jedem Fall.
|
|
|
Gespeichert
|
|
|
|
|
|