code: public boolean setMargins(float left, float right, float top, float bottom) {
          rtfDoc.getDocumentHeader().getPageSetting().setMarginLeft((int) (left * RtfElement.TWIPS_FACTOR));
          rtfDoc.getDocumentHeader().getPageSetting().setMarginRight((int) (right * RtfElement.TWIPS_FACTOR));
          rtfDoc.getDocumentHeader().getPageSetting().setMarginTop((int) (top * RtfElement.TWIPS_FACTOR));
          rtfDoc.getDocumentHeader().getPageSetting().setMarginBottom((int) (bottom * RtfElement.TWIPS_FACTOR));
          return true;
      }
docs: Sets the page margins
  
  @param left The left margin
  @param right The right margin
  @param top The top margin
  @param bottom The bottom margin
  @return <code>false</code>