*/
    public int getLinkType() {
        // border style has W value for border with
        if (borderStyle != null) {
            if (borderStyle.getStrokeWidth() > 0) {
                return VISIBLE_RECTANGLE;
            }
        }
        // look for a border, 0,0,1 has one, 0,0,0 doesn't
        else if (border != null) {
            if (border.size() >= 3 && border.get(2).floatValue() > 0) {
                return VISIBLE_RECTANGLE;
            }
        }
        // should never happen
        return INVISIBLE_RECTANGLE;
    }