# Read, Write and Edit 'xlsx' Files

## Documentation for package ‘openxlsx2’ version 0.8.0.9000

- DESCRIPTION file.
- Package NEWS.

## Help Pages

A C D F I N O P R S T W X misc

## -- A --

as.character.fmt_txt | format strings independent of the cell style.
as_xml | loads character string to pugixml and returns an externalptr

## -- C --

cell_style | get and set cell style
cleanup | clean sheet (remove all values)
clean_worksheet_name | Clean worksheet name
col2int | Convert Excel column to integer
convertToExcelDate | convert back to an Excel Date
convert_date | Convert from Excel date, datetime or hms number to R Date type
convert_datetime | Convert from Excel date, datetime or hms number to R Date type
convert_hms | Convert from Excel date, datetime or hms number to R Date type
convert_to_excel_date | convert back to an Excel Date
create_border | create border
create_cell_style | create_cell_style
create_comment | Create, write and remove comments
create_dxfs_style | Create a custom formatting style
create_fill | create fill
create_font | create font format
create_hyperlink | Create Excel hyperlink string
create_numfmt | create number format
create_sparklines | create sparklines used in 'add_sparline()'
create_tablestyle | create tableStyle
current_sheet | 'openxlsx2' waivers

## -- D --

delete_data | clean sheet (remove all values)
dims_helper | Helper functions to work with 'dims'
dims_to_rowcol | Helper functions to work with 'dims'

## -- F --

fmt_txt | format strings independent of the cell style.

## -- I --

int2col | Convert integer to Excel column

## -- N --

named_region | Create / delete a named region
na_strings | 'openxlsx2' waivers
next_sheet | 'openxlsx2' waivers

## -- O --

openxlsx2-deprecated | Deprecated Functions in Package _openxlsx2_
openxlsx2_options | openxlsx2 Options

## -- P --

print.fmt_txt | format strings independent of the cell style.
print.pugi_xml | print pugi_xml
pugixml | xml_node

## -- R --

read_xlsx | Create Dataframe from Workbook
read_xml | read xml file
rowcol_to_dims | Helper functions to work with 'dims'

## -- S --

select_active_sheet | get and set table of sheets and their state as selected and active
sheet_visibility | Get/set worksheet visible state
styles_on_sheet | get all styles on a sheet

## -- T --

temp_xlsx | helper function to create temporary directory for testing purpose

## -- W --

