Querying User Data in Fields or Conditions

You can access and compare some user data from conditions or fields. For example, you can compare user data with the following operators:

ოპერატორი

მნიშვნელობა

== or EQ

უდრის

!= or NEQ

is not equal to


If you want, you can use a condition to hide specific text in your document from a specific user.

  1. Select the text in the document that you want to hide.

  2. ამოირჩიეთ ჩასმა - ნახატი.

  3. In the Hide area, select the Hide check box.

  4. In the With Condition box, type user_lastname == "Doe", where "Doe" is the last name of the user that you want to hide the text from.

  5. Click Insert and then save the document.

შენიშვნის ხატულა

The name of the hidden section can still be seen in the Navigator.


The following table is a list of the user variables that you can access when defining a condition or a field:

User variables

მნიშვნელობა

მომხმარებლის_სახელი

სახელი

მომხმარებლის_გვარი

გვარი

მომხმარებლის_ინიციალები

ინიციალები

მომხმარებლის_კომპანია

კომპანია

მომხმარებლის_ქუჩა

ქუჩა

მომხმარებლის_ქვეყანა

ქვეყანა

მომხმარებლის_ქვეყნის ინდექსი

Zip Code

მომხმარებლის_ქალაქი

ქალაქი

მომხმარებლის_წოდება

სათაური

მომხმარებლის_მდგომარეობა

პოზიცია

მომხმარებლის_სამუშაო_ტელეფონი

საქმიანი სატელეფონო ნომერი

მომხმარებლის_სახლის_ტელეფონი

სახლის ტელეფონის ნომერი

მომხმარებლის_ფაქსი

ფაქსის ნომერი

მომხმარებლის_ელფოსტა

Email address

მომხმარებლის_მდგომარეობა

შტატი


D'oh! You found a bug (text/swriter/guide/conditional_text.xhp#conditional_text not found).

List of operators