MCPcopy Create free account
hub / github.com/apache/xmlgraphics-fop / bind

Method bind

fop-core/src/main/java/org/apache/fop/fo/FOText.java:189–206  ·  view source on GitHub ↗

{@inheritDoc}

(PropertyList pList)

Source from the content-addressed store, hash-verified

187
188 /** {@inheritDoc} */
189 public void bind(PropertyList pList) throws FOPException {
190 this.commonFont = pList.getFontProps();
191 this.commonHyphenation = pList.getHyphenationProps();
192 this.color = pList.get(Constants.PR_COLOR).getColor(getUserAgent());
193 this.keepTogether = pList.get(Constants.PR_KEEP_TOGETHER).getKeep();
194 this.lineHeight = pList.get(Constants.PR_LINE_HEIGHT).getSpace();
195 this.letterSpacing = pList.get(Constants.PR_LETTER_SPACING);
196 this.whiteSpaceCollapse = pList.get(Constants.PR_WHITE_SPACE_COLLAPSE).getEnum();
197 this.whiteSpaceTreatment = pList.get(Constants.PR_WHITE_SPACE_TREATMENT).getEnum();
198 this.textTransform = pList.get(Constants.PR_TEXT_TRANSFORM).getEnum();
199 this.wordSpacing = pList.get(Constants.PR_WORD_SPACING);
200 this.wrapOption = pList.get(Constants.PR_WRAP_OPTION).getEnum();
201 this.textDecoration = pList.getTextDecorationProps();
202 this.baselineShift = pList.get(Constants.PR_BASELINE_SHIFT).getLength();
203 this.country = pList.get(Constants.PR_COUNTRY).getString();
204 this.language = pList.get(Constants.PR_LANGUAGE).getString();
205 this.script = pList.get(Constants.PR_SCRIPT).getString();
206 }
207
208 /** {@inheritDoc} */
209 public void endOfNode() throws FOPException {

Callers 1

cloneSingleNodeMethod · 0.95

Calls 11

getFontPropsMethod · 0.80
getHyphenationPropsMethod · 0.80
getColorMethod · 0.65
getUserAgentMethod · 0.65
getEnumMethod · 0.65
getMethod · 0.45
getKeepMethod · 0.45
getSpaceMethod · 0.45
getLengthMethod · 0.45
getStringMethod · 0.45

Tested by

no test coverage detected