Skip to content

Releases: davidgohel/officer

officer 0.5.2

27 Jan 09:10
Compare
Choose a tag to compare

Features

  • if 'magick' is available and argument guess_size=TRUE, image size is read and do not need to be provided.

Issues

  • fix images and links in sections headers and footer.
  • fix body_add() content order.
  • fix issue with properties in 'Office' documents.
  • check arguments of run_autonum() and add tests.
  • update only officer sections

Internals

  • remove $get_at_cursor()

officer 0.5.1

06 Jan 11:01
Compare
Choose a tag to compare

Features

  • export shape_properties_tags() for pptx extensions.

Issues

  • Manage also even/first/default sections not defined with officer (indicate
    there is even/first/default parts).
  • Fix behavior regression with headers and footers replace_text_at_bkm. The previous behavior "don't trigger an error if a bookmark is missing" is back.
  • force Word default continuous section if no type is specified and first page footer/header if it is seen.
  • drop "Compatibility Mode" from Word documents.

Changes

  • Change license to MIT.
  • use images sha1 value for filename with package 'openssl'. This should fix issues with duplicated images basenames, or non utf names, etc.

officer 0.5.0

21 Dec 00:06
Compare
Choose a tag to compare

officer 0.5.0

New features

  • new function docx_set_character_style() to add or replace a Word character style.
  • new function docx_set_paragraph_style() to add or replace a Word paragraph style.
  • new function run_wordtext() to add a chunk of text associated with a Word character style.
  • potx and dotx files are now supported.
  • SVG images are now supported
  • Word sections can now have headers and footers. See prop_section().
  • function cursor_reach_test() to test if an expression has a match in the document.
  • add function docx_current_block_xml() to let developpers access the xml content where the cursor is.
  • ph_with.xml_document now manages images paths in slide and treats them in the relevant documents.

Issues

  • close 'Slide Master View' automatically.
  • more careful reading of document properties
  • fix cursor behavior, when pos='before', cursor is now set on element added 'before'. Internals about cursors have been refactored.

Changes

  • function slip_in_footnote() is deprecated. Use run_footnote() instead.