void __stdcall tblClearRow(ITBL Table, uint32_t Row, TDeleteContent Types);
void __stdcall tblClearColumn(ITBL Table, uint32_t Col, TDeleteContent Types);
void __stdcall tblClearContent(ITBL Table, TDeleteContent Types);
procedure tblClearRow(const Table: ITBL; Row: Cardinal; Types: TDeleteContent); stdcall;
procedure tblClearColumn(const Table: ITBL; Col: Cardinal; Types: TDeleteContent); stdcall;
procedure tblClearContent(const Table: ITBL; Types: TDeleteContent); stdcall;
Purpose. Nominally: selectively clear a row's, column's, or the whole table's cell content by category (TDeleteContent, presumably a bitmask distinguishing e.g. text vs. background vs. formatting).
Description. MAJOR VERIFIED FINDING: Types is accepted by all three functions but is completely ignored by the real implementation. All three funnel into the same per-cell ClearCell(Row, Col, Types), whose entire body unconditionally resets exactly five fields — Text, HasBg, HasTextColor, Flags, FontName — regardless of what Types specifies. There is no branching on Types anywhere in ClearCell. Furthermore, ClearCell never touches a cell's image (HasImage/ImgBuf/...), nested sub-table (HasSubTable/SubTable), template (HasTemplate/...), attached action (HasAction/...), dash pattern (HasDash/...), or box-property (HasBoxProp/...) state at all — meaning none of tblClearRow/tblClearColumn/tblClearContent can ever clear a cell image, nested table, template, action, dash pattern, or box property, no matter what Types is set to. A caller wanting to remove a cell image, for example, has no API in this whole 43-function surface to do so — only overwriting it with a new tblSetCellImage* call.
Parameters.
| Parameter | Description |
|---|---|
Table | Target table handle. |
Row / Col | *(ClearRow/ClearColumn only)* Target row/column. |
Types | Accepted but has zero effect — the same fixed 5-field reset always happens regardless of value, and several cell content categories (image/sub-table/template/action/dash/box) are never cleared by any of these three functions under any Types value. |
Return value. None (all procedures).
C# (P/Invoke)
public static extern void tblClearRow(IntPtr Table, uint Row, uint Types);
Misc
tblClearRow
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
Worked examples — complete programs in ten languages.