FwXlsxBorderStyle
FwXlsxBorderStyle():Double() -> cStyleProvides border-style codes for XLSX worksheets.
Overview
Static methods available from LIB 20201009. None, Thin, Medium, Dashed and Double are some documented styles. Apply codes through FwPrinterXlsx SetBorder or SetBorderConfig; choosing a style alone does not draw borders without enabling their sides. (Sources: refs. 1–1.)
Syntax
FwXlsxBorderStyle():Double() -> cStyleMethods
NoneNo border.FwXlsxBorderStyle():None() -> cStyle
ThinThin line.FwXlsxBorderStyle():Thin() -> cStyle
DoubleTwo parallel lines.FwXlsxBorderStyle():Double() -> cStyle
Commented example
#Include "Protheus.ch"
User Function Ed459()
Local jBorder := FwXlsxPrinterConfig():MakeBorder()
// In-memory configuration without file generation.
jBorder["bottom"] := .T.
jBorder["style"] := FwXlsxBorderStyle():Double()
jBorder["border_color"] := "000000"
ConOut(jBorder["style"])
Return NilPrepares a black double bottom border for later application. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
- Colors are hexadecimal RGB without #. MakeBorder defaults to disabled sides and None style.
- 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.