public class EscapeHexCellWriteHandler extends Object implements CellWriteHandler
In Office Open XML, _xHHHH_ format is used to encode special characters. For example, _x000D_ represents the Unicode character 0D (carriage return).
To store the literal _xHHHH_ sequence without it being decoded by POI, we need to escape the initial underscore by replacing _x with _x005F_x.
| Constructor and Description |
|---|
EscapeHexCellWriteHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCellDataConverted(WriteSheetHolder writeSheetHolder,
WriteTableHolder writeTableHolder,
WriteCellData<?> cellData,
org.apache.poi.ss.usermodel.Cell cell,
Head head,
Integer relativeRowIndex,
Boolean isHead)
Called after the cell data is converted
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterCellCreate, afterCellCreate, afterCellDataConverted, afterCellDispose, afterCellDispose, beforeCellCreate, beforeCellCreatepublic void afterCellDataConverted(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, WriteCellData<?> cellData, org.apache.poi.ss.usermodel.Cell cell, Head head, Integer relativeRowIndex, Boolean isHead)
CellWriteHandlerafterCellDataConverted in interface CellWriteHandlerwriteTableHolder - Nullable.It is null without using table writes.cellData - Nullable.It is null in the case of add header.head - Nullable.It is null in the case of fill data and without head.relativeRowIndex - Nullable.It is null in the case of fill data.isHead - It will always be false when fill data.Copyright © 2024–2025 fast-excel. All rights reserved.