waivers | 'openxlsx2' waivers
wbChartSheet | R6 class for a Workbook Chart Sheet
wbWorkbook | R6 class for a Workbook
wb_add_border | add border for cell region
wb_add_cell_style | add cell style for cell region
wb_add_chartsheet | Add a chartsheet to a workbook
wb_add_chart_xml | add a chart xml to a workbook
wb_add_comment | Create, write and remove comments
wb_add_conditional_formatting | Add conditional formatting to cells
wb_add_creators | Workbook creators
wb_add_data | Add data to a worksheet
wb_add_data_table | Add data to a worksheet as an Excel table
wb_add_data_validation | Add data validation to cells
wb_add_drawing | add drawings to workbook
wb_add_dxfs_style | add dxfs style These styles are used with conditional formatting and custom table styles
wb_add_fill | add fill for cell region
wb_add_filter | Add/remove column filters in a worksheet
wb_add_font | add font for cell region
wb_add_formula | Add a character vector as an Excel Formula
wb_add_form_control | Add form control Checkbox, Radiobuttons or Dropmenu
wb_add_ignore_error | Ignore error on worksheet
wb_add_image | Insert an image into a worksheet
wb_add_mschart | Add mschart object to an existing workbook
wb_add_named_region | Create / delete a named region
wb_add_named_style | add named style for cell region
wb_add_numfmt | add numfmt for cell region
wb_add_page_break | Add a page break to a worksheet
wb_add_person | add threaded comment to worksheet
wb_add_pivot_table | Add pivot table to a worksheet
wb_add_plot | Insert the current plot into a worksheet
wb_add_sparklines | add sparklines to workbook
wb_add_style | add style to workbook
wb_add_thread | add threaded comment to worksheet
wb_add_worksheet | Add a worksheet to a workbook
wb_base_font | Get / set the default font in a workbook
wb_clean_sheet | clean sheet (remove all values)
wb_clone_sheet_style | clone sheets style
wb_clone_worksheet | Clone a worksheet to a workbook
wb_color | Create a new wbColour object
wb_colour | Create a new wbColour object
wb_col_widths | Modify worksheet column widths
wb_copy_cells | copy cells around
wb_creators | Workbook creators
wb_data | provide wb_data object as mschart input
wb_dims | Helper to specify the 'dims' argument
wb_filter | Add/remove column filters in a worksheet
wb_freeze_pane | Freeze a worksheet pane
wb_get_active_sheet | get and set table of sheets and their state as selected and active
wb_get_base_font | Get / set the default font in a workbook
wb_get_cell_style | get and set cell style
wb_get_creators | Workbook creators
wb_get_named_regions | Get create or remove named regions
wb_get_order | Order of worksheets in xlsx file
wb_get_person | add threaded comment to worksheet
wb_get_selected | get and set table of sheets and their state as selected and active
wb_get_sheet_name | Get sheet name
wb_get_sheet_names | Get / Set worksheet names for a workbook
wb_get_sheet_visibility | Get/set worksheet visible state
wb_get_tables | List Excel tables in a workbook
wb_get_worksheet | Get a worksheet from a 'wbWorkbook' object
wb_grid_lines | Set worksheet gridlines to show or hide.
wb_grouping | Group Rows and Columns
wb_group_cols | Group Rows and Columns
wb_group_rows | Group Rows and Columns
wb_hyperlink | Create a new hyperlink object
wb_load | Load an existing .xlsx file
wb_merge_cells | Worksheet cell merging
wb_open | little worksheet opener
wb_order | Order of worksheets in xlsx file
wb_page_setup | Set page margins, orientation and print scaling
wb_protect | Protect a workbook from modifications
wb_protect_worksheet | Protect a worksheet from modifications
wb_read | Create Dataframe from Workbook
wb_remove_col_widths | Modify worksheet column widths
wb_remove_comment | Create, write and remove comments
wb_remove_creators | Workbook creators
wb_remove_filter | Add/remove column filters in a worksheet
wb_remove_named_region | Create / delete a named region
wb_remove_row_heights | Remove custom row heights from a worksheet
wb_remove_tables | Remove an Excel table in a workbook
wb_remove_worksheet | Remove a worksheet from a workbook
wb_save | Save Workbook to file
wb_set_active_sheet | get and set table of sheets and their state as selected and active
wb_set_base_font | Get / set the default font in a workbook
wb_set_bookview | Set the workbook position, size and filter
wb_set_cell_style | get and set cell style
wb_set_col_widths | Modify worksheet column widths
wb_set_creators | Workbook creators
wb_set_grid_lines | Set worksheet gridlines to show or hide.
wb_set_header_footer | Set document headers and footers
wb_set_last_modified_by | Add another author to the meta data of the file.
wb_set_order | Order of worksheets in xlsx file
wb_set_row_heights | Set worksheet row heights
wb_set_selected | get and set table of sheets and their state as selected and active
wb_set_sheetview | add sheetview
wb_set_sheet_names | Get / Set worksheet names for a workbook
wb_set_sheet_visibility | Get/set worksheet visible state
wb_sheet_names | Get / Set worksheet names for a workbook
wb_to_df | Create Dataframe from Workbook
wb_ungroup_cols | Group Rows and Columns
wb_ungroup_rows | Group Rows and Columns
wb_unmerge_cells | Worksheet cell merging
wb_update_table | update a data_table
wb_workbook | Create a new Workbook object
wb_ws | Get a worksheet from a 'wbWorkbook' object
write_xlsx | Write data to an xlsx file

## -- X --

xl_open | Open a Microsoft Excel file (xls/xlsx) or an openxlsx2 wbWorkbook
xl_open.default | Open a Microsoft Excel file (xls/xlsx) or an openxlsx2 wbWorkbook
xl_open.wbWorkbook | Open a Microsoft Excel file (xls/xlsx) or an openxlsx2 wbWorkbook
xml_add_child | append xml child to node
xml_attr | xml_node
xml_attr_mod | adds or updates attribute(s) in existing xml node
xml_node | xml_node
xml_node_create | create xml_node from R objects
xml_node_name | xml_node
xml_rm_child | remove xml child to node
xml_value | xml_node

## -- misc --

+.fmt_txt | format strings independent of the cell style.