public class

MojoRWDTransform

extends AbstractMojoRWTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.AbstractWebBeanTransform
           ↳ com.microstrategy.web.app.transforms.AbstractRWTransform
             ↳ com.microstrategy.web.app.transforms.AbstractMojoRWTransform
               ↳ com.microstrategy.web.app.transforms.MojoRWDTransform
Known Direct Subclasses

Summary

Nested Classes
class MojoRWDTransform.RWLayoutContext This class is used to walk the Report Writer Document tree (it implements RWBeanVisitor2) and holds state about what it has encountered... 
class MojoRWDTransform.RWLayoutContextDefn 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... 
class MojoRWDTransform.ScriptTagExtractor  
class MojoRWDTransform.TransformStringUtil  
[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Fields
protected double desiredZoomFactor
protected int dpiConversion
protected int zoomFactor
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.AbstractRWTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
MojoRWDTransform()
Public Methods
String getDescription()
void renderShell(MarkupOutput out)

Generates the shell for this Transform.

void transformForRequestInError(MarkupOutput out)
Transform when the status is In Error.
void transformForRequestSuccessful(MarkupOutput out)
Generates the output when the bean's status is WebBeanRequestSuccessful.
Protected Methods
FormatPropertyConverterFactory.ConverterContext createConverterContext(RWUnit rwUnit, WebFormat webFormat)
MojoRWDTransform.RWLayoutContext createLayoutContext(Block bRWLayoutDef, Block bRWLayout, Map<String, FormatPropertyConverterFactory.SubsectionBoundingBox> subsectionBB)
MojoRWDTransform.RWLayoutContextDefn createLayoutContextDefn(Block bRWLayoutDef, Block bRWLayout, boolean docWidthModeAuto)
Block createRWInstanceBlock()
BlockList getAttributeFormsBlock(WebAttributeForms forms, WebAttributeForms baseForms)
RWIterateSettings getDefnIterateSettings()
boolean getHideLayoutTabStrip(int layoutCount, boolean showTabForSingleLayout)
int getNextId()
Returns the next integer to use as objectId for new objects
Block getRootDefn(RWSectionDef rwSectionDef)
WebWorkingSet getWorkingSet()
void prepareMarkupOutput(MarkupOutput out)
void setLayoutDefProperties(RWLayoutSectionDef theLayout, Block bRWLayoutDef, String key, String title, int supportedOrientations, boolean docWidthModeAuto, boolean isCurrent)
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.AbstractMojoRWTransform
From class com.microstrategy.web.app.transforms.AbstractRWTransform
From class com.microstrategy.web.app.transforms.AbstractWebBeanTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
From class com.microstrategy.web.transform.AbstractLayoutTransform
From class com.microstrategy.web.transform.AbstractTransform
From class java.lang.Object
From interface com.microstrategy.web.app.transforms.AppTransform
From interface com.microstrategy.web.transform.Transform

Fields

protected double desiredZoomFactor

protected int dpiConversion

protected int zoomFactor

Public Constructors

public MojoRWDTransform ()

Public Methods

public String getDescription ()

public void renderShell (MarkupOutput out)

Generates the shell for this Transform.

The shell is a <div> tag that automatically surrounds the content generated by the Transform. It's used among other things by the javascript to identify the HTML associated with a bone, and by the iFrame update technology to identify a component in the page.

The attributes to append to this <div> are obtained from the getAttributesShellDiv method; the style from the getStyleShellDiv method.
This method calls renderCssLink and checkStatus to generate the Transform's content.

Parameters
out output by this transform

public void transformForRequestInError (MarkupOutput out)

Transform when the status is In Error.

Parameters
out Output by this transform.

public void transformForRequestSuccessful (MarkupOutput out)

Generates the output when the bean's status is WebBeanRequestSuccessful. This is the main entry point to generate the output for those Transforms that just want to render the "regular" bean case.
This is an abstract method. All classes need to implement it.

Parameters
out output by this transform

Protected Methods

protected FormatPropertyConverterFactory.ConverterContext createConverterContext (RWUnit rwUnit, WebFormat webFormat)

protected MojoRWDTransform.RWLayoutContext createLayoutContext (Block bRWLayoutDef, Block bRWLayout, Map<String, FormatPropertyConverterFactory.SubsectionBoundingBox> subsectionBB)

protected MojoRWDTransform.RWLayoutContextDefn createLayoutContextDefn (Block bRWLayoutDef, Block bRWLayout, boolean docWidthModeAuto)

protected Block createRWInstanceBlock ()

Throws
Exception

protected BlockList getAttributeFormsBlock (WebAttributeForms forms, WebAttributeForms baseForms)

protected RWIterateSettings getDefnIterateSettings ()

protected boolean getHideLayoutTabStrip (int layoutCount, boolean showTabForSingleLayout)

protected int getNextId ()

Returns the next integer to use as objectId for new objects

Returns
  • the int value of getRWBean().getRWInstance().getDefinition().getKeySeed()

protected Block getRootDefn (RWSectionDef rwSectionDef)

Throws
Exception

protected WebWorkingSet getWorkingSet ()

protected void prepareMarkupOutput (MarkupOutput out)

protected void setLayoutDefProperties (RWLayoutSectionDef theLayout, Block bRWLayoutDef, String key, String title, int supportedOrientations, boolean docWidthModeAuto, boolean isCurrent)