Last chance! 50% off unlimited learning
Sale ends in
return the number of blocks inside an rdocx object. This number also include the default section definition of a Word document - default Word section is an uninvisible element.
# S3 method for rdocx
length(x)
an rdocx object
Other functions for Word document informations:
doc_properties()
,
docx_bookmarks()
,
docx_dim()
,
set_doc_properties()
,
styles_info()
# NOT RUN {
# how many elements are there in an new document produced
# with the default template.
length( read_docx() )
# }
Run the code above in your browser using DataLab