All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jopendocument.model.text.TextTableOfContentSource Maven / Gradle / Ivy

Go to download

jOpenDocument is a free library for developers looking to use Open Document files without OpenOffice.org.

The newest version!
/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 * 
 * Copyright 2008-2013 jOpenDocument, by ILM Informatique. All rights reserved.
 * 
 * The contents of this file are subject to the terms of the GNU
 * General Public License Version 3 only ("GPL").  
 * You may not use this file except in compliance with the License. 
 * You can obtain a copy of the License at http://www.gnu.org/licenses/gpl-3.0.html
 * See the License for the specific language governing permissions and limitations under the License.
 * 
 * When distributing the software, include this License Header Notice in each file.
 * 
 */

package org.jopendocument.model.text;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 */
public class TextTableOfContentSource {

    protected String foCountry;
    protected String foLanguage;
    protected String textIndexScope;
    protected List textIndexSourceStyles;
    protected TextIndexTitleTemplate textIndexTitleTemplate;
    protected String textOutlineLevel;
    protected String textRelativeTabStopPosition;
    protected String textSortAlgorithm;
    protected List textTableOfContentEntryTemplate;
    protected String textUseIndexMarks;
    protected String textUseIndexSourceStyles;
    protected String textUseOutlineLevel;

    /**
     * Gets the value of the foCountry property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getFoCountry() {
        return this.foCountry;
    }

    /**
     * Gets the value of the foLanguage property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getFoLanguage() {
        return this.foLanguage;
    }

    /**
     * Gets the value of the textIndexScope property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getTextIndexScope() {
        if (this.textIndexScope == null) {
            return "document";
        } else {
            return this.textIndexScope;
        }
    }

    /**
     * Gets the value of the textIndexSourceStyles property.
     * 
     * 

* This accessor method returns a reference to the live list, not a snapshot. Therefore any * modification you make to the returned list will be present inside the JAXB object. This is * why there is not a set method for the textIndexSourceStyles property. * *

* For example, to add a new item, do as follows: * *

     * getTextIndexSourceStyles().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list {@link TextIndexSourceStyles } * * */ public List getTextIndexSourceStyles() { if (this.textIndexSourceStyles == null) { this.textIndexSourceStyles = new ArrayList(); } return this.textIndexSourceStyles; } /** * Gets the value of the textIndexTitleTemplate property. * * @return possible object is {@link TextIndexTitleTemplate } * */ public TextIndexTitleTemplate getTextIndexTitleTemplate() { return this.textIndexTitleTemplate; } /** * Gets the value of the textOutlineLevel property. * * @return possible object is {@link String } * */ public String getTextOutlineLevel() { return this.textOutlineLevel; } /** * Gets the value of the textRelativeTabStopPosition property. * * @return possible object is {@link String } * */ public String getTextRelativeTabStopPosition() { if (this.textRelativeTabStopPosition == null) { return "true"; } else { return this.textRelativeTabStopPosition; } } /** * Gets the value of the textSortAlgorithm property. * * @return possible object is {@link String } * */ public String getTextSortAlgorithm() { return this.textSortAlgorithm; } /** * Gets the value of the textTableOfContentEntryTemplate property. * *

* This accessor method returns a reference to the live list, not a snapshot. Therefore any * modification you make to the returned list will be present inside the JAXB object. This is * why there is not a set method for the textTableOfContentEntryTemplate * property. * *

* For example, to add a new item, do as follows: * *

     * getTextTableOfContentEntryTemplate().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TextTableOfContentEntryTemplate } * * */ public List getTextTableOfContentEntryTemplate() { if (this.textTableOfContentEntryTemplate == null) { this.textTableOfContentEntryTemplate = new ArrayList(); } return this.textTableOfContentEntryTemplate; } /** * Gets the value of the textUseIndexMarks property. * * @return possible object is {@link String } * */ public String getTextUseIndexMarks() { if (this.textUseIndexMarks == null) { return "true"; } else { return this.textUseIndexMarks; } } /** * Gets the value of the textUseIndexSourceStyles property. * * @return possible object is {@link String } * */ public String getTextUseIndexSourceStyles() { if (this.textUseIndexSourceStyles == null) { return "false"; } else { return this.textUseIndexSourceStyles; } } /** * Gets the value of the textUseOutlineLevel property. * * @return possible object is {@link String } * */ public String getTextUseOutlineLevel() { if (this.textUseOutlineLevel == null) { return "true"; } else { return this.textUseOutlineLevel; } } /** * Sets the value of the foCountry property. * * @param value allowed object is {@link String } * */ public void setFoCountry(final String value) { this.foCountry = value; } /** * Sets the value of the foLanguage property. * * @param value allowed object is {@link String } * */ public void setFoLanguage(final String value) { this.foLanguage = value; } /** * Sets the value of the textIndexScope property. * * @param value allowed object is {@link String } * */ public void setTextIndexScope(final String value) { this.textIndexScope = value; } /** * Sets the value of the textIndexTitleTemplate property. * * @param value allowed object is {@link TextIndexTitleTemplate } * */ public void setTextIndexTitleTemplate(final TextIndexTitleTemplate value) { this.textIndexTitleTemplate = value; } /** * Sets the value of the textOutlineLevel property. * * @param value allowed object is {@link String } * */ public void setTextOutlineLevel(final String value) { this.textOutlineLevel = value; } /** * Sets the value of the textRelativeTabStopPosition property. * * @param value allowed object is {@link String } * */ public void setTextRelativeTabStopPosition(final String value) { this.textRelativeTabStopPosition = value; } /** * Sets the value of the textSortAlgorithm property. * * @param value allowed object is {@link String } * */ public void setTextSortAlgorithm(final String value) { this.textSortAlgorithm = value; } /** * Sets the value of the textUseIndexMarks property. * * @param value allowed object is {@link String } * */ public void setTextUseIndexMarks(final String value) { this.textUseIndexMarks = value; } /** * Sets the value of the textUseIndexSourceStyles property. * * @param value allowed object is {@link String } * */ public void setTextUseIndexSourceStyles(final String value) { this.textUseIndexSourceStyles = value; } /** * Sets the value of the textUseOutlineLevel property. * * @param value allowed object is {@link String } * */ public void setTextUseOutlineLevel(final String value) { this.textUseOutlineLevel = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy