Aastra Telecom 55I IP Phone User Manual


 
How to Create an XML Application
41-001160-00, Release 2.1, Rev 04 G-51
Creating an XML Application
Appendix G
AastraIPPhoneImageMenu
The AastraIPPhoneImageMenu object allows you to use a bitmap image to
display as a menu. Each menu item is linked to a keypad key (0-9, *, #). You can
use this type of image object when you want to display menu choices as a
non-ASCII character set or with pictures only. You can specify the placement of
the image on the screen by setting the following attributes:
verticalAlign
horizontalAlign
•height
•width
The image is specified as a series of hexadecimal characters. Two hex characters
map to one byte of pixel data, where each bit represents a pixel. The image data
describes the bitmap from left to right and top to bottom. The data is padded on
an 8-bit boundary, so if the height and width do not match the pixel information,
then the image will not display correctly. The character strings map to the middle
and four corners of the screen. If desired, you can specify an integer as an absolute
pixel for customized displays.
XML Example
:
The XML script for the AastraIPPhoneImageMenu object is as follows:
<AastraIPPhoneImageMenu>
<Image verticalAlign = "top,middle,bottom,'pixel'",
horizontalAlign = "left,middle,right,'pixel'"
height="'integer'", width="'integer'">
FF00F800FF00FFFFFFFFFFFF00FF00FF00FFF8F200
</Image>
<!-Base attribute is optional-->
<URIList base = "http://someserver/">
<URI key = "0">link1.php</URI>
<URI key = "1">link2.php</URI>
<URI key = "#">link3.php</URI>
</URIList>
</AastraIPPhoneImageMenu>