Aastra Telecom 57I IP Phone User Manual


 
How to Create an XML Application
G-18 41-001160-00, Release 2.1, Rev 04
IP Phone Administrator Guide
Appendix G
The second block displays below the first block. By default, the second text
block displays as scrolling text. This block takes up as many lines as the XML
developer specifies, up to the LCD screen size.
The third block displays below the second block. By default, the third block
displays static text, and takes up whatever lines remain blank on the LCD
screen.
Using the AastraIPPhoneFormattedTextScreen object, the display truncates a line
after the last word in that line and continues to wrap the text to the next line.The
phone ignores any lines that display after the 5th line on the LCD screen.
AastraIPPhoneFormattedTextScreen Structure
The AastraIPPhoneFormattedTextScreen object describes the structure of the
XML document that you can use to format the text that displays on the phone’s
LCD screen. The default structure of the AastraIPPhoneFormattedTextScreen
object is:
<AastraIPPhoneFormattedTextScreen>
<Line Size="<normal/double>" Align="<right/left/center>">A line
of static text</Line>
<Scroll Height=n>
<Line Size="<normal/double>" Align="<right/left/center>">
Scrolling text</Line>
<Line>Another line of Scrolling Text</Line>
<Line>Yet another scrolling line</Line>
</Scroll>
<Line>Some static footer text</Line>
</AastraIPPhoneFormattedTextScreen>
Note: Any of the three blocks can be set as static text or scrolling text but
the text displays on a total of 5 lines only. Any lines that display after line
5 are lost.
Note: The text in bold in the above structure indicate the options you can
use for text size (normal, double), alignment (right, left, center), and
scrolling height (from 1 to 5 lines). Setting a scrolling height less than “1”
automatically sets the scroller height to “1”.