Giter Site home page Giter Site logo

pdfviewfx's People

Contributors

dlemmermann avatar github-actions[bot] avatar jotomo avatar msgilligan avatar p- avatar primosk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pdfviewfx's Issues

GemsFX and PDFViewFX on Java 11

Hi there (again^^)
So.. since the solution of issue 42 on gemsfx (dlsc-software-consulting-gmbh/GemsFX#47) was to simply exclude :
<exclusions> <exclusion> <groupId>tech.units</groupId> <artifactId>indriya</artifactId> </exclusion> </exclusions>

this is now causing trouble when using pdfviewfx together with it.
java.lang.module.FindException: Module tech.units.indriya not found, required by com.dlsc.unitfx

I dont know whether it is possible to use them together with the exclude approach or not.
Thanks in advance.

BTW: i really like gemsfx, so thanks for that.
As i asked in issue 42 of gemsfx, i´d like to invite you to a coffee/beer, but i cant afford a monthly subscription. So if there is any other way (like via paypal) let me know :)

Zoom slider events seem to be getting dropped

Sometimes (usually) when I move the zoom slider, the image isn't resized until I drag-resize the window. I am on Java 17, mac OS 12.5.1 (on ARM 64) and I am running the example with:
mvn javafx:run -f pdfviewfx-demo/pom.xml -Dmain.class=com.dlsc.pdfviewfx.demo.PDFViewApp

See the attached image, where the slider is almost all the way to the right and the image hasn't been zoomed:

Screen Shot 2022-08-25 at 6 24 47 PM

PDFView not Scrollable?

Hi there, gotta disturb again.

my quick & dirty fxml:
<AnchorPane xmlns="http://javafx.com/javafx/11" xmlns:fx="http://javafx.com/fxml/1" fx:controller="myController"> <children> <BorderPane AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> <center> <PDFView fx:id="pdfview" minHeight="800" minWidth="1200" maxWidth="1200" maxHeight="800"> <GridPane.margin> <Insets left="200" right="200" top="50"/> </GridPane.margin> </PDFView> </center> </BorderPane> </children> </AnchorPane>

my controller:
` myController {

@FXML
private PDFView pdfview;

private final String path;

public myController (String path) {
    this.path = path;
}

@FXML
void initialize() {
    pdfview.load(new File(path));
}

}`

when i first enter the scene, the pdfview is not scrollable and not sized appropriate.
as sioon as i click the "show All / whole Page" on the toolbar twice, it gets scrollable and is sized perfectly.
i dont want my user to have that toolbar and i havent found a way to resize it/make it scrollable by code.
what am i missing here?

pdfview.load(PDDocument document)

Hello there,
i am also working with pdfbox.
I´d like the user to decide whether he wants to save the pdf he seens in the pdfview or not.
is there any way to add a pdfview.load(PDDocument document) method?
i saw that you try to load it as an PDFBoxDocument anyway.

Small optical glitch with dark mode

Hello

First of all thanks a lot for your great component!
FYI I included it in my project and it will be part of the coming version 3.0 of Document Archiver:
https://github.com/Document-Archiver/com.sophisticatedapps.archiving.document-archiver

During testing I found a small glitch when I use your component in dark mode.
Most of the things will be rendered in dark, but when I use the search, the appearing bar is rendered light:

Screen Shot 2022-07-17 at 10 50 18

Is there a certain css property to fix this?

Anyhow IMHO the bar should be copying the background color from the main-bar by default.

Thanks and best regards
Stephan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.