Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text replace #207

Open
rozxter1 opened this issue Feb 15, 2021 · 0 comments
Open

Text replace #207

rozxter1 opened this issue Feb 15, 2021 · 0 comments

Comments

@rozxter1
Copy link

Is there any working example for text replacing with current Hummus version used ?

I have tried for text replace galkahana/HummusJS#71 (comment) - is not working with current HummusJs version (1.0.110) .
Gives error :
TypeError: pageObject.getDictionary(...).toJSObject(...).Contents.getObjectID is not a function
Disabling that line, gives new error:

const readStream = copyingContext.getSourceDocumentParser().startReadingFromStream(textStream)
                                                                            ^
TypeError: Wrong arguments. provide a PDF stream input

All other examples around web whats based on that reply also is not working.
Maybe someone can say what version was used for that example?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant