totvs.framework.xlsx.LinesGridDisplay
totvs.framework.xlsx.LinesGridDisplay():getHideAll() -> cTypeProvides XLSX gridline display types.
Overview
The class exposes four static methods and requires LIB label 20231009 or later. Methods return type codes; they neither print nor independently modify files. Pass the value to a consuming configuration API that documents the option. No undocumented application property is invented here. The example checks only the hiding code’s type. (Sources: refs. 1–1.)
Syntax
totvs.framework.xlsx.LinesGridDisplay():getHideAll() -> cTypeMethods
getShowScreenLinesReturns the screen gridline display type.totvs.framework.xlsx.LinesGridDisplay():getShowScreenLines() -> cType
Character.
getShowPrintLinesReturns the printed gridline display type.totvs.framework.xlsx.LinesGridDisplay():getShowPrintLines() -> cType
Character.
getHideAllReturns the type hiding screen and printed lines.totvs.framework.xlsx.LinesGridDisplay():getHideAll() -> cType
Character.
getShowAllReturns the type showing screen and printed lines.totvs.framework.xlsx.LinesGridDisplay():getShowAll() -> cType
Character.
Return value
Each method returns character cType.
Commented example
#Include "Protheus.ch"
User Function Ed692()
Local cMode := totvs.framework.xlsx.LinesGridDisplay():getHideAll()
// Obtaining a code does not modify a spreadsheet.
ConOut(ValType(cMode))
Return NilOn a compatible environment displays C. No XLSX is created or modified. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
- Confirm LIB and the consuming API. Do not hardcode returned literals as version numbers or custom flags.
- Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.