com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class ColumnFormat

  • java.lang.Object
    • com.aspose.slides.ColumnFormat
  • All Implemented Interfaces:
    IColumnFormat


    public class ColumnFormat
    extends java.lang.Object
    implements IColumnFormat

    Represents format of a table column.

    • Method Detail

      • getEffective

        public final IColumnFormatEffectiveData getEffective()

        Gets effective table column formatting properties with inheritance and table styles applied.


         This example demonstrates getting effective fill format for different table logic parts.
         Please note that cell formatting always has higher priority than row formatting, row - higher than column, column - higher that whole table.
         So finally CellFormatEffectiveData properties always used to draw the table. The following code is just an example of API.
         
         Presentation pres = new Presentation(@"MyPresentation.pptx");
         try
         {
             ITable tbl = (Table)pres.getSlides().get_Item(0).getShapes().get_Item(0);
             IFillFormatEffectiveData tableFillFormatEffective = tbl.getTableFormat().getEffective().getFillFormat();
             IFillFormatEffectiveData rowFillFormatEffective = tbl.getRows().get_Item(0).getRowFormat().getEffective().getFillFormat();
             IFillFormatEffectiveData columnFillFormatEffective = tbl.getColumns().get_Item(0).getColumnFormat().getEffective().getFillFormat();
             IFillFormatEffectiveData cellFillFormatEffective = tbl.get_Item(0, 0).getCellFormat().getEffective().getFillFormat();
         } finally {
             if (pres != null) pres.dispose();
         }
         

        Specified by:
        getEffective in interface IColumnFormat
        Returns:
        A IColumnFormatEffectiveData.
      • getVersion

        public final long getVersion()

        Version. Read-only long.

      • getParent_Immediate

        public final com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.