OC.L10N.register( "workflowengine", { "The given operator is invalid" : "L'operador apurríu ye inválidu", "The given regular expression is invalid" : "La espresión regular apurrida ye inválida", "The given file size is invalid" : "El tamañu del ficheru apurríu ye inválidu", "The given tag id is invalid" : "La ID d'etiqueta apurrida ye inválida", "The given IP range is invalid" : "L'intervalu d'IPs ye inválida", "The given IP range is not valid for IPv4" : "L'intervalu d'IPs nun ye válidu pa IPv4", "The given IP range is not valid for IPv6" : "L'intervalu d'IPs nun ye válidu pa IPv6", "The given time span is invalid" : "L'intervalu de tiempu apurríu nun ye válidu", "The given start time is invalid" : "La hora de comienzu ye inválida", "The given end time is invalid" : "La hora de fin ye inválida", "The given group does not exist" : "El grupu apurríu nun esiste", "File" : "Ficheru", "File created" : "Creóse'l ficheru", "File updated" : "Anovóse'l ficheru", "File renamed" : "Renomóse'l ficheru", "File deleted" : "Desanicióse'l ficheru", "File accessed" : "Accedióse al ficheru", "File copied" : "Copióse'l ficheru", "Tag assigned" : "Asignóse la etiqueta", "Someone" : "Daquień", "%s created %s" : "%s creó «%s»", "%s modified %s" : "%s modificó «%s»", "%s deleted %s" : "%s desanició «%s»", "%s accessed %s" : "%s accedió a «%s»", "%s renamed %s" : "%s renomó «%s»", "%s copied %s" : "%s copió «%s»", "%s assigned %s to %s" : "%s asignó «%s» a %s", "Operation #%s does not exist" : "La operación #%s nun esiste", "Entity %s does not exist" : "La entidá «%s» nun esiste", "Entity %s is invalid" : "La entidá «%s» ye inválida", "No events are chosen." : "Nun s'escoyó nengún eventu.", "Entity %s has no event %s" : "La entidá «%s» nun tien nengún eventu «%s»", "Operation %s does not exist" : "La operación «%s» nun esiste", "Operation %s is invalid" : "La operación «%s» ye inválida", "Invalid check provided" : "Fornióse una comprobación inválida", "Check %s does not exist" : "La comprobación «%s» nun esiste", "Check %s is invalid" : "La comprobación «%s» ye inválida", "Check %s is not allowed with this entity" : "La comprobación «%s» nun ta permitida con esta entidá", "Check #%s does not exist" : "La comprobación #%s nun esiste", "Check %s is invalid or does not exist" : "La comprobación «%s» ye inválida o nun esiste", "Flow" : "Fluxu", "Remove filter" : "Quitar la peñera", "Folder" : "Carpeta", "Images" : "Imáxenes", "Office documents" : "Documentos ofimáticos", "PDF documents" : "Documentos PDF", "Android client" : "Veceru p'Android", "iOS client" : "Veceru pa iOS", "Desktop client" : "Veceru pa ordenadores", "Select groups" : "Seleicionar grupos", "Groups" : "Grupos", "and" : "y", "Cancel" : "Encaboxar", "Delete" : "Desaniciar", "The configuration is invalid" : "La configuración ye inválida", "Active" : "Activa", "Save" : "Guardar", "Available flows" : "Fluxos disponibles", "No flows installed" : "Nun s'instaló nengún fluxu", "Ask your administrator to install new flows." : "Pidi a la alministración qu'instale fluxos nuevos.", "More flows" : "Más fluxos", "Show less" : "Amosar menos", "Show more" : "Amosar más", "Configured flows" : "Fluxos configuraos", "No flows configured" : "Nun se configuró nengún fluxu", "matches" : "concasa", "does not match" : "nun concasa", "is" : "ye", "is not" : "nun ye", "File name" : "Nome del ficheru", "between" : "ente" }, "nplurals=2; plural=(n != 1);"); ue='dependabot/gradle/com.github.spotbugs-6.1.9'>dependabot/gradle/com.github.spotbugs-6.1.9 Mirror of Apache POI: https://github.com/apache/poiwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/poi/src/main/java/org/apache/poi/ss/usermodel/VerticalAlignment.java
blob: f8976d1307115e9bf4a8b735b836fe666ff044de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/* ====================================================================
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
==================================================================== */

package org.apache.poi.ss.usermodel;

/**
 * This enumeration value indicates the type of vertical alignment for a cell, i.e.,
 * whether it is aligned top, bottom, vertically centered, justified or distributed.
 * 
 * <!-- FIXME: Identical to {@link org.apache.poi.ss.usermodel.VerticalAlignment}. Should merge these to
 * {@link org.apache.poi.common.usermodel}.VerticalAlignment in the future. -->
 */
public enum VerticalAlignment {
    /**
     * The vertical alignment is aligned-to-top.
     */
    TOP,

    /**
     * The vertical alignment is centered across the height of the cell.
     */
    CENTER,

    /**
     * The vertical alignment is aligned-to-bottom. (typically the default value)
     */
    BOTTOM,

    /**
     * <p>
     * When text direction is horizontal: the vertical alignment of lines of text is distributed vertically,
     * where each line of text inside the cell is evenly distributed across the height of the cell,
     * with flush top and bottom margins.
     * </p>
     * <p>
     * When text direction is vertical: similar behavior as horizontal justification.
     * The alignment is justified (flush top and bottom in this case). For each line of text, each
     * line of the wrapped text in a cell is aligned to the top and bottom (except the last line).
     * If no single line of text wraps in the cell, then the text is not justified.
     *  </p>
     */
    JUSTIFY,

    /**
     * <p>
     * When text direction is horizontal: the vertical alignment of lines of text is distributed vertically,
     * where each line of text inside the cell is evenly distributed across the height of the cell,
     * with flush top
     * </p>
     * <p>
     * When text direction is vertical: behaves exactly as distributed horizontal alignment.
     * The first words in a line of text (appearing at the top of the cell) are flush
     * with the top edge of the cell, and the last words of a line of text are flush with the bottom edge of the cell,
     * and the line of text is distributed evenly from top to bottom.
     * </p>
     */
    DISTRIBUTED;
    
    public short getCode() {
        return (short) ordinal();
    }
    public static VerticalAlignment forInt(int code) {
        if (code < 0 || code >= values().length) {
            throw new IllegalArgumentException("Invalid VerticalAlignment code: " + code);
        }
        return values()[code];
    }
}