ASPOSE home

com.aspose.words
Class Variables

java.util.TreeMap
    extended by com.aspose.words.Variables

public class Variables
extends java.util.TreeMap

A collection of document variables.

Variable names and values are strings.

Variable names are case insensitive.


Property Getters/Setters Summary
java.lang.Stringget(java.lang.String name)
voidset(java.lang.String name, java.lang.String value)
           Gets or a sets a document variable by case-insensitive name.
 
Method Summary
java.lang.StringgetByIndex(int index)
          Gets the value at the specified index.
 

Property Getters/Setters Detail

get/set

public java.lang.String get(java.lang.String name)

public void set(java.lang.String name, java.lang.String value)
Gets or a sets a document variable by case-insensitive name.

Method Detail

getByIndex

public java.lang.String getByIndex(int index)
Gets the value at the specified index.

The index sequence is based on the sort sequence. Variables sorted by names in case insensitive order.

Parameters:
name - The name of the variable to get.

See Also:
          Wiki - the home page for the Aspose.Words Product Documentation that includes Programmer's Guide, Knowledge Base and other articles.
          Aspose.Words Support Forum - our preferred method of support.
          Aspose.Words Team - contact Aspose.Words Team.


ASPOSE home