本文整理了Java中org.apache.poi.xssf.usermodel.XSSFTable.getXmlColumnPrs()
方法的一些代码示例,展示了XSSFTable.getXmlColumnPrs()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSSFTable.getXmlColumnPrs()
方法的具体详情如下:
包路径:org.apache.poi.xssf.usermodel.XSSFTable
类名称:XSSFTable
方法名:getXmlColumnPrs
[英]Note this list is static - once read, it does not notice later changes to the underlying column structures To clear the cache, call #updateHeaders
[中]注意:这个列表是静态的——一旦读取,它就不会注意到后面对底层列结构的更改,以清除缓存、调用#updateHeaders
代码示例来源:origin: org.apache.poi/poi-ooxml
/**
* Checks if this Table element contains even a single mapping to the map identified by id
* @param id the XSSFMap ID
* @return true if the Table element contain mappings
*/
public boolean mapsTo(long id){
List<XSSFXmlColumnPr> pointers = getXmlColumnPrs();
for (XSSFXmlColumnPr pointer: pointers) {
if (pointer.getMapId()==id) {
return true;
}
}
return false;
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.poi
/**
* Checks if this Table element contains even a single mapping to the map identified by id
* @param id the XSSFMap ID
* @return true if the Table element contain mappings
*/
public boolean mapsTo(long id){
List<XSSFXmlColumnPr> pointers = getXmlColumnPrs();
for (XSSFXmlColumnPr pointer: pointers) {
if (pointer.getMapId()==id) {
return true;
}
}
return false;
}
代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev
/**
* Checks if this Table element contains even a single mapping to the map identified by id
* @param id the XSSFMap ID
* @return true if the Table element contain mappings
*/
public boolean mapsTo(long id){
boolean maps =false;
List<XSSFXmlColumnPr> pointers = getXmlColumnPrs();
for(XSSFXmlColumnPr pointer: pointers){
if(pointer.getMapId()==id){
maps=true;
break;
}
}
return maps;
}
代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev
List<XSSFXmlColumnPr> tableColumns = table.getXmlColumnPrs();
代码示例来源:origin: org.openl.rules/org.openl.lib.poi.dev
for (XSSFXmlColumnPr xmlColumnPr : table.getXmlColumnPrs()) {
内容来源于网络,如有侵权,请联系作者删除!