Learn R Programming

openxlsx2 (version 0.5.1)

wbHyperlink: R6 class for a Workbook Hyperlink

Description

R6 class for a Workbook Hyperlink

R6 class for a Workbook Hyperlink

Arguments

Value

A character vector of html if is_external is TRUE, otherwise NULL

Public fields

ref

ref

target

target

location

location

display

display

is_external

is_external

Methods


Method new()

Creates a new wbHyperlink object

Usage

wbHyperlink$new(ref, target, location, display = NULL, is_external = TRUE)

Arguments

ref

ref

target

target

location

location

display

display

is_external

is_external

Returns

a wbHyperlink object


Method to_xml()

Convert to xml

Usage

wbHyperlink$to_xml(id)

Arguments

id

???

Returns

A character vector of xml


Method to_target_xml()

Convert to target xml

Usage

wbHyperlink$to_target_xml(id)

Arguments

id

???


Method clone()

The objects of this class are cloneable with this method.

Usage

wbHyperlink$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Details

A hyperlink