Examples of addLeader()


Examples of org.apache.fop.layout.LineArea.addLeader()

                             leaderLengthOptimum, leaderLengthMaximum,
                             ruleStyle, ruleThickness, leaderPatternWidth,
                             leaderAlignment);
            } else {
                log.error("Leader doesn't fit into line, it will be clipped to fit.");
                la.addLeader(leaderPattern, la.getRemainingWidth(),
                             la.getRemainingWidth(), la.getRemainingWidth(),
                             ruleStyle, ruleThickness, leaderPatternWidth,
                             leaderAlignment);
            }
        }
View Full Code Here

Examples of org.apache.fop.layout.LineArea.addLeader()

        //using length.optimum to determine where to break the line as defined
        // in the xsl:fo spec: "User agents may choose to use the value of 'leader-length.optimum'
        // to determine where to break the line" (7.20.4)
        //if leader is longer then create a new LineArea and put leader there
        if (leaderLengthOptimum <= (la.getRemainingWidth())) {
            la.addLeader(leaderPattern,
                                           leaderLengthMinimum, leaderLengthOptimum,
                                           leaderLengthMaximum, ruleStyle, ruleThickness,
                                           leaderPatternWidth, leaderAlignment);
        } else {
            la = ba.createNextLineArea();
View Full Code Here

Examples of org.apache.fop.layout.LineArea.addLeader()

            //check whether leader fits into LineArea at all, otherwise
            //clip it (should honor the clip option of containing area)
            if (leaderLengthMinimum <=
                      la.getContentWidth()) {
                la.addLeader(leaderPattern,
                                               leaderLengthMinimum, leaderLengthOptimum,
                                               leaderLengthMaximum, ruleStyle, ruleThickness,
                                               leaderPatternWidth, leaderAlignment);
            } else {
                MessageHandler.errorln("Leader doesn't fit into line, it will be clipped to fit.");
View Full Code Here

Examples of org.apache.fop.layout.LineArea.addLeader()

                                               leaderLengthMinimum, leaderLengthOptimum,
                                               leaderLengthMaximum, ruleStyle, ruleThickness,
                                               leaderPatternWidth, leaderAlignment);
            } else {
                MessageHandler.errorln("Leader doesn't fit into line, it will be clipped to fit.");
                la.addLeader(leaderPattern,
                                               la.getRemainingWidth(),
                                               leaderLengthOptimum, leaderLengthMaximum,
                                               ruleStyle, ruleThickness, leaderPatternWidth,
                                               leaderAlignment);
            }
View Full Code Here

Examples of org.apache.fop.layout.LineArea.addLeader()

        //using length.optimum to determine where to break the line as defined
        // in the xsl:fo spec: "User agents may choose to use the value of 'leader-length.optimum'
        // to determine where to break the line" (7.20.4)
        //if leader is longer then create a new LineArea and put leader there
        if (leaderLengthOptimum <= (la.getRemainingWidth())) {
            la.addLeader(leaderPattern,
                                           leaderLengthMinimum, leaderLengthOptimum,
                                           leaderLengthMaximum, ruleStyle, ruleThickness,
                                           leaderPatternWidth, leaderAlignment);
        } else {
            la = ba.createNextLineArea();
View Full Code Here

Examples of org.apache.fop.layout.LineArea.addLeader()

            //check whether leader fits into LineArea at all, otherwise
            //clip it (should honor the clip option of containing area)
            if (leaderLengthMinimum <=
                      la.getContentWidth()) {
                la.addLeader(leaderPattern,
                                               leaderLengthMinimum, leaderLengthOptimum,
                                               leaderLengthMaximum, ruleStyle, ruleThickness,
                                               leaderPatternWidth, leaderAlignment);
            } else {
                MessageHandler.errorln("Leader doesn't fit into line, it will be clipped to fit.");
View Full Code Here

Examples of org.apache.fop.layout.LineArea.addLeader()

                                               leaderLengthMinimum, leaderLengthOptimum,
                                               leaderLengthMaximum, ruleStyle, ruleThickness,
                                               leaderPatternWidth, leaderAlignment);
            } else {
                MessageHandler.errorln("Leader doesn't fit into line, it will be clipped to fit.");
                la.addLeader(leaderPattern,
                                               la.getRemainingWidth(),
                                               leaderLengthOptimum, leaderLengthMaximum,
                                               ruleStyle, ruleThickness, leaderPatternWidth,
                                               leaderAlignment);
            }
View Full Code Here

Examples of org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTextrun.addLeader()

            IRtfTextrunContainer container
                  = (IRtfTextrunContainer)builderContext.getContainer(
                      IRtfTextrunContainer.class, true, this);
            RtfTextrun textrun = container.getTextrun();

            textrun.addLeader(rtfAttr);

        } catch (Exception e) {
            log.error("startLeader: " + e.getMessage());
            throw new RuntimeException(e.getMessage());
        }
View Full Code Here

Examples of org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTextrun.addLeader()

            IRtfTextrunContainer container
                  = (IRtfTextrunContainer)builderContext.getContainer(
                      IRtfTextrunContainer.class, true, this);
            RtfTextrun textrun = container.getTextrun();

            textrun.addLeader(rtfAttr);

        } catch (Exception e) {
            log.error("startLeader: " + e.getMessage());
            throw new RuntimeException(e.getMessage());
        }
View Full Code Here

Examples of org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTextrun.addLeader()

            IRtfTextrunContainer container
                  = (IRtfTextrunContainer)builderContext.getContainer(
                      IRtfTextrunContainer.class, true, this);
            RtfTextrun textrun = container.getTextrun();

            textrun.addLeader(rtfAttr);
        } catch (IOException e) {
            log.error("startLeader: " + e.getMessage());
            throw new RuntimeException(e.getMessage());
        } catch (FOPException e) {
            log.error("startLeader: " + e.getMessage());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.