示例#1
0
 /** {@inheritDoc} */
 public void bind(PropertyList pList) throws FOPException {
   super.bind(pList);
   commonBorderPaddingBackground = pList.getBorderPaddingBackgroundProps();
   commonMarginBlock = pList.getMarginBlockProps();
   breakAfter = pList.get(PR_BREAK_AFTER).getEnum();
   breakBefore = pList.get(PR_BREAK_BEFORE).getEnum();
   keepTogether = pList.get(PR_KEEP_TOGETHER).getKeep();
   keepWithNext = pList.get(PR_KEEP_WITH_NEXT).getKeep();
   keepWithPrevious = pList.get(PR_KEEP_WITH_PREVIOUS).getKeep();
 }
示例#2
0
 /** {@inheritDoc} */
 @Override
 public void bind(final PropertyList pList) throws FOPException {
   super.bind(pList);
   this.commonBorderPaddingBackground = pList.getBorderPaddingBackgroundProps();
   this.commonMarginBlock = pList.getMarginBlockProps();
   this.breakAfter = pList.get(PR_BREAK_AFTER).getEnum();
   this.breakBefore = pList.get(PR_BREAK_BEFORE).getEnum();
   this.keepTogether = pList.get(PR_KEEP_TOGETHER).getKeep();
   this.keepWithNext = pList.get(PR_KEEP_WITH_NEXT).getKeep();
   this.keepWithPrevious = pList.get(PR_KEEP_WITH_PREVIOUS).getKeep();
   // Bind extension properties
   this.widowContentLimit = pList.get(PR_X_WIDOW_CONTENT_LIMIT).getLength();
   this.orphanContentLimit = pList.get(PR_X_ORPHAN_CONTENT_LIMIT).getLength();
 }