Class BreakIteratorSplitCharacter

  • All Implemented Interfaces:
    com.lowagie.text.SplitCharacter

    public class BreakIteratorSplitCharacter
    extends Object
    implements com.lowagie.text.SplitCharacter
    Implementation of SplitCharacter that uses the same logic as AWT to break texts into lines.
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    See Also:
    PdfReportConfiguration.isForceLineBreakPolicy()
    • Constructor Detail

      • BreakIteratorSplitCharacter

        public BreakIteratorSplitCharacter()
      • BreakIteratorSplitCharacter

        public BreakIteratorSplitCharacter​(BreakIterator breakIter)
    • Method Detail

      • isSplitCharacter

        public boolean isSplitCharacter​(int startIdx,
                                        int current,
                                        int endIdx,
                                        char[] cc,
                                        com.lowagie.text.pdf.PdfChunk[] ck)
        Specified by:
        isSplitCharacter in interface com.lowagie.text.SplitCharacter
      • currentChar

        protected char currentChar​(int current,
                                   char[] cc,
                                   com.lowagie.text.pdf.PdfChunk[] ck)