LibreOffice Macros: Manipulation of Ranges - Validations

in utopian-io •  7 years ago  (edited)

workstation-405768_1920.jpg

What Will I Learn?

In this video you will learn:

  • The use of different types of validation through .ValidationType.

  • The use of different types of alerts through .ValidationAlertStyle.

  • The application of the different types of conditional operators of .ConditionOperator.

  • Manipulation of validation properties using .TableValidation service.

All derived from the com.sun.star.sheet object.

Requirements

The tutorial tries to be self-contained but it is necessary:

  • Intermediate knowledge of LibreOffice Calc
  • Basic knowledge of programming
  • This video is part of a series therefore the knowledge of the previous videos of the series is used.

Difficulty

Either choose between the following options:

  • Intermediate

Description

Previously, in a previous tutorial of this series I had shown how to apply validations using the UNO Service through the Dispatcher. Actually, that procedure only called the dialog box and the user had to fill in the parameters of the validation.

In the present tutorial we will explore the use of validations in a deeper way. We will assign each of the parameters directly in the range object. Within this learning session we will make use of the following services, properties and enumerations.

Screenshot from 2018-04-25 12-12-15.png

Source

Screenshot from 2018-04-25 12-13-14.png
Source

Screenshot from 2018-04-25 12-14-03.png
Source

Screenshot from 2018-04-25 12-15-14.png
Source

Model examples will be provided so that you can apply this knowledge to your needs.

The code generated for this tutorial can be consulted in the following link: CODE

Video Tutorial



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you for your contribution. It has been reviewed and scored.


Need help? Write a ticket on https://support.utopian.io.
Chat with us on Discord.

[utopian-moderator]

Thanks!

Buen trabajo amigo saludos y exitos

¡Gracias!

Hermano un saludo! @jayoxaju y yo ya estamos de vuelta.

¡Que bueno Javi! Ya se les echaba de menos.

gracias hermano querido, eres muy honesto con tu estima! :)

Por aquí pasando a saludar y deseando sigas teniendo muchos éxitos en lo que emprendas, cuenta con mi apoyo. Saludos.

Muchas gracias :D

Hey @zenkly! Thank you for the great work you've done!

We're already looking forward to your next contribution!

Fully Decentralized Rewards

We hope you will take the time to share your expertise and knowledge by rating contributions made by others on Utopian.io to help us reward the best contributions together.

Utopian Witness!

Vote for Utopian Witness! We are made of developers, system administrators, entrepreneurs, artists, content creators, thinkers. We embrace every nationality, mindset and belief.

Want to chat? Join us on Discord https://discord.me/utopian-io

Thanks!