TaTo30 / vue-pdf

PDF component for Vue 3
https://tato30.github.io/vue-pdf/
MIT License
424 stars 62 forks source link

New features #59

Closed scramatte closed 6 months ago

scramatte commented 12 months ago

Hello,

Does it posible to add features such : fullscreen, adjust to height , adjust to width, and browse pages thumbnails?

Regards

TaTo30 commented 10 months ago

Fullscreen and browse pages thumbnails seem like an application-specific features to me, i think those shouldn't be supported by the component.

Regarding sizing features, there is the fit-parent that adjust to parent's width, i've been thinking to add a height-related adjusting prop but i still haven't figured out on how its behavior should be, mainly when is combined with width prop.

Any other ideas are always welcome.

WebDeveloperBen commented 10 months ago

Just stumbled upon this. What about adding the ability to measure between points on the pdf?

TaTo30 commented 10 months ago

That is a feature related to annotation editor layer and isn't currently supported by pdf.js. If possible, i wouldn't like to implement annotation features outside pdf.js scope.

WebDeveloperBen commented 10 months ago

That's fair appreciate the speedy response. Do you know of any solutions that aren't having to implement measuring distances on a pdf building plan besides having to implement it myself from scratch?

TaTo30 commented 10 months ago

I haven't seen solutions like you are looking for. I've only found libraries that measure distances geographically :/