Aastra Telecom 57I IP Phone User Manual


 
How to Create an XML Application
41-001160-00, Release 2.1, Rev 04 G-17
Creating an XML Application
Appendix G
Implementation (53i)
XML Example
:
<AastraIPPhoneTextScreen allowAnswer = "yes">
<Title>Screen Object</Title>
<Text>The screen object can be implemented similar to the
firmware info screen. Note that white space is preserved in XML so
the display should word-wrap appropriately. Only three lines can
display at a time.</Text>
</AastraIPPhoneTextScreen>
XML Screen Example:
Text Screen Format Object (for Text Screens)
The AastraIPPhoneFormattedTextScreen object allows you to specify a format
for the text that displays in the LCD window on the phone. Using this object, you
can specify the following for the text that displays:
alignment (using the “Align” attribute and specifying right, left, or center )*
text size (using the “Line Size” attribute and specifying normal or double
height)*
display type (using the “Line” or “Scroll” attributes to specify static or
scrolling)*
*See the AastraIPPhoneFormattedTextScreen structure example on page G-18.
The phone’s LCD screen allows up to a total of 5 lines for displaying text. The
formatted text displays in three distinct blocks in the order it is written in the XML
object:
The first block displays text at the top of the LCD window. By default, this
text block is static. This block can contain as many lines as the XML object
specifies and can range from zero (0) up to the LCD screen size.
!N8-,APPLICATIONCANDISPLAY
HEREWHILEACALLISCOMINGIN
,JQRUH $QVZHU