Package io.keikai.range.impl.imexp
Class PoiEnumConversion
java.lang.Object
io.keikai.range.impl.imexp.PoiEnumConversion
An utility to convert enumeration constant between ZSS model and POI model.
This utility helps developers who want to write their own importer or exporter based on POI.
- Since:
- 3.5.0
- Author:
- kuro, Hawk
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortBold boldness (bold) for xls use only -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ValueAxisImpl.CrossBetweentoAxisBetween(org.apache.poi.xddf.usermodel.chart.AxisCrossBetween crossBetween) static AbstractChartAxisAdv.CrossestoAxisCrosses(org.apache.poi.xddf.usermodel.chart.AxisCrosses crosses) static CategoryAxisImpl.LabelAligntoAxisLabelAlign(org.apache.poi.xddf.usermodel.chart.AxisLabelAlignment labelAlign) toAxisOrientation(org.apache.poi.xddf.usermodel.chart.AxisOrientation orientation) toAxisPosition(org.apache.poi.xddf.usermodel.chart.AxisPosition position) toAxisTickLabelPosition(org.apache.poi.xddf.usermodel.chart.AxisTickLabelPosition tickLabelPosition) static SChart.BarDirectiontoBarDirection(org.apache.poi.xddf.usermodel.chart.BarDirection direction) static SFont.BoldweighttoBoldweight(boolean bold) static SFont.BoldweighttoBoldweight(short bold) static SBorder.BorderTypetoBorderType(org.apache.poi.ss.usermodel.BorderStyle poiBorder) static ErrorValuetoErrorCode(byte errorCellValue) static SDataValidation.AlertStyletoErrorStyle(int errorStyle) static SFill.FillPatterntoFillPattern(org.apache.poi.ss.usermodel.FillPatternType poiFillPattern) static SCellStyle.AlignmenttoHorizontalAlignment(org.apache.poi.ss.usermodel.HorizontalAlignment poiHorizontalAlignment) static SHyperlink.HyperlinkTypetoHyperlinkType(org.apache.poi.common.usermodel.HyperlinkType type) static SChart.ChartLegendPositiontoLengendPosition(org.apache.poi.xddf.usermodel.chart.LegendPosition position) static SDataValidation.OperatorTypetoOperatorType(int poiOperator) static SPrintSetup.PaperSizetoPaperSize(short paperSize) static org.apache.poi.xddf.usermodel.chart.AxisCrossBetweentoPoiAxisBetween(ValueAxisImpl.CrossBetween crossBetween) static org.apache.poi.xddf.usermodel.chart.AxisCrossesstatic org.apache.poi.xddf.usermodel.chart.AxisLabelAlignmenttoPoiAxisLabelAlign(CategoryAxisImpl.LabelAlign labelAlign) static org.apache.poi.xddf.usermodel.chart.AxisOrientationtoPoiAxisOrientation(AbstractChartAxisAdv.Orientation orientation) static org.apache.poi.xddf.usermodel.chart.AxisPositionstatic org.apache.poi.xddf.usermodel.chart.AxisTickLabelPositionstatic org.apache.poi.xddf.usermodel.chart.BarDirectiontoPoiBarDirection(SChart.BarDirection direction) static org.apache.poi.xddf.usermodel.chart.BarGroupingtoPoiBarGrouping(SChart.ChartGrouping grouping) static shortstatic org.apache.poi.ss.usermodel.BorderStyletoPoiBorderType(SBorder.BorderType borderType) static intstatic org.apache.poi.ss.usermodel.FillPatternTypetoPoiFillPattern(SFill.FillPattern fillPattern) static inttoPoiFilterOperator(SAutoFilter.FilterOp operator) static org.apache.poi.xddf.usermodel.chart.GroupingtoPoiGrouping(SChart.ChartGrouping grouping) static org.apache.poi.ss.usermodel.HorizontalAlignmenttoPoiHorizontalAlignment(SCellStyle.Alignment alignment) static org.apache.poi.common.usermodel.HyperlinkTypestatic org.apache.poi.xddf.usermodel.chart.LegendPositionstatic intstatic shorttoPoiPaperSize(SPrintSetup.PaperSize paperSize) static inttoPoiPictureFormat(SPicture.Format format) static org.apache.poi.xddf.usermodel.chart.XDDFDateAxisHelper.TimeUnittoPoiTimeUnit(DateAxisImpl.TimeUnit timeUnit) static shorttoPoiTypeOffset(SFont.TypeOffset typeOffset) static bytetoPoiUnderline(SFont.Underline underline) static org.apache.poi.ss.usermodel.VerticalAlignmenttoPoiVerticalAlignment(SCellStyle.VerticalAlignment vAlignment) static SFont.TypeOffsettoTypeOffset(short typeOffset) static SFont.UnderlinetoUnderline(byte underline) toValidationType(int validationType) static SCellStyle.VerticalAlignmenttoVerticalAlignment(org.apache.poi.ss.usermodel.VerticalAlignment poiVerticalAlignment)
-
Field Details
-
BOLDWEIGHT_BOLD
public static final short BOLDWEIGHT_BOLDBold boldness (bold) for xls use only- See Also:
-
-
Constructor Details
-
PoiEnumConversion
public PoiEnumConversion()
-
-
Method Details
-
toPoiHyperlinkType
public static org.apache.poi.common.usermodel.HyperlinkType toPoiHyperlinkType(SHyperlink.HyperlinkType type) -
toHyperlinkType
public static SHyperlink.HyperlinkType toHyperlinkType(org.apache.poi.common.usermodel.HyperlinkType type) -
toPoiFilterOperator
-
toPoiPaperSize
-
toPaperSize
-
toPoiVerticalAlignment
public static org.apache.poi.ss.usermodel.VerticalAlignment toPoiVerticalAlignment(SCellStyle.VerticalAlignment vAlignment) -
toVerticalAlignment
public static SCellStyle.VerticalAlignment toVerticalAlignment(org.apache.poi.ss.usermodel.VerticalAlignment poiVerticalAlignment) -
toPoiFillPattern
public static org.apache.poi.ss.usermodel.FillPatternType toPoiFillPattern(SFill.FillPattern fillPattern) -
toFillPattern
public static SFill.FillPattern toFillPattern(org.apache.poi.ss.usermodel.FillPatternType poiFillPattern) -
toPoiBorderType
public static org.apache.poi.ss.usermodel.BorderStyle toPoiBorderType(SBorder.BorderType borderType) -
toBorderType
-
toPoiHorizontalAlignment
public static org.apache.poi.ss.usermodel.HorizontalAlignment toPoiHorizontalAlignment(SCellStyle.Alignment alignment) -
toHorizontalAlignment
public static SCellStyle.Alignment toHorizontalAlignment(org.apache.poi.ss.usermodel.HorizontalAlignment poiHorizontalAlignment) -
toPoiBoldweight
-
toBoldweight
-
toBoldweight
-
toPoiTypeOffset
-
toTypeOffset
-
toPoiUnderline
-
toUnderline
-
toPoiPictureFormat
-
toPoiGrouping
public static org.apache.poi.xddf.usermodel.chart.Grouping toPoiGrouping(SChart.ChartGrouping grouping) -
toPoiBarGrouping
public static org.apache.poi.xddf.usermodel.chart.BarGrouping toPoiBarGrouping(SChart.ChartGrouping grouping) -
toPoiBarDirection
public static org.apache.poi.xddf.usermodel.chart.BarDirection toPoiBarDirection(SChart.BarDirection direction) -
toBarDirection
public static SChart.BarDirection toBarDirection(org.apache.poi.xddf.usermodel.chart.BarDirection direction) -
toPoiLegendPosition
public static org.apache.poi.xddf.usermodel.chart.LegendPosition toPoiLegendPosition(SChart.ChartLegendPosition position) -
toLengendPosition
public static SChart.ChartLegendPosition toLengendPosition(org.apache.poi.xddf.usermodel.chart.LegendPosition position) -
toAxisCrosses
public static AbstractChartAxisAdv.Crosses toAxisCrosses(org.apache.poi.xddf.usermodel.chart.AxisCrosses crosses) -
toPoiAxisCrosses
public static org.apache.poi.xddf.usermodel.chart.AxisCrosses toPoiAxisCrosses(AbstractChartAxisAdv.Crosses crosses) -
toPoiAxisOrientation
public static org.apache.poi.xddf.usermodel.chart.AxisOrientation toPoiAxisOrientation(AbstractChartAxisAdv.Orientation orientation) -
toAxisOrientation
public static AbstractChartAxisAdv.Orientation toAxisOrientation(org.apache.poi.xddf.usermodel.chart.AxisOrientation orientation) -
toPoiAxisPosition
public static org.apache.poi.xddf.usermodel.chart.AxisPosition toPoiAxisPosition(AbstractChartAxisAdv.Position position) -
toAxisPosition
public static AbstractChartAxisAdv.Position toAxisPosition(org.apache.poi.xddf.usermodel.chart.AxisPosition position) -
toPoiAxisTickLabelPosition
public static org.apache.poi.xddf.usermodel.chart.AxisTickLabelPosition toPoiAxisTickLabelPosition(AbstractChartAxisAdv.TickLabelPosition position) -
toAxisTickLabelPosition
public static AbstractChartAxisAdv.TickLabelPosition toAxisTickLabelPosition(org.apache.poi.xddf.usermodel.chart.AxisTickLabelPosition tickLabelPosition) -
toPoiAxisLabelAlign
public static org.apache.poi.xddf.usermodel.chart.AxisLabelAlignment toPoiAxisLabelAlign(CategoryAxisImpl.LabelAlign labelAlign) -
toAxisLabelAlign
public static CategoryAxisImpl.LabelAlign toAxisLabelAlign(org.apache.poi.xddf.usermodel.chart.AxisLabelAlignment labelAlign) -
toPoiTimeUnit
public static org.apache.poi.xddf.usermodel.chart.XDDFDateAxisHelper.TimeUnit toPoiTimeUnit(DateAxisImpl.TimeUnit timeUnit) -
toPoiAxisBetween
public static org.apache.poi.xddf.usermodel.chart.AxisCrossBetween toPoiAxisBetween(ValueAxisImpl.CrossBetween crossBetween) -
toAxisBetween
public static ValueAxisImpl.CrossBetween toAxisBetween(org.apache.poi.xddf.usermodel.chart.AxisCrossBetween crossBetween) -
toPoiOperatorType
-
toOperatorType
-
toPoiErrorStyle
-
toErrorStyle
-
toValidationType
-
toErrorCode
-