Kondisi

Define conditions for conditional styles here.

Untuk mengakses fungsi ini...

Klik kanan paragraf dengan gaya Teks badan. Pilih Sunting Gaya Paragraf - tab Kondisi


Conditional styles are paragraph styles that have different properties depending on the context. Once defined, you cannot change the conditional properties of a conditional style.

LibreOffice menerapkan properti paragraf dari gaya bersyarat sebagai berikut (istilah yang dicetak tebal mengacu kepada judul dari ruas dialog): Bila suatu paragraf yang diformat dengan gaya bersyarat berada dalam Konteks yang memiliki Gaya Yang Diterapkan yang dikaitkan kepadanya, maka Gaya Paragraf dari syarat itu dipakai. Bila tak ada gaya yang dikaitkan ke Konteks, maka atribut yang didefinisikan dalam gaya bersyarat berlaku. Contoh berikut menggambarkan hubungan ini:

  1. Open a blank text document and write a short business letter with a header (Format - Page - Header).

  2. Define a new Paragraph Style by choosing New in the Styles window, and selecting all the paragraph properties that you want for your business letter in the Paragraph Style dialog. Name this style "Business letter".

  3. Then click the Condition tab and select the Conditional style field to define the new Paragraph Style as a conditional style.

  4. In Context, select the header entry and under Paragraph Styles select the style for the header in your business letter; for example, the default Paragraph Style "Header". You also can select your own style.

  5. You can apply the Paragraph Style to the context by double-clicking the selected entry in the Paragraph Styles list box or by using Apply.

  6. Click OK to close the Paragraph Style dialog, and then format all paragraphs in your business letter, including the header, with the new "Business letter" conditional Paragraph Style. (When you click in the header, you may need to display All Styles or Custom Styles in the style list to use the new business letter style.)

The header text now has the attributes you specified in the Header Paragraph Style, while the other parts of the document have the attributes defined in the business letter conditional Paragraph Style.

Ikon Tip

The "Text body" Style was created as a conditional style. Therefore, any styles you derive from it can be used as conditional styles.


The Paragraph Style applied to the context is used when exporting to other formats (RTF, HTML, and so on).

Gaya Kondisional

Check this box to define a new style as a conditional style.

Konteks

Here you can see the LibreOffice predefined contexts, including outline levels 1 to 10, numbering/bullets levels 1 to 10, table header, table contents, section, border, footnote, header and footer.

Gaya Yang Diterapkan

Here you can see the list of all Paragraph Styles applied to a context.

Gaya

A list of all Paragraph Styles which can be assigned to a context is contained in the list box.

Kelompok Gaya

These are the style groups that you can display in the Styles window.

Nama

Arti

Otomatis

Tampilkan gaya yang cocok dengan konteks kini.

Semua Gaya

Tampilkan semua gaya dari kategori gaya aktif.

Gaya Yang Diterapkan

Tampilkan gaya (dari kategori yang dipilih) yang diterapkan dalam dokumen saat ini.

Gaya Ubahan

Tampilkan semua gaya yang didefinisikan oleh pengguna dalam kategori gaya yang dipilih.

Gaya Karakter

Menampilkan gaya pemformatan untuk teks.

Gaya Bab

Menampilkan gaya pemformatan untuk teks.

Gaya Daftar

Tampilkan gaya pemformatan untuk daftar bulet atau bernomor.

Gaya Indeks

Menampilkan gaya pemformatan untuk teks.

Gaya Regional Khusus

Tampilkan gaya pemformatan bagi tajuk, kaki, catatan kaki, catatan akhir, tabel dan kapsi.

Gaya HTML

Tampilkan daftar gaya bagi dokumen HTML.

Gaya Kondisional

Tampilkan gaya kondisional yang didefinisikan oleh pengguna.

Hirarkikal

Tampilkan gaya dalam kategori yang dipilih dalam suatu daftar hirarkis. Untuk menilik gaya dalam suatu sub aras, klik pada tanda plus (+) di sebelah nama sub aras.


Buang

Click here to remove the current context assigned to the selected style.

Pilih Warna

Click Assign to apply the selected Paragraph Style to the defined context.