borderstyle-ag凯发旗舰厅
com.spire.doc.documents
enum borderstyle
java.lang.object
java.lang.enum<borderstyle>
com.spire.doc.documents.borderstyle
- all implemented interfaces:
- java.lang.comparable<borderstyle>
public enum borderstyle
- extends java.lang.enum<borderstyle>
specifies style of the border line.
none
public static final borderstyle none
- in ms word binary format linestyle.none means no border for all objects, except table cells.
for table cells linestyle.none means inherit from the default table border.
apparently this looks like a very bad hack made by someone at ms and i work around it
by making linestyle.none to mean "no border" for any object in the model including table cells.
the translation is performed in the binary cell input/output.
i also use a single approach to indicate that a border is inherited. at first the border attribute
is simply missing, but if a use requests it, a border object is instantiated in "inherited" mode.
ds 12.10.2010. right now the enum contains the continuous range of values and it is used in
border.hasvalidlinestyle to define if a line style belongs to the enum or not. if new values
are added to the enum then border.hasvalidlinestyle should be reworked correspondingly.
single
public static final borderstyle single
thick
public static final borderstyle thick
double
public static final borderstyle double
hairline
public static final borderstyle hairline
dot
public static final borderstyle dot
dash_large_gap
public static final borderstyle dash_large_gap
dot_dash
public static final borderstyle dot_dash
dot_dot_dash
public static final borderstyle dot_dot_dash
triple
public static final borderstyle triple
thin_thick_small_gap
public static final borderstyle thin_thick_small_gap
thick_thin_small_gap
public static final borderstyle thick_thin_small_gap
thin_thin_small_gap
public static final borderstyle thin_thin_small_gap
thin_thick_thin_small_gap
public static final borderstyle thin_thick_thin_small_gap
thin_thick_medium_gap
public static final borderstyle thin_thick_medium_gap
thick_thin_medium_gap
public static final borderstyle thick_thin_medium_gap
thin_thick_thin_medium_gap
public static final borderstyle thin_thick_thin_medium_gap
thick_thick_thin_medium_gap
public static final borderstyle thick_thick_thin_medium_gap
thin_thick_large_gap
public static final borderstyle thin_thick_large_gap
thick_thin_large_gap
public static final borderstyle thick_thin_large_gap
thin_thick_thin_large_gap
public static final borderstyle thin_thick_thin_large_gap
wave
public static final borderstyle wave
double_wave
public static final borderstyle double_wave
dash_small_gap
public static final borderstyle dash_small_gap
dash_dot_stroker
public static final borderstyle dash_dot_stroker
emboss_3_d
public static final borderstyle emboss_3_d
engrave_3_d
public static final borderstyle engrave_3_d
outset
public static final borderstyle outset
inset
public static final borderstyle inset
twisted_lines_1
public static final borderstyle twisted_lines_1
cleared
public static final borderstyle cleared
getvalue
public int getvalue()