Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi,
how to create a text file like this, when I try my text is not displayed as it should.
please help me.
You need to use character fields to display the v's and tabs. For instance tab = Chr(9), return is Chr(10).
Another idea: If lay-out is really important, insert this text as an image. Use another tool for the text and save as png.
Choose for Represenation 'image' in your text object, and as expression in the text box:
='[YourTextDocumentPath]\[YourDocumentName].png'
Or use an extension, like this one (Minimalistic) HtmlTextBox Extension, to display HTML text. This text can be stored into an external TXT file with all the formatting and the styles.
how can i do?
I would like to create a text file that can be modified or updated periodically
This is exactly what we are doing for what we are using that extension. It's not complex to set up, and it only requires an expression with the HTML text, which in our case is stored into an external TXT file so it can be updated regularly.
There's always a bit of tweaking until the font size is the desired, but usually not very cumbersome.
how to put it in place?
Open the application where you want to use such extension and double click on the .qar file.
See here to put the extension on a server, if you need to.
='[part of your text]'&Chr(9)&'[another part of your text]'