FileDocCategorySizeDatePackage
ParagraphProperties.javaAPI DocApache Poi 3.0.17033Mon Jan 01 18:55:30 GMT 2007org.apache.poi.hwpf.usermodel

ParagraphProperties

public class ParagraphProperties extends PAPAbstractType implements Cloneable

Fields Summary
Constructors Summary
public ParagraphProperties()

    field_21_lspd = new LineSpacingDescriptor();
    field_24_phe = new byte[12];
    field_46_brcTop = new BorderCode();
    field_47_brcLeft = new BorderCode();
    field_48_brcBottom = new BorderCode();
    field_49_brcRight = new BorderCode();
    field_50_brcBetween = new BorderCode();
    field_51_brcBar = new BorderCode();
    field_60_anld = new byte[84];
    this.field_17_fWidowControl = 1;
    this.field_21_lspd.setMultiLinespace((short)1);
    this.field_21_lspd.setDyaLine((short)240);
    this.field_12_ilvl = (byte)9;
    this.field_66_rgdxaTab = new int[0];
    this.field_67_rgtbd = new byte[0];
    this.field_63_dttmPropRMark = new DateAndTime();

  
Methods Summary
public java.lang.Objectclone()

    ParagraphProperties pp = (ParagraphProperties)super.clone();
    pp.field_21_lspd = (LineSpacingDescriptor)field_21_lspd.clone();
    pp.field_24_phe = (byte[])field_24_phe.clone();
    pp.field_46_brcTop = (BorderCode)field_46_brcTop.clone();
    pp.field_47_brcLeft = (BorderCode)field_47_brcLeft.clone();
    pp.field_48_brcBottom = (BorderCode)field_48_brcBottom.clone();
    pp.field_49_brcRight = (BorderCode)field_49_brcRight.clone();
    pp.field_50_brcBetween = (BorderCode)field_50_brcBetween.clone();
    pp.field_51_brcBar = (BorderCode)field_51_brcBar.clone();
    pp.field_60_anld = (byte[])field_60_anld.clone();
    return pp;
  
public org.apache.poi.hwpf.usermodel.BorderCodegetBarBorder()

    return super.getBrcBar();
  
public org.apache.poi.hwpf.usermodel.BorderCodegetBottomBorder()

    return super.getBrcBottom();
  
public org.apache.poi.hwpf.usermodel.DropCapSpecifiergetDropCap()

    return super.getDcs();
  
public intgetFirstLineIndent()

    return super.getDxaLeft1();
  
public intgetFontAlignment()

    return super.getWAlignFont();
  
public intgetIndentFromLeft()

    return super.getDxaLeft();
  
public intgetIndentFromRight()

    return super.getDxaRight();
  
public intgetJustification()

    return super.getJc();
  
public org.apache.poi.hwpf.usermodel.BorderCodegetLeftBorder()

    return super.getBrcLeft();
  
public org.apache.poi.hwpf.usermodel.LineSpacingDescriptorgetLineSpacing()

    return super.getLspd();
  
public org.apache.poi.hwpf.usermodel.BorderCodegetRightBorder()

    return super.getBrcRight();
  
public org.apache.poi.hwpf.usermodel.ShadingDescriptorgetShading()

    return super.getShd();
  
public intgetSpacingAfter()

    return super.getDyaAfter();
  
public intgetSpacingBefore()

    return super.getDyaBefore();
  
public org.apache.poi.hwpf.usermodel.BorderCodegetTopBorder()

    return super.getBrcTop();
  
public booleanisAutoHyphenated()

    return super.getFNoAutoHyph() == 0;
  
public booleanisBackward()

    return super.isFBackward();
  
public booleanisKinsoku()

    return super.getFKinsoku() != 0;
  
public booleanisLineNotNumbered()

    return super.getFNoLnn() != 0;
  
public booleanisSideBySide()

    return super.getFSideBySide() != 0;
  
public booleanisVertical()

    return super.isFVertical();
  
public booleanisWidowControlled()

    return super.getFWidowControl() != 0;
  
public booleanisWordWrapped()

    return super.getFWordWrap() != 0;
  
public booleankeepOnPage()

    return super.getFKeep() != 0;
  
public booleankeepWithNext()

    return super.getFKeepFollow() != 0;
  
public booleanpageBreakBefore()

    return super.getFPageBreakBefore() != 0;
  
public voidsetAutoHyphenated(boolean auto)

    super.setFNoAutoHyph((byte)(!auto ? 1 : 0));
  
public voidsetBackward(boolean bward)

    super.setFBackward(bward);
  
public voidsetBarBorder(org.apache.poi.hwpf.usermodel.BorderCode bar)

    super.setBrcBar(bar);
  
public voidsetBottomBorder(org.apache.poi.hwpf.usermodel.BorderCode bottom)

    super.setBrcBottom(bottom);
  
public voidsetDropCap(org.apache.poi.hwpf.usermodel.DropCapSpecifier dcs)

    super.setDcs(dcs);
  
public voidsetFirstLineIndent(int first)

    super.setDxaLeft1(first);
  
public voidsetFontAlignment(int align)

    super.setWAlignFont(align);
  
public voidsetIndentFromLeft(int dxaLeft)

    super.setDxaLeft(dxaLeft);
  
public voidsetIndentFromRight(int dxaRight)

    super.setDxaRight(dxaRight);
  
public voidsetJustification(byte jc)

    super.setJc(jc);
  
public voidsetKeepOnPage(boolean fKeep)

    super.setFKeep((byte)(fKeep ? 1 : 0));
  
public voidsetKeepWithNext(boolean fKeepFollow)

    super.setFKeepFollow((byte)(fKeepFollow ? 1 : 0));
  
public voidsetKinsoku(boolean kinsoku)

    super.setFKinsoku((byte)(kinsoku ? 1 : 0));
  
public voidsetLeftBorder(org.apache.poi.hwpf.usermodel.BorderCode left)

    super.setBrcLeft(left);
  
public voidsetLineNotNumbered(boolean fNoLnn)

    super.setFNoLnn((byte)(fNoLnn ? 1 : 0));
  
public voidsetLineSpacing(org.apache.poi.hwpf.usermodel.LineSpacingDescriptor lspd)

    super.setLspd(lspd);
  
public voidsetPageBreakBefore(boolean fPageBreak)

    super.setFPageBreakBefore((byte)(fPageBreak ? 1 : 0));
  
public voidsetRightBorder(org.apache.poi.hwpf.usermodel.BorderCode right)

    super.setBrcRight(right);
  
public voidsetShading(org.apache.poi.hwpf.usermodel.ShadingDescriptor shd)

    super.setShd(shd);
  
public voidsetSideBySide(boolean fSideBySide)

    super.setFSideBySide((byte)(fSideBySide ? 1 : 0));
  
public voidsetSpacingAfter(int after)

    super.setDyaAfter(after);
  
public voidsetSpacingBefore(int before)

    super.setDyaBefore(before);
  
public voidsetTopBorder(org.apache.poi.hwpf.usermodel.BorderCode top)

    super.setBrcTop(top);
  
public voidsetVertical(boolean vertical)

    super.setFVertical(vertical);
  
public voidsetWidowControl(boolean widowControl)

    super.setFWidowControl((byte)(widowControl ? 1 : 0));
  
public voidsetWordWrapped(boolean wrap)

    super.setFWordWrap((byte)(wrap ? 1 : 0));