Annotations on a PDF

Hi,

I use the kubernetes collabora online image and try to open a pdf to add annotations to it.
If i read the release notes this should be possible:

Released on July 8, 2024

Features
  • Feature: Unveiling Precision: Introducing the Ruler Feature in Impress/Draw cool #8966
  • Feature: Improved PDF Annotation Support: We have added enhanced support for importing and exporting a wider range of PDF annotation types and properties. This includes: stamps, free text annotation, line size adjustments, line and fill color for polygons, rectangles, and circles. You can now insert various types of annotations such as images, polygons, and text. These annotations can be edited just like any other objects within the document. To experience these improvements, open a PDF containing various types of annotations. You should be able to move, resize, and change the properties of these annotations seamlessly.

But at the moment it i can add anything other then a comment. It also says the document is readonly.

I wonder 2 thing… is it possible to add annotations on a pdf and if so, what should i change to make this possible. i work with python.

hello @J-de-Ridder welcome to collabora online forums.

I see it works fine with normal setup with docker but i haven’t checked with k8

Let me check with k8 instance…

Thanks,
Darshan

1 Like

Hello @J-de-Ridder, I just tested comment feature. It’s working ok in k8.

My version info:

COOLWSD version: 24.04.8.2(git hash: 77a0aab (E))
LOKit version: Collabora Office 24.04.8.2(git hash: ac08496)
Served by: Debian GNU/Linux 12 (bookworm)
Server ID: ccc30d8a
WOPI host:

Can you please update the image is it is not the latest and if it was still not working can you share the PDF ?

Also in which device you are using this is it the desktop or mobile app or tablet ?

Thanks,
Darshan

Hi @darshan

I use Collabora office online

It runs on a windows machine. The file opens via WOPI

Just to be sure… You are able to add images etc, so not only a comment?

I am able to add comments as well, no issue with that.

Hi @darshan

Yes, I’m also able to add comments. The issue is that the PDF keeps opening in read-only mode, and I’m unable or unsure how to change that.

I need to be able to place black blocks over certain text (to make it confidential), ensuring that the next person who opens the document cannot read those specific parts.

Is there a setting I need to configure or send to WOPI to open the file in both read and write mode?

oh @J-de-Ridder i am confused with this line. I thought Comment add is not working :slight_smile:

@J-de-Ridder give me sometime i need to dig up more on this. As i remember, PDF in COOL still has only the read only mode and we can not edit or insert other then comments.

1 Like

@J-de-Ridder there is some confusion in the release note. I confirm that

" No, inserting from COOL / LO is not possible yet in PDF. "

Also @J-de-Ridder can you share this release note link ? i need to check as i can not find this anywhere in collabora online release notes.