Inheritance: ListBody
Beispiel #1
0
        private void WriteAttributes(ListLabel listLabel)
        {
            if (listLabel != null)
            {
                PdfObject obj = parent.GetAttribute(PdfName.STARTINDENT);
                if (obj is PdfNumber)
                {
                    float startIndent = ((PdfNumber) obj).FloatValue;
                    if (startIndent != listLabel.Indentation)
                        this.SetAttribute(PdfName.STARTINDENT, new PdfNumber(listLabel.Indentation));
                }
                else
                {
                    if (Math.Abs(listLabel.Indentation) > float.Epsilon)
                        this.SetAttribute(PdfName.STARTINDENT, new PdfNumber(listLabel.Indentation));
                }

            }
        }
Beispiel #2
0
        private void WriteAttributes(ListLabel listLabel)
        {
            if (listLabel != null)
            {

            }
        }