Re: Issue with Tagged PDF with Artifact elements in the Structure Tree - artifact not in its parent's list of children

2025-09-20 Thread Mark Gibson
Huge thanks Tilman I’m still learning this stuff. But I did debug the loading of the image PDF, paying close attention to the structure tree. The more I dug in, the more I started to think this was a PDF output issue from Excel. But the spec is large, complex, and obscure in places. So I wa

Re: Issue with Tagged PDF with Artifact elements in the Structure Tree - artifact not in its parent's list of children

2025-09-14 Thread Mark Gibson
Thanks Marc. I’m happy for folks to bang on whilst sharing knowledge and ideas. I think I’d got to the same conclusion as you. And in this case, as they are non-visible elements that will get ignored by any screen readers, it won’t even matter what order they get shoved back in. Mark > On 13

RE: Issue with Tagged PDF with Artifact elements in the Structure Tree - artifact not in its parent's list of children

2025-09-12 Thread Mark Gibson
not in its parent's list of children [EXTERNAL] Hi, You need to upload the PDFs to a sharehoster. The best would be that you check your PDF with PAC: https://pac.pdf-accessibility.org/en/download Tilman Am 11.09.2025 um 18:40 schrieb Mark Gibson: Hi We have some PDFs that are directly exp

Issue with Tagged PDF with Artifact elements in the Structure Tree - artifact not in its parent's list of children

2025-09-11 Thread Mark Gibson
Hi We have some PDFs that are directly exported from Excel. They export as accessible - tagged pdfs with structure tree. Within the structure tree are elements of type "Artifact", often used for non-content aspects like background colors, etc. When PDFBox (both v2 and v3) reads these PDFs (vi

RE: Advice on how to copy the contents of a page to an existing page in another document

2023-09-22 Thread Mark Gibson
://stackoverflow.com/questions/26256546/how-to-insert-an-pdpage-within-another-pdpage-with-pdfbox On 21.09.2023 17:39, Mark Gibson wrote: > Hi > > I was hoping someone might be able to advise on how to do the following with > PDFBox. > > We want to copy the contents of a page in a first

Advice on how to copy the contents of a page to an existing page in another document

2023-09-21 Thread Mark Gibson
Hi I was hoping someone might be able to advise on how to do the following with PDFBox. We want to copy the contents of a page in a first PDF file, and drop them in to an existing page in a second PDF file. Are there any simple utilities in PDFBox that provide this functionality? Thanks Mark

RE: Merging font subsets

2022-12-16 Thread Mark Gibson
I'll take another look to see if I can extract the relevant details. Mark -Original Message- From: sahy...@fileaffairs.de Sent: 16 December 2022 10:38 To: users@pdfbox.apache.org Subject: Re: Merging font subsets [EXTERNAL] Am Freitag, dem 16.12.2022 um 10:31 +0000 schrieb M

Merging font subsets

2022-12-16 Thread Mark Gibson
Hi, I'm wondering if anyone cleverer than me has been able to figure out how to take a PDF, analyse all the embedded font subsets, and merge disparate subsets of the same font together (or even escalate to full font set). Google has a small number of similar requests, but little to no solution

PDF Space Usage Stats Via PDFBox

2022-10-10 Thread Mark Gibson
Hi, I've been looking through the old emails, and the command line tools, but couldn't find anything obvious... I'm wondering if it's possible to use PDFBox to analyse a PDF to produce results similar to Adobe Acrobat PRO's "Audit Space Usage" feature, where actual size and percentage of PDF s

RE: LayerUtility and /Alt

2021-04-12 Thread Mark Gibson
ething like << /MCID 0 >> as property. You can also inspect that with the debugger in the Show Internal Structure view, the StructTreeRoot but it's kinda confusing (to my eyes). gunnar -----Ursprüngliche Nachricht- Von: Mark Gibson Gesendet: Freitag, 9. April 2021 19:1

RE: LayerUtility and /Alt

2021-04-12 Thread Mark Gibson
something like << /MCID 0 >> as property. You can also inspect that with the debugger in the Show Internal Structure view, the StructTreeRoot but it's kinda confusing (to my eyes). gunnar -Ursprüngliche Nachricht- Von: Mark Gibson Gesendet: Freitag, 9. April 2021 19:12 An:

LayerUtility and /Alt

2021-04-09 Thread Mark Gibson
Hi We're using the LayerUtility class to copy a page from one PDF in to a page in a different PDF. Mostly, it has worked well up until now. However, when checking ADA compliance, we noticed the alternative text is not copied over to the target PDF page. I've tried two variations, but neither

What is the best way to the page contents of one PDF in to an existing page in another PDF

2019-11-13 Thread Mark Gibson
Hi, I've been trawling t'internet for suggestions on how to merge two PDF files. Specifially, take a page from PDF A, and write the contents over an existing page in PDF B. I found org.apace.pdfbox.multipdf.LayerUtility, and had initially started using that. However, we had a situation where