ArcPad Preferences File Schema
PREFERENCES Element
See Also  Send comments on this topic.
ArcPad Preferences File Schema > ArcPad Element : PREFERENCES Element

Glossary Item Box

Description

Used in ArcPadPrefs.apx to define default preferences.

Diagram

DRAWING Element TRACKLOG Element STATUSBAR Element STARTUP Element SCRIPTING Element RANGEFINDER Element PATHS Element MAPGRID Element LOCATION Element LOCALE Element LAYERS Element IMS Element GREEKING Element GPS Element FONTS Element EDITING Element DISPLAY Element CAMERA Element AUX Element ALERTS Element Sequence PREFERENCES Element

Overview

PREFERENCES
Used in ArcPadPrefs.apx to define default preferences.
Sequence
ALERTS
Used to define GPS alert settings in ArcPadPrefs.apx.
Sequence
ALERT 1..∞
Used to specify GPS alert settings for the various alerts in ArcPadPrefs.apx.
name optional Restriction of xs:string
Alert name.
play optional Restriction of xs:string
Flag that determines whether to play a sound when the alert occurs.
show optional Restriction of xs:string
Flag that determines whether to display a message when the alert occurs.
sound optional xs:string
Path to a .WAV file to play when the alert occurs.
AUX
The parent element for AUX port settings in ArcPadPrefs.apx. Used to specify script subroutines to call when AUX events occur.
CAMERA
Used to specify camera settings in ArcPadPrefs.apx.
device optional xs:string
Specifies the device ID of the active camera.
filenameformat optional xs:dateTime
The file naming convention to use when naming photos.
path optional xs:string
Specifies the default path where photos are stored.
prefix optional xs:string
Specifies the prefix to use when naming photo files.
quality optional Restriction of xs:int
Specifies the JPEG quality of the picture taken.
shortcut optional xs:string
The function key or action button shortcut that triggers a photo capture.
DISPLAY
Used to define display settings in ArcPadPrefs.apx.
backgroundcolor optional xs:string
buttonsize optional Restriction of xs:int
Specifies the scale factor for the size of toolbar buttons on this toolbar. For example, a value of 2 makes toolbar buttons twice as large as the standard size (16X16). This setting overrides the buttonsize attribute in the DISPLAY element (in ArcPadPrefs.apx).
height optional Restriction of xs:int
highlightcolor optional xs:string
The color used for highlighting selected features.
highlightwidth optional xs:int
The width of the highlighted outline drawn around selected features in pixels.
panframe optional Restriction of xs:string
Determines whether the panning frame is displayed around the map.
panframesize optional xs:int
The width of the panning frame in pixels.
tolerance optional xs:int
The pen tolerance for selecting a feature in pixels.
units optional Restriction of xs:string
The map display units. 0: Metric 1: Statute 2: Nautical
width optional Restriction of xs:int
Sequence
SYSTEMTRAY
Used to specify system tray settings in ArcPadPrefs.apx.
gps optional Restriction of xs:string
Flag that determines whether the GPS status is displayed in the system tray.
visible optional Restriction of xs:string
applicationbutton optional Restriction of xs:string
dock optional xs:string
selector optional Restriction of xs:string
EDITING
Used to define editing preferences in ArcPadPrefs.apx.
zeroz optional Restriction of xs:string
FONTS
Used to specify default fonts for ArcPad in ArcPadPrefs.apx.
Sequence
DIALOG
Used to specify the dialog box font for ArcPad in ArcPadPrefs.apx.
charset optional xs:string
Font character set.
font optional xs:string
fontsize optional Restriction of xs:int
fontstyle optional Restriction of xs:string
LABEL
Used to specify the label font for ArcPad in ArcPadPrefs.apx and to define a Label control in a form.
charset optional xs:string
Font character set.
font optional xs:string
fontsize optional Restriction of xs:int
fontstyle optional Restriction of xs:string
GPS
Used to specify GPS preferences and script subroutines to call when GPS events occur.
antennaheight optional xs:double
autoactivate optional Restriction of xs:string
autopan optional Restriction of xs:string
autopanmargin optional xs:string
checksum optional Restriction of xs:string
datum optional xs:string
geoidseparation optional xs:double
initialize optional xs:string
log optional Restriction of xs:string
logfile optional xs:string
magneticdeclination optional xs:double
northreference optional Restriction of xs:string
protocol optional Restriction of xs:string
useheight optional Restriction of xs:string
onaveragestart optional xs:string
Specify the script to run when this event occurs.
onaveragestop optional xs:string
Specify the script to run when this event occurs.
onclose optional xs:string
Specify the script to run when this event occurs
onexevent optional xs:string
Specify the script to run when this event occurs.
onopen optional xs:string
Specify the script to run when this event occurs
onposition optional xs:string
Specify the script to run when this event occurs.
onsentence optional xs:string
Specify the script to run when this event occurs.
Sequence
AVERAGING
Used to specify the averaging settings for the GPS capture settings in ArcPadPrefs.apx.
enabled optional Restriction of xs:string
point optional xs:int
vertex optional xs:int
COMPORT
Used to define serial port settings for the AUX or GPS port in ArcPadPrefs.apx.
HEIGHT
Used to specify height settings for the GPS in ArcPadPrefs.apx.
antennaheight optional xs:double
The antenna height specified in the GPS Height page of the GPS Preferences dialog in ArcPad, in meters. This value is subtracted from the height reported by the GPS receiver.
geiodseparation optional xs:double
The geoid separation specified in the GPS Height page of the GPS Preferences dialog in ArcPad, in meters. This value is subtracted from the height reported by the GPS receiver.
units optional xs:string
The units code that specifies height units for the geoid separation and antenna height in the GPS Height page of the GPS Preferences dialog in ArcPad.
usemapunits optional Restriction of xs:string
Specifies whether to use the units of the map's coordinate system when storing GPS elevation. If the coordinate system's units are degrees, the height units are meters.
QUALITYCONTROL
Used to define GPS quality control settings in ArcPadPrefs.apx.
level optional Restriction of xs:string
The level of quality control. 0 for no quality control; 1 for non-compulsory quality control; 2 for compulsory quality control.
Sequence
DAGE
Used to define the maximum DAGE for the GPS quality control settings in ArcPadPrefs.apx.
active optional Restriction of xs:string
maximum optional Restriction of xs:int
EPE
Used to define the maximum EPE for the GPS quality control settings in ArcPadPrefs.apx.
active optional Restriction of xs:string
maximum optional Restriction of xs:int
HDOP
Used to define the maximum HDOP for the GPS quality control settings in ArcPadPrefs.apx.
active optional Restriction of xs:string
maximum optional Restriction of xs:int
MODE
Used to specify the 3D only and DGPS only settings for the GPS quality control settings in ArcPadPrefs.apx.
threed optional Restriction of xs:string
Flag to determine if the 3D only setting is applied.
dgps optional Restriction of xs:string
Flag to determine if the DGPS only setting is applied.
pps optional Restriction of xs:string
Flag to determine if the PPS setting is applied.
rtkfixed optional Restriction of xs:string
Flag to determine if the RTK Fixed setting is applied.
rtkfloatorfixed optional Restriction of xs:string
Flag to determine if the RTK Float or Fixed setting is applied.
PDOP
Used to define the maximum PDOP for the GPS quality control settings in ArcPadPrefs.apx.
active optional Restriction of xs:string
maximum optional Restriction of xs:int
TDOP
Used to define the maximum TDOP for the GPS quality control settings in ArcPadPrefs.apx.
active optional Restriction of xs:string
maximum optional Restriction of xs:int
VDOP
Used to define the maximum VDOP for the GPS quality control settings in ArcPadPrefs.apx.
active optional Restriction of xs:string
maximum optional Restriction of xs:int
VPE
Used to define the maximum VPE for the GPS quality control settings in ArcPadPrefs.apx.
active optional Restriction of xs:string
maximum optional Restriction of xs:int
STREAMING
Used to specify the streaming interval settings for the GPS capture settings in ArcPadPrefs.apx.
distanceinterval optional xs:double
Minimum distance interval of GPS fixes to capture at for streaming polyline/polygon features (in meters).
interval optional xs:int
Interval of GPS fixes to capture at for streaming polyline/polygon features (in seconds).
GREEKING
Used to specify the greeking thresholds for features in ArcPadPrefs.apx.
Sequence
MULTIPOINT
Specifies the multipoint greeking thresholds.
color optional xs:string
greeking optional Restriction of xs:string
threshold1 optional Restriction of xs:int
threshold2 optional Restriction of xs:int
threshold3 optional Restriction of xs:int
threshold4 optional Restriction of xs:int
POINT
When parent element is PREFERENCES, POINT specifies the point greeking thresholds.
color optional xs:string
greeking optional Restriction of xs:string
threshold1 optional Restriction of xs:int
threshold2 optional Restriction of xs:int
threshold3 optional Restriction of xs:int
threshold4 optional Restriction of xs:int
POLYGON
Specifies the polygon greeking thresholds.
color optional xs:string
greeking optional Restriction of xs:string
threshold1 optional Restriction of xs:int
threshold2 optional Restriction of xs:int
threshold3 optional Restriction of xs:int
threshold4 optional Restriction of xs:int
color optional xs:string
greeking optional Restriction of xs:string
threshold1 optional Restriction of xs:int
threshold2 optional Restriction of xs:int
threshold3 optional Restriction of xs:int
threshold4 optional Restriction of xs:int
IMS
Used to specify the ArcIMS settings in ArcPadPrefs.apx.
autorefresh optional Restriction of xs:string
Flag that determines whether ArcIMS layers are automatically reloaded from their servers whenever the map is refreshed.
log optional Restriction of xs:string
Flag that determines whether communication with ArcIMS servers are logged to a log file.
LAYERS
Used to specify the autopack settings in ArcPadPrefs.apx.
autopack optional Restriction of xs:string
Flag that determines whether shapefiles with deleted features are automatically packed when they are removed from the map or made uneditable.
LOCALE
When parent element is PREFERENCES, LOCALE is used to specify the user's locale ID in ArcPadPrefs.apx .
lcid optional xs:string
The hexidecimal value of the user's Locale ID (LCID).
rtl optional Restriction of xs:string
Flag that determines whether the locale supports right-to-left character display (for example, Hebrew).
LOCATION
Used to specify the DST distance alert in ArcPadPrefs.apx.
dstalert optional xs:double
Distance for the DST Distance alert (in meters).
MAPGRID
Used to specify map grid settings in ArcPadPrefs.apx.
visible optional Restriction of xs:string
Sequence
SIMPLELINESYMBOL
Used to symbolize line features.
TEXTSYMBOL
Symbol used to label point, line, and polygon layers.
PATHS
Used to specify the default paths in ArcPadPrefs.apx.
applets optional xs:string
Directory name for the applets folder(s). Seperate multiple applet paths with a semicolon. ArcPad will always look in the built-in applets path as well (\Applets).
data optional xs:string
Directory name for the default maps and data folder.
extensions optional xs:string
Directory name for the extensions folder(s). Seperate multiple extensions paths with a semicolon. ArcPad will always look in the built-in extensions path as well (\Extensions).
styles optional xs:string
Directory name for the styles folder(s). Seperate multiple styles paths with a semicolon. ArcPad will always look in the built-in styles path as well (\Styles).
system optional xs:string
Directory name for the system folder.
RANGEFINDER
Used to specify Rangefinder preferences and script subroutines to call when Rangefinder events occur.
autoactivate optional Restriction of xs:string
Flag that determines whether the rangefinder is activated automatically when a map is opened.
capturebutton optional Restriction of xs:string
Specifies the button on the rangefinder device that triggers a measurement.
observerheight optional xs:double
The height of the rangefinder device.
observerreference optional Restriction of xs:string
Specifies if the rangefinder measurement is a foresight (from rangefinder to target) or backsight (from target to rangefinder).
playalert optional Restriction of xs:string
Flag that determines whether the rangefinder alert is played.
protocol optional Restriction of xs:string
The Rangefinder protocol to use.
Sequence
COMPORT
Used to define serial port settings for the AUX or GPS port in ArcPadPrefs.apx.
SCRIPTING
Used to specify the default scripting environment in ArcPad.
language optional Restriction of xs:string
The script engine that interprets the expression.
STARTUP
Used to specify start up settings in ArcPadPrefs.apx
checksql optional Restriction of xs:string
STATUSBAR
Used to define display properties for the status bar.
coordsformat optional Restriction of xs:int
Value that determines the coordinate format of the statusbar. 0: Auto 1: Projection 2: DMS 3: DMM 4: UTM 5: MGRS
TRACKLOG
Used to specify the GPS tracklog settings in ArcPadPrefs.apx.
interval optional xs:string
Interval of GPS fixes to capture at in the tracklog shapefile.
measure optional Restriction of xs:int
The GPS measurement that is stored as the tracklog shapefile's measure value (M-value). The values that represent each measurement are: 0 = PDOP 1 = HDOP 2 = VDOP 3 = TDOP 4 = EPE 5 = HPE 6 = VPE 7 = TIME 8 = DEPTH 9 = SOG 10 = QUALITY
name optional xs:string
qualitycontrol optional Restriction of xs:string
Flag that determines whether quality control parameters are used to filter out GPS fixes captured in the tracklog shapefile.
visible optional Restriction of xs:string
indexratio optional xs:double
priority optional Restriction of xs:string
multithreading optional Restriction of xs:string

