Example usage for org.apache.poi.ss.usermodel BorderStyle SLANTED_DASH_DOT

List of usage examples for org.apache.poi.ss.usermodel BorderStyle SLANTED_DASH_DOT

Introduction

In this page you can find the example usage for org.apache.poi.ss.usermodel BorderStyle SLANTED_DASH_DOT.

Prototype

BorderStyle SLANTED_DASH_DOT

To view the source code for org.apache.poi.ss.usermodel BorderStyle SLANTED_DASH_DOT.

Click Source Link

Document

slanted dash-dot border

Usage

From source file:org.sysmodb.xml.XMLStyleGenerator.java

License:BSD License

private static Map<BorderStyle, String> createBorderMap() {
    Map<BorderStyle, String> result = new HashMap<BorderStyle, String>();
    result.put(BorderStyle.DASHED, "dashed 1pt");
    result.put(BorderStyle.DASH_DOT, "dashed 1pt");
    result.put(BorderStyle.DASH_DOT_DOT, "dashed 1pt");
    result.put(BorderStyle.DOTTED, "dotted 1pt");
    result.put(BorderStyle.DOUBLE, "double 3pt");
    result.put(BorderStyle.HAIR, "solid 1pt");
    result.put(BorderStyle.MEDIUM, "2pt solid");
    result.put(BorderStyle.MEDIUM_DASHED, "2pt dashed");
    result.put(BorderStyle.MEDIUM_DASH_DOT, "2pt dashed");
    result.put(BorderStyle.MEDIUM_DASH_DOT_DOT, "2pt dashed");
    result.put(BorderStyle.NONE, "none");
    result.put(BorderStyle.SLANTED_DASH_DOT, "dashed 2pt");
    result.put(BorderStyle.THICK, "solid 3pt");
    result.put(BorderStyle.THIN, "dashed 1pt");

    return Collections.unmodifiableMap(result);
}