public class POIXMLUnits
extends java.lang.Object
Constructor and Description |
---|
POIXMLUnits() |
Modifier and Type | Method and Description |
---|---|
static long |
parseLength(org.openxmlformats.schemas.drawingml.x2006.main.STCoordinate coordUnion)
The standard states that ST_Coordinate is read and written as either a length followed by a unit, or EMUs with no unit present.
(该标准规定 ST_Coordinate 被读取和写入为长度后跟一个单位,或不存在单位的 EMU。)
|
static long |
parseLength(org.openxmlformats.schemas.drawingml.x2006.main.STCoordinate32 coordUnion)
The standard states that ST_Coordinate32 is read and written as either a length followed by a unit, or EMUs with no unit present.
(该标准规定 ST_Coordinate32 被读取和写入为长度后跟一个单位,或不存在单位的 EMU。)
|
static long |
parseLength(org.openxmlformats.schemas.wordprocessingml.x2006.main.STHpsMeasure coordUnion)
If no unit is specified, a hps-measure is a half of a point
(如果未指定单位,则 hps-measure 为点的一半)
|
static long |
parseLength(org.openxmlformats.schemas.wordprocessingml.x2006.main.STMeasurementOrPercent coordUnion)
If not unit is specified, DXA (twentieth of a point) is assumed
(如果未指定单位,则假定为 DXA(点的二十分之一))
|
static long |
parseLength(org.openxmlformats.schemas.wordprocessingml.x2006.main.STSignedHpsMeasure coordUnion)
If no unit is specified, a hps-measure is a half of a point
(如果未指定单位,则 hps-measure 为点的一半)
|
static long |
parseLength(org.openxmlformats.schemas.wordprocessingml.x2006.main.STSignedTwipsMeasure coordUnion)
If no unit is specified, a twips-measure is a twentieth of a point
(如果未指定单位,则 twips-measure 为点的二十分之一)
|
static long |
parseLength(org.openxmlformats.schemas.drawingml.x2006.main.STTextPoint coordUnion)
The standard states that ST_TextPoint is read and written as a length followed by a unit or as hundredths of a point with no unit present.
(标准规定 ST_TextPoint 被读取和写入为长度后跟一个单位或作为不存在单位的点的百分之一。)
|
static long |
parseLength(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTwipsMeasure coordUnion)
If no unit is specified, a twips-measure is a twentieth of a point
(如果未指定单位,则 twips-measure 为点的二十分之一)
|
static boolean |
parseOnOff(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTOnOff onOff) |
static boolean |
parseOnOff(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STOnOff onOff) |
static int |
parsePercent(org.openxmlformats.schemas.wordprocessingml.x2006.main.STDecimalNumberOrPercent pctUnion)
This type seems to be interpreted as percent value when the trailing percent sign is missing.
sample snippet from settings.xml (当缺少尾随百分号时,这种类型似乎被解释为百分比值。来自 settings.xml 的示例片段) |
static int |
parsePercent(org.openxmlformats.schemas.drawingml.x2006.chart.STDepthPercent pctUnion) |
static int |
parsePercent(org.openxmlformats.schemas.drawingml.x2006.chart.STGapAmount pctUnion) |
static int |
parsePercent(org.openxmlformats.schemas.drawingml.x2006.chart.STHPercent pctUnion) |
static int |
parsePercent(org.openxmlformats.schemas.drawingml.x2006.chart.STOverlap pctUnion) |
static int |
parsePercent(org.openxmlformats.schemas.drawingml.x2006.main.STPercentage pctUnion)
Office will read percentages formatted with a trailing percent sign or formatted as 1000th of a percent without a trailing percent sign
(Office 将读取格式为带有尾随百分号的百分比或格式为无尾随百分号的千分之一的百分比)
|
static int |
parsePercent(org.openxmlformats.schemas.drawingml.x2006.main.STPositiveFixedPercentage pctUnion)
Office will read percentages formatted with a trailing percent sign or formatted as 1000th of a percent without a trailing percent sign
(Office 将读取格式为带有尾随百分号的百分比或格式为无尾随百分号的千分之一的百分比)
|
static int |
parsePercent(org.openxmlformats.schemas.drawingml.x2006.main.STPositivePercentage pctUnion)
Office will read percentages formatted with a trailing percent sign or formatted as 1000th of a percent without a trailing percent sign
(Office 将读取格式为带有尾随百分号的百分比或格式为无尾随百分号的千分之一的百分比)
|
static int |
parsePercent(org.openxmlformats.schemas.drawingml.x2006.main.STTextBulletSizePercent pctUnion)
Specifies the percentage of the text size that this bullet should be.
(指定此项目符号应该是文本大小的百分比。)
|
static int |
parsePercent(org.openxmlformats.schemas.drawingml.x2006.main.STTextFontScalePercentOrPercentString pctUnion)
Office will read percentages formatted with a trailing percent sign or formatted as 1000th of a percent without a trailing percent sign
(Office 将读取格式为带有尾随百分号的百分比或格式为无尾随百分号的千分之一的百分比)
|
static int |
parsePercent(org.openxmlformats.schemas.wordprocessingml.x2006.main.STTextScale pctUnion)
This type seems to be interpreted as percent value when the trailing percent sign is missing.
sample snippet from settings.xml (当缺少尾随百分号时,这种类型似乎被解释为百分比值。来自 settings.xml 的示例片段) |
static int |
parsePercent(org.openxmlformats.schemas.drawingml.x2006.main.STTextSpacingPercentOrPercentString pctUnion)
Office will read percentages formatted with a trailing percent sign or formatted as 1000th of a percent without a trailing percent sign
(Office 将读取格式为带有尾随百分号的百分比或格式为无尾随百分号的千分之一的百分比)
|
public static int parsePercent(org.openxmlformats.schemas.drawingml.x2006.main.STPositivePercentage pctUnion)
public static int parsePercent(org.openxmlformats.schemas.drawingml.x2006.main.STPositiveFixedPercentage pctUnion)
public static int parsePercent(org.openxmlformats.schemas.drawingml.x2006.main.STPercentage pctUnion)
public static int parsePercent(org.openxmlformats.schemas.drawingml.x2006.main.STTextBulletSizePercent pctUnion)
public static int parsePercent(org.openxmlformats.schemas.drawingml.x2006.main.STTextSpacingPercentOrPercentString pctUnion)
public static int parsePercent(org.openxmlformats.schemas.drawingml.x2006.main.STTextFontScalePercentOrPercentString pctUnion)
public static int parsePercent(org.openxmlformats.schemas.wordprocessingml.x2006.main.STDecimalNumberOrPercent pctUnion)
<w:zoom w:percent="50" />(当缺少尾随百分号时,这种类型似乎被解释为百分比值。来自 settings.xml 的示例片段
public static int parsePercent(org.openxmlformats.schemas.wordprocessingml.x2006.main.STTextScale pctUnion)
<w:textscale w:w="50" />(当缺少尾随百分号时,这种类型似乎被解释为百分比值。来自 settings.xml 的示例片段
public static int parsePercent(org.openxmlformats.schemas.drawingml.x2006.chart.STGapAmount pctUnion)
public static int parsePercent(org.openxmlformats.schemas.drawingml.x2006.chart.STOverlap pctUnion)
public static int parsePercent(org.openxmlformats.schemas.drawingml.x2006.chart.STDepthPercent pctUnion)
public static int parsePercent(org.openxmlformats.schemas.drawingml.x2006.chart.STHPercent pctUnion)
public static long parseLength(org.openxmlformats.schemas.drawingml.x2006.main.STCoordinate32 coordUnion)
public static long parseLength(org.openxmlformats.schemas.drawingml.x2006.main.STCoordinate coordUnion)
public static long parseLength(org.openxmlformats.schemas.drawingml.x2006.main.STTextPoint coordUnion)
public static long parseLength(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STTwipsMeasure coordUnion)
public static long parseLength(org.openxmlformats.schemas.wordprocessingml.x2006.main.STSignedTwipsMeasure coordUnion)
public static long parseLength(org.openxmlformats.schemas.wordprocessingml.x2006.main.STHpsMeasure coordUnion)
public static long parseLength(org.openxmlformats.schemas.wordprocessingml.x2006.main.STSignedHpsMeasure coordUnion)
public static long parseLength(org.openxmlformats.schemas.wordprocessingml.x2006.main.STMeasurementOrPercent coordUnion)
public static boolean parseOnOff(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTOnOff onOff)
public static boolean parseOnOff(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STOnOff onOff)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.