community-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r01942072 <r01942...@ntu.edu.tw>
Subject Apache POI CTPageMar not found
Date Mon, 23 Mar 2015 12:28:04 GMT
I am using eclipse. I download Apache POI 3.12 Beta 1, add all jar files into java build path,
but eclipse tells me that CTPageMar not found. Part of my code is shown below.

XWPFDocument doc = new XWPFDocument();
CTDocument1 doc1 = doc.get Document();
CTBody body = doc1.getBody();
CTSectPr sect = body.getSectPr();
CTPageMar mar = sect.getPgMar();

Only the last line contains error because CTPageMar not found.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message