• 大小: 2.61MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-13
  • 语言: 其他
  • 标签: GemBox  Spreadsheet  Code  

资源简介

GemBox.Spreadsheet.源代码

资源截图

代码片段和文件信息

using GemBox.Spreadsheet.Inlinestyles;
using GemBox.Spreadsheet.styles;
using System;
using System.ComponentModel;
using System.Diagnostics;

namespace GemBox.Spreadsheet
{
    /// 
    /// base class for classes representing one or more excel cells.
    /// 

    public abstract partial class AbstractRange : IFormattedStringProvider
    {
        [DebuggerBrowsable(DebuggerBrowsableState.Never)]
        private Cellstyle style;

        private readonly ExcelWorksheet parent;

        /// 
        /// Internal.
        /// 

        /// 
        /// 
        [EditorBrowsable(EditorBrowsableState.Never)]
        protected AbstractRange(ExcelWorksheet parent)
        {
            this.parent = parent;
        }

        internal ExcelWorksheet Parent
        {
            get
            {
                return this.parent;
            }
        }

        /// 
        /// Gets the name of  instance.
        /// 

        /// 
        /// A cell name includes its column letter and row number. For example the name of a cell in row 0 and column 0 is “A1“.
        /// A cell range name includes the column letter and row number of first (top-left) and last (bottom-right) cell.
        /// For example the name of range [0 0]...[4 4] is “A1:E5“ of range [0 0]...[4 MaxColumns-1] is “1:5“
        /// of range [0 0]...[MaxRows-1 4] is “A:E“ of single cell range [4 4]...[4 4] is “E5“.
        /// 

        public string Name
        {
            get { return this.GetName(false); }
        }

        /// 
        /// Gets or sets comment.
        /// 

        public abstract ExcelComment Comment { get; set; }

        /// 
        /// Gets or sets hyperlink.
        /// 

        public abstract SpreadsheetHyperlink Hyperlink { get; set; }

        /// 
        /// Gets or sets formula string.
        /// 

        public abstract string Formula { get; set; }

        /// 
        /// Gets or sets cell value on one or more excel cells.
        /// 

        public abstract object Value { get; set; }

        /// 
        /// Calculates formula for one or more excel cells.
        /// 

        public abstract void Calculate();

        [DebuggerBrowsable(DebuggerBrowsableState.Never)]
        internal abstract object ValueInternal { get; set; }

        /// 
        /// Gets or sets the cell formatting of one or more cells.
        /// 

        /// 
        /// The cell formatting of one or more cells.
        /// 

        /// l‘ path=‘Comments/Comment[@name=“Cellstyle“]/*‘/>
        public Cellstyle style
        {
            get
            {
                i

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        1493  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet.sln
     文件       11126  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\AbstractRange.cs
     文件       16673  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\AnchorCell.cs
     文件       38367  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\AutoFilter.cs
     文件       14514  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\BuiltInCellstyleName.cs
     文件        1692  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\BuiltInDocumentProperties.cs
     文件        4571  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\CellBorder.cs
     文件        5100  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\CellBorders.cs
     文件        6648  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\CellFormula.cs
     文件       84217  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\CellRange.cs
     文件        2406  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\CellRangeCollection.cs
     文件        4552  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\CellRangeEnumerator.cs
     文件       23261  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\Cellstyle.cs
     文件       15813  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\CellstyleCollection.cs
     文件         971  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\CellValueType.cs
     文件         816  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\ClearOptions.cs
     文件       28725  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\ColorName.cs
     文件        2889  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\ColumnTypeResolution.cs
     文件        7170  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\ComHelper.cs
     文件        7856  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\CreateDataTableOptions.cs
     文件       11645  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\CsvLoadOptions.cs
     文件       13625  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\CsvSaveOptions.cs
     文件         588  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\CsvType.cs
     文件       15659  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\CustomFilter.cs
     文件        2071  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\DataTableCellToExcelCellConvertingEventArgs.cs
     文件       15441  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\DataValidation.cs
     文件        2105  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\DataValidationCollection.cs
     文件         645  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\DataValidationerrorstyle.cs
     文件        1460  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\DataValidationOperator.cs
     文件       20512  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\DataValidationParser.cs
     文件        1407  2016-09-27 10:19  GemBox.Spreadsheet.Code\GemBox.Spreadsheet\DataValidationType.cs
............此处省略1312个文件信息

评论

共有 条评论