Issue Number | 5334 |
---|---|
Summary | [Summaries macro] Summaries Word macro stripping links |
Created | 2024-09-18 14:36:20 |
Issue Type | Bug |
Submitted By | Shields, Victoria (NIH/NCI) [E] |
Assigned To | Englisch, Volker (NIH/NCI) [C] |
Status | Closed |
Resolved | 2024-11-14 17:12:43 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/ocecdr/issue.464693 |
The macro we run on HP summaries we've converted to Word from CDR reports is not working properly. Most of the links are removed (i.e., table of contents links, references, external resources). This seems to be happening to each of the different Board macros that leave in the table of contents when the macro is run.
The macro seemed to go awry sometime between 7/22 and 7/29.
Thanks.
Adding a few test summaries:
Genetics of Colorectal Cancer summary (CDR 62863)
Genetics of Skin Cancer summary (CDR 552637)
When I opened Word I found a little note that said something like: "We made pasting better. Learn more..."
I followed the link and see the following:
We’ve heard from many of you that the current Keep Source Formatting default setting is not meeting your needs, and you would prefer for the default option to be Merge Formatting when pasting from other programs.
We heard you and are happy to deliver!
I believe what is happening is that the document formatting has changed and this change is throwing off the macro to remove the links from the TOC section.
Please paste the documents with the "Keep Source Formatting" option before running the macro. That should prevent the links from being removed. It also preserves the redline/strikeout in the TOC section.
As discussed, there is indeed an option that allows you to revert to the previous default of pasting: Keep Source Formatting.
In Word follow these steps:
Click File --> Options
Click Advanced in the left navigation menu
Scroll down to the section: cut, copy, and paste
There should be an option "Pasting from other programs"
For this option select "Keep Source Formatting" (it will probably say: "Merge formatting (Default)")
Close the options window
Done - happy pasting!!!
Closed issue. Will reopen if needed.
Elapsed: 0:00:00.001502