Usina BRAdvPL Guide
Sign in
← All topics
CLASSUnder review

totvs.framework.xlsx.LinesGridDisplay

totvs.framework.xlsx.LinesGridDisplay():getHideAll() -> cType

Provides XLSX gridline display types.

totvs.framework.xlsx.LinesGridDisplayAdvPL
01 · OVERVIEW

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.)

02 · SYNTAX

Syntax

totvs.framework.xlsx.LinesGridDisplay():getHideAll() -> cType

Methods

getShowScreenLinesReturns the screen gridline display type.totvs.framework.xlsx.LinesGridDisplay():getShowScreenLines() -> cType
Return value

Character.

getShowPrintLinesReturns the printed gridline display type.totvs.framework.xlsx.LinesGridDisplay():getShowPrintLines() -> cType
Return value

Character.

getHideAllReturns the type hiding screen and printed lines.totvs.framework.xlsx.LinesGridDisplay():getHideAll() -> cType
Return value

Character.

getShowAllReturns the type showing screen and printed lines.totvs.framework.xlsx.LinesGridDisplay():getShowAll() -> cType
Return value

Character.

Return value

Each method returns character cType.

03 · PRACTICAL EXAMPLE

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 Nil
Expected result

On 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.

BEST PRACTICES
  • 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.

Related content

REFERENCES
  1. TOTVS. totvs.framework.xlsx.LinesGridDisplay. Quatro métodos e LIB mínima. Accessed on 2026-10-28.
Status
Under review
Page created on
Last reviewed on
Original language
Portuguese
Reviewed by
Usina.BR
0 approved comment(s)

Comments

There are no approved comments yet.

Sign in with Google or Microsoft to comment.

Powered by Usina Docs · Alpha