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:
+7
-7
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user