From 6271b09c50444b107d8595f553700fa382718246 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 12 Sep 2021 15:30:29 -0700 Subject: Docx writer: make id used in native_numbering predictable. If the image has the id IMAGEID, then we use the id ref_IMAGEID for the figure number. Closes #7551. This allows one to create a filter that adds a figure number with figure name, e.g. Figure X For this to be possible it must be possible to predict the figure number id from the image id. If images lack an id, an id of the form `ref_fig1` is used. --- test/docx/golden/image.docx | Bin 26811 -> 26816 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'test/docx') diff --git a/test/docx/golden/image.docx b/test/docx/golden/image.docx index a84eed100..4e61790a5 100644 Binary files a/test/docx/golden/image.docx and b/test/docx/golden/image.docx differ -- cgit v1.2.3