Package org.apache.fop.layoutmgr
Interface BlockLevelEventProducer
- All Superinterfaces:
org.apache.fop.events.EventProducer
public interface BlockLevelEventProducer
extends org.apache.fop.events.EventProducer
Event producer interface for block-level layout managers.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Provider class for the event producer. -
Method Summary
Modifier and TypeMethodDescriptionvoid
flowNotMappingToRegionBody
(Object source, String flowName, String masterName, Locator loc) Indicates that FOP doesn't support flows that are not mapped to region-body, yet.void
lastPageMasterReferenceMissing
(Object source, Locator loc) Last page master reference missing.void
layoutHasReachedParts
(Object source, int partCount) A feasible layout has reached the given number of parts (columns or pages).void
missingSubsequencesInPageSequenceMaster
(Object source, String pageSequenceMasterName, Locator loc) No subsequences in page sequence master.void
noMatchingPageMaster
(Object source, String pageSequenceMasterName, String pageMasterName, Locator loc) No single-page-master matching in page sequence master.void
An element that cannot handle changing IPD (list, table) is flowing to a narrower page.void
objectTooWide
(Object source, String elementName, int effIPD, int maxIPD, Locator loc) An formatting object is too wide.void
overconstrainedAdjustEndIndent
(Object source, String elementName, int amount, Locator loc) An overconstrained geometry adjustment rule was triggered (5.3.4, XSL 1.0).void
pageSequenceMasterExhausted
(Object source, String pageSequenceMasterName, boolean canRecover, Locator loc) A page sequence master is exhausted.void
regionOverflow
(Object source, String elementName, String page, int amount, boolean clip, boolean canRecover, Locator loc) Contents overflow a region viewport.void
rowTooTall
(Object source, int row, int effCellBPD, int maxCellBPD, Locator loc) The contents of a table-row are too big to fit in the constraints.void
staticRegionOverflow
(Object source, String elementName, String page, int amount, boolean clip, boolean canRecover, Locator loc) Contents overflow a static region viewport.void
tableFixedAutoWidthNotSupported
(Object source, Locator loc) Auto-table layout is not supported, yet.void
viewportBPDOverflow
(Object source, String elementName, int amount, boolean clip, boolean canRecover, Locator loc) Contents BPD overflow a viewport.void
viewportIPDOverflow
(Object source, String elementName, int amount, boolean clip, boolean canRecover, Locator loc) Contents IPD overflow a viewport.
-
Method Details
-
rowTooTall
The contents of a table-row are too big to fit in the constraints.- Parameters:
source
- the event sourcerow
- the row numbereffCellBPD
- the effective extent in block-progression direction of the cellmaxCellBPD
- the maximum extent in block-progression direction of the cellloc
- the location of the error or null- Event severity level:
- WARN
-
tableFixedAutoWidthNotSupported
Auto-table layout is not supported, yet.- Parameters:
source
- the event sourceloc
- the location of the error or null- Event severity level:
- INFO
-
objectTooWide
An formatting object is too wide.- Parameters:
source
- the event sourceelementName
- the formatting objecteffIPD
- the effective extent in inline-progression direction of the table contentsmaxIPD
- the maximum extent in inline-progression direction availableloc
- the location of the error or null- Event severity level:
- WARN
-
overconstrainedAdjustEndIndent
An overconstrained geometry adjustment rule was triggered (5.3.4, XSL 1.0).- Parameters:
source
- the event sourceelementName
- the formatting objectamount
- the amount of the adjustment (in mpt)loc
- the location of the error or null- Event severity level:
- INFO
-
viewportIPDOverflow
void viewportIPDOverflow(Object source, String elementName, int amount, boolean clip, boolean canRecover, Locator loc) Contents IPD overflow a viewport.- Parameters:
source
- the event sourceelementName
- the formatting objectamount
- the amount by which the contents overflow (in mpt)clip
- true if the content will be clippedcanRecover
- indicates whether FOP can recover from this problem and continue workingloc
- the location of the error or null- Event severity level:
- ERROR
-
viewportBPDOverflow
void viewportBPDOverflow(Object source, String elementName, int amount, boolean clip, boolean canRecover, Locator loc) Contents BPD overflow a viewport.- Parameters:
source
- the event sourceelementName
- the formatting objectamount
- the amount by which the contents overflow (in mpt)clip
- true if the content will be clippedcanRecover
- indicates whether FOP can recover from this problem and continue workingloc
- the location of the error or null- Event severity level:
- ERROR
-
regionOverflow
void regionOverflow(Object source, String elementName, String page, int amount, boolean clip, boolean canRecover, Locator loc) throws LayoutException Contents overflow a region viewport.- Parameters:
source
- the event sourceelementName
- the formatting objectpage
- the page number/name where the overflow happenedamount
- the amount by which the contents overflow (in mpt)clip
- true if the content will be clippedcanRecover
- indicates whether FOP can recover from this problem and continue workingloc
- the location of the error or null- Throws:
LayoutException
- the layout error provoked by the method call- Event severity level:
- FATAL
-
staticRegionOverflow
void staticRegionOverflow(Object source, String elementName, String page, int amount, boolean clip, boolean canRecover, Locator loc) throws LayoutException Contents overflow a static region viewport.- Parameters:
source
- the event sourceelementName
- the formatting objectpage
- the page number/name where the overflow happenedamount
- the amount by which the contents overflow (in mpt)clip
- true if the content will be clippedcanRecover
- indicates whether FOP can recover from this problem and continue workingloc
- the location of the error or null- Throws:
LayoutException
- the layout error provoked by the method call- Event severity level:
- FATAL
-
flowNotMappingToRegionBody
void flowNotMappingToRegionBody(Object source, String flowName, String masterName, Locator loc) throws UnsupportedOperationException Indicates that FOP doesn't support flows that are not mapped to region-body, yet.- Parameters:
source
- the event sourceflowName
- the flow namemasterName
- the page master nameloc
- the location of the error or null- Throws:
UnsupportedOperationException
- the layout error provoked by the method call- Event severity level:
- FATAL
-
pageSequenceMasterExhausted
void pageSequenceMasterExhausted(Object source, String pageSequenceMasterName, boolean canRecover, Locator loc) throws PageProductionException A page sequence master is exhausted.- Parameters:
source
- the event sourcepageSequenceMasterName
- the name of the page sequence mastercanRecover
- indicates whether FOP can recover from this problem and continue workingloc
- the location of the error or null- Throws:
PageProductionException
- the error provoked by the method call- Event severity level:
- FATAL
-
missingSubsequencesInPageSequenceMaster
void missingSubsequencesInPageSequenceMaster(Object source, String pageSequenceMasterName, Locator loc) throws PageProductionException No subsequences in page sequence master.- Parameters:
source
- the event sourcepageSequenceMasterName
- the name of the page sequence masterloc
- the location of the error or null- Throws:
PageProductionException
- the error provoked by the method call- Event severity level:
- FATAL
-
noMatchingPageMaster
void noMatchingPageMaster(Object source, String pageSequenceMasterName, String pageMasterName, Locator loc) throws PageProductionException No single-page-master matching in page sequence master.- Parameters:
source
- the event sourcepageSequenceMasterName
- the name of the page sequence masterpageMasterName
- the name of the page master not matchingloc
- the location of the error or null- Throws:
PageProductionException
- the error provoked by the method call- Event severity level:
- FATAL
-
nonRestartableContentFlowingToNarrowerPage
An element that cannot handle changing IPD (list, table) is flowing to a narrower page. Some content may be lost.- Parameters:
source
- the event source- Event severity level:
- WARN
-
layoutHasReachedParts
A feasible layout has reached the given number of parts (columns or pages).- Parameters:
source
- the event sourcepartCount
- the number of parts that the layout has reached- Event severity level:
- INFO
-
lastPageMasterReferenceMissing
Last page master reference missing.- Parameters:
source
- the event source- Event severity level:
- WARN
-