/* ------------------------------------------------------------------ */
private void prepareTestStep( boolean useSpreadsheetDocument ) throws com.sun.star.uno.Exception, java.lang.Exception
{
m_primaryForm = null;
m_document = useSpreadsheetDocument ? new SpreadsheetDocument( m_orb ) : DocumentHelper.blankTextDocument( m_orb );
m_formLayer = new FormLayer( m_document );
}