add the view-file macro in a page, for a doc attachment, and set the display parameter to "full", without any values for the width and height parameters
add the office viewer macro in another page (or the same one) for the same doc attachment
Expected result:
the display of the 2 pages, in view mode, is the identical (visually)
Actual result:
the view-file macro displays a couple of unexpected items when displaying the file:
a grey box (around the content of the attachment?)
the display seems to be fixed to 1000px of height (?) without having set any values for width and height in the parameters, which, in addition to being different from the display of the office viewer result, has a couple of problems:
it's too large and adding useless white in the page when the content of the file is too small
it results in a scroll bar when the file is too big.
Apparently this is not the case for a pdf attachment, the result is the same as the one from the pdf viewer macro.
How to reproduce:
Expected result:
Actual result:
Apparently this is not the case for a pdf attachment, the result is the same as the one from the pdf viewer macro.