Package org.apache.poi.ss.usermodel

Examples of org.apache.poi.ss.usermodel.Cell


            }
        }

        @Override
        public void byteProperty(PropertyName name, Context context) {
            Cell cell = context.nextCell();
            Byte value = (Byte) context.getValue(name);
            if (value != null) {
                cell.setCellValue(value);
            }
        }
View Full Code Here


            }
        }

        @Override
        public void shortProperty(PropertyName name, Context context) {
            Cell cell = context.nextCell();
            Short value = (Short) context.getValue(name);
            if (value != null) {
                cell.setCellValue(value);
            }
        }
View Full Code Here

            }
        }

        @Override
        public void intProperty(PropertyName name, Context context) {
            Cell cell = context.nextCell();
            Integer value = (Integer) context.getValue(name);
            if (value != null) {
                cell.setCellValue(value);
            }
        }
View Full Code Here

            }
        }

        @Override
        public void longProperty(PropertyName name, Context context) {
            Cell cell = context.nextCell();
            Long value = (Long) context.getValue(name);
            if (value != null) {
                cell.setCellValue(value);
            }
        }
View Full Code Here

            }
        }

        @Override
        public void integerProperty(PropertyName name, Context context) {
            Cell cell = context.nextCell();
            BigInteger value = (BigInteger) context.getValue(name);
            if (value != null) {
                cell.setCellValue(value.toString());
            }
        }
View Full Code Here

            }
        }

        @Override
        public void floatProperty(PropertyName name, Context context) {
            Cell cell = context.nextCell();
            Float value = (Float) context.getValue(name);
            if (value != null) {
                cell.setCellValue(value);
            }
        }
View Full Code Here

            }
        }

        @Override
        public void doubleProperty(PropertyName name, Context context) {
            Cell cell = context.nextCell();
            Double value = (Double) context.getValue(name);
            if (value != null) {
                cell.setCellValue(value);
            }
        }
View Full Code Here

            }
        }

        @Override
        public void decimalProperty(PropertyName name, Context context) {
            Cell cell = context.nextCell();
            BigDecimal value = (BigDecimal) context.getValue(name);
            if (value != null) {
                cell.setCellValue(value.toPlainString());
            }
        }
View Full Code Here

            }
        }

        @Override
        public void stringProperty(PropertyName name, Context context) {
            Cell cell = context.nextCell();
            String value = (String) context.getValue(name);
            if (value != null) {
                cell.setCellValue(value);
            }
        }
View Full Code Here

            }
        }

        @Override
        public void dateProperty(PropertyName name, Context context) {
            Cell cell = context.nextCell();
            cell.setCellStyle(info.dataStyle);
            Calendar value = (Calendar) context.getValue(name);
            if (value != null) {
                cell.setCellValue(value);
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.poi.ss.usermodel.Cell

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.