Skip to main content

Module pieces

Module pieces 

Source
Expand description

Piece table ([MS-DOC] 2.8.35 Clx / 2.8.36 PlcPcd): maps the logical character-position (CP) space onto WordDocument-stream byte offsets (FCs). Pieces are either 8-bit (Windows-1252) or 16-bit (UTF-16LE); both kinds can coexist in one document, and fast-saved files store text non-contiguously, so all text access must go through this table.

Structs§

Piece
PieceTable

Functions§

cp1252_to_utf16