Apache POI를 사용하여 단어로 XWPFTable을 만들었습니다. 이제 테이블에 column.Now의 텍스트가 제대로 표시됩니다. 크기와 함께 텍스트의 서식을 지정하려고합니다. , 글꼴 등등. 내가 어떻게 할 수 있니? 모든 트릭은 달리기 옵션과 관련이있다.하지만 나는 TableRow에있다. 내가 지금까지해온 것을 보라.Apache POI에서 XWPFTable의 텍스트 서식을 지정하는 방법
XWPFTable tableTwo = document.createTable();
XWPFTableRow tableTwoRowOne = tableTwo.getRow(0);
tableTwo.getCTTbl().getTblPr().unsetTblBorders();
tableTwoRowOne.getCell(0).setText("No Match – Location: ");
tableTwoRowOne.addNewTableCell().setText("Prospect has expressed unwillingness to relocate or is based out of area where commute is not feasible");
XWPFTableRow tableTwoRowTwo = tableTwo.createRow();
tableTwoRowTwo.getCell(0).setText("No Match – Scalability: ");
tableTwoRowTwo.getCell(1).setText("Prospect’s recent organizational size, structure, and complexity is not scalable to client’s environment");
나는 테이블 테이블의 텍스트를 포맷팅하고 싶습니다. 어떻게 테이블 2와 테이블 2를 만들 수 있습니까?
paragraphRefTitle은 무엇을 나타 냅니까? – fall
@fall 답을 수정했습니다. paragraphRefTitle = 단락 – makkasi