From 643651b2ae6ca54ee08ba7a487b1f77b52bf94cd Mon Sep 17 00:00:00 2001 From: Sebastian K <s3bk@protonmail.com> Date: Thu, 30 Nov 2023 19:21:34 +0100 Subject: [PATCH] towards filling forms --- pdf/src/object/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdf/src/object/types.rs b/pdf/src/object/types.rs index 1967fbc..44bd41a 100644 --- a/pdf/src/object/types.rs +++ b/pdf/src/object/types.rs @@ -924,13 +924,13 @@ pub struct SignatureReferenceDictionary { pub other: Dictionary } -#[derive(Object, ObjectWrite, Debug, DataSize)] +#[derive(Object, ObjectWrite, Debug, DataSize, Clone)] pub struct FieldDictionary { #[pdf(key="FT")] pub typ: Option<FieldType>, #[pdf(key="Parent")] - pub parent: Option<MaybeRef<FieldDictionary>>, + pub parent: Option<Ref<FieldDictionary>>, #[pdf(key="Kids")] pub kids: Vec<Ref<FieldDictionary>>,