// FOP
import org.apache.fop.fo.FONode;
-import org.apache.fop.layoutmgr.AddLMVisitor;
import org.apache.fop.fo.pagination.Root;
/**
((Root) parent).setBookmarks(this);
}
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveBookmarks(this);
- }
-
public ArrayList getOutlines() {
return outlines;
}
-
}
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FObj;
-import org.apache.fop.layoutmgr.AddLMVisitor;
/**
* Base class for pdf bookmark extension objects.
public ExtensionObj(FONode parent) {
super(parent);
}
-
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveExtensionObj(this);
- }
-
}
import org.xml.sax.Locator;
import org.apache.fop.fo.FONode;
-import org.apache.fop.layoutmgr.AddLMVisitor;
-
/**
* Labal for PDF bookmark extension.
public String toString() {
return label;
}
-
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveLabel(this);
- }
public String getName() {
return "(http://xml.apache.org/fop/extensions) label";
package org.apache.fop.fo.extensions;
import org.apache.fop.fo.FONode;
-import org.apache.fop.layoutmgr.AddLMVisitor;
import java.util.ArrayList;
return label == null ? "" : label.toString();
}
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveOutline(this);
- }
-
public String getInternalDestination() {
return internalDestination;
}
// FOP
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FObj;
-import org.apache.fop.layoutmgr.AddLMVisitor;
/**
* Class modelling the fo:footnote-body object. See Sec. 6.10.4 of the XSL-FO
getFOInputHandler().startFootnoteBody(this);
}
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveFootnoteBody(this);
- }
-
protected void endOfNode() throws SAXParseException {
super.endOfNode();
getFOInputHandler().endFootnoteBody(this);
// FOP
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FObj;
-import org.apache.fop.layoutmgr.AddLMVisitor;
import org.apache.fop.fo.properties.CommonAccessibility;
/**
return true;
}
- /**
- * This is a hook for the AddLMVisitor class to be able to access
- * this object.
- * @param aLMV the AddLMVisitor object that can access this object.
- */
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveListItemBody(this);
- }
-
public String getName() {
return "fo:list-item-body";
}
// FOP
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FObj;
-import org.apache.fop.layoutmgr.AddLMVisitor;
import org.apache.fop.fo.properties.CommonAccessibility;
/**
return true;
}
- /**
- * This is a hook for the AddLMVisitor class to be able to access
- * this object.
- * @param aLMV the AddLMVisitor object that can access this object.
- */
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveListItemLabel(this);
- }
-
protected void endOfNode() throws SAXParseException {
super.endOfNode();
getFOInputHandler().endListLabel();
// FOP
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FObjMixed;
-import org.apache.fop.layoutmgr.AddLMVisitor;
/**
* Marker formatting object.
return markerClassName;
}
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveMarker(this);
- }
-
public String getName() {
return "fo:marker";
}
import org.apache.fop.datatypes.Length;
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FObj;
-import org.apache.fop.layoutmgr.AddLMVisitor;
import org.apache.fop.fo.properties.CommonBackground;
import org.apache.fop.fo.properties.CommonBorderAndPadding;
initialized = true;
}
- /**
- * This is a hook for the AddLMVisitor class to be able to access
- * this object.
- * @param aLMV the AddLMVisitor object that can access this object.
- */
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveTableColumn(this);
- }
-
protected void endOfNode() throws SAXParseException {
getFOInputHandler().endColumn(this);
}
import org.apache.fop.datatypes.ColorType;
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FObj;
-import org.apache.fop.layoutmgr.AddLMVisitor;
/**
* The fo:color-profile formatting object.
}
}
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveColorProfile(this);
- }
-
public String getName() {
return "fo:color-profile";
}
// FOP
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FObj;
-import org.apache.fop.layoutmgr.AddLMVisitor;
/**
* A conditional-page-master-reference formatting object.
}
}
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveConditionalPageMasterReference(this);
- }
-
public String getName() {
return "fo:conditional-page-master-reference";
}
import org.apache.fop.fo.FOElementMapping;
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FObj;
-import org.apache.fop.layoutmgr.AddLMVisitor;
import org.apache.fop.fo.XMLObj;
childNodes = null;
}
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveDeclarations(this);
- }
-
public String getName() {
return "fo:declarations";
}
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FObj;
import org.apache.fop.fo.FOElementMapping;
-import org.apache.fop.layoutmgr.AddLMVisitor;
import org.apache.fop.apps.FOPException;
/**
return false;
}
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveLayoutMasterSet(this);
- }
-
public String getName() {
return "fo:layout-master-set";
}
// FOP
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FObj;
-import org.apache.fop.layoutmgr.AddLMVisitor;
/**
* Base PageMasterReference class. Provides implementation for handling the
}
}
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.servePageMasterReference(this);
- }
-
public String getName() {
return "fo:page-master-reference";
}
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FObj;
import org.apache.fop.fo.FOElementMapping;
-import org.apache.fop.layoutmgr.AddLMVisitor;
import org.apache.fop.apps.FOPException;
/**
return titleFO;
}
- /**
- * Hook for Visitor objects accessing the FO Tree.
- * @param aLMV the AddLMVisitor object that can access this object.
- */
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.servePageSequence(this);
- }
-
/**
* Public accessor for getting the MainFlow to which this PageSequence is
* attached.
import org.apache.fop.fo.FObj;
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FOElementMapping;
-import org.apache.fop.layoutmgr.AddLMVisitor;
import org.apache.fop.apps.FOPException;
/**
return pageMaster;
}
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.servePageSequenceMaster(this);
- }
-
public String getName() {
return "fo:page-sequence-master";
}
// FOP
import org.apache.fop.datatypes.FODimension;
import org.apache.fop.fo.FONode;
-import org.apache.fop.layoutmgr.AddLMVisitor;
import org.apache.fop.fo.FObj;
/**
// FOP
import org.apache.fop.fo.FONode;
-import org.apache.fop.layoutmgr.AddLMVisitor;
import org.apache.fop.datatypes.FODimension;
/**
return Region.AFTER_CODE;
}
- /**
- * This is a hook for the AddLMVisitor class to be able to access
- * this object.
- * @param aLMV the AddLMVisitor object that can access this object.
- */
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveRegionAfter(this);
- }
-
public String getName() {
return "fo:region-after";
}
// FOP
import org.apache.fop.fo.FONode;
-import org.apache.fop.layoutmgr.AddLMVisitor;
-
/**
* Abstract base class for fo:region-before and fo:region-after.
// FOP
import org.apache.fop.datatypes.FODimension;
import org.apache.fop.fo.FONode;
-import org.apache.fop.layoutmgr.AddLMVisitor;
/**
* The fo:region-before element.
return vpRect;
}
- /**
- * This is a hook for the AddLMVisitor class to be able to access
- * this object.
- * @param aLMV the AddLMVisitor object that can access this object.
- */
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveRegionBefore(this);
- }
-
public String getName() {
return "fo:region-before";
}
import org.apache.fop.datatypes.ColorType;
import org.apache.fop.datatypes.FODimension;
import org.apache.fop.fo.FONode;
-import org.apache.fop.layoutmgr.AddLMVisitor;
import org.apache.fop.fo.FObj;
import org.apache.fop.fo.PropertyList;
import org.apache.fop.fo.properties.CommonMarginBlock;
return Region.BODY_CODE;
}
- /**
- * This is a hook for the AddLMVisitor class to be able to access
- * this object.
- * @param aLMV the AddLMVisitor object that can access this object.
- */
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveRegionBody(this);
- }
-
public String getName() {
return "fo:region-body";
}
// FOP
import org.apache.fop.fo.FONode;
-import org.apache.fop.layoutmgr.AddLMVisitor;
import org.apache.fop.datatypes.FODimension;
/**
return Region.END_CODE;
}
- /**
- * This is a hook for the AddLMVisitor class to be able to access
- * this object.
- * @param aLMV the AddLMVisitor object that can access this object.
- */
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveRegionEnd(this);
- }
-
public String getName() {
return "fo:region-end";
}
// FOP
import org.apache.fop.fo.FONode;
-import org.apache.fop.layoutmgr.AddLMVisitor;
/**
* Abstract base class for fo:region-start and fo:region-end.
// FOP
import org.apache.fop.fo.FONode;
-import org.apache.fop.layoutmgr.AddLMVisitor;
import org.apache.fop.datatypes.FODimension;
/**
return Region.START_CODE;
}
- /**
- * This is a hook for the AddLMVisitor class to be able to access
- * this object.
- * @param aLMV the AddLMVisitor object that can access this object.
- */
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveRegionStart(this);
- }
-
public String getName() {
return "fo:region-start";
}
import org.apache.fop.fo.FOElementMapping;
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FObj;
-import org.apache.fop.layoutmgr.AddLMVisitor;
/**
* A repeatable-page-master-alternatives formatting object.
this.numberConsumed = 0;
}
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveRepeatablePageMasterAlternatives(this);
- }
-
public String getName() {
return "fo:repeatable-page-master-alternatives";
}
// FOP
import org.apache.fop.fo.FONode;
-import org.apache.fop.layoutmgr.AddLMVisitor;
/**
* A repeatable-page-master-reference formatting object.
this.numberConsumed = 0;
}
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveRepeatablePageMasterReference(this);
- }
-
public String getName() {
return "fo:repeatable-page-master-reference";
}
return foInputHandler;
}
- /**
- * Hook for Visitor objects accessing the FO Tree.
- * @param aLMV the AddLMVisitor object that can access this object.
- */
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveRoot(this);
- }
-
public String getName() {
return "fo:root";
}
// FOP
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FObj;
-import org.apache.fop.layoutmgr.AddLMVisitor;
/**
* A simple-page-master formatting object.
return false;
}
- /**
- * This is a hook for the AddLMVisitor class to be able to access
- * this object.
- * @param aLMV the AddLMVisitor object that can access this object.
- */
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveSimplePageMaster(this);
- }
-
public String getName() {
return "fo:simple-page-master";
}
// FOP
import org.apache.fop.fo.FONode;
-import org.apache.fop.layoutmgr.AddLMVisitor;
/**
* A single-page-master-reference formatting object.
this.state = FIRST;
}
- public void acceptVisitor(AddLMVisitor aLMV) {
- aLMV.serveSinglePageMasterReference(this);
- }
-
public String getName() {
return "fo:single-page-master-reference";
}
import java.util.List;
import java.util.ListIterator;
-
import org.apache.fop.area.LinkResolver;
import org.apache.fop.area.PageViewport;
import org.apache.fop.area.Resolveable;
import org.apache.fop.fo.TextInfo;
import org.apache.fop.fo.ToBeImplementedElement;
import org.apache.fop.fo.XMLObj;
-import org.apache.fop.fo.extensions.Bookmarks;
-import org.apache.fop.fo.extensions.ExtensionObj;
-import org.apache.fop.fo.extensions.Label;
-import org.apache.fop.fo.extensions.Outline;
import org.apache.fop.fo.flow.BasicLink;
import org.apache.fop.fo.flow.BidiOverride;
import org.apache.fop.fo.flow.Block;
import org.apache.fop.fo.flow.Character;
import org.apache.fop.fo.flow.ExternalGraphic;
import org.apache.fop.fo.flow.Footnote;
-import org.apache.fop.fo.flow.FootnoteBody;
import org.apache.fop.fo.flow.Inline;
import org.apache.fop.fo.flow.InlineContainer;
import org.apache.fop.fo.flow.InstreamForeignObject;
import org.apache.fop.fo.flow.ListItem;
import org.apache.fop.fo.flow.ListItemBody;
import org.apache.fop.fo.flow.ListItemLabel;
-import org.apache.fop.fo.flow.Marker;
import org.apache.fop.fo.flow.PageNumber;
import org.apache.fop.fo.flow.PageNumberCitation;
import org.apache.fop.fo.flow.RetrieveMarker;
import org.apache.fop.fo.flow.TableHeader;
import org.apache.fop.fo.flow.TableRow;
import org.apache.fop.fo.flow.Wrapper;
-import org.apache.fop.fo.pagination.ColorProfile;
-import org.apache.fop.fo.pagination.ConditionalPageMasterReference;
-import org.apache.fop.fo.pagination.Declarations;
import org.apache.fop.fo.pagination.Flow;
-import org.apache.fop.fo.pagination.LayoutMasterSet;
-import org.apache.fop.fo.pagination.PageMasterReference;
-import org.apache.fop.fo.pagination.PageSequence;
-import org.apache.fop.fo.pagination.PageSequenceMaster;
-import org.apache.fop.fo.pagination.Region;
-import org.apache.fop.fo.pagination.RegionAfter;
-import org.apache.fop.fo.pagination.RegionBA;
-import org.apache.fop.fo.pagination.RegionBefore;
-import org.apache.fop.fo.pagination.RegionBody;
-import org.apache.fop.fo.pagination.RegionEnd;
-import org.apache.fop.fo.pagination.RegionSE;
-import org.apache.fop.fo.pagination.RegionStart;
-import org.apache.fop.fo.pagination.RepeatablePageMasterAlternatives;
-import org.apache.fop.fo.pagination.RepeatablePageMasterReference;
-import org.apache.fop.fo.pagination.Root;
-import org.apache.fop.fo.pagination.SimplePageMaster;
-import org.apache.fop.fo.pagination.SinglePageMasterReference;
import org.apache.fop.fo.pagination.StaticContent;
import org.apache.fop.fo.pagination.Title;
import org.apache.fop.fo.properties.CommonBackground;
}
}
- /**
- * @param node ColorProfile object to process
- */
- public void serveColorProfile(ColorProfile node) {
- serveFObj((FObj)node);
- }
-
- /**
- * @param node ConditionalPageMasterReference object to process
- */
- public void serveConditionalPageMasterReference(ConditionalPageMasterReference node) {
- serveFObj((FObj)node);
- }
-
- /**
- * @param node Declarations object to process
- */
- public void serveDeclarations(Declarations node) {
- serveFObj((FObj)node);
- }
-
- /**
- * @param node ExtensionObj object to process
- */
- public void serveExtensionObj(ExtensionObj node) {
- serveFObj((FObj)node);
- }
-
- /**
- * @param node Bookmarks object to process
- */
- public void serveBookmarks(Bookmarks node) {
- serveExtensionObj((ExtensionObj)node);
- }
-
- /**
- * @param node Label object to process
- */
- public void serveLabel(Label node) {
- serveExtensionObj((ExtensionObj)node);
- }
-
- /**
- * @param node Outline object to process
- */
- public void serveOutline(Outline node) {
- serveExtensionObj((ExtensionObj)node);
- }
-
/**
* @param node StaticContent object to process
*/
serveFlow((Flow)node);
}
- /**
- * @param node Marker object to process
- */
- public void serveMarker(Marker node) {
- serveFObjMixed((FObjMixed)node);
- }
-
/**
* @param node Title object to process
*/
serveFObjMixed((FObjMixed)node);
}
- /**
- * @param node FootnoteBody object to process
- */
- public void serveFootnoteBody(FootnoteBody node) {
- serveFObj((FObj)node);
- }
-
- /**
- * @param node LayoutMasterSet object to process
- */
- public void serveLayoutMasterSet(LayoutMasterSet node) {
- serveFObj((FObj)node);
- }
-
- /**
- * @param node ListItemBody object to process
- */
- public void serveListItemBody(ListItemBody node) {
- serveFObj((FObj)node);
- }
-
- /**
- * @param node ListItemLabel object to process
- */
- public void serveListItemLabel(ListItemLabel node) {
- serveFObj((FObj)node);
- }
-
- /**
- * @param node PageMasterReference object to process
- */
- public void servePageMasterReference(PageMasterReference node) {
- serveFObj((FObj)node);
- }
-
- /**
- * @param node RepeatablePageMasterReference object to process
- */
- public void serveRepeatablePageMasterReference(RepeatablePageMasterReference node) {
- servePageMasterReference((PageMasterReference)node);
- }
-
- /**
- * @param node SinglePageMasterReference object to process
- */
- public void serveSinglePageMasterReference(SinglePageMasterReference node) {
- servePageMasterReference((PageMasterReference)node);
- }
-
- /**
- * @param node PageSequence object to process
- */
- public void servePageSequence(PageSequence node) {
- serveFObj((FObj)node);
- }
-
- /**
- * @param node PageSequenceMaster object to process
- */
- public void servePageSequenceMaster(PageSequenceMaster node) {
- serveFObj((FObj)node);
- }
-
- /**
- * @param node Region object to process
- */
- public void serveRegion(Region node) {
- serveFObj((FObj)node);
- }
-
- /**
- * @param node RegionBA object to process
- */
- public void serveRegionBA(RegionBA node) {
- serveRegion((Region)node);
- }
-
- /**
- * @param node RegionAfter object to process
- */
- public void serveRegionAfter(RegionAfter node) {
- serveRegionBA((RegionBA)node);
- }
-
- /**
- * @param node RegionBefore object to process
- */
- public void serveRegionBefore(RegionBefore node) {
- serveRegionBA((RegionBA)node);
- }
-
- /**
- * @param node RegionSE object to process
- */
- public void serveRegionSE(RegionSE node) {
- serveRegion((Region)node);
- }
-
- /**
- * @param node RegionEnd object to process
- */
- public void serveRegionEnd(RegionEnd node) {
- serveRegionSE((RegionSE)node);
- }
-
- /**
- * @param node RegionStart object to process
- */
- public void serveRegionStart(RegionStart node) {
- serveRegionSE((RegionSE)node);
- }
-
- /**
- * @param node RegionBody object to process
- */
- public void serveRegionBody(RegionBody node) {
- serveRegion((Region)node);
- }
-
- /**
- * @param node RepeatablePageMasterAlternatives object to process
- */
- public void serveRepeatablePageMasterAlternatives(RepeatablePageMasterAlternatives node) {
- serveFObj((FObj)node);
- }
-
- /**
- * @param node Root object to process
- */
- public void serveRoot(Root node) {
- serveFObj((FObj)node);
- }
-
- /**
- * @param node SimplePageMaster object to process
- */
- public void serveSimplePageMaster(SimplePageMaster node) {
- serveFObj((FObj)node);
- }
-
/**
* @param node TableFooter object to process
*/
public void serveTableHeader(TableHeader node) {
serveTableBody((TableBody)node);
}
-
- /**
- * @param node TableColumn object to process
- */
- public void serveTableColumn(TableColumn node) {
- serveFObj((FObj)node);
- }
}