code: public void setHighLevelMeta(int i) {
  	String meta = "<Table>\n";
  	meta = meta + "<pageNumInDoc>" + (i + 1) + "</pageNumInDoc>\n";
  	m_caption = replaceAllSpecialChracters(m_caption);
  	meta = meta + "<TableCaption>" + m_caption + "</TableCaption>\n";
  	String location = "";
  	if (m_topCaptionLocation)
  	    location = "top";
  	else
  	    location = "below";
  	location = replaceAllSpecialChracters(location);
  	meta = meta + "<CaptionLocation>" + location + "</CaptionLocation>\n";
  	m_metadata_HighLevel = replaceAllSpecialChracters(m_metadata_HighLevel);
  	meta = meta + "<dataHighLevel>" + m_metadata_HighLevel
  		+ "</dataHighLevel>\n";
  	this.setMetadataHighLevel(meta);
      }
docs: Sets the high-level table metadata
  
  @param i
  the total number of pages of the document