dlsc-software-consulting-gmbh / pdfviewfx Goto Github PK
View Code? Open in Web Editor NEWA PDF view for JavaFX applications.
License: Apache License 2.0
A PDF view for JavaFX applications.
License: Apache License 2.0
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 :)
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:
Hallo
I found a typo here.
requires org.kordamp.iconli.core;
I think it has to look like this.
requires org.kordamp.ikonli.core;
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?
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.
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:
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.