protected class

MojoRWDTransform.RWLayoutContextDefn

extends MojoRWDTransform.RWLayoutContext
java.lang.Object
   ↳ com.microstrategy.web.app.transforms.MojoRWDTransform.RWLayoutContext
     ↳ com.microstrategy.web.app.transforms.MojoRWDTransform.RWLayoutContextDefn
Known Direct Subclasses

Class Overview

This class is used to walk the Report Writer Document's definition tree (it implements RWBeanVisitor2 and extends MojoRWDTransform.RWLayoutContext which walks the RWD's data tree)and holds state about what it has encountered... e

Summary

[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.MojoRWDTransform.RWLayoutContext
Public Constructors
MojoRWDTransform.RWLayoutContextDefn(Block bRWLayoutDef, Block bRWLayout, boolean docWidthModeAuto)
Public Methods
Map<String, FormatPropertyConverterFactory.SubsectionBoundingBox> getSubsectionBoundingBoxMap()
void onEnd(MarkupOutput mo)
Called on iteration end
void onEndSection(RWSection section, MarkupOutput mo)
void onEndSubsection(RWSection subsection, MarkupOutput mo, boolean isBordered)
A subsection border occurs between two subsections, or if the subsection is the very last section in the document.
void onObject(RWObject ob, MarkupOutput mo)

This is invoked as a fallback if the more specific onObject declarations are not matched.

void onObject(ViewBean viewBean, RWObject ob, MarkupOutput mo)

Specific case where RWObject#getDefinition().getType == EnumRWUnitTypes.RWUNIT_GRIDGRAPH The corresponding data value is encapsulated in a ViewBean for ease of use.

void onObject(RWBean rwBean, RWObject ob, MarkupOutput mo)

Specific case where RWObject#getDefinition().getType == EnumRWUnitTypes.RWUNIT_SUBREPORT.

void onStartSection(RWSection section, MarkupOutput mo)
void onStartSubsection(RWSection subsection, MarkupOutput mo)
Called on start of subsection
Protected Methods
void addRWTemplateDefProperties(RWGridGraphDef gridGraphDef, RWUnit rwUnit, Block bRWTemplateDef, ViewBean vb)
Block createRWControlDefBlock(RWControlDef unitDef, RWUnit rwUnit)
Block createRWPanelDefBlock(RWSubsectionDef panelDef, RWSection panel)
Block createRWPanelStackDefBlock(RWSectionDef sectionDef, RWSection rwSection)
RWDataSet getDatasetForSearchBox(String srcObjId)
boolean getViewBeanHasTitleProperty(ViewBean viewBean, RWGridGraphDef gridGraphDef, Block bRWUnitDef, WebFormat wf)
boolean isPSAsFilterPanel(RWUnitDef def)
void setSelectorTitleProperties(Block bRWSelectorDef, RWControlDef controlDef, WebFormat ctlFormat)
boolean shuoldIncludeSelectorTitleProperties(RWControlDef controlDef)
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.MojoRWDTransform.RWLayoutContext
From class java.lang.Object
From interface com.microstrategy.web.beans.RWBeanVisitor
From interface com.microstrategy.web.beans.RWBeanVisitor2

Public Constructors

public MojoRWDTransform.RWLayoutContextDefn (Block bRWLayoutDef, Block bRWLayout, boolean docWidthModeAuto)

Public Methods

public Map<String, FormatPropertyConverterFactory.SubsectionBoundingBox> getSubsectionBoundingBoxMap ()

public void onEnd (MarkupOutput mo)

Called on iteration end

Parameters
mo markup output

public void onEndSection (RWSection section, MarkupOutput mo)

public void onEndSubsection (RWSection subsection, MarkupOutput mo, boolean isBordered)

A subsection border occurs between two subsections, or if the subsection is the very last section in the document.

Parameters
subsection the subsection before the border.
mo the markup output.

public void onObject (RWObject ob, MarkupOutput mo)

This is invoked as a fallback if the more specific onObject declarations are not matched.

Parameters
ob the report writing document object.
mo the markup output.

public void onObject (ViewBean viewBean, RWObject ob, MarkupOutput mo)

Specific case where RWObject#getDefinition().getType == EnumRWUnitTypes.RWUNIT_GRIDGRAPH The corresponding data value is encapsulated in a ViewBean for ease of use.

Parameters
viewBean an embedded bean.
ob the report writing document object.
mo the markup output.

public void onObject (RWBean rwBean, RWObject ob, MarkupOutput mo)

Specific case where RWObject#getDefinition().getType == EnumRWUnitTypes.RWUNIT_SUBREPORT. The corresponding data value is encapsulated in a RWBean for ease of use.

Parameters
rwBean an embedded bean.
ob the report writing document object.
mo the markup output.

public void onStartSection (RWSection section, MarkupOutput mo)

public void onStartSubsection (RWSection subsection, MarkupOutput mo)

Called on start of subsection

Parameters
subsection subsection
mo markup output

Protected Methods

protected void addRWTemplateDefProperties (RWGridGraphDef gridGraphDef, RWUnit rwUnit, Block bRWTemplateDef, ViewBean vb)

Throws
Exception

protected Block createRWControlDefBlock (RWControlDef unitDef, RWUnit rwUnit)

Throws
Exception

protected Block createRWPanelDefBlock (RWSubsectionDef panelDef, RWSection panel)

Throws
Exception

protected Block createRWPanelStackDefBlock (RWSectionDef sectionDef, RWSection rwSection)

Throws
Exception

protected RWDataSet getDatasetForSearchBox (String srcObjId)

protected boolean getViewBeanHasTitleProperty (ViewBean viewBean, RWGridGraphDef gridGraphDef, Block bRWUnitDef, WebFormat wf)

protected boolean isPSAsFilterPanel (RWUnitDef def)

protected void setSelectorTitleProperties (Block bRWSelectorDef, RWControlDef controlDef, WebFormat ctlFormat)

protected boolean shuoldIncludeSelectorTitleProperties (RWControlDef controlDef)