Remarks

  • ArcPadPrefs.apx is stored in the My Documents folder on your desktop PC as well as your mobile device and is automatically loaded when ArcPad starts.
  • To restore the default settings in ArcPad, delete ArcPadPrefs.apx

Examples

Source

<xs:element name="PREFERENCES" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used in ArcPadPrefs.apx to define default preferences.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="ALERTS">
        <xs:annotation>
          <xs:documentation>Used to define GPS alert settings in ArcPadPrefs.apx.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="ALERT">
              <xs:annotation>
                <xs:documentation>Used to specify GPS alert settings for the various alerts in ArcPadPrefs.apx.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute default="nogpsdata" name="name" use="optional">
                  <xs:annotation>
                    <xs:documentation>Alert name.</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:enumeration value="nogpsdata" />
                      <xs:enumeration value="maxpdop" />
                      <xs:enumeration value="maxepe" />
                      <xs:enumeration value="nofix" />
                      <xs:enumeration value="notgps" />
                      <xs:enumeration value="not3d" />
                      <xs:enumeration value="approachingdestination" />
                      <xs:enumeration value="dataratewarning" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute default="true" name="play">
                  <xs:annotation>
                    <xs:documentation>Flag that determines whether to play a sound when the alert occurs.</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:enumeration value="true" />
                      <xs:enumeration value="false" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute default="true" name="show">
                  <xs:annotation>
                    <xs:documentation>Flag that determines whether to display a message when the alert occurs.</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:enumeration value="true" />
                      <xs:enumeration value="false" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="sound" type="xs:string">
                  <xs:annotation>
                    <xs:documentation>Path to a .WAV file to play when the alert occurs.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element ref="AUX">
        <xs:annotation>
          <xs:documentation>The parent element for AUX port settings in ArcPadPrefs.apx. Used to specify script subroutines to call when AUX events occur.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CAMERA">
        <xs:annotation>
          <xs:documentation>Used to specify camera settings in ArcPadPrefs.apx.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="device" type="xs:string">
            <xs:annotation>
              <xs:documentation>Specifies the device ID of the active camera.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="filenameformat" type="xs:dateTime">
            <xs:annotation>
              <xs:documentation>The file naming convention to use when naming photos.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="" name="path" type="xs:string">
            <xs:annotation>
              <xs:documentation>Specifies the default path where photos are stored.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="Photo" name="prefix" type="xs:string">
            <xs:annotation>
              <xs:documentation>Specifies the prefix to use when naming photo files.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="75" name="quality">
            <xs:annotation>
              <xs:documentation>Specifies the JPEG quality of the picture taken.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:int">
                <xs:minInclusive value="50" />
                <xs:maxInclusive value="100" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="shortcut" type="xs:string">
            <xs:annotation>
              <xs:documentation>The function key or action button shortcut that triggers a photo capture.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="DISPLAY">
        <xs:annotation>
          <xs:documentation>Used to define display settings in ArcPadPrefs.apx.
</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="SYSTEMTRAY">
              <xs:complexType>
                <xs:attribute default="true" name="gps">
                  <xs:annotation>
                    <xs:documentation>Flag that determines whether the GPS status is displayed in the system tray.</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:enumeration value="true" />
                      <xs:enumeration value="false" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="MAPNAVIGATOR">
              <xs:complexType>
                <xs:attribute ref="visible" />
              </xs:complexType>
            </xs:element>
            <xs:element name="TABBAR">
              <xs:complexType>
                <xs:attribute default="false" name="applicationbutton">
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:enumeration value="true" />
                      <xs:enumeration value="false" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute default="top" name="dock" type="xs:string" />
                <xs:attribute default="false" name="selector">
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:enumeration value="true" />
                      <xs:enumeration value="false" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute default="255,255,255" ref="backgroundcolor">
            <xs:annotation>
              <xs:documentation>The background color of the map.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="1" ref="buttonsize">
            <xs:annotation>
              <xs:documentation>Specifies the scale factor for the size of toolbar buttons. For example, a value of 2 makes toolbar buttons twice as large as the standard size (16X16).</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute ref="height">
            <xs:annotation>
              <xs:documentation>The physical screen height (in milimeters).</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="255,0,0" ref="highlightcolor">
            <xs:annotation>
              <xs:documentation>The color used for highlighting selected features.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="3" ref="highlightwidth">
            <xs:annotation>
              <xs:documentation>The width of the highlighted outline drawn around selected features in pixels.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="false" name="panframe">
            <xs:annotation>
              <xs:documentation>Determines whether the panning frame is displayed around the map.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute default="10" name="panframesize" type="xs:int">
            <xs:annotation>
              <xs:documentation>The width of the panning frame in pixels.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="5" name="tolerance" type="xs:int">
            <xs:annotation>
              <xs:documentation>The pen tolerance for selecting a feature in pixels.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="0" name="units">
            <xs:annotation>
              <xs:documentation>The map display units. 0: Metric 1: Statute 2: Nautical</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="0" />
                <xs:enumeration value="1" />
                <xs:enumeration value="2" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute ref="width">
            <xs:annotation>
              <xs:documentation>The physical screen width (in milimeters).</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="EDITING">
        <xs:annotation>
          <xs:documentation>Used to define editing preferences in ArcPadPrefs.apx.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute default="false" name="zeroz">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="FONTS">
        <xs:annotation>
          <xs:documentation>Used to specify default fonts for ArcPad in ArcPadPrefs.apx.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="DIALOG">
              <xs:annotation>
                <xs:documentation>Used to specify the dialog box font for ArcPad in ArcPadPrefs.apx.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute ref="charset">
                  <xs:annotation>
                    <xs:documentation>Font character set.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute ref="font">
                  <xs:annotation>
                    <xs:documentation>Font name.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute ref="fontsize">
                  <xs:annotation>
                    <xs:documentation>Font size.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="regular" ref="fontstyle">
                  <xs:annotation>
                    <xs:documentation>Font style. If the value is not regular, it can be any combination of other values, expressed as a comma delimited list (for example, fontstyle="bold,underline").</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="LABEL">
              <xs:complexType>
                <xs:attribute default="ANSI" ref="charset">
                  <xs:annotation>
                    <xs:documentation>Font character set.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="System" ref="font">
                  <xs:annotation>
                    <xs:documentation>Font name.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="16" ref="fontsize">
                  <xs:annotation>
                    <xs:documentation>Font size.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="bold" ref="fontstyle">
                  <xs:annotation>
                    <xs:documentation>Font style. If the value is not regular, it can be any combination of other values, expressed as a comma delimited list (for example, fontstyle="bold,underline").</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="GPS">
        <xs:annotation>
          <xs:documentation>Used to specify GPS preferences and script subroutines to call when GPS events occur.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="AVERAGING">
              <xs:complexType>
                <xs:attribute default="false" name="enabled">
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:enumeration value="true" />
                      <xs:enumeration value="false" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="point" type="xs:int" />
                <xs:attribute name="vertex" type="xs:int" />
              </xs:complexType>
            </xs:element>
            <xs:element ref="COMPORT" />
            <xs:element name="HEIGHT">
              <xs:annotation>
                <xs:documentation>Used to specify height settings for the GPS in ArcPadPrefs.apx.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute default="0.0" name="antennaheight" type="xs:double">
                  <xs:annotation>
                    <xs:documentation>The antenna height specified in the GPS Height page of the GPS Preferences dialog in ArcPad, in meters. This value is subtracted from the height reported by the GPS receiver.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="0.0" name="geiodseparation" type="xs:double">
                  <xs:annotation>
                    <xs:documentation>The geoid separation specified in the GPS Height page of the GPS Preferences dialog in ArcPad, in meters. This value is subtracted from the height reported by the GPS receiver.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute name="units" type="xs:string">
                  <xs:annotation>
                    <xs:documentation>The units code that specifies height units for the geoid separation and antenna height in the GPS Height page of the GPS Preferences dialog in ArcPad.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="true" name="usemapunits">
                  <xs:annotation>
                    <xs:documentation>Specifies whether to use the units of the map's coordinate system when storing GPS elevation. If the coordinate system's units are degrees, the height units are meters.</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:enumeration value="true" />
                      <xs:enumeration value="false" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="QUALITYCONTROL">
              <xs:annotation>
                <xs:documentation>Used to define GPS quality control settings in ArcPadPrefs.apx.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="DAGE">
                    <xs:annotation>
                      <xs:documentation>Used to define the maximum DAGE for the GPS quality control settings in ArcPadPrefs.apx.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:attribute default="false" ref="active">
                        <xs:annotation>
                          <xs:documentation>Flag to determine if the maximum DAGE setting is applied.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="maximum">
                        <xs:annotation>
                          <xs:documentation>The maximum DAGE allowed.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="EPE">
                    <xs:annotation>
                      <xs:documentation>Used to define the maximum EPE for the GPS quality control settings in ArcPadPrefs.apx.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:attribute default="false" ref="active">
                        <xs:annotation>
                          <xs:documentation>Flag to determine if the maximum EPE setting is applied.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="maximum">
                        <xs:annotation>
                          <xs:documentation>The maximum EPE allowed.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="HDOP">
                    <xs:annotation>
                      <xs:documentation>Used to define the maximum HDOP for the GPS quality control settings in ArcPadPrefs.apx.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:attribute default="false" ref="active">
                        <xs:annotation>
                          <xs:documentation>Flag to determine if the maximum HDOP setting is applied.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="maximum">
                        <xs:annotation>
                          <xs:documentation>The maximum HDOP allowed.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="MODE">
                    <xs:annotation>
                      <xs:documentation>Used to specify the 3D only and DGPS only settings for the GPS quality control settings in ArcPadPrefs.apx.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:attribute default="false" name="threed">
                        <xs:annotation>
                          <xs:documentation>Flag to determine if the 3D only setting is applied.</xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                          <xs:restriction base="xs:string">
                            <xs:enumeration value="true" />
                            <xs:enumeration value="false" />
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                      <xs:attribute default="false" name="dgps">
                        <xs:annotation>
                          <xs:documentation>Flag to determine if the DGPS only setting is applied.</xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                          <xs:restriction base="xs:string">
                            <xs:enumeration value="true" />
                            <xs:enumeration value="false" />
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                      <xs:attribute default="false" name="pps">
                        <xs:annotation>
                          <xs:documentation>Flag to determine if the PPS setting is applied.</xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                          <xs:restriction base="xs:string">
                            <xs:enumeration value="true" />
                            <xs:enumeration value="false" />
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                      <xs:attribute default="false" name="rtkfixed">
                        <xs:annotation>
                          <xs:documentation>Flag to determine if the RTK Fixed setting is applied.</xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                          <xs:restriction base="xs:string">
                            <xs:enumeration value="true" />
                            <xs:enumeration value="false" />
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                      <xs:attribute default="false" name="rtkfloatorfixed">
                        <xs:annotation>
                          <xs:documentation>Flag to determine if the RTK Float or Fixed setting is applied.</xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                          <xs:restriction base="xs:string">
                            <xs:enumeration value="true" />
                            <xs:enumeration value="false" />
                          </xs:restriction>
                        </xs:simpleType>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="PDOP">
                    <xs:annotation>
                      <xs:documentation>Used to define the maximum PDOP for the GPS quality control settings in ArcPadPrefs.apx.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:attribute default="false" ref="active">
                        <xs:annotation>
                          <xs:documentation>Flag to determine if the maximum PDOP setting is applied.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="maximum">
                        <xs:annotation>
                          <xs:documentation>The maximum PDOP allowed.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="TDOP">
                    <xs:annotation>
                      <xs:documentation>Used to define the maximum TDOP for the GPS quality control settings in ArcPadPrefs.apx.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:attribute default="false" ref="active">
                        <xs:annotation>
                          <xs:documentation>Flag to determine if the maximum TDOP setting is applied.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="maximum">
                        <xs:annotation>
                          <xs:documentation>The maximum TDOP allowed.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="VDOP">
                    <xs:annotation>
                      <xs:documentation>Used to define the maximum VDOP for the GPS quality control settings in ArcPadPrefs.apx.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:attribute default="false" ref="active">
                        <xs:annotation>
                          <xs:documentation>Flag to determine if the maximum VDOP setting is applied.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="maximum">
                        <xs:annotation>
                          <xs:documentation>The maximum VDOP allowed.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="VPE">
                    <xs:annotation>
                      <xs:documentation>Used to define the maximum VPE for the GPS quality control settings in ArcPadPrefs.apx.</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:attribute default="false" ref="active">
                        <xs:annotation>
                          <xs:documentation>Flag to determine if the maximum VPE setting is applied.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                      <xs:attribute ref="maximum">
                        <xs:annotation>
                          <xs:documentation>The maximum VPE allowed.</xs:documentation>
                        </xs:annotation>
                      </xs:attribute>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
                <xs:attribute default="0" name="level">
                  <xs:annotation>
                    <xs:documentation>The level of quality control. 0 for no quality control; 1 for non-compulsory quality control; 2 for compulsory quality control.</xs:documentation>
                  </xs:annotation>
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:enumeration value="0" />
                      <xs:enumeration value="1" />
                      <xs:enumeration value="2" />
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="STREAMING">
              <xs:annotation>
                <xs:documentation>Used to specify the streaming interval settings for the GPS capture settings in ArcPadPrefs.apx.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute default="0.0" name="distanceinterval" type="xs:double">
                  <xs:annotation>
                    <xs:documentation>Minimum distance interval of GPS fixes to capture at for streaming polyline/polygon features (in meters).</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="1" name="interval" type="xs:int">
                  <xs:annotation>
                    <xs:documentation>Interval of GPS fixes to capture at for streaming polyline/polygon features (in seconds).</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="DISPLAY" />
          </xs:sequence>
          <xs:attribute default="0.0" name="antennaheight" type="xs:double" />
          <xs:attribute default="false" name="autoactivate">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute default="false" name="autopan">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="autopanmargin" type="xs:string" />
          <xs:attribute default="false" name="checksum">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="datum" type="xs:string" />
          <xs:attribute default="0.0" name="geoidseparation" type="xs:double" />
          <xs:attribute name="initialize" type="xs:string" />
          <xs:attribute default="0" name="log">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="0" />
                <xs:enumeration value="1" />
                <xs:enumeration value="2" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="logfile" type="xs:string" />
          <xs:attribute default="0.0" name="magneticdeclination" type="xs:double" />
          <xs:attribute default="magnetic" name="northreference">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="magnetic" />
                <xs:enumeration value="true" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="protocol">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="NMEA" />
                <xs:enumeration value="TSIP" />
                <xs:enumeration value="EART" />
                <xs:enumeration value="PLGR" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="useheight">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute ref="onaveragestart" />
          <xs:attribute ref="onaveragestop" />
          <xs:attribute ref="onclose" />
          <xs:attribute ref="onexevent" />
          <xs:attribute ref="onopen" />
          <xs:attribute ref="onposition" />
          <xs:attribute ref="onsentence" />
        </xs:complexType>
      </xs:element>
      <xs:element name="GREEKING">
        <xs:annotation>
          <xs:documentation>Used to specify the greeking thresholds for features in ArcPadPrefs.apx.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="MULTIPOINT">
              <xs:annotation>
                <xs:documentation>Specifies the multipoint greeking thresholds.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute default="128,128,128" ref="color">
                  <xs:annotation>
                    <xs:documentation>Specifies the default greeking color for multipoint geometry.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="true" ref="greeking">
                  <xs:annotation>
                    <xs:documentation>Flag that determines whether multipoint geometry will be greeked.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="3" ref="threshold1">
                  <xs:annotation>
                    <xs:documentation>Specifies the pixel threshold for drawing multipoint features as single pixels.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="8" ref="threshold2">
                  <xs:annotation>
                    <xs:documentation>Specifies the pixel threshold for drawing multipoint features using their actual symbols' greeking styles.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="0" ref="threshold3">
                  <xs:annotation>
                    <xs:documentation>Not used.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="0" ref="threshold4">
                  <xs:annotation>
                    <xs:documentation>Not used.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="POINT">
              <xs:annotation>
                <xs:documentation>When parent element is PREFERENCES, POINT specifies the point greeking thresholds.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute default="128,128,128" ref="color">
                  <xs:annotation>
                    <xs:documentation>Specifies the default greeking color for point geometry.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="true" ref="greeking">
                  <xs:annotation>
                    <xs:documentation>Flag that determines whether point geometry will be greeked.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="0" ref="threshold1">
                  <xs:annotation>
                    <xs:documentation>Not used. Point greeking is either on or off.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="0" ref="threshold2">
                  <xs:annotation>
                    <xs:documentation>Not used. Point greeking is either on or off.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="0" ref="threshold3">
                  <xs:annotation>
                    <xs:documentation>Not used. Point greeking is either on or off.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="0" ref="threshold4">
                  <xs:annotation>
                    <xs:documentation>Not used. Point greeking is either on or off.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="POLYGON">
              <xs:annotation>
                <xs:documentation>Specifies the polygon greeking thresholds.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:attribute default="128,128,128" ref="color">
                  <xs:annotation>
                    <xs:documentation>Specifies the default greeking color for polygon geometry.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="true" ref="greeking">
                  <xs:annotation>
                    <xs:documentation>Flag that determines whether polygon geometry will be greeked.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="1" ref="threshold1">
                  <xs:annotation>
                    <xs:documentation>Specifies the pixel threshold for drawing polygon features as single pixels.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="3" ref="threshold2">
                  <xs:annotation>
                    <xs:documentation>Specifies the pixel threshold for drawing polygon features as rectangles.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="5" ref="threshold3">
                  <xs:annotation>
                    <xs:documentation>Specifies the pixel threshold for drawing polygon features as greeking colored polygons with no outlines.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="8" ref="threshold4">
                  <xs:annotation>
                    <xs:documentation>Specifies the pixel threshold for drawing polygon features using their actual symbols' greeking styles.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
            <xs:element name="POLYLINE">
              <xs:complexType>
                <xs:attribute default="128,128,128" ref="color">
                  <xs:annotation>
                    <xs:documentation>Specifies the default greeking color for polyline geometry.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="true" ref="greeking">
                  <xs:annotation>
                    <xs:documentation>Flag that determines whether polyline geometry will be greeked.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="1" ref="threshold1">
                  <xs:annotation>
                    <xs:documentation>Specifies the pixel threshold for drawing polyline features as single pixels.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="4" ref="threshold2">
                  <xs:annotation>
                    <xs:documentation>Specifies the pixel threshold for drawing polyline features as greeking colored hairlines.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="8" ref="threshold3">
                  <xs:annotation>
                    <xs:documentation>Specifies the pixel threshold for drawing polyline features using their actual symbols' greeking styles.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
                <xs:attribute default="0" ref="threshold4">
                  <xs:annotation>
                    <xs:documentation>Not used.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="IMS">
        <xs:annotation>
          <xs:documentation>Used to specify the ArcIMS settings in ArcPadPrefs.apx.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute default="true" name="autorefresh">
            <xs:annotation>
              <xs:documentation>Flag that determines whether ArcIMS layers are automatically reloaded from their servers whenever the map is refreshed.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute default="false" name="log">
            <xs:annotation>
              <xs:documentation>Flag that determines whether communication with ArcIMS servers are logged to a log file.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="LAYERS">
        <xs:annotation>
          <xs:documentation>Used to specify the autopack settings in ArcPadPrefs.apx.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute default="true" name="autopack">
            <xs:annotation>
              <xs:documentation>Flag that determines whether shapefiles with deleted features are automatically packed when they are removed from the map or made uneditable.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="LOCALE">
        <xs:annotation>
          <xs:documentation>When parent element is PREFERENCES, LOCALE is used to specify the user's locale ID in ArcPadPrefs.apx .</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="lcid" type="xs:string">
            <xs:annotation>
              <xs:documentation>The hexidecimal value of the user's Locale ID (LCID).</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="false" name="rtl">
            <xs:annotation>
              <xs:documentation>Flag that determines whether the locale supports right-to-left character display (for example, Hebrew).</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="LOCATION">
        <xs:annotation>
          <xs:documentation>Used to specify the DST distance alert in ArcPadPrefs.apx.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="dstalert" type="xs:double">
            <xs:annotation>
              <xs:documentation>Distance for the DST Distance alert (in meters).</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="MAPGRID">
        <xs:annotation>
          <xs:documentation>Used to specify map grid settings in ArcPadPrefs.apx.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="SIMPLELINESYMBOL" />
            <xs:element ref="TEXTSYMBOL" />
          </xs:sequence>
          <xs:attribute default="false" ref="visible">
            <xs:annotation>
              <xs:documentation>Specifies whether the map grid is displayed.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="PATHS">
        <xs:annotation>
          <xs:documentation>Used to specify the default paths in ArcPadPrefs.apx.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="applets" type="xs:string">
            <xs:annotation>
              <xs:documentation>Directory name for the applets folder(s). Seperate multiple applet paths with a semicolon. ArcPad will always look in the built-in applets path as well (\Applets).</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="data" type="xs:string">
            <xs:annotation>
              <xs:documentation>Directory name for the default maps and data folder.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="extensions" type="xs:string">
            <xs:annotation>
              <xs:documentation>Directory name for the extensions folder(s). Seperate multiple extensions paths with a semicolon. ArcPad will always look in the built-in extensions path as well (\Extensions).</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="styles" type="xs:string">
            <xs:annotation>
              <xs:documentation>Directory name for the styles folder(s). Seperate multiple styles paths with a semicolon. ArcPad will always look in the built-in styles path as well (\Styles).</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="system" type="xs:string">
            <xs:annotation>
              <xs:documentation>Directory name for the system folder.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="RANGEFINDER">
        <xs:annotation>
          <xs:documentation>Used to specify Rangefinder preferences and script subroutines to call when Rangefinder events occur.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="COMPORT" />
          </xs:sequence>
          <xs:attribute default="false" name="autoactivate">
            <xs:annotation>
              <xs:documentation>Flag that determines whether the rangefinder is activated automatically when a map is opened.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute default="any" name="capturebutton">
            <xs:annotation>
              <xs:documentation>Specifies the button on the rangefinder device that triggers a measurement.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="integer" />
                <xs:enumeration value="any" />
                <xs:enumeration value="none" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute default="0.0" name="observerheight" type="xs:double">
            <xs:annotation>
              <xs:documentation>The height of the rangefinder device.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="foresight" name="observerreference">
            <xs:annotation>
              <xs:documentation>Specifies if the rangefinder measurement is a foresight (from rangefinder to target) or backsight (from target to rangefinder).</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="backsight" />
                <xs:enumeration value="foresight" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute default="true" name="playalert">
            <xs:annotation>
              <xs:documentation>Flag that determines whether the rangefinder alert is played.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="protocol">
            <xs:annotation>
              <xs:documentation>The Rangefinder protocol to use.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="@LAT" />
                <xs:enumeration value="@LCC" />
                <xs:enumeration value="@LTI" />
                <xs:enumeration value="@LDI" />
                <xs:enumeration value="@LLV" />
                <xs:enumeration value="@LMD" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="SCRIPTING">
        <xs:annotation>
          <xs:documentation>Used to specify the default scripting environment in ArcPad.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute default="VBScript" ref="language">
            <xs:annotation>
              <xs:documentation>Specifies the default scripting language.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="STARTUP">
        <xs:complexType>
          <xs:attribute default="true" name="checksql">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="STATUSBAR">
        <xs:annotation>
          <xs:documentation>Used to define display properties for the status bar.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute default="0" name="coordsformat">
            <xs:annotation>
              <xs:documentation>Value that determines the coordinate format of the statusbar. 0: Auto 1: Projection 2: DMS 3: DMM 4: UTM 5: MGRS</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:int">
                <xs:enumeration value="0" />
                <xs:enumeration value="1" />
                <xs:enumeration value="2" />
                <xs:enumeration value="3" />
                <xs:enumeration value="4" />
                <xs:enumeration value="5" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="TRACKLOG">
        <xs:annotation>
          <xs:documentation>Used to specify the GPS tracklog settings in ArcPadPrefs.apx.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute default="1,0,0" name="interval" type="xs:string">
            <xs:annotation>
              <xs:documentation>Interval of GPS fixes to capture at in the tracklog shapefile.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="0" name="measure">
            <xs:annotation>
              <xs:documentation>The GPS measurement that is stored as the tracklog shapefile's measure value (M-value). The values that represent each measurement are:
