Package com.sun.star.table

Examples of com.sun.star.table.TableBorder


        // create description for blue line, width 10
        BorderLine theLine = new BorderLine();
        theLine.Color = 0x000099;
        theLine.OuterLineWidth = 10;
        // apply line description to all border lines and make them valid
        TableBorder bord = new TableBorder();
        bord.VerticalLine = bord.HorizontalLine =
            bord.LeftLine = bord.RightLine =
            bord.TopLine = bord.BottomLine =
                theLine;
        bord.IsVerticalLineValid = bord.IsHorizontalLineValid =
View Full Code Here


        // create description for blue line, width 10
        BorderLine theLine = new BorderLine();
        theLine.Color = 0x000099;
        theLine.OuterLineWidth = 10;
        // apply line description to all border lines and make them valid
        TableBorder bord = new TableBorder();
        bord.VerticalLine = bord.HorizontalLine =
            bord.LeftLine = bord.RightLine =
            bord.TopLine = bord.BottomLine =
                theLine;
        bord.IsVerticalLineValid = bord.IsHorizontalLineValid =
View Full Code Here

        // create description for blue line, width 10
        BorderLine theLine = new BorderLine();
        theLine.Color = 0x000099;
        theLine.OuterLineWidth = 10;
        // apply line description to all border lines and make them valid
        TableBorder bord = new TableBorder();
        bord.VerticalLine = bord.HorizontalLine =
            bord.LeftLine = bord.RightLine =
            bord.TopLine = bord.BottomLine =
                theLine;
        bord.IsVerticalLineValid = bord.IsHorizontalLineValid =
View Full Code Here

        // create description for blue line, width 10
        BorderLine theLine = new BorderLine();
        theLine.Color = 0x000099;
        theLine.OuterLineWidth = 10;
        // apply line description to all border lines and make them valid
        TableBorder bord = new TableBorder();
        bord.VerticalLine = bord.HorizontalLine =
            bord.LeftLine = bord.RightLine =
            bord.TopLine = bord.BottomLine =
                theLine;
        bord.IsVerticalLineValid = bord.IsHorizontalLineValid =
View Full Code Here

    public TableBorder getTableBorder(Integer color, short width){
        BorderLine borderLine = new BorderLine();
        borderLine.Color = color;
        borderLine.OuterLineWidth = width;
        TableBorder tableBorder = new TableBorder();
        tableBorder.VerticalLine = tableBorder.HorizontalLine = tableBorder.LeftLine =
        tableBorder.RightLine = tableBorder.TopLine = tableBorder.BottomLine =
        borderLine;
        tableBorder.IsVerticalLineValid = tableBorder.IsHorizontalLineValid = tableBorder.IsLeftLineValid =
        tableBorder.IsRightLineValid = tableBorder.IsTopLineValid = tableBorder.IsBottomLineValid =
View Full Code Here

                    for(XCell xCell : m_lNotValidPrecCells) {
                        XPropertySet xPropSet = (com.sun.star.beans.XPropertySet) UnoRuntime.queryInterface( com.sun.star.beans.XPropertySet.class, xCell );
                        m_vProps.add(xPropSet);
                        Integer colorValue = (Integer) xPropSet.getPropertyValue( "CellBackColor" );
                        m_vColors.add(colorValue);
                        TableBorder cellBorder= (TableBorder) xPropSet.getPropertyValue( "TableBorder" );
                        m_vBorders.add(cellBorder);

                    }
                } catch (UnknownPropertyException ex) {
                    System.err.println("UnknownPropertyException in Cell.setVectors(). Message:\n" + ex.getLocalizedMessage());
View Full Code Here

            if( m_ErrorType == ERRORTYPE2 )
                color = 0xFFA500;
            if( m_ErrorType == ERRORTYPE3 )
                color = 0x800000;
            if( m_isRunning && m_lNotValidPrecCells != null && !m_lNotValidPrecCells.isEmpty()){
                TableBorder border = getGui().getTableBorder( new Integer(0x0000FF), (short)75 );
                if( m_vProps != null && !m_vProps.isEmpty() && m_vColors != null && !m_vColors.isEmpty() && m_vBorders != null && !m_vBorders.isEmpty()){
                    for(int i = 0; i < m_vProps.size(); i++){
                        m_vProps.get(i).setPropertyValue( "CellBackColor", new Integer( color ) );
                        m_vProps.get(i).setPropertyValue( "TableBorder", border );
                    }
View Full Code Here

        // create description for blue line, width 10
        BorderLine theLine = new BorderLine();
        theLine.Color = 0x000099;
        theLine.OuterLineWidth = 10;
        // apply line description to all border lines and make them valid
        TableBorder bord = new TableBorder();
        bord.VerticalLine = bord.HorizontalLine =
            bord.LeftLine = bord.RightLine =
            bord.TopLine = bord.BottomLine =
                theLine;
        bord.IsVerticalLineValid = bord.IsHorizontalLineValid =
View Full Code Here

        // create description for blue line, width 10
        BorderLine theLine = new BorderLine();
        theLine.Color = 0x000099;
        theLine.OuterLineWidth = 10;
        // apply line description to all border lines and make them valid
        TableBorder bord = new TableBorder();
        bord.VerticalLine = bord.HorizontalLine =
            bord.LeftLine = bord.RightLine =
            bord.TopLine = bord.BottomLine =
                theLine;
        bord.IsVerticalLineValid = bord.IsHorizontalLineValid =
View Full Code Here

        // create description for blue line, width 10
        BorderLine theLine = new BorderLine();
        theLine.Color = 0x000099;
        theLine.OuterLineWidth = 10;
        // apply line description to all border lines and make them valid
        TableBorder bord = new TableBorder();
        bord.VerticalLine = bord.HorizontalLine =
            bord.LeftLine = bord.RightLine =
            bord.TopLine = bord.BottomLine =
                theLine;
        bord.IsVerticalLineValid = bord.IsHorizontalLineValid =
View Full Code Here

TOP

Related Classes of com.sun.star.table.TableBorder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.