poi/src/records/definitions/tick_record.xml

45 lines
3.0 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<!--
====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
====================================================================
-->
<record id="0x101e" name="Tick" excel-record-id="TICK" package="org.apache.poi.hssf.record">
<suffix>Record</suffix>
<extends>Record</extends>
<description>The Tick record defines how tick marks and label positioning/formatting</description>
<author>Andrew C. Oliver(acoliver at apache.org)</author>
<fields>
<field type="int" size="1" name="major tick type" description="type of major tick mark 0 (none),1 (inside axis line), 2 (outside axis line), 3 (cross axis line)"/>
<field type="int" size="1" name="minor tick type" description="type of minor tick mark 0 (none),1 (inside axis line), 2 (outside axis line), 3 (cross axis line)"/>
<field type="int" size="1" name="label position" decription="label position relative to the axis line 0=invisible, 1=low end,2=high end, 3=next to axis"/>
<field type="int" size="1" name="background" description="1=transparent, 2=opaque"/>
<field type="int" size="4" name="label color rgb" description="an RGB value of the label text where highbyte=0"/>
<field type="int" size="4" name="zero 1" description="must be 0"/>
<field type="int" size="4" name="zero 2" description="must be 0"/>
<field type="int" size="4" name="zero 3" description="must be 0"/>
<field type="int" size="4" name="zero 4" description="must be 0"/>
<field type="int" size="2" name="options">
<bit number="0" name="auto text color" description="use the quote unquote automatic color for text"/>
<bit number="1" name="auto text background" description="use the quote unquote automatic color for text background"/>
<bit mask="0x1c" name="rotation" description="rotate text (0=none, 1=normal, 2=90 degrees counterclockwise, 3=90 degrees clockwise)"/>
<bit number="5" name="autorotate" description="automatically rotate the text"/>
</field>
<field type="int" size="2" name="tick color" description="HSSFColor for tick label"/>
<field type="int" size="2" name="zero 5" description="must be 0"/>
</fields>
</record>