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

com.aspose.cells.TableStyleCollection.html Maven / Gradle / Ivy

There is a newer version: 23.1
Show newest version





TableStyleCollection




com.aspose.cells
Class TableStyleCollection

java.lang.Object
  extended by CollectionBase
      extended by com.aspose.cells.TableStyleCollection
All Implemented Interfaces:
java.lang.Iterable

public class TableStyleCollection 
extends CollectionBase

Represents all custom table styles.


Property Getters/Setters Summary
intgetCount()→ inherited from com.aspose.cells.CollectionBase
          
TableStyleget(int)
           Gets the table style by the index.
TableStyleget(java.lang.String)
           Gets the table style by the name.
 
Method Summary
intadd(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
intaddPivotTableStyle(java.lang.String name)
           Adds a custom pivot table style.
intaddTableStyle(java.lang.String name)
           Adds a custom table style.
voidclear()→ inherited from com.aspose.cells.CollectionBase
          
booleancontains(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
TableStylegetBuiltinTableStyle(int type)
           Gets the builtin table style
intindexOf(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
java.util.Iteratoriterator()→ inherited from com.aspose.cells.CollectionBase
          
voidremoveAt(int index)→ inherited from com.aspose.cells.CollectionBase
          
 

Property Getters/Setters Detail

getCount

→ inherited from com.aspose.cells.CollectionBase
public int getCount()

get

public TableStyle get(int index)
Gets the table style by the index.
Parameters:
index - The position of the table style in the list.
Returns:
The table style object.

get

public TableStyle get(java.lang.String name)
Gets the table style by the name.
Parameters:
name - The table style name.
Returns:
The table style object.

Method Detail

addTableStyle

public int addTableStyle(java.lang.String name)
Adds a custom table style.
Parameters:
name - The table style name.
Returns:
The index of the table style.

addPivotTableStyle

public int addPivotTableStyle(java.lang.String name)
Adds a custom pivot table style.
Parameters:
name - The pivot table style name.
Returns:
The index of the pivot table style.

getBuiltinTableStyle

public TableStyle getBuiltinTableStyle(int type)
Gets the builtin table style
Parameters:
type - A TableStyleType value. The builtin table style type.
Returns:

clear

→ inherited from com.aspose.cells.CollectionBase
public void clear()

removeAt

→ inherited from com.aspose.cells.CollectionBase
public void removeAt(int index)

iterator

→ inherited from com.aspose.cells.CollectionBase
public java.util.Iterator iterator()

contains

→ inherited from com.aspose.cells.CollectionBase
public boolean contains(java.lang.Object value)
Reserved for internal use.

add

→ inherited from com.aspose.cells.CollectionBase
public int add(java.lang.Object value)
Reserved for internal use.

indexOf

→ inherited from com.aspose.cells.CollectionBase
public int indexOf(java.lang.Object value)
Reserved for internal use.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy