Table styling in gog docs stops at cell background and inline text style (cell-style --background-color/--text-color/--bold/--italic/--underline). The remaining updateTableCellStyle fields and the sibling row/header requests are not exposed, so any border, padding, vertical-alignment, row-height, or header-row change forces a full table rebuild.
Missing, all already in the API:
updateTableCellStyle (extend existing cell-style):
- borders:
borderTop/Bottom/Left/Right (width, color, dashStyle)
paddingTop/Bottom/Left/Right
contentAlignment (TOP / MIDDLE / BOTTOM)
updateTableRowStyle (new command, e.g. table-row style):
minRowHeight
tableHeader (mark a row as the repeating header)
preventOverflow
pinTableHeaderRows (new command, e.g. table pin-header --rows N).
Proposed cell-style additions:
--border-top/bottom/left/right=WIDTHpt[,#RRGGBB[,SOLID|DOT|DASH]]
--border-all=...
--padding-top/bottom/left/right=PT (--padding-all=PT)
--content-align=top|middle|bottom
These all extend the UpdateTableCellStyleRequest the command already constructs (just a wider fieldmask), except updateTableRowStyle / pinTableHeaderRows, which are new builders. This completes surgical table styling so cell/row appearance edits stop requiring a rebuild.
Ref: documents.batchUpdate UpdateTableCellStyleRequest, UpdateTableRowStyleRequest, PinTableHeaderRowsRequest.
Table styling in
gog docsstops at cell background and inline text style (cell-style --background-color/--text-color/--bold/--italic/--underline). The remainingupdateTableCellStylefields and the sibling row/header requests are not exposed, so any border, padding, vertical-alignment, row-height, or header-row change forces a full table rebuild.Missing, all already in the API:
updateTableCellStyle(extend existingcell-style):borderTop/Bottom/Left/Right(width, color, dashStyle)paddingTop/Bottom/Left/RightcontentAlignment(TOP / MIDDLE / BOTTOM)updateTableRowStyle(new command, e.g.table-row style):minRowHeighttableHeader(mark a row as the repeating header)preventOverflowpinTableHeaderRows(new command, e.g.table pin-header --rows N).Proposed cell-style additions:
These all extend the
UpdateTableCellStyleRequestthe command already constructs (just a wider fieldmask), exceptupdateTableRowStyle/pinTableHeaderRows, which are new builders. This completes surgical table styling so cell/row appearance edits stop requiring a rebuild.Ref: documents.batchUpdate
UpdateTableCellStyleRequest,UpdateTableRowStyleRequest,PinTableHeaderRowsRequest.