1

如此屏幕截图所示,我已启用曲目更改并更改了 2 个单词。

atest > 测试跟踪 > 跟踪

我可以将这 2 行的列表保存在 csv 或 .txt 文件中吗?我在任何地方都看不到“导出更改”选项。

在此处输入图像描述

4

3 回答 3

1

您的猜测是正确的,您不能只导出更改,您可以做的(使用 LibreOffice)是导出包含更改的 pdf:

Edit > Changes > Show Changes?

File > Export As > Export as PDF

于 2021-01-16T03:35:23.710 回答
1

您可以像这样导出为pdf

在此处输入图像描述

于 2021-01-16T03:56:55.723 回答
1

菜单(选项或扩展名):不,我不知道。但是用工具?从理论上讲,这是完全可能的。

您可以将 ODT 文件作为 ZIP 文件打开。这允许访问content.xml子文件,其中更改存储在<text:tracked-changes>XML 节点中。

在每个“更改区域”中,您会发现它是插入还是删除,以及是谁和何时进行的,以及映射到<text:change-end text:change-id="ctUNIXTIME_IN_SECONDS"/>文本本身内部节点的 ID(对于跟踪不是那么有用)。

如果您按时间戳顺序应用更改,那就是“接受所有更改”算法。

我相信您实际上可以使用适当的 XSLT 指令从 XML 文件中获取 CSV 对象。

            <text:p text:style-name="P2">
                <text:span text:style-name="T1">Seconda</text:span>
            </text:p>
        </text:deletion>
    </text:changed-region>
    <text:changed-region xml:id="ct1526650030752" text:id="ct1526650030752">
        <text:insertion>
            <office:change-info>
                <dc:creator>Leonardo Serni</dc:creator>
                <dc:date>2021-01-18T00:44:08</dc:date>
            </office:change-info>
        </text:insertion>
    </text:changed-region>
    <text:changed-region xml:id="ct1526650030272" text:id="ct1526650030272">
         <text:insertion>
              <office:change-info>
                  <dc:creator>Raffaello Mascetti</dc:creator>
                  <dc:date>2021-01-18T00:44:02</dc:date>
              </office:change-info>
         </text:insertion>
    </text:changed-region>
</text:tracked-changes>

<text:p text:style-name="P2">
    <text:change text:change-id="ct1526650030512"/>
    <text:change-start text:change-id="ct1526650030752"/>
    <text:span text:style-name="T3">Terza</text:span>
    <text:change-end text:change-id="ct1526650030752"/>
    <text:span text:style-name="T2"> modifica.</text:span>
    <text:change-start text:change-id="ct1526650030272"/>
</text:p>
<text:p text:style-name="P3">Ancora.
    <text:change-end text:change-id="ct1526650030272"/>
</text:p>
于 2021-01-17T23:55:24.483 回答