Class WrapperLayoutManager

    • Constructor Detail

      • WrapperLayoutManager

        public WrapperLayoutManager​(Wrapper node)
        Creates a new LM for fo:wrapper.
        Parameters:
        node - the fo:wrapper
    • Method Detail

      • get

        public InlineArea get​(LayoutContext context)
        get the inline area.
        Overrides:
        get in class LeafNodeLayoutManager
        Parameters:
        context - the context used to create the area
        Returns:
        the current inline area for this layout manager
      • addAreas

        public void addAreas​(PositionIterator posIter,
                             LayoutContext context)
        Add the area for this layout manager. This adds the dummy area to the parent, *if* it has an id - otherwise it serves no purpose.
        Specified by:
        addAreas in interface LayoutManager
        Overrides:
        addAreas in class LeafNodeLayoutManager
        Parameters:
        posIter - the position iterator
        context - the layout context for adding the area
      • addId

        protected void addId()
        Registers the FO's id on the current PageViewport
        Overrides:
        addId in class AbstractLayoutManager