org.ujac.print
Interface PhraseHolder

All Superinterfaces:
CommonAttributesHolder
All Known Implementing Classes:
BaseCellTag, BaseFontTag, BoldTag, BoxTag, CaseTag, ColumnTextTag, ConditionTag, DefaultTag, DynamicContentContainer, ElseTag, FontTag, FooterPartTag, ForeachTag, HeaderFooterPartTag, HeaderPartTag, HeadTag, IfTag, IndexTag, ItalicTag, ListItemTag, ListSymbolTag, ParagraphTag, PdfCellTag, PhraseTag, RowCellTag, SpanTag, SubscriptTag, SuperscriptTag, TocTag, UnderlineTag, WatermarkTag

public interface PhraseHolder
extends CommonAttributesHolder

Name: PhraseHolder
Description: An interface for classes holding phrases.

Author:
lauerc

Method Summary
 void addChunk(BaseDocumentTag item, com.lowagie.text.Chunk chunk)
          Adds the given chunk to the root phrase.
 void addChunk(BaseDocumentTag item, String chunk, DocumentFont font)
          Adds the given chunk to the root phrase.
 
Methods inherited from interface org.ujac.print.CommonAttributesHolder
getLeading, getLineSpacing
 

Method Detail

addChunk

void addChunk(BaseDocumentTag item,
              String chunk,
              DocumentFont font)
              throws DocumentHandlerException
Adds the given chunk to the root phrase.

Parameters:
item - The document item.
chunk - The chunk to add to the root phrase.
font - The font to use.
Throws:
DocumentHandlerException - In case the document processing failed.

addChunk

void addChunk(BaseDocumentTag item,
              com.lowagie.text.Chunk chunk)
              throws DocumentHandlerException
Adds the given chunk to the root phrase.

Parameters:
item - The document item.
chunk - The chunk to add to the root phrase.
Throws:
DocumentHandlerException - In case the document processing failed.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.