public Bidi(AttributedCharacterIterator paragraph){
  if (paragraph == null) {
    throw new IllegalArgumentException("paragraph is null");
  }
  bidiBase=new BidiBase(0,0);
  bidiBase.setPara(paragraph);
}

public Bidi ( AttributedCharacterIterator paragraph ) { if ( paragraph == null ) { throw new IllegalArgumentException ( "paragraph is null" ) ; } bidiBase = new BidiBase ( 0 , 0 ) ; bidiBase . setPara ( paragraph ) ; }
create bidi from the given paragraph of text . < p > the run_direction attribute in the text , if present , determines the base direction ( left - to - right or right - to - left ) . if not present , the base direction is computes using the unicode bidirectional algorithm , defaulting to left - to - right if there are no strong directional characters in the text . this attribute , if present , must be applied to all the text in the paragraph . < p > the bidi_embedding attribute in the text , if present , represents embedding level information . negative values from - 1 to - 62 indicate overrides at the absolute value of the level . positive values from 1 to 62 indicate embeddings . where values are zero or not defined , the base embedding level as determined by the base direction is assumed . < p > the numeric_shaping attribute in the text , if present , converts european digits to other decimal digits before running the bidi algorithm . this attribute , if present , must be applied to all the text in the paragraph .
