Add text similar to the demo version "Demo" For all Collabora Apps (Excel,Word,Draw...)

How do I add/remove a text similar to the demo version on paper for all tools (similar to the attached file) with JS or CSS and other

hello @mmilad200

There is a option in Layout tab in notebookbar with name Watermark.That will help you to change the text.

Thanks,
Darshan

Thank you for your attention
But I don’t want a watermark, I want it to be part of the branding and a text should be displayed on all documents in view mode (not when exporting). This feature is available in the Demo version and I also want to do this on my server. This feature can be on all devices.

@mmilad200

The branding feature for displaying text in view mode is available in the demo version but not in the free development edition. To enable this on your server, please contact our sales team at sales@collaboraoffice.com. They’ll guide you on the best solution for your needs.

Thanks,
Darshan

If i want remove this… ?

@mmilad200

You can disable the branding in the coolwsd.xml file by setting the flag to false. This will remove all branding CSS.

But here’s the twist—if you’re not using CODE, you likely don’t have access to the coolwsd.xml file. So, I’m curious—are you planning to stick with the demo version, or are you considering upgrading to unlock some of the amazing features Collabora Online has to offer?

Check out Collabora Online Subscriptions—they come packed with incredible features and stellar support. It’s the ultimate win-win! :slight_smile:

Thanks,
Darshan

1 Like

My example does
not have a coolwsd.xml file, but it does have the following files:

:point_up:

Or you can use CODE https://www.collaboraonline.com/code/

1 Like

Thank you for your time and attention
But I’m just looking to know what this feature is called in this product and where it is defined.

@mmilad200 this is watermark

i have coolwsd.xml and if i write any string in [ <text > Watermark text</text>
] it will display it instead of “Demo” that you mentioned

I think this will make the watermark visible in the output file. I don’t want that. I only need it in the display. It doesn’t seem like the feature I’m looking for. This is actually using the watermark feature in code. I’m looking for Splash.

I did some testing see this

If you want to remove then you can simply make opacity 0 that will make this watermark invisible

I think this method remains in the output file in different types and is part of the file structure, not the program structure. For example, if you export this file to PDF, the watermark is visible in it. I don’t want that. I want it to be part of the program, just for display, not for printing.

@mmilad200 Oh, I see. Could you please add this as a detailed note and file a GitHub ticket? It will help us investigate this further. You can use the following link to create the ticket: Sign in to GitHub · GitHub

Thanks,
Darshan

@mmilad200

We’ve explored all possible solutions on our end. You can check out our support services for further assistance. Alternatively, feel free to file a GitHub issue as I mentioned earlier. We’ll add it to our board and review it based on resource availability.

Thank you for your amazing effort to describe the problem.

Thanks,
darshan

By carefully tracking the execution in the browser, I have found that it is called a tile and is transmitted to the browser via web socket. A sample message with the illegible part removed is as follows. Now, guide me on how to give this tile to Office in the configuration settings. I don’t think this is unknown to you. In fact, these are tiles that are displayed on paper and their number is created and controlled by the program depending on the size of the paper and the page.

tile: nviewid=1000 part=0 width=256 height=256 tileposx=4213 tileposy=0 tilewidth=4213 tileheight=4213 wid=2 ver=38 imgsize=2386
(µ/ý
dialogevent -2 {"id":"stylesview", "cmd": "render_entry", "data": "1;131;131", "type": "iconview"}
tile: nviewid=1000 part=0 width=256 height=256 tileposx=8426 tileposy=0 tilewidth=4213 tileheight=4213 wid=3 ver=39 imgsize=2486
(µ/ý
dialogevent -2 {"id":"stylesview", "cmd": "render_entry", "data": "2;131;131", "type": "iconview"}
tileprocessed wids=4
jsdialog: { "id": 0, "jsontype": "sidebar", "action": "close"}

@mmilad200

Tiles are generated server-side where the CORE part of the COOL server is hosted. Since you mentioned that some parts of the message are illegible, it’s possible that certain features are locked. These features might only be available in the paid version.

I recommend filing a GitHub ticket for further investigation. If it’s urgent, contacting our support team would be the best option for a quicker resolution.

Please note that our resources for free support are limited, and I’ve already invested significant time investigating this topic. I hope you understand and proceed accordingly.

Thanks,
Darshan

1 Like

Thank you for all answer

1 Like