0 = PDOP
1 = HDOP
2 = VDOP
3 = TDOP
4 = EPE
5 = HPE
6 = VPE
7 = TIME
8 = DEPTH
9 = SOG
10 = QUALITY</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:int">
                <xs:minInclusive value="0" />
                <xs:maxInclusive value="10" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute ref="name">
            <xs:annotation>
              <xs:documentation>Complete path and filename of tracklog shapefile.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute default="true" name="qualitycontrol">
            <xs:annotation>
              <xs:documentation>Flag that determines whether quality control parameters are used to filter out GPS fixes captured in the tracklog shapefile.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute default="false" ref="visible">
            <xs:annotation>
              <xs:documentation>Specifies whether the tracklog is displayed.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
      <xs:element name="DRAWING">
        <xs:complexType>
          <xs:attribute default="0.25" name="indexratio" type="xs:double" />
          <xs:attribute default="idle" name="priority">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="timecritical" />
                <xs:enumeration value="highest" />
                <xs:enumeration value="abovenormal" />
                <xs:enumeration value="normal" />
                <xs:enumeration value="belownormal" />
                <xs:enumeration value="lowest" />
                <xs:enumeration value="aboveidle" />
                <xs:enumeration value="idle" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="multithreading">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="true" />
                <xs:enumeration value="false" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.