Scroll ignore does not work for Include Shared Block Macro
If the "Scroll ignore" macro is inside the "Include Shared Block" macro, then the text will fall into the pdf.
The text should not be in the document.
Scroll PDF Exporter 4.10.4
Include Shared Block:
Sample:
page_1 (source):
<p class="auto-cursor-target"><br /></p><ac:structured-macro ac:name="scroll-ignore" ac:schema-version="1" ac:macro-id="9540aa7f-5e30-456f-aecf-4615e15fb8ff"><ac:parameter ac:name="scroll-pdf">true</ac:parameter><ac:parameter ac:name="scroll-office">true</ac:parameter><ac:parameter ac:name="scroll-chm">true</ac:parameter><ac:parameter ac:name="scroll-docbook">true</ac:parameter><ac:parameter ac:name="scroll-eclipsehelp">true</ac:parameter><ac:parameter ac:name="scroll-epub">true</ac:parameter><ac:parameter ac:name="scroll-html">true</ac:parameter><ac:rich-text-body> <p>Scroll Ignore 1</p></ac:rich-text-body></ac:structured-macro> <p><br /></p><ac:structured-macro ac:name="shared-block" ac:schema-version="1" ac:macro-id="1e4e156a-797f-4917-934b-72e7cfc56800"><ac:parameter ac:name="shared-block-key">key</ac:parameter><ac:rich-text-body> <p><br /></p><ac:structured-macro ac:name="scroll-ignore" ac:schema-version="1" ac:macro-id="e6258e38-4ac7-452e-adf8-088738864123"><ac:parameter ac:name="scroll-pdf">true</ac:parameter><ac:parameter ac:name="scroll-office">true</ac:parameter><ac:parameter ac:name="scroll-chm">true</ac:parameter><ac:parameter ac:name="scroll-docbook">true</ac:parameter><ac:parameter ac:name="scroll-eclipsehelp">true</ac:parameter><ac:parameter ac:name="scroll-epub">true</ac:parameter><ac:parameter ac:name="scroll-html">true</ac:parameter><ac:rich-text-body> <p>Scroll Ignore 2</p></ac:rich-text-body></ac:structured-macro> <p class="auto-cursor-target"><br /></p></ac:rich-text-body></ac:structured-macro> <p class="auto-cursor-target"><br /></p>
page_2:
<p><ac:structured-macro ac:name="include-shared-block" ac:schema-version="1" ac:macro-id="5f16ebb6-ad85-4b6e-aa30-6964c061af6c"><ac:parameter ac:name="shared-block-key">key</ac:parameter><ac:parameter ac:name="page"><ac:link><ri:page ri:content-title="Page_3" /></ac:link></ac:parameter></ac:structured-macro></p>
pdf is generated for page 2
-
Hi Pavel, thanks for reaching out to us and reporting this. We have created the following issue for this behaviour: https://k15t.jira.com/browse/EXP-3103. It is likely that when we focus on this issue that we will need to discuss with the vendors of the Include Content app, in order to resolve this issue. This is because in many cases where our macros parameters are not being preserved (when nested within other third party macros), it is due to our context parameters not being passed on through this included content. In the meantime, please sign up to our JIRA (via https://k15t.jira.com/) in order to watch and comment on this issue. We'll then send a notification for every status update. Additionally, as a workaround you can also use the Confluence Excerpt macro and Excerpt Include macro to prevent this behaviour from occurring. Thanks, Thomas
Please sign in to leave a comment.
Comments
1 comment