feat(pdf): integrate PDFium4j for PDF processing and metadata extraction (#281)

* feat(pdf): integrate PDFium4j for PDF processing and metadata extraction

* feat(pdf): update PDFium4j to version 0.12.0 and optimize XMP metadata handling

* feat(pdf): update PDFium4j to version 0.13.0

* feat(pdf): enhance cross-compilation support and improve XML parsing in metadata extraction

* Delete dev.local-libs.docker-compose.yml

* feat(pdf): update PDFium4j to version 0.14.0
This commit is contained in:
brios
2026-04-22 17:27:01 -04:00
committed by Zach Yale
parent ad3a981ad1
commit 64083fe9b7
16 changed files with 547 additions and 851 deletions
@@ -385,6 +385,13 @@ export class MetadataEditorComponent implements OnInit {
this.metadataForm.addControl(field.controlName, new FormControl(defaultValue));
this.metadataForm.addControl(field.lockedKey, new FormControl(false));
}
this.syncProviderFieldsEffect = effect(() => {
const settings = this.appSettingsService.appSettings();
if (settings?.metadataProviderSpecificFields) {
this.providerSpecificFields = settings.metadataProviderSpecificFields;
}
});
}
ngOnInit(): void {
@@ -393,13 +400,6 @@ export class MetadataEditorComponent implements OnInit {
this.metadataCenterViewMode = user.userSettings.metadataCenterViewMode ?? 'route';
this.autoSaveEnabled = user.userSettings.autoSaveMetadata ?? false;
}
this.syncProviderFieldsEffect = effect(() => {
const settings = this.appSettingsService.appSettings();
if (settings?.metadataProviderSpecificFields) {
this.providerSpecificFields = settings.metadataProviderSpecificFields;
}
});
}
private populateFormFromMetadata(metadata: BookMetadata): void {