Class StiEngine
java.lang.Object
com.stimulsoft.report.engine.engineV2.StiEngine
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanThe current data band associated with the page line.boolean���� ��������������� �� ����� ���������� StiBandsOnAllPages ��� ����, ����� ���������, ������� ��������� �� ������ ��������, �� �������� ���� ������boolean���� ��������������� ������ ��� ��� ����� �������� �������.booleanRequires to generate a new column before the next band.booleanIt is required to generate a new page before the next band.booleanIf true then the engine should ignore the value of the SkipFirst property of a band.An index of the last rendered DataBand.intContains an index that indicates a position of the beginning the current column output.intContain index of page for page total calculation.booleanbooleandoublestatic final boolean��������� ������ ��� ����������� ������ �������� ��������� ����� �������� ��� ����� ������� ��� ������ �������� SkipFirst.booleanA value indicating whether page line rendering is enabled.doubleContains an information that is necessary to show progress of report rendering.booleanIf a variable is true then output as a band is not done.boolean���� ������ ��� ������������� ������� BeforePrintEvent ��� ��������, ��� ��� ��� ������� ���������� ����� ��� ������ ��������� � ������� ��������intContain start index of page for page total calculation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidAddContainerToDestination(StiContainer container) Adds a specified container into the container for output.final voidAddFooterMarker(StiFooterBand footerMaster) Adds a FooterMarker (special container) into the current container of output.final voidAdds a container-marker of the beginning of grouping before the last rendered DataBand.final voidAddLevel()Adds a container-marker of the beginning of grouping into the current position of output in the stream.final voidAdds a specified page into the collection of rendered pages.final booleanCanGenerateNewContainer(IStiPageBreak pageBreak) Returns true if the specified container can generate a new page or a column in this time.booleancheckForDuplicate(String textName, String value, String tag) final voidClears a collection of bands which once passed the generation of a new page or column.final voidA method is called to finalize operations over the output stream.final voidFinishColumns(StiContainer containerForRender) final voidFinishContainer(StiContainer containerForRender) Find all containers and zero the ParentBand property.final voidFinishResetPageNumberContainer(StiContainer containerForRender, boolean isFinal) final StiBandsOnAllPagesContains a collection of bands which should be output on all pages.final StiBreakableHelperAn object helps to work with IStiBreakable interface.final StiColumnsOnDataBandUsed to output columns on the DataBand.final StiColumnsOnPanelUsed to output columns on the Panel.final StiContainerGets or sets a container in what rendering of bands is done.final doubleContains a freespace in a container in what the printing is done.final booleanIf true then it is impossible to change stream of printing.final booleanIf true then the Render method of a container will not render components of the Master type.final StiEmptyBandsV2HelperUsed to output EmptyBands in the current container.final StiFootersOnAllPagesCotnains a collection of Footers which should be output on the bottom of a page.final doubleContains a freespace in a container in what the printing is done.final booleanIf true then UnlimitedHeight property is ignored when NewPage method is called.final booleanThis property is set to true for printing CrossBands.final booleanIf true then it is allowed to add any Bookmarks.final booleanReturns true if the first DataBand is printed on the current page.final booleanReturns true if the last DataBand is printed on the current page.The last processed databand during the report rendering.final StiEngineIf an engine is slave then this reference indicates the parent report engine.final StiReportGets or sets a master report that is being rendered in the current moment.final StiPagegetPage()Gets or sets a page in what rendering of bands is done.final StiPageNumberHelperfinal Hashtablefinal doubleIndicates the current position bands output on the Y axis on the bottom of a page.final doubleIndicates the current position bands output on the X axis.final doubleIndicates the current position bands output on the Y axis.final StiPrintAtBottomContains a collection of bands which should be output on the bottom of a page.final HashtableContains the list of bands which should be passed when rendering.final StiProgressHelperA class helps to output the progress bar when report rendering.final StiReportGets or sets a report that is being rendered in the current moment.Contains a list of Slave Engines.final StiStaticBandsHelperAn object helps to output static bands on a page.final StiContainerGets or sets a container from a template.final StiPageGets or sets a page from a template.final StiThreadsThis object helps to print groups of bands from containers which are placed directly on a page.getUniqueShortName(String fullName) final voidbooleanfinal voidA method forms a new column.final voidNewColumn(boolean ignoreKeepContainers) A method forms a new column.final voidForms a new page of a new column (if there are some).final voidNewDestination(boolean ignoreKeepContainers) Forms a new page of a new column (if there are some).final voidNewList()A method is called for each new page or column.final voidNewList(boolean skipStaticBands) A method is called for each new page or column.final voidNewPage()A method forms a new page in a report.final voidNewPage(boolean ignoreKeepContainers) A method forms a new page in a report.final voidvoidProcessPageAfterRendering(StiPage page, boolean isFinal) final voidRemoveBandFromPageBreakSkipList(IStiPageBreak pageBreak) final voidAdds a container-marker of the end of grouping into the current position of output in the stream.final StiComponentsCollectionRenderBand(StiBand band) Renders a specified band taking Child bands into consideration.final StiComponentsCollectionRenderBand(StiBand band, boolean ignorePageBreaks, boolean allowRenderingEvents) Renders a specified band taking Child bands into consideration.final StiContainerRenderContainer(StiContainer container) Renders a specified container in the current container for output.final voidRenderEmptyBands(StiContainer containerForRender, StiContainer selectedContainer) Render selected EmptyBand in the specified container.final voidRenderFootersOnAllPages(StiContainer outContainer, int startIndex, StiContainer markerContainer) final voidRenderPrintAtBottom(StiContainer container, int startIndex, StiContainer markerContainer) final voidResetProcessingDuplicates(String componentName) final voidfinal voidsetCrossFreeSpace(double value) final voidsetDenyChangeThread(boolean value) final voidsetDenyRenderMasterComponentsInContainer(boolean value) voidsetDockPageFooterToBottom(boolean dockPageFooterToBottom) final voidsetFreeSpace(double value) voidsetHashParentStyles(Hashtable<StiComponent, StiBaseStyle> hashParentStyles) voidsetHashUseParentStyles(Hashtable<StiComponent, Boolean> hashUseParentStyles) final voidsetIgnoreUnlimitedHeightForNewPage(boolean value) final voidsetIsCrossBandsMode(boolean value) final voidsetIsDynamicBookmarksMode(boolean value) final voidsetIsFirstDataBandOnPage(boolean value) final voidsetIsLastDataBandOnPage(boolean value) voidsetLastRenderedDataBand(StiDataBand lastRenderedDataBand) The last processed databand during the report rendering.final voidsetMasterEngine(StiEngine value) final voidsetMasterReport(StiReport value) final voidSets parameters to output a new page.final voidfinal voidvoidfinal voidsetPositionBottomY(double value) final voidsetPositionX(double value) final voidsetPositionY(double value) final voidfinal voidsetTemplateContainer(StiContainer value) final voidsetTemplatePage(StiPage value)
-
Field Details
-
OldWYSIWYG
public static final boolean OldWYSIWYG- See Also:
-
isDynamicBookmarksMode
public boolean isDynamicBookmarksMode -
isCrossBandsMode
public boolean isCrossBandsMode -
staticBands
-
masterEngine
-
hashCheckSize
-
emptyBands
-
pageNumbers
-
currentDataBandOfPageLine
The current data band associated with the page line. -
pageLineRenderingEnabled
public boolean pageLineRenderingEnabledA value indicating whether page line rendering is enabled. -
columnsOnPanel
-
positionBottomY
public double positionBottomY -
containerForRender
-
hashDataBandLastLine
-
templatePage
-
templateContainer
-
report
-
StartIndexPageForPageTotal
public int StartIndexPageForPageTotalContain start index of page for page total calculation. Used for running total -
IndexPageForPageTotal
public int IndexPageForPageTotalContain index of page for page total calculation. -
SilentMode
public boolean SilentModeIf a variable is true then output as a band is not done. -
RenderState
Contains an information that is necessary to show progress of report rendering. -
IndexOfLatestDataBand
An index of the last rendered DataBand. The Index is used to put the AddLevel before this DataBand and make KeepFooterTogether properties work correct. -
generateNewPageBeforeBand
public boolean generateNewPageBeforeBandIt is required to generate a new page before the next band. A flag is used to prevent empty pages after a band. A new page is not generated after the specified band but not before the next band. If there is no the next band then there is no a new page. -
ignoreSkipFirst
public boolean ignoreSkipFirstIf true then the engine should ignore the value of the SkipFirst property of a band. It is necessary if NewPageAfter or NewColumnAfter are processed. -
generateNewColumnBeforeBand
public boolean generateNewColumnBeforeBandRequires to generate a new column before the next band. A flag is used to prevent empty columns after a band. A new column is not generated after the specified band but not before the next band. If there is no the next band then there is no a new column. -
pageBreakSkipFirstCollection
��������� ������ ��� ����������� ������ �������� ��������� ����� �������� ��� ����� ������� ��� ������ �������� SkipFirst. ���� ���� ��� ��������� ���� ��� ��������� ����� �������� ��� �������, �� �� ��������� � ��� ���������. -
IndexOfStartList
public int IndexOfStartListContains an index that indicates a position of the beginning the current column output. If there are no columns then contains 0. -
skipFirstPageBeforePrintEvent
public boolean skipFirstPageBeforePrintEvent���� ������ ��� ������������� ������� BeforePrintEvent ��� ��������, ��� ��� ��� ������� ���������� ����� ��� ������ ��������� � ������� �������� -
FirstCallNewPage
public boolean FirstCallNewPage���� ��������������� ������ ��� ��� ����� �������� �������. ��� �����������, ��� �������� �� ���������� ��������� UnlimitedHeight ������ ����������� �� ����� �������� � �� ������� �������� � ���������� �������� -
DenyClearPrintOnAllPagesIgnoreList
public boolean DenyClearPrintOnAllPagesIgnoreList���� ��������������� �� ����� ���������� StiBandsOnAllPages ��� ����, ����� ���������, ������� ��������� �� ������ ��������, �� �������� ���� ������ -
duplicatesLastValues
-
lastInvokeTextProcessValueEventArgsValue
-
atLeastOneDatabandRenderedOnPage
public boolean atLeastOneDatabandRenderedOnPage -
bandsInProgress
-
AllowEndOfPageProcessing
public boolean AllowEndOfPageProcessing -
offsetNewColumnY
public double offsetNewColumnY -
anchorsArguments
-
firstPassPointer
-
-
Constructor Details
-
StiEngine
-
-
Method Details
-
getDefaultTextQualityMode
-
getDefaultPaperSize
-
getIsDynamicBookmarksMode
public final boolean getIsDynamicBookmarksMode()If true then it is allowed to add any Bookmarks. If false then add Bookmarks of components which the IsRendered property = false (in other words it is rendered first time). This property allows adding Bookmarks for static components only once (to avoid duplication). -
setIsDynamicBookmarksMode
public final void setIsDynamicBookmarksMode(boolean value) -
getIsCrossBandsMode
public final boolean getIsCrossBandsMode()This property is set to true for printing CrossBands. -
setIsCrossBandsMode
public final void setIsCrossBandsMode(boolean value) -
getIsFirstDataBandOnPage
public final boolean getIsFirstDataBandOnPage()Returns true if the first DataBand is printed on the current page. -
setIsFirstDataBandOnPage
public final void setIsFirstDataBandOnPage(boolean value) -
getIsLastDataBandOnPage
public final boolean getIsLastDataBandOnPage()Returns true if the last DataBand is printed on the current page. -
setIsLastDataBandOnPage
public final void setIsLastDataBandOnPage(boolean value) -
getLastRenderedDataBand
The last processed databand during the report rendering.- Returns:
-
setLastRenderedDataBand
The last processed databand during the report rendering.- Parameters:
lastRenderedDataBand-
-
getPrintOnAllPagesIgnoreList
Contains the list of bands which should be passed when rendering. -
getProgressHelper
A class helps to output the progress bar when report rendering. -
getBandsOnAllPages
Contains a collection of bands which should be output on all pages. -
getDenyRenderMasterComponentsInContainer
public final boolean getDenyRenderMasterComponentsInContainer()If true then the Render method of a container will not render components of the Master type. This property is used with the RenderSimpleComponents method of a page. It is used to deny master components and render simple ones. -
setDenyRenderMasterComponentsInContainer
public final void setDenyRenderMasterComponentsInContainer(boolean value) -
getPrintAtBottom
Contains a collection of bands which should be output on the bottom of a page. The list is filled when stream rendering and the list is cleared when rendering of the current stream is finished. -
getStaticBands
An object helps to output static bands on a page. -
getThreads
This object helps to print groups of bands from containers which are placed directly on a page. -
getBreakable
An object helps to work with IStiBreakable interface. -
getDenyChangeThread
public final boolean getDenyChangeThread()If true then it is impossible to change stream of printing. -
setDenyChangeThread
public final void setDenyChangeThread(boolean value) -
getSlaveEngines
Contains a list of Slave Engines. -
getMasterEngine
If an engine is slave then this reference indicates the parent report engine. -
setMasterEngine
-
getEmptyBands
Used to output EmptyBands in the current container. -
getPageNumbers
-
getColumnsOnDataBand
Used to output columns on the DataBand. -
getColumnsOnPanel
Used to output columns on the Panel. -
getFreeSpace
public final double getFreeSpace()Contains a freespace in a container in what the printing is done. -
setFreeSpace
public final void setFreeSpace(double value) -
getCrossFreeSpace
public final double getCrossFreeSpace()Contains a freespace in a container in what the printing is done. Used to output Cross bands only. -
setCrossFreeSpace
public final void setCrossFreeSpace(double value) -
getPositionX
public final double getPositionX()Indicates the current position bands output on the X axis. -
setPositionX
public final void setPositionX(double value) -
getPositionY
public final double getPositionY()Indicates the current position bands output on the Y axis. -
setPositionY
public final void setPositionY(double value) -
getPositionBottomY
public final double getPositionBottomY()Indicates the current position bands output on the Y axis on the bottom of a page. -
setPositionBottomY
public final void setPositionBottomY(double value) -
getContainerForRender
Gets or sets a container in what rendering of bands is done. -
setContainerForRender
-
getPage
Gets or sets a page in what rendering of bands is done. -
setPage
-
getTemplatePage
Gets or sets a page from a template. This page is being rendered in the current moment. -
setTemplatePage
-
getTemplateContainer
Gets or sets a container from a template. This page is being rendered in the current moment. If a page is output then the TemplateContainer property is equal in TemplatePage. -
setTemplateContainer
-
getReport
Gets or sets a report that is being rendered in the current moment. -
setReport
-
getMasterReport
Gets or sets a master report that is being rendered in the current moment. -
setMasterReport
-
getIgnoreUnlimitedHeightForNewPage
public final boolean getIgnoreUnlimitedHeightForNewPage()If true then UnlimitedHeight property is ignored when NewPage method is called. -
setIgnoreUnlimitedHeightForNewPage
public final void setIgnoreUnlimitedHeightForNewPage(boolean value) -
getparserConversionStore
-
setparserConversionStore
-
NewList
public final void NewList()A method is called for each new page or column. If the first column is output or thre are no columns then a method outputs statis bands. ����� ����� �� �������� ��������� �� ��������� ���������� DataBand. Also a method prints bands which should be output on all pages. -
NewList
public final void NewList(boolean skipStaticBands) A method is called for each new page or column. ���� ��������� ������ ������� ��� ������� ��� ������, �� ����� ������� ����������� �����. ����� ����� �� �������� ��������� �� ��������� ���������� DataBand. ����� ����� ������� �� ������ �� �����, ������� ������ ���� �������� �� ���� ���������.- Parameters:
skipStaticBands- If true then static bands will not be rendered. It is used to render cross-bands which are placed in static bands.
-
NewColumn
public final void NewColumn()A method forms a new column. -
NewColumn
public final void NewColumn(boolean ignoreKeepContainers) A method forms a new column.- Parameters:
ignoreKeepContainers-
-
NewPage
public final void NewPage()A method forms a new page in a report. -
NewPage
public final void NewPage(boolean ignoreKeepContainers) A method forms a new page in a report.- Parameters:
ignoreKeepContainers- If true, then ��� ������������ ����� ��������, ������� ��������� ����������� ����� ��������������.
-
NewDestination
public final void NewDestination()Forms a new page of a new column (if there are some). -
NewDestination
public final void NewDestination(boolean ignoreKeepContainers) Forms a new page of a new column (if there are some).- Parameters:
ignoreKeepContainers- ���� ����� true, �� ��� ������������ ����� �������� (��� �������), ������� ��������� ����������� ����� ��������������.
-
AddKeepLevelAtLatestDataBand
public final void AddKeepLevelAtLatestDataBand()Adds a container-marker of the beginning of grouping before the last rendered DataBand. -
AddLevel
public final void AddLevel()Adds a container-marker of the beginning of grouping into the current position of output in the stream. -
RemoveLevel
public final void RemoveLevel()Adds a container-marker of the end of grouping into the current position of output in the stream. -
ClearPageBreakSkipFirst
public final void ClearPageBreakSkipFirst()Clears a collection of bands which once passed the generation of a new page or column. -
CanGenerateNewContainer
Returns true if the specified container can generate a new page or a column in this time. If the SkipFirst property is false then, in any case true is returned. If true, �� �� ������ ��� ����� ��������� ������������ ����� ������� ��� ����� �������� � ������� ���� � ���������.- Parameters:
pageBreak-- Returns:
-
RemoveBandFromPageBreakSkipList
-
ProcessPageAfterRendering
-
ProcessLastPageAfterRendering
public final void ProcessLastPageAfterRendering() -
FinalClear
public final void FinalClear()A method is called to finalize operations over the output stream. -
SetNewPageParameters
public final void SetNewPageParameters()Sets parameters to output a new page. -
RenderEmptyBands
Render selected EmptyBand in the specified container. -
RenderPrintAtBottom
public final void RenderPrintAtBottom(StiContainer container, int startIndex, StiContainer markerContainer) -
FinishContainer
Find all containers and zero the ParentBand property.- Parameters:
containerForRender-
-
FinishResetPageNumberContainer
-
FinishColumns
-
AddContainerToDestination
Adds a specified container into the container for output. -
InvokePageAfterPrint
public final void InvokePageAfterPrint() -
AddPageToRenderedPages
Adds a specified page into the collection of rendered pages. -
checkForDuplicate
-
ResetProcessingDuplicates
-
RenderBand
Renders a specified band taking Child bands into consideration.- Parameters:
band-- Returns:
-
RenderBand
public final StiComponentsCollection RenderBand(StiBand band, boolean ignorePageBreaks, boolean allowRenderingEvents) Renders a specified band taking Child bands into consideration.- Parameters:
band- Tha band that should be rendered.ignorePageBreaks- True, if it is necessary to ignore NewPageAfter, NewPageBefore, NewColumnAfter, and NewColumnBefore properties.allowRenderingEvents- True, if it isnecessary to call the Rendering event. ��� DataBand � ��� GroupHeaderBand.- Returns:
- The list of rendered containers for the specified band.
-
RenderContainer
Renders a specified container in the current container for output.- Parameters:
container- A container that should be rendered.- Returns:
- Rendered container.
-
getUniqueShortName
-
setParserConversionStore
-
getParserConversionStore
-
getKeepFirstDetailTogetherList
-
getHashParentStyles
- Returns:
- the hashParentStyles
-
getHashUseParentStyles
- Returns:
- the hashUseParentStyles
-
setHashUseParentStyles
- Parameters:
hashUseParentStyles- the hashUseParentStyles to set
-
setHashParentStyles
- Parameters:
hashParentStyles- the hashParentStyles to set
-