public String toString()

in pdfbox/src/main/java/org/apache/pdfbox/pdmodel/documentinterchange/taggedpdf/PDLayoutAttributeObject.java [1478:1684]


    public String toString()
    {
        StringBuilder sb = new StringBuilder().append(super.toString());
        if (this.isSpecified(PLACEMENT))
        {
            sb.append(", Placement=").append(this.getPlacement());
        }
        if (this.isSpecified(WRITING_MODE))
        {
            sb.append(", WritingMode=").append(this.getWritingMode());
        }
        if (this.isSpecified(BACKGROUND_COLOR))
        {
            sb.append(", BackgroundColor=").append(this.getBackgroundColor());
        }
        if (this.isSpecified(BORDER_COLOR))
        {
            sb.append(", BorderColor=").append(this.getBorderColors());
        }
        if (this.isSpecified(BORDER_STYLE))
        {
            Object borderStyle = this.getBorderStyle();
            sb.append(", BorderStyle=");
            if (borderStyle instanceof String[])
            {
                sb.append(arrayToString((String[]) borderStyle));
            }
            else
            {
                sb.append(borderStyle);
            }
        }
        if (this.isSpecified(BORDER_THICKNESS))
        {
            Object borderThickness = this.getBorderThickness();
            sb.append(", BorderThickness=");
            if (borderThickness instanceof float[])
            {
                sb.append(arrayToString((float[]) borderThickness));
            }
            else
            {
                sb.append(borderThickness);
            }
        }
        if (this.isSpecified(PADDING))
        {
            Object padding = this.getPadding();
            sb.append(", Padding=");
            if (padding instanceof float[])
            {
                sb.append(arrayToString((float[]) padding));
            }
            else
            {
                sb.append(padding);
            }
        }
        if (this.isSpecified(COLOR))
        {
            sb.append(", Color=").append(this.getColor());
        }
        if (this.isSpecified(SPACE_BEFORE))
        {
            sb.append(", SpaceBefore=")
                .append(this.getSpaceBefore());
        }
        if (this.isSpecified(SPACE_AFTER))
        {
            sb.append(", SpaceAfter=")
                .append(this.getSpaceAfter());
        }
        if (this.isSpecified(START_INDENT))
        {
            sb.append(", StartIndent=")
                .append(this.getStartIndent());
        }
        if (this.isSpecified(END_INDENT))
        {
            sb.append(", EndIndent=")
                .append(this.getEndIndent());
        }
        if (this.isSpecified(TEXT_INDENT))
        {
            sb.append(", TextIndent=")
                .append(this.getTextIndent());
        }
        if (this.isSpecified(TEXT_ALIGN))
        {
            sb.append(", TextAlign=").append(this.getTextAlign());
        }
        if (this.isSpecified(BBOX))
        {
            sb.append(", BBox=").append(this.getBBox());
        }
        if (this.isSpecified(WIDTH))
        {
            sb.append(", Width=").append(this.getWidth());
        }
        if (this.isSpecified(HEIGHT))
        {
            sb.append(", Height=").append(this.getHeight());
        }
        if (this.isSpecified(BLOCK_ALIGN))
        {
            sb.append(", BlockAlign=").append(this.getBlockAlign());
        }
        if (this.isSpecified(INLINE_ALIGN))
        {
            sb.append(", InlineAlign=").append(this.getInlineAlign());
        }
        if (this.isSpecified(T_BORDER_STYLE))
        {
            Object tBorderStyle = this.getTBorderStyle();
            sb.append(", TBorderStyle=");
            if (tBorderStyle instanceof String[])
            {
                sb.append(arrayToString((String[]) tBorderStyle));
            }
            else
            {
                sb.append(tBorderStyle);
            }
        }
        if (this.isSpecified(T_PADDING))
        {
            Object tPadding = this.getTPadding();
            sb.append(", TPadding=");
            if (tPadding instanceof float[])
            {
                sb.append(arrayToString((float[]) tPadding));
            }
            else
            {
                sb.append(tPadding);
            }
        }
        if (this.isSpecified(BASELINE_SHIFT))
        {
            sb.append(", BaselineShift=")
                .append(this.getBaselineShift());
        }
        if (this.isSpecified(LINE_HEIGHT))
        {
            sb.append(", LineHeight=").append(this.getLineHeight());
        }
        if (this.isSpecified(TEXT_DECORATION_COLOR))
        {
            sb.append(", TextDecorationColor=")
                .append(this.getTextDecorationColor());
        }
        if (this.isSpecified(TEXT_DECORATION_THICKNESS))
        {
            sb.append(", TextDecorationThickness=")
                .append(this.getTextDecorationThickness());
        }
        if (this.isSpecified(TEXT_DECORATION_TYPE))
        {
            sb.append(", TextDecorationType=")
                .append(this.getTextDecorationType());
        }
        if (this.isSpecified(RUBY_ALIGN))
        {
            sb.append(", RubyAlign=").append(this.getRubyAlign());
        }
        if (this.isSpecified(RUBY_POSITION))
        {
            sb.append(", RubyPosition=").append(this.getRubyPosition());
        }
        if (this.isSpecified(GLYPH_ORIENTATION_VERTICAL))
        {
            sb.append(", GlyphOrientationVertical=")
                .append(this.getGlyphOrientationVertical());
        }
        if (this.isSpecified(COLUMN_COUNT))
        {
            sb.append(", ColumnCount=")
                .append(this.getColumnCount());
        }
        if (this.isSpecified(COLUMN_GAP))
        {
            Object columnGap = this.getColumnGap();
            sb.append(", ColumnGap=");
            if (columnGap instanceof float[])
            {
                sb.append(arrayToString((float[]) columnGap));
            }
            else
            {
                sb.append(columnGap);
            }
        }
        if (this.isSpecified(COLUMN_WIDTHS))
        {
            Object columnWidth = this.getColumnWidths();
            sb.append(", ColumnWidths=");
            if (columnWidth instanceof float[])
            {
                sb.append(arrayToString((float[]) columnWidth));
            }
            else
            {
                sb.append(columnWidth);
            }
        }
        return sb.toString();
    }