code: private int convertProtectionLevel() {
      	int level = 0;
      	switch(this.protectionLevel) {
      	case RtfProtection.LEVEL_NONE:
      		break;
      	case RtfProtection.LEVEL_REVPROT:
      		level = 0;
      		break;
      	case RtfProtection.LEVEL_ANNOTPROT:
      		level = 1;
      		break;
      	case RtfProtection.LEVEL_FORMPROT:
      		level = 2;
      		break;
      	case RtfProtection.LEVEL_READPROT:
      		level = 3;
      		break;
      	}
      	return level;
      	
      }
docs: Converts protection level from internal bitmap value to protlevel output value.
  Author: Howard Shank (hgshank@yahoo.com)
  @return <pre>
  0 = Revision protection
  1 = Annotation/Comment protection
  2 = Form protection
  3 = Read only protection
  </pre>
  @since 2.1.1