mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
change link
This commit is contained in:
@@ -102,7 +102,7 @@ public class ExcelPicUtil {
|
||||
ctMarker = pic.getPreferredSize().getFrom();
|
||||
sheetIndexPicMap.put(StrUtil.format("{}_{}", ctMarker.getRow(), ctMarker.getCol()), pic.getPictureData());
|
||||
}
|
||||
// 其他类似于图表等忽略,see: https://gitee.com/dromara/hutool/issues/I38857
|
||||
// 其他类似于图表等忽略,see: https://gitee.com/chinabugotech/hutool/issues/I38857
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -25,7 +25,7 @@ public class NumberCellSetter implements CellSetter {
|
||||
|
||||
@Override
|
||||
public void setValue(Cell cell) {
|
||||
// issue https://gitee.com/dromara/hutool/issues/I43U9G
|
||||
// issue https://gitee.com/chinabugotech/hutool/issues/I43U9G
|
||||
// 避免float到double的精度问题
|
||||
cell.setCellValue(NumberUtil.toDouble(value));
|
||||
}
|
||||
|
@@ -178,7 +178,7 @@ public class SheetDataSaxHandler extends DefaultHandler {
|
||||
*/
|
||||
private void startRow(Attributes attributes) {
|
||||
final String rValue = AttributeName.r.getValue(attributes);
|
||||
// https://gitee.com/dromara/hutool/issues/I6WYF6
|
||||
// https://gitee.com/chinabugotech/hutool/issues/I6WYF6
|
||||
this.rowNumber = (null == rValue) ? -1 : Long.parseLong(rValue) - 1;
|
||||
}
|
||||
|
||||
|
@@ -247,7 +247,7 @@ public class ExcelReadTest {
|
||||
|
||||
@Test
|
||||
public void readColumnNPETest() {
|
||||
// https://github.com/dromara/hutool/pull/2234
|
||||
// https://github.com/chinabugotech/hutool/pull/2234
|
||||
ExcelReader reader = ExcelUtil.getReader(ResourceUtil.getStream("read_row_npe.xlsx"));
|
||||
reader.readColumn(0, 1);
|
||||
}
|
||||
|
@@ -721,7 +721,7 @@ public class ExcelWriteTest {
|
||||
@Test
|
||||
@Disabled
|
||||
public void mergeTest3() {
|
||||
// https://github.com/dromara/hutool/issues/1696
|
||||
// https://github.com/chinabugotech/hutool/issues/1696
|
||||
|
||||
List<Map<String, Object>> list = new ArrayList<>();
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
@@ -751,7 +751,7 @@ public class ExcelWriteTest {
|
||||
@Test
|
||||
@Disabled
|
||||
public void mergeForDateTest() {
|
||||
// https://github.com/dromara/hutool/issues/1911
|
||||
// https://github.com/chinabugotech/hutool/issues/1911
|
||||
|
||||
//通过工具类创建writer
|
||||
String path = "d:/test/mergeForDate.xlsx";
|
||||
@@ -776,7 +776,7 @@ public class ExcelWriteTest {
|
||||
@Test
|
||||
@Disabled
|
||||
public void writeFloatTest() {
|
||||
//issue https://gitee.com/dromara/hutool/issues/I43U9G
|
||||
//issue https://gitee.com/chinabugotech/hutool/issues/I43U9G
|
||||
String path = "d:/test/floatTest.xlsx";
|
||||
FileUtil.del(path);
|
||||
|
||||
@@ -788,7 +788,7 @@ public class ExcelWriteTest {
|
||||
@Test
|
||||
@Disabled
|
||||
public void issueI466ZZTest() {
|
||||
// https://gitee.com/dromara/hutool/issues/I466ZZ
|
||||
// https://gitee.com/chinabugotech/hutool/issues/I466ZZ
|
||||
// 需要输出S_20000314_x5116_0004
|
||||
// 此处加入一个转义前缀:_x005F
|
||||
List<Object> row = ListUtil.of(new EscapeStrCellSetter("S_20000314_x5116_0004"));
|
||||
@@ -801,7 +801,7 @@ public class ExcelWriteTest {
|
||||
@Test
|
||||
@Disabled
|
||||
public void writeLongTest() {
|
||||
//https://gitee.com/dromara/hutool/issues/I49R6U
|
||||
//https://gitee.com/chinabugotech/hutool/issues/I49R6U
|
||||
final ExcelWriter writer = ExcelUtil.getWriter("d:/test/long.xlsx");
|
||||
writer.write(ListUtil.of(1427545395336093698L));
|
||||
writer.close();
|
||||
|
@@ -11,7 +11,7 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* https://github.com/dromara/hutool/issues/3048
|
||||
* https://github.com/chinabugotech/hutool/issues/3048
|
||||
* Excel导出javaBean中有BigDecimal类型精度流失
|
||||
*
|
||||
*/
|
||||
|
@@ -14,7 +14,7 @@ import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
|
||||
/**
|
||||
* https://gitee.com/dromara/hutool/issues/I6MBS5<br>
|
||||
* https://gitee.com/chinabugotech/hutool/issues/I6MBS5<br>
|
||||
* 经过测试,发现BigExcelWriter中的comment会错位<br>
|
||||
* 修正方式见: https://stackoverflow.com/questions/28169011/using-sxssfapache-poi-and-adding-comment-does-not-generate-proper-excel-file
|
||||
*/
|
||||
|
Reference in New Issue
Block a user