Format Text Box Data S’abonner
We have been using Bar Tender for a long time now (version 9.01) however the labelling regulations across Europe have become much more oneorous on the way data needs to be presented on the label as a result this will means the data will require formatting applied to it.
One of the fields that we have is a text field which shows our ingredients list which is placed on the label. At the minute it reads the data in from a csv file which has the full ingredients listed in with no formatting so was a simple matter of take this field in the csv file and print here on the label.
Now we have present that data as such:
Ingredient One Name Bolded (newline)
Ingredient One's Ingredients (newline)
Ingredient Two Name Bolded (newline)
Ingredient Two Ingredients (newline)
etc, etc until basically there is no more data
The file will look like this:
"some data not included in this field","Ingredient One Name Ingredient One Ingredients Ingredient Two Name Ingredient Two Ingredients etc"
The ingredient field is always the last field in the csv file and each field in the csv filed is always surrounded with "" in order to ensure that , within the fields are misinterpreted.
My guess is that in order to be able to apply formatting to the text there will need to be some way for bar tender to identify it so that it knows to apply the format the text and when to take newlines so if I was able to reformat the download so that the final field looked like this:
"#!Ingredient One Name#! *^Ingredient One Ingredients*^ #!Ingredient Two Name#! *^Ingredient Two Ingredients*^ etc"
So basically anything that starts with #! has bold text applied until such times as it hits #! again when a newline is then applied. Anything with between *^ tags is plain text but new line taken at end of that section.
If I get the data in that format is it then possible to format the text the way I need it within one field on the label and if so how do I even begin to work out how to do that?
If it isn't is there any way to achieve this with our software?
Michael Toupin (mtoupin
Vous devez vous connecter pour laisser un commentaire.