org.odftoolkit.odfdom.converter.pdf.internal.stylable
Class StylableTableCell

java.lang.Object
  extended by com.lowagie.text.Rectangle
      extended by com.lowagie.text.pdf.PdfPCell
          extended by org.odftoolkit.odfdom.converter.pdf.internal.stylable.StylableTableCell
All Implemented Interfaces:
com.lowagie.text.Element, IBoundsLimitContainer, IStylableContainer, IStylableElement

public class StylableTableCell
extends com.lowagie.text.pdf.PdfPCell
implements IStylableContainer, IBoundsLimitContainer

fixes for pdf conversion by Leszek Piotrowicz


Field Summary
 
Fields inherited from class com.lowagie.text.pdf.PdfPCell
phrase
 
Fields inherited from class com.lowagie.text.Rectangle
backgroundColor, border, borderColor, borderColorBottom, borderColorLeft, borderColorRight, borderColorTop, borderWidth, borderWidthBottom, borderWidthLeft, borderWidthRight, borderWidthTop, BOTTOM, BOX, LEFT, llx, lly, NO_BORDER, RIGHT, TOP, UNDEFINED, urx, ury, useVariableBorders
 
Fields inherited from interface com.lowagie.text.Element
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE, YMARK
 
Constructor Summary
StylableTableCell(StylableDocument ownerDocument, IStylableContainer parent)
           
 
Method Summary
 void addElement(com.lowagie.text.Element element)
           
 void applyStyles(Style style)
           
 com.lowagie.text.Element getElement()
           
 float getHeightLimit()
          get available height limit or value < 0 if there is no height limit
 Style getLastStyleApplied()
           
 IStylableContainer getParent()
           
 float getWidthLimit()
          get width available for an element to be added to this container
 
Methods inherited from class com.lowagie.text.pdf.PdfPCell
getArabicOptions, getCellEvent, getColspan, getColumn, getCompositeElements, getEffectivePaddingBottom, getEffectivePaddingLeft, getEffectivePaddingRight, getEffectivePaddingTop, getExtraParagraphSpace, getFixedHeight, getFollowingIndent, getHorizontalAlignment, getImage, getIndent, getLeading, getMaxHeight, getMinimumHeight, getMultipliedLeading, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPhrase, getRightIndent, getRotation, getRowspan, getRunDirection, getSpaceCharRatio, getTable, getVerticalAlignment, hasFixedHeight, hasMinimumHeight, isNoWrap, isUseAscender, isUseBorderPadding, isUseDescender, setArabicOptions, setCellEvent, setColspan, setColumn, setExtraParagraphSpace, setFixedHeight, setFollowingIndent, setHorizontalAlignment, setImage, setIndent, setLeading, setMinimumHeight, setNoWrap, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPhrase, setRightIndent, setRotation, setRowspan, setRunDirection, setSpaceCharRatio, setUseAscender, setUseBorderPadding, setUseDescender, setVerticalAlignment
 
Methods inherited from class com.lowagie.text.Rectangle
cloneNonPositionParameters, disableBorderSide, enableBorderSide, getBackgroundColor, getBorder, getBorderColor, getBorderColorBottom, getBorderColorLeft, getBorderColorRight, getBorderColorTop, getBorderWidth, getBorderWidthBottom, getBorderWidthLeft, getBorderWidthRight, getBorderWidthTop, getBottom, getBottom, getChunks, getGrayFill, getHeight, getLeft, getLeft, getRight, getRight, getTop, getTop, getWidth, hasBorder, hasBorders, isContent, isNestable, isUseVariableBorders, normalize, process, rectangle, rotate, setBackgroundColor, setBorder, setBorderColor, setBorderColorBottom, setBorderColorLeft, setBorderColorRight, setBorderColorTop, setBorderWidth, setBorderWidthBottom, setBorderWidthLeft, setBorderWidthRight, setBorderWidthTop, setBottom, setGrayFill, setLeft, setRight, setTop, setUseVariableBorders, softCloneNonPositionParameters, toString, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StylableTableCell

public StylableTableCell(StylableDocument ownerDocument,
                         IStylableContainer parent)
Method Detail

addElement

public void addElement(com.lowagie.text.Element element)
Specified by:
addElement in interface IStylableContainer
Overrides:
addElement in class com.lowagie.text.pdf.PdfPCell

applyStyles

public void applyStyles(Style style)
Specified by:
applyStyles in interface IStylableElement

getLastStyleApplied

public Style getLastStyleApplied()
Specified by:
getLastStyleApplied in interface IStylableElement

getParent

public IStylableContainer getParent()
Specified by:
getParent in interface IStylableElement

getElement

public com.lowagie.text.Element getElement()
Specified by:
getElement in interface IStylableElement

getWidthLimit

public float getWidthLimit()
Description copied from interface: IBoundsLimitContainer
get width available for an element to be added to this container

Specified by:
getWidthLimit in interface IBoundsLimitContainer

getHeightLimit

public float getHeightLimit()
Description copied from interface: IBoundsLimitContainer
get available height limit or value < 0 if there is no height limit

Specified by:
getHeightLimit in interface IBoundsLimitContainer


Copyright © 2013. All rights reserved.