ข้ามไปยังเนื้อหา

รวมชั้นข้อมูล PDF

เปลี่ยนช่องกรอกฟอร์มและคำอธิบายประกอบให้เป็นส่วนหนึ่งของหน้า

ประมวลผลบนเครื่องของคุณ

เครื่องมือนี้ทำงานในเบราว์เซอร์ของคุณทั้งหมด ไฟล์ของคุณไม่ถูกอัปโหลดเลย และคุณตรวจสอบได้เองในแท็บเครือข่ายของเบราว์เซอร์ ตรวจสอบด้วยตัวเอง เปิดแท็บเครือข่ายของเบราว์เซอร์แล้วดู คุณจะเห็นคำขอเล็ก ๆ หนึ่งรายการที่ถามว่าคุณยังมีโควตางานเหลืออยู่หรือไม่ ซึ่งมีแค่ชื่อเครื่องมือกับค่าแฮช ไม่ใช่ตัวไฟล์

เครื่องมือนี้ทำอะไร

Flattening turns things that sit on top of a page into part of the page itself. A filled form stops being fillable and becomes a document that reads the same everywhere; a highlight stops being an annotation a reader can drag away and becomes ink. The values and marks are drawn into the page content, and the field and annotation objects are then removed.

Use it before you send a completed form back, so the recipient cannot alter what you entered and no reader can clear the fields by accident. It is also the fix for a form that looks filled on screen and prints blank, and for a marked-up draft you want to circulate with the comments visible but no longer editable.

วิธีทำงาน

  1. Drop the PDF onto this page.
  2. Leave Flatten form fields on to make the filled values permanent, and Flatten annotations on to burn in highlights, notes, stamps and drawings.
  3. Turn one of them off to keep the other: flattening only the annotations leaves the form fillable, and flattening only the form leaves the comments editable.
  4. Check the advanced options if you want unfilled fields to stay visible as empty boxes, or the drawing font embedded so the result renders identically elsewhere.
  5. Press Flatten. The result reports how many fields and how many annotations were burned in.

There is one failure this tool is built around, and most flatteners fall into it. A form whose /NeedAppearances flag is set carries no drawn appearance for its fields - the reader is expected to render the contents itself from the raw values. Flatten such a file naively and every filled box comes out empty, silently, with the typed data gone. Here the appearances are generated first and then flattened, which is why your entries survive, and any field that could not be drawn is reported rather than quietly dropped.

Links are never flattened, and that is deliberate. A link annotation has no ink of its own - it is an invisible rectangle that responds to a click - so burning it into the page would destroy a working hyperlink and draw nothing in its place. Pop-up windows are skipped for the same reason, and annotations marked hidden are left alone since they were never meant to be seen.

Flattening is one-way. The values are now marks on the page and there is no field left holding them, so no reader can extract, edit or clear them again. Keep the fillable original if you might need to correct an entry, and treat the flattened file as the copy you send rather than the copy you keep.

This is not a digital signature and does not stand in for one. Flattening makes a document harder to edit casually, but the page content is still ordinary PDF an editor can change. If you need evidence that a document has not been altered, sign it; if you need to stop people extracting or editing it, Protect PDF adds the restrictions. Flattening an already-signed document invalidates the signature.

The work happens with pdf-lib in a Web Worker on your device. A completed form usually contains exactly the details you would least like to post to a stranger's server - name, address, account number - and this one never leaves your browser.

สิ่งที่เครื่องมือนี้ทำไม่ได้

  • Flattening cannot be undone from the output. The fields no longer exist, so keep the fillable original if you may need to change an entry.
  • A digital signature does not survive flattening. The signed bytes change, so the signature stops validating and the file must be signed again afterwards.

คำถามที่คนมักถาม

การรวมชั้นข้อมูล PDF หมายถึงอะไร
มันวาดทุกอย่างที่วางอยู่บนหน้า ทั้งค่าในช่องกรอกฟอร์ม ไฮไลต์ โน้ต ตราประทับ และรูปวาด ลงไปในเนื้อหาของหน้าโดยตรง แล้วลบอ็อบเจกต์ที่เก็บสิ่งเหล่านั้นทิ้ง เอกสารจะหน้าตาเหมือนเดิมแต่ทำงานต่างไป ไม่มีอะไรบนนั้นที่ผู้อ่านจะแก้ไข ล้าง หรือย้ายได้อีก
ยกเลิกการรวมชั้นข้อมูลภายหลังได้หรือไม่
ไม่ได้ เมื่อค่ากลายเป็นส่วนหนึ่งของหน้าแล้ว ก็ไม่มีช่องกรอกเหลือให้ใส่กลับ การเปลี่ยนแปลงในไฟล์ผลลัพธ์จึงถาวร ไฟล์ต้นฉบับของคุณไม่ถูกแตะต้อง เพราะเครื่องมือนี้เขียนไฟล์ใหม่แทนที่จะแก้ไฟล์ที่คุณวางเข้ามา เก็บต้นฉบับไว้หากมีโอกาสที่คุณจะต้องแก้ข้อมูลบางรายการ
ช่องที่เว้นว่างไว้จะเป็นอย่างไร
ช่องเหล่านั้นจะถูกรวมเข้ากับหน้าไปด้วย กรอบที่มองเห็นได้จะยังคงเป็นกรอบและไม่มีอะไรอยู่ข้างใน หากคุณกำลังเตรียมฟอร์มไว้พิมพ์แล้วกรอกด้วยลายมือ ให้ใช้ตัวเลือกคงช่องว่างไว้ในการตั้งค่าขั้นสูง เพื่อให้ช่องว่างยังปรากฏเป็นกรอบสำหรับเขียน
ฟอร์มที่รวมชั้นข้อมูลแล้วเท่ากับฟอร์มที่ลงลายเซ็นหรือไม่
ไม่ การรวมชั้นข้อมูลลบช่องกรอกออก ซึ่งหยุดการแก้ไขแบบง่ายได้ แต่เนื้อหาของหน้ายังแก้ไขได้ในโปรแกรมแก้ไข PDF และไม่มีอะไรพิสูจน์ว่าเอกสารไม่ถูกเปลี่ยนแปลง ให้ใช้ลายเซ็นดิจิทัลสำหรับเรื่องนั้น และโปรดทราบว่าการรวมชั้นข้อมูลหลังจากไฟล์ถูกลงลายเซ็นแล้วจะทำให้ลายเซ็นใช้ไม่ได้
ฟอร์มที่กรอกแล้วของฉันถูกอัปโหลดหรือไม่
ไม่ ฟอร์มที่กรอกแล้วมักเป็นไฟล์ PDF ที่อ่อนไหวที่สุดเท่าที่ใครจะต้องจัดการ และไฟล์นี้ถูกประมวลผลด้วย pdf-lib ภายในเบราว์เซอร์ของคุณ ไม่มีอะไรถูกส่งออกไป และคุณดูแท็บเครือข่ายเพื่อยืนยันได้

เครื่องมือที่เกี่ยวข้อง