question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Separate header and footer

See original GitHub issue

I’ve been using your library today. It seems to be the light at the end of the tunnel for some problems we have been having with docx extraction when docs contain headers, footers, endnotes and footnotes. Almost everything else we’ve tried has been incapable of parsing these properly when they co-exist in a document. And no system dependencies… I salute you!

One issue I have found is that both the header and footer content gets bundled into data._headers. Is there much of a change to make to separate the footer into a new data._footers property?

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
thegoatherdercommented, May 24, 2021

I’m looking for all visible text… but I don’t think it’s a huge deal if we do get some hidden text included in the extracts. I’d say go the easy route!

On Mon 24 May 2021 at 01:21, Stuart Watt @.***> wrote:

Quick question @thegoatherder https://github.com/thegoatherder – I assume you don’t worry about whether a header/footer is shown? One of the sneaky things I found is that, e.g., someone can have a “first page only” header that is switched off, so it’s never seen. Can I assume you don’t care whether the header/footer is actually rendered?

It’s very hard to tell whether any particular headers/footers are actually shown, because that can depend on everything down to the pagination, and therefore font size, etc.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/morungos/node-word-extractor/issues/34#issuecomment-846652474, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC7EJHCEPUZBGT25KFFEY3TPGL2DANCNFSM45JT452A .


“Are you sleep walking through your waking life …or wake walking through your dreams?”

0reactions
thegoatherdercommented, May 26, 2021

@morungos thank you very much for your time on this, it’s been a massive help. I can confirm getFooters() is working as expected on our test data.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change or delete a header or footer on a single page
Double-click the header or footer area (near the top or bottom of the page) to open the Header & Footer tab. · Check...
Read more >
How to accommodate different headers and footers in a Word ...
In Word 2003, choose Header and Footer from the View menu to open the header in edit mode. Then, click the Link To...
Read more >
How to Use Multiple Headers and Footers in a Single Document
Create a Different Header and Footer on the First Page · Create Different Headers and Footers on Odd and Even Pages · Create...
Read more >
In Microsoft Word, how can I have a different header or footer ...
In Word 2010 and 2007, select the Insert tab, and then select either Header or Footer. Then, select Edit Header or Edit Footer....
Read more >
How to Use Different Headers and Footers in One Word ...
Double-click the header or footer area of a page. · In the Options section of the ribbon, check the box for Different Odd...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found