├── .editorconfig ├── .github ├── FUNDING.yml └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── CONTRIBUTING.md ├── Demo.sln ├── Demo ├── CellAndRange │ ├── AccessCellDataDemo.Designer.cs │ ├── AccessCellDataDemo.cs │ ├── AccessCellDataDemo.resx │ ├── AccessRangeData.Designer.cs │ ├── AccessRangeData.cs │ ├── AccessRangeData.resx │ ├── CellTextDemo.Designer.cs │ ├── CellTextDemo.cs │ ├── CellTextDemo.resx │ ├── CustomDataFormatDemo.Designer.cs │ ├── CustomDataFormatDemo.cs │ ├── CustomDataFormatDemo.resx │ ├── IterateCellsAndBorders.Designer.cs │ ├── IterateCellsAndBorders.cs │ ├── IterateCellsAndBorders.resx │ ├── MergeCellsDemo.Designer.cs │ ├── MergeCellsDemo.cs │ └── MergeCellsDemo.resx ├── Chart │ ├── AreaChartDemo.Designer.cs │ ├── AreaChartDemo.cs │ ├── AreaChartDemo.resx │ ├── BarChartDemo.Designer.cs │ ├── BarChartDemo.cs │ ├── BarChartDemo.resx │ ├── ColumnChartDemo.Designer.cs │ ├── ColumnChartDemo.cs │ ├── ColumnChartDemo.resx │ ├── DoughnutChartDemo.Designer.cs │ ├── DoughnutChartDemo.cs │ ├── DoughnutChartDemo.resx │ ├── LineChartDemo.Designer.cs │ ├── LineChartDemo.cs │ ├── LineChartDemo.resx │ ├── Pie2DChartDemo.Designer.cs │ ├── Pie2DChartDemo.cs │ └── Pie2DChartDemo.resx ├── CustomCells │ ├── AnimationCellDemo.Designer.cs │ ├── AnimationCellDemo.cs │ ├── AnimationCellDemo.resx │ ├── BuiltInTypesDemo.Designer.cs │ ├── BuiltInTypesDemo.cs │ ├── BuiltInTypesDemo.resx │ ├── CustomDropdownDemo.Designer.cs │ ├── CustomDropdownDemo.cs │ ├── CustomDropdownDemo.resx │ ├── ImageCheckboxDemo.Designer.cs │ ├── ImageCheckboxDemo.cs │ ├── ImageCheckboxDemo.resx │ ├── NumericProgressDemo.Designer.cs │ ├── NumericProgressDemo.cs │ ├── NumericProgressDemo.resx │ ├── SlideCellDemo.Designer.cs │ ├── SlideCellDemo.cs │ └── SlideCellDemo.resx ├── Demo.csproj ├── DemoCategory.xml ├── DemoForm.resx ├── DemoItemsForm.Designer.cs ├── DemoItemsForm.cs ├── DemoItemsForm.resx ├── Documents │ ├── DataFormatDocDemo.Designer.cs │ ├── DataFormatDocDemo.cs │ ├── DataFormatDocDemo.resx │ ├── FinancialRatiosDocDemo.Designer.cs │ ├── FinancialRatiosDocDemo.cs │ ├── FinancialRatiosDocDemo.resx │ ├── InvoiceExcelDocDemo.Designer.cs │ ├── InvoiceExcelDocDemo.cs │ ├── InvoiceExcelDocDemo.resx │ ├── MazeDocDemo.Designer.cs │ ├── MazeDocDemo.cs │ ├── MazeDocDemo.resx │ ├── MonthCalendarDocDemo.Designer.cs │ ├── MonthCalendarDocDemo.cs │ ├── MonthCalendarDocDemo.resx │ ├── OrderDocDemo.Designer.cs │ ├── OrderDocDemo.cs │ ├── OrderDocDemo.resx │ ├── ProjectBuildReportDemo.Designer.cs │ ├── ProjectBuildReportDemo.cs │ ├── ProjectBuildReportDemo.resx │ ├── ProjectSummaryDocDemo.Designer.cs │ ├── ProjectSummaryDocDemo.cs │ ├── ProjectSummaryDocDemo.resx │ ├── YearCalendarDocDemo.Designer.cs │ ├── YearCalendarDocDemo.cs │ └── YearCalendarDocDemo.resx ├── Drawings │ ├── AddingObjectDemo.Designer.cs │ ├── AddingObjectDemo.cs │ ├── AddingObjectDemo.resx │ ├── AddingObjectDemo.src.html │ ├── BasicShapesDemo.Designer.cs │ ├── BasicShapesDemo.cs │ ├── BasicShapesDemo.resx │ ├── DrawingObjectStyleDemo.Designer.cs │ ├── DrawingObjectStyleDemo.cs │ └── DrawingObjectStyleDemo.resx ├── DropdownButton.cs ├── EdgeFreeze │ ├── BottomFreezeDemo.Designer.cs │ ├── BottomFreezeDemo.cs │ ├── BottomFreezeDemo.resx │ ├── BottomLeftFreezeDemo.Designer.cs │ ├── BottomLeftFreezeDemo.cs │ ├── BottomLeftFreezeDemo.resx │ ├── BottomRightFreezeDemo.Designer.cs │ ├── BottomRightFreezeDemo.cs │ ├── BottomRightFreezeDemo.resx │ ├── LeftFreezeDemo.Designer.cs │ ├── LeftFreezeDemo.cs │ ├── LeftFreezeDemo.resx │ ├── RightFreezeDemo.Designer.cs │ ├── RightFreezeDemo.cs │ ├── RightFreezeDemo.resx │ ├── TopFreezeDemo.Designer.cs │ ├── TopFreezeDemo.cs │ ├── TopFreezeDemo.resx │ ├── TopLeftFreezeDemo.Designer.cs │ ├── TopLeftFreezeDemo.cs │ ├── TopLeftFreezeDemo.resx │ ├── TopRightFreezeDemo.Designer.cs │ ├── TopRightFreezeDemo.cs │ └── TopRightFreezeDemo.resx ├── Features │ ├── CellsEventDemo.Designer.cs │ ├── CellsEventDemo.cs │ ├── CellsEventDemo.resx │ ├── ClipboardEventDemo.Designer.cs │ ├── ClipboardEventDemo.cs │ ├── ClipboardEventDemo.resx │ ├── ColumnFilterAndSortDemo.Designer.cs │ ├── ColumnFilterAndSortDemo.cs │ ├── ColumnFilterAndSortDemo.resx │ ├── ControlAppearanceDemo.Designer.cs │ ├── ControlAppearanceDemo.cs │ ├── ControlAppearanceDemo.resx │ ├── CustomCellsForm.resx │ ├── CustomSelectionDemo.Designer.cs │ ├── CustomSelectionDemo.cs │ ├── CustomSelectionDemo.resx │ ├── MultisheetDemo.Designer.cs │ ├── MultisheetDemo.cs │ ├── MultisheetDemo.resx │ ├── OnlyNumberInputDemo.Designer.cs │ ├── OnlyNumberInputDemo.cs │ ├── OnlyNumberInputDemo.resx │ ├── OutlineDemo.Designer.cs │ ├── OutlineDemo.cs │ ├── OutlineDemo.resx │ ├── OutlineWithFreezeDemo.Designer.cs │ ├── OutlineWithFreezeDemo.cs │ ├── OutlineWithFreezeDemo.resx │ ├── PickRangeDemo.Designer.cs │ ├── PickRangeDemo.cs │ ├── PickRangeDemo.resx │ ├── RichTextDemo.Designer.cs │ ├── RichTextDemo.cs │ ├── RichTextDemo.resx │ ├── SetEditableRangeDemo.Designer.cs │ ├── SetEditableRangeDemo.cs │ ├── SetEditableRangeDemo.resx │ ├── SynchronizeScrollDemo.Designer.cs │ ├── SynchronizeScrollDemo.cs │ ├── SynchronizeScrollDemo.resx │ ├── ZoomDemo.Designer.cs │ ├── ZoomDemo.cs │ └── ZoomDemo.resx ├── Formula │ ├── CustomizeFunctionDemo.Designer.cs │ ├── CustomizeFunctionDemo.cs │ ├── CustomizeFunctionDemo.resx │ ├── FormulaDemo.Designer.cs │ ├── FormulaDemo.cs │ ├── FormulaDemo.resx │ ├── NamedRangeReferenceDemo.Designer.cs │ ├── NamedRangeReferenceDemo.cs │ └── NamedRangeReferenceDemo.resx ├── Performance │ ├── ComplexMergedCellDemo.Designer.cs │ ├── ComplexMergedCellDemo.cs │ ├── ComplexMergedCellDemo.resx │ ├── MaximumSheetDemo.Designer.cs │ ├── MaximumSheetDemo.cs │ ├── MaximumSheetDemo.resx │ ├── RowPerformanceDemo.Designer.cs │ ├── RowPerformanceDemo.cs │ ├── RowPerformanceDemo.resx │ ├── UpdateDataFormatDemo.Designer.cs │ ├── UpdateDataFormatDemo.cs │ └── UpdateDataFormatDemo.resx ├── Print │ ├── PrintMultipleWorksheetDemo.Designer.cs │ ├── PrintMultipleWorksheetDemo.cs │ ├── PrintMultipleWorksheetDemo.resx │ ├── PrintPreviewDemo.Designer.cs │ ├── PrintPreviewDemo.cs │ └── PrintPreviewDemo.resx ├── Program.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── Resources │ ├── Checked Checkbox-20.png │ ├── DialogGroup_5846_16x.png │ ├── Folder_6222.png │ ├── Table_748.png │ ├── Unchecked Checkbox-20.png │ ├── computer_laptop.png │ ├── image5.png │ └── loading.gif ├── Styles │ ├── BorderStylesDemo.Designer.cs │ ├── BorderStylesDemo.cs │ ├── BorderStylesDemo.resx │ ├── CustomHeaderDemo.Designer.cs │ ├── CustomHeaderDemo.cs │ ├── CustomHeaderDemo.resx │ ├── MultiSelectionDemo.Designer.cs │ ├── MultiSelectionDemo.cs │ ├── MultiSelectionDemo.resx │ ├── SelectionModeDemo.Designer.cs │ ├── SelectionModeDemo.cs │ └── SelectionModeDemo.resx ├── Welcome │ ├── WhatsNewDemo.Designer.cs │ ├── WhatsNewDemo.cs │ └── WhatsNewDemo.resx ├── WorksheetForm.Designer.cs ├── WorksheetForm.cs ├── WorksheetForm.resx ├── _Templates │ ├── CSV │ │ └── zip_code_sample.csv │ ├── Excel │ │ ├── flowchart.xlsx │ │ ├── simple-invoice.xlsx │ │ └── welcome.xlsx │ └── RGF │ │ ├── Financial_Ratios.rgf │ │ ├── Maze.rgf │ │ ├── calendar_2008_1.rgf │ │ ├── calendar_2013.rgf │ │ ├── cell_format.rgf │ │ ├── change_colors.rgf │ │ ├── merged_range.rgf │ │ ├── order_sample.rgf │ │ ├── outline.rgf │ │ ├── printable_report.rgf │ │ ├── project_building_report.rgf │ │ ├── project_cost_summary.rgf │ │ └── quick_start_sample.rgf ├── app.config ├── favicon.ico └── scripts │ ├── HandleEventsDemo.Designer.cs │ ├── HandleEventsDemo.cs │ ├── HandleEventsDemo.resx │ ├── LoadScriptDocDemo.Designer.cs │ ├── LoadScriptDocDemo.cs │ ├── LoadScriptDocDemo.resx │ ├── ReoQueryScriptDemo.Designer.cs │ ├── ReoQueryScriptDemo.cs │ ├── ReoQueryScriptDemo.resx │ ├── RunScriptDemo.Designer.cs │ ├── RunScriptDemo.cs │ └── RunScriptDemo.resx ├── DemoAvalonia ├── App.axaml ├── App.axaml.cs ├── DemoAvalonia.csproj ├── MainWindow.axaml ├── MainWindow.axaml.cs ├── Program.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── Ref │ ├── unvell.ReoGrid.XML │ └── unvell.ReoGrid.dll ├── Resources │ ├── computer_laptop_png.image │ └── order_sample.rgf ├── SlideCellBody.cs ├── TemplatedControl1.axaml ├── TemplatedControl1.axaml.cs ├── TestWindow.axaml ├── TestWindow.axaml.cs ├── _Templates │ ├── CSV │ │ └── zip_code_sample.csv │ ├── Excel │ │ ├── flowchart.xlsx │ │ ├── simple-invoice.xlsx │ │ └── welcome.xlsx │ └── RGF │ │ ├── Financial_Ratios.rgf │ │ ├── Maze.rgf │ │ ├── calendar_2008_1.rgf │ │ ├── calendar_2013.rgf │ │ ├── cell_format.rgf │ │ ├── change_colors.rgf │ │ ├── merged_range.rgf │ │ ├── order_sample.rgf │ │ ├── outline.rgf │ │ ├── printable_report.rgf │ │ ├── project_building_report.rgf │ │ ├── project_cost_summary.rgf │ │ └── quick_start_sample.rgf └── app.config ├── DemoJP.sln ├── DemoJP ├── Cell │ ├── BorderStylesDemo.Designer.cs │ ├── BorderStylesDemo.cs │ ├── BorderStylesDemo.resx │ ├── CellDataDemo.Designer.cs │ ├── CellDataDemo.cs │ ├── CellDataDemo.resx │ ├── CellStyleDemo.Designer.cs │ ├── CellStyleDemo.cs │ ├── CellStyleDemo.resx │ ├── CellTextDemo.Designer.cs │ ├── CellTextDemo.cs │ ├── CellTextDemo.resx │ ├── CellsEventDemo.Designer.cs │ ├── CellsEventDemo.cs │ ├── CellsEventDemo.resx │ ├── CustomDataFormatDemo.Designer.cs │ ├── CustomDataFormatDemo.cs │ ├── CustomDataFormatDemo.resx │ ├── IterateCellsDemo.Designer.cs │ ├── IterateCellsDemo.cs │ ├── IterateCellsDemo.resx │ ├── MergeCellsDemo.Designer.cs │ ├── MergeCellsDemo.cs │ ├── MergeCellsDemo.resx │ ├── RangeUsageDemo.Designer.cs │ ├── RangeUsageDemo.cs │ ├── RangeUsageDemo.resx │ ├── RichTextDemo.Designer.cs │ ├── RichTextDemo.cs │ └── RichTextDemo.resx ├── Chart │ ├── AreaChartDemo.Designer.cs │ ├── AreaChartDemo.cs │ ├── AreaChartDemo.resx │ ├── BarChartDemo.Designer.cs │ ├── BarChartDemo.cs │ ├── BarChartDemo.resx │ ├── ColumnChartDemo.Designer.cs │ ├── ColumnChartDemo.cs │ ├── ColumnChartDemo.resx │ ├── DoughnutChartDemo.Designer.cs │ ├── DoughnutChartDemo.cs │ ├── DoughnutChartDemo.resx │ ├── LineChartDemo.Designer.cs │ ├── LineChartDemo.cs │ ├── LineChartDemo.resx │ ├── Pie2DChartDemo.Designer.cs │ ├── Pie2DChartDemo.cs │ └── Pie2DChartDemo.resx ├── CustomCell │ ├── AnimationCellDemo.Designer.cs │ ├── AnimationCellDemo.cs │ ├── AnimationCellDemo.resx │ ├── BuiltInCellTypesDemo.Designer.cs │ ├── BuiltInCellTypesDemo.cs │ ├── BuiltInCellTypesDemo.resx │ ├── CustomDropdownDemo.Designer.cs │ ├── CustomDropdownDemo.cs │ ├── CustomDropdownDemo.resx │ ├── ImageOwnerDrawingDemo.Designer.cs │ ├── ImageOwnerDrawingDemo.cs │ ├── ImageOwnerDrawingDemo.resx │ ├── NumericProgressDemo.Designer.cs │ ├── NumericProgressDemo.cs │ ├── NumericProgressDemo.resx │ ├── SlideCellDemo.Designer.cs │ ├── SlideCellDemo.cs │ └── SlideCellDemo.resx ├── DemoCategory.xml ├── DemoForm.resx ├── DemoItemsForm.Designer.cs ├── DemoItemsForm.cs ├── DemoItemsForm.resx ├── DemoJP.csproj ├── Documents │ ├── BalanceSheetDemo.Designer.cs │ ├── BalanceSheetDemo.cs │ ├── BalanceSheetDemo.resx │ ├── DataFormatDocDemo.Designer.cs │ ├── DataFormatDocDemo.cs │ ├── DataFormatDocDemo.resx │ ├── FinancialAnalysisDemo.Designer.cs │ ├── FinancialAnalysisDemo.cs │ ├── FinancialAnalysisDemo.resx │ ├── FinancialRatiosDocDemo.Designer.cs │ ├── FinancialRatiosDocDemo.cs │ ├── FinancialRatiosDocDemo.resx │ ├── FurikaeDenpyoDemo.Designer.cs │ ├── FurikaeDenpyoDemo.cs │ ├── FurikaeDenpyoDemo.resx │ ├── InvoiceExcelDocDemo.Designer.cs │ ├── InvoiceExcelDocDemo.cs │ ├── InvoiceExcelDocDemo.resx │ ├── KamokuPanel.cs │ ├── KamokuPanel.designer.cs │ ├── KamokuPanel.resx │ ├── MazeDocDemo.Designer.cs │ ├── MazeDocDemo.cs │ ├── MazeDocDemo.resx │ ├── MonthCalendarDocDemo.Designer.cs │ ├── MonthCalendarDocDemo.cs │ ├── MonthCalendarDocDemo.resx │ ├── MonthlyPopulationStatDemo.Designer.cs │ ├── MonthlyPopulationStatDemo.cs │ ├── MonthlyPopulationStatDemo.resx │ ├── OrderDocDemo.Designer.cs │ ├── OrderDocDemo.cs │ ├── OrderDocDemo.resx │ ├── ProjectBuildReportDemo.Designer.cs │ ├── ProjectBuildReportDemo.cs │ ├── ProjectBuildReportDemo.resx │ ├── ProjectSummaryDocDemo.Designer.cs │ ├── ProjectSummaryDocDemo.cs │ ├── ProjectSummaryDocDemo.resx │ ├── StaffInformationDemo.Designer.cs │ ├── StaffInformationDemo.cs │ ├── StaffInformationDemo.resx │ ├── YearCalendarDocDemo.Designer.cs │ ├── YearCalendarDocDemo.cs │ └── YearCalendarDocDemo.resx ├── Drawings │ ├── AddingObjectDemo.Designer.cs │ ├── AddingObjectDemo.cs │ ├── AddingObjectDemo.resx │ ├── AddingObjectDemo.src.html │ ├── BasicShapesDemo.Designer.cs │ ├── BasicShapesDemo.cs │ ├── BasicShapesDemo.resx │ ├── DrawingObjectStyleDemo.Designer.cs │ ├── DrawingObjectStyleDemo.cs │ └── DrawingObjectStyleDemo.resx ├── DropdownButton.cs ├── EdgeFreeze │ ├── BottomFreezeDemo.Designer.cs │ ├── BottomFreezeDemo.cs │ ├── BottomFreezeDemo.resx │ ├── BottomLeftFreezeDemo.Designer.cs │ ├── BottomLeftFreezeDemo.cs │ ├── BottomLeftFreezeDemo.resx │ ├── BottomRightFreezeDemo.Designer.cs │ ├── BottomRightFreezeDemo.cs │ ├── BottomRightFreezeDemo.resx │ ├── LeftFreezeDemo.Designer.cs │ ├── LeftFreezeDemo.cs │ ├── LeftFreezeDemo.resx │ ├── RightFreezeDemo.Designer.cs │ ├── RightFreezeDemo.cs │ ├── RightFreezeDemo.resx │ ├── TopFreezeDemo.Designer.cs │ ├── TopFreezeDemo.cs │ ├── TopFreezeDemo.resx │ ├── TopLeftFreezeDemo.Designer.cs │ ├── TopLeftFreezeDemo.cs │ ├── TopLeftFreezeDemo.resx │ ├── TopRightFreezeDemo.Designer.cs │ ├── TopRightFreezeDemo.cs │ └── TopRightFreezeDemo.resx ├── Formula │ ├── AddressFunctionDemo.Designer.cs │ ├── AddressFunctionDemo.cs │ ├── AddressFunctionDemo.resx │ ├── CustomizeFunctionDemo.Designer.cs │ ├── CustomizeFunctionDemo.cs │ ├── CustomizeFunctionDemo.resx │ ├── GeneralFormulaDemo.Designer.cs │ ├── GeneralFormulaDemo.cs │ ├── GeneralFormulaDemo.resx │ ├── NamedRangeReferenceDemo.Designer.cs │ ├── NamedRangeReferenceDemo.cs │ └── NamedRangeReferenceDemo.resx ├── General │ ├── WhatsNewDemo.Designer.cs │ ├── WhatsNewDemo.cs │ └── WhatsNewDemo.resx ├── Performance │ ├── ComplexMergedCellDemo.Designer.cs │ ├── ComplexMergedCellDemo.cs │ ├── ComplexMergedCellDemo.resx │ ├── MaximumGridDemo.Designer.cs │ ├── MaximumGridDemo.cs │ ├── MaximumGridDemo.resx │ ├── RowPerformanceDemo.Designer.cs │ ├── RowPerformanceDemo.cs │ ├── RowPerformanceDemo.resx │ ├── UpdateDataFormatDemo.Designer.cs │ ├── UpdateDataFormatDemo.cs │ └── UpdateDataFormatDemo.resx ├── Print │ ├── PrintMultipleWorksheetDemo.Designer.cs │ ├── PrintMultipleWorksheetDemo.cs │ ├── PrintMultipleWorksheetDemo.resx │ ├── PrintPreviewDemo.Designer.cs │ ├── PrintPreviewDemo.cs │ └── PrintPreviewDemo.resx ├── Program.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── Ref ├── Resources │ ├── Briefcase Filled-32.png │ ├── Calendar-16.png │ ├── Checked Checkbox-20.png │ ├── Classroom-32.png │ ├── Conference Call-32.png │ ├── Contact Card-32.png │ ├── Contacts-32 (1).png │ ├── Contacts-32.png │ ├── DialogGroup_5846_16x.png │ ├── Folder_6222.png │ ├── Table_748.png │ ├── Unchecked Checkbox-20.png │ ├── User Group-32.png │ ├── User Groups-32.png │ ├── computer_laptop.png │ ├── find_5650.png │ ├── image5.png │ └── loading.gif ├── Scripts │ ├── HandleEventsDemo.Designer.cs │ ├── HandleEventsDemo.cs │ ├── HandleEventsDemo.resx │ ├── LoadScriptDocDemo.Designer.cs │ ├── LoadScriptDocDemo.cs │ ├── LoadScriptDocDemo.resx │ ├── ReoQueryScriptDemo.Designer.cs │ ├── ReoQueryScriptDemo.cs │ ├── ReoQueryScriptDemo.resx │ ├── RunScriptDemo.Designer.cs │ ├── RunScriptDemo.cs │ └── RunScriptDemo.resx ├── Workbook │ ├── ControlAppearanceDemo.Designer.cs │ ├── ControlAppearanceDemo.cs │ ├── ControlAppearanceDemo.resx │ ├── MultisheetDemo.Designer.cs │ ├── MultisheetDemo.cs │ ├── MultisheetDemo.resx │ ├── SynchronizeScrollDemo.Designer.cs │ ├── SynchronizeScrollDemo.cs │ └── SynchronizeScrollDemo.resx ├── Worksheet │ ├── ClipboardEventDemo.Designer.cs │ ├── ClipboardEventDemo.cs │ ├── ClipboardEventDemo.resx │ ├── ColumnFilterAndSortDemo.Designer.cs │ ├── ColumnFilterAndSortDemo.cs │ ├── ColumnFilterAndSortDemo.resx │ ├── CustomCellsForm.resx │ ├── CustomHeaderDemo.Designer.cs │ ├── CustomHeaderDemo.cs │ ├── CustomHeaderDemo.resx │ ├── CustomSelectionDemo.Designer.cs │ ├── CustomSelectionDemo.cs │ ├── CustomSelectionDemo.resx │ ├── MultiSelectionDemo.Designer.cs │ ├── MultiSelectionDemo.cs │ ├── MultiSelectionDemo.resx │ ├── OnlyNumberInputDemo.Designer.cs │ ├── OnlyNumberInputDemo.cs │ ├── OnlyNumberInputDemo.resx │ ├── OutlineDemo.Designer.cs │ ├── OutlineDemo.cs │ ├── OutlineDemo.resx │ ├── OutlineWithFreezeDemo.Designer.cs │ ├── OutlineWithFreezeDemo.cs │ ├── OutlineWithFreezeDemo.resx │ ├── PickRangeDemo.Designer.cs │ ├── PickRangeDemo.cs │ ├── PickRangeDemo.resx │ ├── SelectionModeDemo.Designer.cs │ ├── SelectionModeDemo.cs │ ├── SelectionModeDemo.resx │ ├── SetEditableRangeDemo.Designer.cs │ ├── SetEditableRangeDemo.cs │ ├── SetEditableRangeDemo.resx │ ├── ZoomDemo.Designer.cs │ ├── ZoomDemo.cs │ └── ZoomDemo.resx ├── WorksheetForm.Designer.cs ├── WorksheetForm.cs ├── WorksheetForm.resx ├── _Templates │ ├── CSV │ │ ├── 13TOKYO.CSV │ │ └── zip_code_sample.csv │ ├── Excel │ │ ├── flowchart.xlsx │ │ ├── simple-invoice.xlsx │ │ ├── welcome.xlsx │ │ ├── 振替伝票.xlsx │ │ ├── 月別人口推計.xlsx │ │ ├── 職員情報.xlsx │ │ ├── 請求書.xlsx │ │ ├── 財務分析.xlsx │ │ ├── 財務報告.xlsx │ │ ├── 貸借対照表.xlsx │ │ ├── 領収書001.xlsx │ │ └── 領収書006.xlsx │ ├── Images │ │ └── inkan.png │ └── RGF │ │ ├── 13TOKYO.rgf │ │ ├── Financial_Ratios.rgf │ │ ├── Maze.rgf │ │ ├── calendar_2008_1.rgf │ │ ├── calendar_2013.rgf │ │ ├── cell_format.rgf │ │ ├── change_colors.rgf │ │ ├── merged_range.rgf │ │ ├── order_sample.rgf │ │ ├── outline.rgf │ │ ├── printable_report.rgf │ │ ├── project_building_report.rgf │ │ ├── project_cost_summary.rgf │ │ ├── quick_start_sample.rgf │ │ ├── 商品管理.rgf │ │ └── 職員情報.rgf ├── app.config └── favicon.ico ├── DemoWPF ├── App.xaml ├── App.xaml.cs ├── DemoWPF.csproj ├── MainWindow.xaml ├── MainWindow.xaml.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── Ref │ ├── unvell.ReoGrid.XML │ └── unvell.ReoGrid.dll ├── Resources │ ├── computer_laptop_png.image │ └── order_sample.rgf ├── SlideCellBody.cs ├── TestWindow.xaml ├── TestWindow.xaml.cs └── app.config ├── Editor ├── AddressFieldControl.Designer.cs ├── AddressFieldControl.cs ├── AddressFieldControl.resx ├── Common │ ├── FontToolkit.cs │ └── GraphicsToolkit.cs ├── ControlAppearanceEditorForm.Designer.cs ├── ControlAppearanceEditorForm.cs ├── ControlAppearanceEditorForm.resx ├── DefineNamedRangeDialog.Designer.cs ├── DefineNamedRangeDialog.cs ├── DefineNamedRangeDialog.resx ├── Editor.csproj ├── FormulaBarControl.Designer.cs ├── FormulaBarControl.cs ├── FormulaBarControl.resx ├── HeaderPropertyDialog.Designer.cs ├── HeaderPropertyDialog.cs ├── HeaderPropertyDialog.resx ├── LangRes │ ├── LangResource.Designer.cs │ ├── LangResource.ja-JP.Designer.cs │ ├── LangResource.ja-JP.resx │ ├── LangResource.resx │ ├── LangResource.ru-RU.Designer.cs │ ├── LangResource.ru-RU.resx │ ├── LangResource.zh-CN.Designer.cs │ └── LangResource.zh-CN.resx ├── NamedRangeManageForm.Designer.cs ├── NamedRangeManageForm.cs ├── NamedRangeManageForm.resx ├── PrintSettingsDialog.Designer.cs ├── PrintSettingsDialog.cs ├── PrintSettingsDialog.resx ├── Program.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── PropertyPages │ ├── AlignmentPage.Designer.cs │ ├── AlignmentPage.cs │ ├── AlignmentPage.resx │ ├── BorderPage.Designer.cs │ ├── BorderPage.cs │ ├── BorderPage.resx │ ├── FillPage.Designer.cs │ ├── FillPage.cs │ ├── FillPage.resx │ ├── FormatPage.Designer.cs │ ├── FormatPage.cs │ ├── FormatPage.resx │ ├── PropertyForm.Designer.cs │ ├── PropertyForm.cs │ ├── PropertyForm.resx │ ├── ProtectionPage.Designer.cs │ ├── ProtectionPage.cs │ └── ProtectionPage.resx ├── ReoGridEditor.Designer.cs ├── ReoGridEditor.cs ├── ReoGridEditor.resx ├── ResizeGridDialog.Designer.cs ├── ResizeGridDialog.cs ├── ResizeGridDialog.resx ├── Resources │ ├── AlignLayoutBottom.png │ ├── AlignLayoutMiddle.png │ ├── AlignLayoutTop.png │ ├── AlignTableCellMiddleCenterHS.png │ ├── AlignTableCellMiddleLeftJustHS.PNG │ ├── AlignTableCellMiddleRightHS.png │ ├── ColorHS.png │ ├── CopyHS.png │ ├── CutHS.png │ ├── Edit_RedoHS.png │ ├── Edit_UndoHS.png │ ├── Filter2HS.png │ ├── FontDialogHS.png │ ├── FunctionHS.png │ ├── LandscapeHH.bmp │ ├── NewDocumentHS.png │ ├── PageWidthHS.png │ ├── PasteHS.png │ ├── PortraitHH.bmp │ ├── PrintPreviewHS.png │ ├── PropertiesHS.png │ ├── RadialChartHS.png │ ├── RepeatHS.png │ ├── ShowGridlines2HS.png │ ├── VSProject_script.bmp │ ├── all_bold.png │ ├── all_dash.png │ ├── all_design.png │ ├── all_design_32.png │ ├── all_dot.png │ ├── all_solid.png │ ├── bold.png │ ├── bottom_line_bold.png │ ├── bottom_line_dash.png │ ├── bottom_line_dot.png │ ├── bottom_line_solid.png │ ├── bounds_bold.png │ ├── bounds_dash.png │ ├── bounds_dot.png │ ├── bounds_solid.png │ ├── cell_merge.png │ ├── cell_merge_bak.png │ ├── cell_unmerge.png │ ├── center_line_bold.png │ ├── center_line_dash.png │ ├── center_line_dot.png │ ├── center_line_solid.png │ ├── font_larger.png │ ├── font_smaller.png │ ├── full_col_select.cur │ ├── full_row_select.cur │ ├── grid_select.cur │ ├── inside_bold.png │ ├── inside_dash.png │ ├── inside_dot.png │ ├── inside_solid.png │ ├── inside_solid_32.png │ ├── italic.png │ ├── left_bottom_bold.png │ ├── left_bottom_dash.png │ ├── left_bottom_dot.png │ ├── left_bottom_solid.png │ ├── left_line_bold.png │ ├── left_line_dash.png │ ├── left_line_dot.png │ ├── left_line_solid.png │ ├── left_right_blod.png │ ├── left_right_dash.png │ ├── left_right_dot.png │ ├── left_right_solid.png │ ├── left_top_bold.png │ ├── left_top_dot.png │ ├── left_top_solid.png │ ├── middle_line_bold.png │ ├── middle_line_dash.png │ ├── middle_line_dot.png │ ├── middle_line_solid.png │ ├── none_border.png │ ├── none_border_32.png │ ├── openHS.png │ ├── outline_bold.png │ ├── outline_dash.png │ ├── outline_dot.png │ ├── outline_solid.png │ ├── outline_solid_32.png │ ├── pick_range.cur │ ├── right_bottom_bold.png │ ├── right_bottom_dot.png │ ├── right_bottom_solid.png │ ├── right_line_bold.png │ ├── right_line_dash.png │ ├── right_line_dot.png │ ├── right_line_solid.png │ ├── right_top_bold.png │ ├── right_top_dot.png │ ├── right_top_solid.png │ ├── saveHS.png │ ├── slash_left_blod.png │ ├── slash_left_dash.png │ ├── slash_left_dot.png │ ├── slash_left_solid.png │ ├── slash_right_blod.png │ ├── slash_right_dash.png │ ├── slash_right_dot.png │ ├── slash_right_solid.png │ ├── strikethrough.png │ ├── style_brush.png │ ├── textwrap.png │ ├── toolbar_get_info.png │ ├── top_bottom_bold.png │ ├── top_bottom_dash.png │ ├── top_bottom_dot.png │ ├── top_bottom_solid.png │ ├── top_line_bold.png │ ├── top_line_dash.png │ ├── top_line_dot.png │ ├── top_line_solid.png │ ├── trash.cur │ └── underlinee.png ├── RunFunctionForm.Designer.cs ├── RunFunctionForm.cs ├── RunFunctionForm.resx ├── SetWidthOrHeightDialog.cs ├── SetWidthOrHeightDialog.designer.cs ├── SetWidthOrHeightDialog.resx ├── UIControls │ ├── ColorControls │ │ ├── ColorComboBox.cs │ │ ├── ColorPickerControl.cs │ │ ├── ColorPickerPanel.cs │ │ ├── ColorPickerToolStripItem.cs │ │ └── ColorPickerWindow.cs │ ├── ColoredListBox.cs │ ├── FillPatternComboBox.cs │ ├── FlatTabControl.cs │ ├── FontControls │ │ ├── FontDropDownControl.cs │ │ ├── FontListBox.cs │ │ ├── FontSettingsControl.cs │ │ ├── FontSettingsControl.designer.cs │ │ ├── FontSettingsControl.resx │ │ └── FontToolStripDropDown.cs │ ├── FormLine.cs │ ├── LineControls │ │ ├── LineStyleControl.cs │ │ └── LineWeightControl.cs │ └── TextRotateControl.cs ├── app.config ├── favicon.ico └── script │ └── default.reo ├── LICENSE ├── License.ANTLR 3.txt ├── License.DotNetZipLib.txt ├── License.FastColoredTextBox.txt ├── License.ReoScript.txt ├── License.bzip2.txt ├── License.zlib.txt ├── NuGet └── icon.png ├── README.md ├── Ref ├── Antlr3.Runtime.dll ├── FastColoredTextBox.dll ├── unvell.ReoScript.EditorLib.dll └── unvell.ReoScript.dll ├── ReoGrid.sln ├── ReoGrid ├── Actions │ ├── AddOutlineAction.cs │ ├── AutoFillSerialAction.cs │ ├── BackupRangeInfo.cs │ ├── BaseOutlineAction.cs │ ├── BaseWorksheetAction.cs │ ├── ClearOutlineAction.cs │ ├── CollapseOutlineAction.cs │ ├── CopyRangeAction.cs │ ├── CreateAutoFilterAction.cs │ ├── CutRangeAction.cs │ ├── ExpandOutlineAction.cs │ ├── HideColumnsAction.cs │ ├── HideRowsAction.cs │ ├── InsertColumnsAction.cs │ ├── InsertRowsAction.cs │ ├── InsertWorksheetAction.cs │ ├── MergeRangeAction.cs │ ├── MoveRangeAction.cs │ ├── OutlineAction.cs │ ├── RemoveColumnsAction.cs │ ├── RemoveOutlineAction.cs │ ├── RemoveRangeBorderAction.cs │ ├── RemoveRangeDataAction.cs │ ├── RemoveRangeStyleAction.cs │ ├── RemoveRowsAction.cs │ ├── RemoveWorksheetAction.cs │ ├── SetCellDataAction.cs │ ├── SetColumnsWidthAction.cs │ ├── SetPartialGridAction.cs │ ├── SetRangeBorderAction.cs │ ├── SetRangeDataAction.cs │ ├── SetRangeDataFormatAction.cs │ ├── SetRangeStyleAction.cs │ ├── SetRowsHeightAction.cs │ ├── SetSortedRangeDataAction.cs │ ├── StepRangeFontSizeAction.cs │ ├── UnhideColumnsAction.cs │ ├── UnhideRowsAction.cs │ ├── UnmergeRangeAction.cs │ ├── WorkbookAction.cs │ ├── WorksheetActionGroup.cs │ ├── WorksheetReusableAction.cs │ └── WorksheetReusableActionGroup.cs ├── Android │ ├── Graphics.cs │ ├── Platform.cs │ ├── Renderer.cs │ └── ReoGridView.cs ├── Avalonia │ ├── AvaloniaControl.cs │ ├── AvaloniaDashStyles.cs │ ├── AvaloniaUtility.cs │ ├── FilterGUI.cs │ ├── Platform.cs │ ├── Renderer.cs │ ├── SheetTabControl.cs │ └── Utility.cs ├── CellTypes │ ├── ButtonCell.cs │ ├── CellBody.cs │ ├── CellTypesManager.cs │ ├── CheckboxCell.cs │ ├── ColumnDropdownListCell.cs │ ├── DatePickerCell.cs │ ├── DropdownCell.cs │ ├── DropdownListCell.cs │ ├── HyperLinkCell.cs │ ├── ICellBody.cs │ ├── IHeaderBody.cs │ ├── ImageButtonCell.cs │ ├── ImageCell.cs │ ├── NegativeProgressCell.cs │ ├── NumberInputCell.cs │ ├── ProgressCell.cs │ └── RadioButtonCell.cs ├── Chart │ ├── AreaLine.cs │ ├── Axis.cs │ ├── Bar.cs │ ├── Chart.cs │ ├── Column.cs │ ├── DataSource.cs │ ├── Interface.cs │ ├── Legend.cs │ ├── Line.cs │ ├── Pie.cs │ ├── PlotView.cs │ ├── Style.cs │ ├── Title.cs │ └── Utility.cs ├── ClipboardMonitor.cs ├── Common │ ├── ActionManager.cs │ ├── GraphicsToolkit.cs │ ├── Logger.cs │ ├── ResourcePoolManager.cs │ ├── TextFormatHelper.cs │ ├── Toolkit.cs │ └── Win32.cs ├── Control │ ├── ControlShare.cs │ ├── ISheetTabControl.cs │ └── Interfaces.cs ├── Core │ ├── AutoFillSerial │ │ ├── AutoFillSection.cs │ │ ├── AutoFillSectionEntryFactory.cs │ │ ├── AutoFillSequence.cs │ │ ├── IAutoFillSectionEntry.cs │ │ ├── NullAutoFillSectionEntry.cs │ │ ├── NumericalAutoFillSectionEntry.cs │ │ └── TextAutoFillSectionEntry.cs │ ├── Border.cs │ ├── CSV.cs │ ├── Cell.cs │ ├── Cell │ │ ├── Merge.cs │ │ └── Text.cs │ ├── Clipboard.cs │ ├── Comment.cs │ ├── Data.cs │ ├── DataBind.cs │ ├── DataFormat.cs │ ├── Drawing.cs │ ├── FilterSort.cs │ ├── Formula.cs │ ├── Header.cs │ ├── Outline.cs │ ├── PartialGrid.cs │ ├── Position.cs │ ├── Print.cs │ ├── Range.cs │ ├── Range │ │ ├── HighlightRange.cs │ │ ├── Merge.cs │ │ ├── NamedRange.cs │ │ └── ReferenceRange.cs │ ├── Style.cs │ ├── ViewControl.cs │ ├── Workbook │ │ ├── Appearance.cs │ │ ├── Languages.cs │ │ ├── Workbook.cs │ │ ├── WorkbookInterface.cs │ │ └── WorksheetCollection.cs │ └── Worksheet │ │ ├── Edit.cs │ │ ├── Enums.cs │ │ ├── InitReset.cs │ │ ├── PositionCalc.cs │ │ ├── Selection.cs │ │ ├── Settings.cs │ │ ├── Utility.cs │ │ └── WorksheetInterface.cs ├── Data │ ├── AutoFilter.cs │ ├── DataSource.cs │ └── DataStruct.cs ├── DataFormat │ ├── CurrencyDataFormatter.cs │ ├── DataFormatterManager.cs │ ├── DateTimeDataFormatter.cs │ ├── GeneralDataFormatter.cs │ ├── NumberDataFormatter.cs │ ├── PercentDataFormatter.cs │ └── TextDataFormatter.cs ├── Drawing │ ├── Canvas.cs │ ├── Component.cs │ ├── DrawingContext.cs │ ├── DrawingObjects.cs │ ├── Events.cs │ ├── IDrawing.cs │ ├── IFloating.cs │ ├── Image.cs │ ├── Layout.cs │ ├── Shapes │ │ ├── BasicShapes.cs │ │ ├── DiamondShape.cs │ │ ├── Line.cs │ │ ├── ProShapes.cs │ │ ├── ShapeObject.cs │ │ └── SmartShaps │ │ │ └── BlockArcShape.cs │ ├── Style.cs │ └── Text.cs ├── EventArgs.cs ├── Exceptions.cs ├── ExtendTrigger.cs ├── Formula │ ├── Evaluator.cs │ ├── FormulaExtension.cs │ ├── FunctionNames.cs │ ├── Functions.cs │ ├── Parser.cs │ └── Refactor.cs ├── GenericExtends.cs ├── Graphics │ ├── Color.cs │ ├── Font.cs │ ├── HatchStyles.cs │ ├── IBrush.cs │ ├── IGraphics.cs │ ├── LineStyle.cs │ ├── Matrix.cs │ ├── Point.cs │ ├── Rectangle.cs │ └── Size.cs ├── IO │ ├── CSVFormat.cs │ ├── ExcelReader.cs │ ├── ExcelSchame.cs │ ├── ExcelWriter.cs │ ├── FileFormat.cs │ ├── HTMLExporter.cs │ ├── OpenXMLUtility.cs │ ├── RGFFormat.cs │ └── XMLFileFormat.cs ├── Interaction │ ├── CursorStyle.cs │ ├── KeyCode.cs │ ├── MouseButtons.cs │ ├── ToggleStatus.cs │ └── Visual.cs ├── Print │ ├── AvaloniaPrinter.cs │ ├── GDIPrint.cs │ ├── PDFPrint.cs │ ├── PaperSize.cs │ ├── PrintInterface.cs │ ├── PrintSession.cs │ ├── PrintSettings.cs │ └── WPFPrinter.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── DateTimeFormat.Designer.cs │ ├── DateTimeFormat.it.resx │ ├── DateTimeFormat.resx │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ ├── Settings.settings │ └── launchSettings.json ├── Rendering │ ├── BorderPainter.cs │ ├── DrawingContext.cs │ ├── PDF.cs │ └── RenderingInterface.cs ├── ReoGrid.csproj ├── ReoGridAvalonia.csproj ├── ReoGridWPF.csproj ├── Resources │ ├── EULA_EN.txt │ ├── NewBuildDefinition_8952.png.dat │ ├── NewBuildDefinition_8952_inactive.png.dat │ ├── all_design.png │ ├── all_design_32.png │ ├── base_lib.reo │ ├── blank.xlsx │ ├── cell_merge_bak.png │ ├── cross.cur │ ├── eye_16xLG.png.dat │ ├── full_col_select.cur │ ├── full_row_select.cur │ ├── grid_select.cur │ ├── icon_list.png.dat │ ├── none_border.png │ ├── pick_range.cur │ └── theme1.xml ├── Script │ ├── RSObjects.cs │ └── ScriptExtend.cs ├── Settings.cs ├── Test │ ├── RichTextTestForm.Designer.cs │ ├── RichTextTestForm.cs │ └── RichTextTestForm.resx ├── Utility │ ├── ColorUtility.cs │ ├── DotNet35ZipImpl.cs │ ├── DotNetZipImpl.cs │ ├── FileUtility.cs │ ├── LangUtility.cs │ ├── MeasureToolkit.cs │ ├── PrinterUtility.cs │ ├── RGUtility.cs │ ├── StyleUtility.cs │ ├── SystemIOZipImpl.cs │ ├── TestHelper.cs │ ├── XMLHelper.cs │ └── ZipFileArchive.cs ├── Views │ ├── CellsForegroundView.cs │ ├── CellsViewport.cs │ ├── CommentView.cs │ ├── Controllers │ │ ├── IFreezableViewportController.cs │ │ ├── IScalableViewportController.cs │ │ ├── IScrollableViewportController.cs │ │ ├── IViewportController.cs │ │ ├── NormalViewportController.cs │ │ ├── PageLayoutViewportController.cs │ │ └── ViewportController.cs │ ├── DrawingViewport.cs │ ├── GridRegion.cs │ ├── Header │ │ ├── ColumnHeaderView.cs │ │ ├── HeaderViews.cs │ │ ├── LeadHeaderView.cs │ │ ├── RowHeaderView.cs │ │ ├── SpaceView.cs │ │ └── XRulerView.cs │ ├── IRangeSelectableView.cs │ ├── IView.cs │ ├── IViewport.cs │ ├── LayerExtension.cs │ ├── LayerViewport.cs │ ├── OutlineViews.cs │ ├── SheetViewport.cs │ ├── View.cs │ ├── ViewTypes.cs │ └── Viewport.cs ├── WPF │ ├── FilterGUI.cs │ ├── Platform.cs │ ├── Renderer.cs │ ├── SheetTabControl.cs │ ├── Utility.cs │ └── WPFControl.cs ├── WinForm │ ├── AboutForm.Designer.cs │ ├── AboutForm.cs │ ├── AboutForm.resx │ ├── DebugForm.Designer.cs │ ├── DebugForm.cs │ ├── DebugForm.resx │ ├── Designer │ │ ├── EditorServiceContext.cs │ │ ├── IntegrateDesigner.cs │ │ ├── WorkbookEditor.cs │ │ ├── WorkbookEditorForm.Designer.cs │ │ ├── WorkbookEditorForm.cs │ │ └── WorkbookEditorForm.resx │ ├── FilterGUI.cs │ ├── FormulaParserForm.cs │ ├── FormulaParserForm.designer.cs │ ├── FormulaParserForm.resx │ ├── Graphics.cs │ ├── Platform.cs │ ├── RenameSheetDialog.Designer.cs │ ├── RenameSheetDialog.cs │ ├── RenameSheetDialog.resx │ ├── SheetTabControl.cs │ └── WinFormControl.cs ├── Worksheet.cs ├── appsettings.json ├── favicon.ico ├── globalusing.cs └── iOS │ ├── Graphics.cs │ ├── Platform.cs │ ├── Renderer.cs │ └── ReoGridView.cs ├── ReoGridAndroid.sln ├── ReoGridAvalonia.sln ├── ReoGridWPF.sln ├── Samples ├── Tetris.reo ├── background_color_patterns.rgf └── input_form.rgf ├── Snapshots ├── 01_2.png ├── 02.png ├── 08.png ├── 21.png ├── 27.png ├── 276.png ├── 61.png └── 62.png ├── TestCase.sln ├── TestCase ├── ConsoleRunner.cs ├── Program.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ ├── Settings.settings │ └── launchSettings.json ├── Resources │ ├── CheckBoxDeHS.png │ ├── CheckBoxHS.png │ ├── DataContainer_MoveNextHS.png │ ├── FormRunHS.png │ ├── cmd.png │ └── reogrid.lic ├── RunForm.Designer.cs ├── RunForm.cs ├── RunForm.resx ├── TestCase.csproj ├── TestCaseManager.cs ├── Tests │ ├── BorderTest.cs │ ├── CellDataTest.cs │ ├── CellFormatTest.cs │ ├── CellSizeTest.cs │ ├── CellsTypeTest.cs │ ├── ClipboardTest.cs │ ├── ColumnFilterTest.cs │ ├── CustomCellTest.cs │ ├── DeleteColsTest.cs │ ├── DeleteRowsTest.cs │ ├── DoActionTest.cs │ ├── ExcelInTest.cs │ ├── ExcelOutTest.cs │ ├── FloatingTest.cs │ ├── FormulaTest.cs │ ├── FreezeTest.cs │ ├── FunctionTest.cs │ ├── GenericTest.cs │ ├── InoprtExportTest.cs │ ├── InsertColsTest.cs │ ├── InsertRowsTest.cs │ ├── MemWorkbookTest.cs │ ├── MergeCellsTest.cs │ ├── OutlineTest.cs │ ├── PartialGridTest.cs │ ├── PosAndRangeTests.cs │ ├── PrintTest.cs │ ├── RGFTest.cs │ ├── RichTextTest.cs │ ├── ScriptTest.cs │ ├── SelectionTest.cs │ ├── StyleTest.cs │ └── WorkbookTest.cs ├── TestsNUnit │ └── AutoFillSerialTests.cs ├── app.config ├── packages.config ├── rgf │ ├── 4FactorsGrid.rgf │ ├── Elimination2.rgf │ └── printable_report.rgf └── xlsx │ ├── A01.xlsx │ ├── A02.xlsx │ ├── A03.xlsx │ ├── A04.xlsx │ └── A05.xlsx └── build-release.bat /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: unvell 4 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | ``` 11 | !!! Remove this before you submit the issue !!! 12 | 13 | Providing code or test projects to reproduce the bug is important. 14 | We may close the issue without resolving it if the issue doesn't include any sample code or reproducing steps. 15 | 16 | Thank you for your cooperation! 17 | ``` 18 | 19 | ## Description 20 | A clear and concise description of what the bug is. 21 | 22 | ## To Reproduce 23 | 24 | 1. Go to '...' 25 | 2. Click on '....' 26 | 3. Scroll down to '....' 27 | 4. See error 28 | 29 | ## Screenshots 30 | Press ctrl+v to paste and upload the snapshot images. 31 | 32 | ## Edition 33 | Which edition of ReoGrid do you using? 34 | - Windows Form 35 | - WPF 36 | 37 | ## Environment 38 | - OS: [e.g. Windows 10] 39 | - Language of OS: English 40 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | ## Describe the feature 11 | Describe the feature you requested... 12 | 13 | ## Which edition of ReoGrid is targeted 14 | - Windows Form 15 | - WPF 16 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Welcome to join us. We appreciate every contribution. 4 | 5 | We hope this guideline can help you easily to create issues or pull requests. 6 | 7 | ## Issues 8 | - For a bug report, please describes how to reproduce the bug and this is very important (you can use the issue template for report bugs) 9 | - For a feature request, please note that the open-source community of ReoGrid only accepts the feature that can be considered as a common feature of a component, for any personal or customized business logic, please consider purchasing the technical support via email to info at reogrid.net 10 | 11 | ## Pull requests 12 | 13 | Before you submit a pull request, check whether it meets the following. 14 | - Write a clear reason describes why you submit the pull request and how your code works 15 | - To fix an issue, you can simply provide a link to the issue 16 | - Note that your changes will be available to every ReoGrid user, don't provide any personal or customized business logic in the pull request 17 | - Use the latest version of Visual Studio 18 | - Write comments in English only 19 | - Provide the test cases for your changes 20 | 21 | ## Privacy and Visibility 22 | 23 | Your name and email address registered on GitHub may be included in the contributor list and it is visible to everyone. If you don't agree with it, free feel to let us know. 24 | 25 | For a company user, we can display your company name and logo on the user list of the ReoGrid site. Tell us if you wanted with name and logos. 26 | -------------------------------------------------------------------------------- /Demo/CellAndRange/AccessRangeData.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Data; 23 | using System.Drawing; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.CellAndRange 29 | { 30 | public partial class AccessRangeData : UserControl 31 | { 32 | private Worksheet sheet; 33 | 34 | public AccessRangeData() 35 | { 36 | InitializeComponent(); 37 | 38 | sheet = grid.CurrentWorksheet; 39 | 40 | this.SetRangeFromTwoDimensionalArray(); 41 | } 42 | 43 | void SetRangeFromTwoDimensionalArray() 44 | { 45 | sheet["A1"] = new object[,] { 46 | { 1, 2, 3, 4, 5}, 47 | { "A", "B", "C", "D", "E"}, 48 | { DateTime.Now, new DateTime(2015, 3, 26), "=A1*2", "=NOW()", null }, 49 | }; 50 | } 51 | 52 | 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /Demo/CellAndRange/IterateCellsAndBorders.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Data; 23 | using System.Drawing; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.CellAndRange 29 | { 30 | public partial class IterateCellsAndBorders : UserControl 31 | { 32 | private Worksheet sheet; 33 | 34 | public IterateCellsAndBorders() 35 | { 36 | InitializeComponent(); 37 | 38 | sheet = grid.CurrentWorksheet; 39 | 40 | this.SetRangeFromTwoDimensionalArray(); 41 | } 42 | 43 | void SetRangeFromTwoDimensionalArray() 44 | { 45 | 46 | } 47 | 48 | 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Demo/Documents/OrderDocDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Drawing; 23 | using System.Data; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.Documents 29 | { 30 | public partial class OrderDocDemo : UserControl 31 | { 32 | public OrderDocDemo() 33 | { 34 | InitializeComponent(); 35 | 36 | // get first worksheet instance 37 | var sheet = reoGridControl.Worksheets[0]; 38 | 39 | // load tepmlate from RGF file. 40 | // RGF file is a file format that contains worksheet information, 41 | // such as data, styles, borders, formula and etc, RGF file can 42 | // be saved and loaded by ReoGrid and ReoGridEditor. 43 | // 44 | // https://reogrid.net/document/rgf-format 45 | // 46 | sheet.LoadRGF("_Templates\\RGF\\order_sample.rgf"); 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Demo/Drawings/BasicShapesDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Data; 23 | using System.Drawing; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | using unvell.ReoGrid; 29 | 30 | namespace unvell.ReoGrid.Demo.Drawings 31 | { 32 | public partial class BasicShapesDemo : UserControl 33 | { 34 | public BasicShapesDemo() 35 | { 36 | InitializeComponent(); 37 | } 38 | 39 | protected override void OnLoad(EventArgs e) 40 | { 41 | base.OnLoad(e); 42 | 43 | var worksheet = this.grid.CurrentWorksheet; 44 | 45 | Drawing.Shapes.RectangleShape rect = new Drawing.Shapes.RectangleShape() 46 | { 47 | Location = new Graphics.Point(300, 100), 48 | Size = new Graphics.Size(100, 100), 49 | }; 50 | 51 | worksheet.FloatingObjects.Add(rect); 52 | 53 | } 54 | 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /Demo/EdgeFreeze/BottomFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Data; 23 | using System.Drawing; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.Features.EdgeFreeze 29 | { 30 | public partial class BottomFreezeDemo : UserControl 31 | { 32 | public BottomFreezeDemo() 33 | { 34 | InitializeComponent(); 35 | } 36 | 37 | protected override void OnLoad(EventArgs e) 38 | { 39 | base.OnLoad(e); 40 | 41 | var worksheet = reoGridControl.CurrentWorksheet; 42 | 43 | worksheet.Resize(100, 20); 44 | 45 | // freeze to bottom 46 | worksheet.FreezeToCell(90, 0, FreezeArea.Bottom); 47 | 48 | worksheet[95, 5] = "frozen region"; 49 | worksheet[6, 5] = "active region"; 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Demo/EdgeFreeze/BottomLeftFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Data; 23 | using System.Drawing; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.Features.EdgeFreeze 29 | { 30 | public partial class BottomLeftFreezeDemo : UserControl 31 | { 32 | public BottomLeftFreezeDemo() 33 | { 34 | InitializeComponent(); 35 | } 36 | 37 | protected override void OnLoad(EventArgs e) 38 | { 39 | base.OnLoad(e); 40 | 41 | var worksheet = reoGridControl.CurrentWorksheet; 42 | 43 | worksheet.Reset(100, 30); 44 | 45 | // freeze to bottom left 46 | worksheet.FreezeToCell(85, 5, FreezeArea.LeftBottom); 47 | 48 | worksheet[90, 2] = "frozen region"; 49 | worksheet[5, 7] = "active region"; 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Demo/EdgeFreeze/BottomRightFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Data; 23 | using System.Drawing; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.Features.EdgeFreeze 29 | { 30 | public partial class BottomRightFreezeDemo : UserControl 31 | { 32 | public BottomRightFreezeDemo() 33 | { 34 | InitializeComponent(); 35 | } 36 | 37 | protected override void OnLoad(EventArgs e) 38 | { 39 | base.OnLoad(e); 40 | 41 | var worksheet = reoGridControl.CurrentWorksheet; 42 | 43 | worksheet.Reset(100, 30); 44 | 45 | // freeze to bottom right 46 | worksheet.FreezeToCell(85, 25, FreezeArea.RightBottom); 47 | 48 | worksheet[90, 27] = "frozen region"; 49 | worksheet[5, 3] = "active region"; 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Demo/EdgeFreeze/LeftFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Data; 23 | using System.Drawing; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.Features.EdgeFreeze 29 | { 30 | public partial class LeftFreezeDemo : UserControl 31 | { 32 | public LeftFreezeDemo() 33 | { 34 | InitializeComponent(); 35 | } 36 | 37 | protected override void OnLoad(EventArgs e) 38 | { 39 | base.OnLoad(e); 40 | 41 | var worksheet = reoGridControl.CurrentWorksheet; 42 | 43 | // freeze to left 44 | worksheet.FreezeToCell(0, 5, FreezeArea.Left); 45 | 46 | worksheet[5, 1] = "frozen region"; 47 | worksheet[5, 7] = "active region"; 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Demo/EdgeFreeze/RightFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Data; 23 | using System.Drawing; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.Features.EdgeFreeze 29 | { 30 | public partial class RightFreezeDemo : UserControl 31 | { 32 | public RightFreezeDemo() 33 | { 34 | InitializeComponent(); 35 | } 36 | 37 | protected override void OnLoad(EventArgs e) 38 | { 39 | base.OnLoad(e); 40 | 41 | var worksheet = reoGridControl.CurrentWorksheet; 42 | 43 | worksheet.Reset(100, 30); 44 | 45 | // freeze to right 46 | worksheet.FreezeToCell(0, 25, FreezeArea.Right); 47 | 48 | worksheet[5, 27] = "frozen region"; 49 | worksheet[5, 5] = "active region"; 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Demo/EdgeFreeze/TopFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Data; 23 | using System.Drawing; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.Features.EdgeFreeze 29 | { 30 | public partial class TopFreezeDemo : UserControl 31 | { 32 | public TopFreezeDemo() 33 | { 34 | InitializeComponent(); 35 | } 36 | 37 | protected override void OnLoad(EventArgs e) 38 | { 39 | base.OnLoad(e); 40 | 41 | var worksheet = reoGridControl.CurrentWorksheet; 42 | 43 | // freeze to top 44 | worksheet.FreezeToCell(10, 0, FreezeArea.Top); 45 | 46 | worksheet[5, 5] = "frozen region"; 47 | worksheet[12, 5] = "active region"; 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Demo/EdgeFreeze/TopLeftFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Data; 23 | using System.Drawing; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.Features.EdgeFreeze 29 | { 30 | public partial class TopLeftFreezeDemo : UserControl 31 | { 32 | public TopLeftFreezeDemo() 33 | { 34 | InitializeComponent(); 35 | } 36 | 37 | protected override void OnLoad(EventArgs e) 38 | { 39 | base.OnLoad(e); 40 | 41 | var worksheet = reoGridControl.CurrentWorksheet; 42 | 43 | worksheet.Resize(100, 30); 44 | 45 | // freeze to top left 46 | worksheet.FreezeToCell(10, 5, FreezeArea.LeftTop); 47 | 48 | worksheet[5, 1] = "frozen region"; 49 | worksheet[15, 7] = "active region"; 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Demo/EdgeFreeze/TopRightFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Data; 23 | using System.Drawing; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.Features.EdgeFreeze 29 | { 30 | public partial class TopRightFreezeDemo : UserControl 31 | { 32 | public TopRightFreezeDemo() 33 | { 34 | InitializeComponent(); 35 | } 36 | 37 | protected override void OnLoad(EventArgs e) 38 | { 39 | base.OnLoad(e); 40 | 41 | var worksheet = reoGridControl.CurrentWorksheet; 42 | 43 | worksheet.Reset(100, 30); 44 | 45 | // freeze to top right 46 | worksheet.FreezeToCell(10, 25, FreezeArea.RightTop); 47 | 48 | worksheet[5, 27] = "frozen region"; 49 | worksheet[15, 3] = "active region"; 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Demo/Features/ColumnFilterAndSortDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Drawing; 23 | using System.Data; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.Features 29 | { 30 | public partial class ColumnFilterAndSortDemo : UserControl 31 | { 32 | private Worksheet worksheet; 33 | 34 | public ColumnFilterAndSortDemo() 35 | { 36 | InitializeComponent(); 37 | 38 | // get current worksheet 39 | worksheet = grid.CurrentWorksheet; 40 | 41 | // load data from csv file 42 | worksheet.LoadCSV("_Templates\\csv\\zip_code_sample.csv"); 43 | 44 | // create filter and sort user interface, from A column to O column 45 | worksheet.CreateColumnFilter("A", "O"); 46 | } 47 | 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Demo/Features/OutlineDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Drawing; 23 | using System.Data; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.Features 29 | { 30 | public partial class OutlineDemo : UserControl 31 | { 32 | private Worksheet worksheet; 33 | 34 | public OutlineDemo() 35 | { 36 | InitializeComponent(); 37 | 38 | // get current worksheet 39 | worksheet = grid.CurrentWorksheet; 40 | 41 | // load worksheet with outlines from RGF file 42 | worksheet.LoadRGF("_Templates\\RGF\\outline.rgf"); 43 | } 44 | 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Demo/Features/OutlineWithFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Data; 23 | using System.Drawing; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.Features 29 | { 30 | public partial class OutlineWithFreezeDemo : UserControl 31 | { 32 | public OutlineWithFreezeDemo() 33 | { 34 | InitializeComponent(); 35 | 36 | var worksheet = grid.CurrentWorksheet; 37 | 38 | for (int i = 1; i < 9; i++) 39 | { 40 | worksheet.GroupRows(4, i); 41 | } 42 | for (int i = 1; i < 9; i++) 43 | { 44 | worksheet.GroupColumns(2, i); 45 | } 46 | 47 | worksheet.FreezeToCell(5, 5); 48 | 49 | worksheet[2, 2] = "Sample of outlines with frozen cells."; 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Demo/Features/ZoomDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Data; 23 | using System.Drawing; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.Features 29 | { 30 | public partial class ZoomDemo : UserControl 31 | { 32 | private Worksheet worksheet; 33 | 34 | public ZoomDemo() 35 | { 36 | InitializeComponent(); 37 | 38 | this.worksheet = grid.CurrentWorksheet; 39 | 40 | for (int r = 0; r < 50; r++) 41 | { 42 | for (int c = 0; c < 20; c++) 43 | { 44 | worksheet[r, c] = (r + 1) * (c + 1); 45 | } 46 | } 47 | } 48 | 49 | private void trackBar1_Scroll(object sender, EventArgs e) 50 | { 51 | worksheet.ScaleFactor = trackBar1.Value / 10f; 52 | 53 | label2.Text = "Current: " + (worksheet.ScaleFactor * 100) + "%"; 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /Demo/Performance/ComplexMergedCellDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Data; 23 | using System.Drawing; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.Performance 29 | { 30 | public partial class ComplexMergedCellDemo : UserControl 31 | { 32 | public ComplexMergedCellDemo() 33 | { 34 | InitializeComponent(); 35 | 36 | var worksheet = grid.CurrentWorksheet; 37 | 38 | worksheet.LoadRGF("_Templates\\RGF\\merged_range.rgf"); 39 | 40 | worksheet["B20"] = "High performance on handling merged cells, try move cursor or select across merged cells."; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Demo/Performance/MaximumSheetDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System.Windows.Forms; 20 | 21 | namespace unvell.ReoGrid.Demo.Performance 22 | { 23 | public partial class MaximumSheetDemo : UserControl 24 | { 25 | public MaximumSheetDemo() 26 | { 27 | InitializeComponent(); 28 | 29 | var worksheet = grid.CurrentWorksheet; 30 | 31 | worksheet.Resize(1048576, 32768); 32 | 33 | worksheet.MergeRange(1, 1, 1, 6); 34 | worksheet[1, 1] = "This is sample for maximum cells. (1,048,576 x 32,768)"; 35 | 36 | worksheet.MergeRange(3, 1, 2, 8); 37 | worksheet[3, 1] = "Try scroll, zoom, edit in anywhere or adjust the row and column size."; 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Demo/Print/PrintMultipleWorksheetDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.ComponentModel; 22 | using System.Data; 23 | using System.Drawing; 24 | using System.Linq; 25 | using System.Text; 26 | using System.Windows.Forms; 27 | 28 | namespace unvell.ReoGrid.Demo.Print 29 | { 30 | public partial class PrintMultipleWorksheetDemo : UserControl 31 | { 32 | public PrintMultipleWorksheetDemo() 33 | { 34 | InitializeComponent(); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Demo/Program.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGrid Demo project is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.Linq; 22 | using System.Windows.Forms; 23 | 24 | using unvell.Common; 25 | using unvell.ReoGrid.Demo.Styles; 26 | 27 | namespace unvell.ReoGrid.Demo 28 | { 29 | static class Program 30 | { 31 | /// 32 | /// The main entry point for the application. 33 | /// 34 | [STAThread] 35 | static void Main() 36 | { 37 | Application.EnableVisualStyles(); 38 | Application.SetCompatibleTextRenderingDefault(false); 39 | 40 | Application.Run(new DemoItemsForm()); 41 | 42 | //BorderPainter.Instance.Dispose(); 43 | //ResourcePoolManager.Instance.Dispose(); 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /Demo/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace unvell.ReoGrid.Demo.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Demo/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Demo/Resources/Checked Checkbox-20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Demo/Resources/Checked Checkbox-20.png -------------------------------------------------------------------------------- /Demo/Resources/DialogGroup_5846_16x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Demo/Resources/DialogGroup_5846_16x.png -------------------------------------------------------------------------------- /Demo/Resources/Folder_6222.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Demo/Resources/Folder_6222.png -------------------------------------------------------------------------------- /Demo/Resources/Table_748.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Demo/Resources/Table_748.png -------------------------------------------------------------------------------- /Demo/Resources/Unchecked Checkbox-20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Demo/Resources/Unchecked Checkbox-20.png -------------------------------------------------------------------------------- /Demo/Resources/computer_laptop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Demo/Resources/computer_laptop.png -------------------------------------------------------------------------------- /Demo/Resources/image5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Demo/Resources/image5.png -------------------------------------------------------------------------------- /Demo/Resources/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Demo/Resources/loading.gif -------------------------------------------------------------------------------- /Demo/_Templates/Excel/flowchart.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Demo/_Templates/Excel/flowchart.xlsx -------------------------------------------------------------------------------- /Demo/_Templates/Excel/simple-invoice.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Demo/_Templates/Excel/simple-invoice.xlsx -------------------------------------------------------------------------------- /Demo/_Templates/Excel/welcome.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Demo/_Templates/Excel/welcome.xlsx -------------------------------------------------------------------------------- /Demo/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Demo/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Demo/favicon.ico -------------------------------------------------------------------------------- /DemoAvalonia/App.axaml: -------------------------------------------------------------------------------- 1 |  5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /DemoAvalonia/App.axaml.cs: -------------------------------------------------------------------------------- 1 | using Avalonia; 2 | using Avalonia.Controls.ApplicationLifetimes; 3 | using Avalonia.Markup.Xaml; 4 | 5 | namespace unvell.ReoGrid.WPFDemo 6 | { 7 | /// 8 | /// Interaction logic for App.xaml 9 | /// 10 | public partial class App : Application 11 | { 12 | public override void Initialize() 13 | { 14 | AvaloniaXamlLoader.Load(this); 15 | } 16 | 17 | public override void OnFrameworkInitializationCompleted() 18 | { 19 | if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) 20 | { 21 | desktop.MainWindow = new MainWindow 22 | { 23 | }; 24 | } 25 | 26 | base.OnFrameworkInitializationCompleted(); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /DemoAvalonia/Program.cs: -------------------------------------------------------------------------------- 1 | using Avalonia; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using Avalonia.ReactiveUI; 8 | 9 | namespace unvell.ReoGrid.WPFDemo 10 | { 11 | class Program 12 | { 13 | // Initialization code. Don't use any Avalonia, third-party APIs or any 14 | // SynchronizationContext-reliant code before AppMain is called: things aren't initialized 15 | // yet and stuff might break. 16 | [STAThread] 17 | public static void Main(string[] args) => BuildAvaloniaApp() 18 | .StartWithClassicDesktopLifetime(args); 19 | 20 | // Avalonia configuration, don't remove; also used by visual designer. 21 | public static AppBuilder BuildAvaloniaApp() 22 | => AppBuilder.Configure() 23 | .UsePlatformDetect() 24 | .WithInterFont() 25 | .LogToTrace() 26 | .UseReactiveUI(); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /DemoAvalonia/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.34014 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace unvell.ReoGrid.WPFDemo.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /DemoAvalonia/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /DemoAvalonia/Ref/unvell.ReoGrid.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoAvalonia/Ref/unvell.ReoGrid.dll -------------------------------------------------------------------------------- /DemoAvalonia/Resources/computer_laptop_png.image: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoAvalonia/Resources/computer_laptop_png.image -------------------------------------------------------------------------------- /DemoAvalonia/TemplatedControl1.axaml.cs: -------------------------------------------------------------------------------- 1 | using Avalonia; 2 | using Avalonia.Controls; 3 | using Avalonia.Controls.Primitives; 4 | 5 | namespace unvell.ReoGrid.WPFDemo 6 | { 7 | public class TemplatedControl1 : TextBox 8 | { 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /DemoAvalonia/TestWindow.axaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /DemoAvalonia/TestWindow.axaml.cs: -------------------------------------------------------------------------------- 1 | using Avalonia.Controls; 2 | 3 | namespace unvell.ReoGrid.WPFDemo 4 | { 5 | /// 6 | /// Interaction logic for TestWindow.xaml 7 | /// 8 | public partial class TestWindow : Window 9 | { 10 | //Data.Index4DArray arr = new Data.Index4DArray(); 11 | 12 | public TestWindow() 13 | { 14 | InitializeComponent(); 15 | 16 | var sheet = grid.CurrentWorksheet; 17 | 18 | sheet.AddOutline(RowOrColumn.Column, 5, 2).Collapse(); 19 | sheet.FreezeToCell(2, 7, FreezeArea.LeftTop); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /DemoAvalonia/_Templates/Excel/flowchart.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoAvalonia/_Templates/Excel/flowchart.xlsx -------------------------------------------------------------------------------- /DemoAvalonia/_Templates/Excel/simple-invoice.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoAvalonia/_Templates/Excel/simple-invoice.xlsx -------------------------------------------------------------------------------- /DemoAvalonia/_Templates/Excel/welcome.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoAvalonia/_Templates/Excel/welcome.xlsx -------------------------------------------------------------------------------- /DemoAvalonia/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /DemoJP/Cell/CellStyleDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo.CellDemo 20 | { 21 | /// 22 | /// セルスタイルのデモ 23 | /// 24 | public partial class CellStyleDemo : UserControl 25 | { 26 | public CellStyleDemo() 27 | { 28 | InitializeComponent(); 29 | } 30 | 31 | protected override void OnLoad(EventArgs e) 32 | { 33 | base.OnLoad(e); 34 | 35 | var worksheet = this.grid.CurrentWorksheet; 36 | 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /DemoJP/Cell/RangeUsageDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo.CellDemo 20 | { 21 | public partial class RangeUsageDemo : UserControl 22 | { 23 | private Worksheet sheet; 24 | 25 | public RangeUsageDemo() 26 | { 27 | InitializeComponent(); 28 | } 29 | 30 | protected override void OnLoad(EventArgs e) 31 | { 32 | base.OnLoad(e); 33 | 34 | sheet = this.grid.CurrentWorksheet; 35 | 36 | this.Set2DArrayDataIntoRange(grid.CurrentWorksheet); 37 | } 38 | 39 | void Set2DArrayDataIntoRange(Worksheet sheet) 40 | { 41 | sheet["A1"] = new object[,] { 42 | { 1, 2, 3, 4, 5}, 43 | { "A", "B", "C", "D", "E"}, 44 | { DateTime.Now, new DateTime(2015, 3, 26), "=A1*2", "=NOW()", null }, 45 | }; 46 | } 47 | 48 | 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /DemoJP/Documents/BalanceSheetDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo.DocumentDemo 20 | { 21 | /// 22 | /// 貸借対照表のデモ 23 | /// 24 | public partial class BalanceSheetDemo : UserControl 25 | { 26 | private string filename = "_Templates\\Excel\\貸借対照表.xlsx"; 27 | 28 | public BalanceSheetDemo() 29 | { 30 | InitializeComponent(); 31 | } 32 | 33 | protected override void OnLoad(EventArgs e) 34 | { 35 | base.OnLoad(e); 36 | 37 | // Excelファイルからスプレッドシートを読み込む 38 | // https://reogrid.net/jp/document/excel-format/ 39 | // 40 | reoGridControl.Load(filename); 41 | 42 | var sheet = reoGridControl.CurrentWorksheet; 43 | 44 | // ワークシートの設定を変更 45 | sheet.DisableSettings( 46 | // 列の幅の調整を禁止 47 | WorksheetSettings.Edit_AllowAdjustColumnWidth 48 | // 行の高さの調整を禁止 49 | | WorksheetSettings.Edit_AllowAdjustRowHeight 50 | // 行列のヘッダーを非表示 51 | | WorksheetSettings.View_ShowHeaders 52 | // 選択範囲のドラッグによる内容の移動を禁止する 53 | | WorksheetSettings.Edit_DragSelectionToMoveCells); 54 | 55 | } 56 | 57 | } 58 | 59 | } -------------------------------------------------------------------------------- /DemoJP/Documents/DataFormatDocDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System.Windows.Forms; 17 | 18 | namespace unvell.ReoGrid.Demo.DocumentDemo 19 | { 20 | public partial class DataFormatDocDemo : UserControl 21 | { 22 | public DataFormatDocDemo() 23 | { 24 | InitializeComponent(); 25 | 26 | // get first worksheet instance 27 | var sheet = reoGridControl.Worksheets[0]; 28 | 29 | // load tepmlate from RGF file. 30 | // RGF file is a file format that contains worksheet information, 31 | // such as data, styles, borders, formula and etc, RGF file can 32 | // be saved and loaded by ReoGrid and ReoGridEditor. 33 | // 34 | // https://reogrid.net/document/rgf-format 35 | // 36 | sheet.LoadRGF("_Templates\\RGF\\cell_format.rgf"); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /DemoJP/Documents/FinancialAnalysisDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo.DocumentDemo 20 | { 21 | /// 22 | /// 財務分析のデモ 23 | /// 24 | public partial class FinancialAnalysisDemo : UserControl 25 | { 26 | private string filename = "_Templates\\Excel\\財務分析.xlsx"; 27 | 28 | public FinancialAnalysisDemo() 29 | { 30 | InitializeComponent(); 31 | } 32 | 33 | protected override void OnLoad(EventArgs e) 34 | { 35 | base.OnLoad(e); 36 | 37 | // Excelファイルからスプレッドシートを読み込む 38 | // https://reogrid.net/jp/document/excel-format/ 39 | // 40 | reoGridControl.Load(filename); 41 | 42 | var sheet = reoGridControl.CurrentWorksheet; 43 | 44 | // ワークシートの設定を変更 45 | sheet.DisableSettings( 46 | // 列の幅の調整を禁止 47 | WorksheetSettings.Edit_AllowAdjustColumnWidth 48 | // 行の高さの調整を禁止 49 | | WorksheetSettings.Edit_AllowAdjustRowHeight 50 | // 行列のヘッダーを非表示 51 | | WorksheetSettings.View_ShowHeaders 52 | // 選択範囲のドラッグによる内容の移動を禁止する 53 | | WorksheetSettings.Edit_DragSelectionToMoveCells); 54 | 55 | } 56 | 57 | } 58 | 59 | } -------------------------------------------------------------------------------- /DemoJP/Documents/FinancialRatiosDocDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System.Windows.Forms; 17 | 18 | namespace unvell.ReoGrid.Demo.DocumentDemo 19 | { 20 | public partial class FinancialRatiosDocDemo : UserControl 21 | { 22 | public FinancialRatiosDocDemo() 23 | { 24 | InitializeComponent(); 25 | 26 | // get first worksheet instance 27 | var sheet = reoGridControl.Worksheets[0]; 28 | 29 | // load tepmlate from RGF file. 30 | // RGF file is a file format that contains worksheet information, 31 | // such as data, styles, borders, formula and etc, RGF file can 32 | // be saved and loaded by ReoGrid and ReoGridEditor. 33 | // 34 | // https://reogrid.net/document/rgf-format 35 | // 36 | sheet.LoadRGF("_Templates\\RGF\\Financial_Ratios.rgf"); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /DemoJP/Documents/MonthCalendarDocDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System.Windows.Forms; 17 | 18 | namespace unvell.ReoGrid.Demo.DocumentDemo 19 | { 20 | public partial class MonthCalendarDocDemo : UserControl 21 | { 22 | public MonthCalendarDocDemo() 23 | { 24 | InitializeComponent(); 25 | 26 | // get first worksheet instance 27 | var sheet = reoGridControl.Worksheets[0]; 28 | 29 | // load tepmlate from RGF file. 30 | // RGF file is a file format that contains worksheet information, 31 | // such as data, styles, borders, formula and etc, RGF file can 32 | // be saved and loaded by ReoGrid and ReoGridEditor. 33 | // 34 | // https://reogrid.net/document/rgf-format 35 | // 36 | sheet.LoadRGF("_Templates\\RGF\\calendar_2008_1.rgf"); 37 | 38 | // hide sheet tab control 39 | reoGridControl.SetSettings(WorkbookSettings.View_ShowSheetTabControl, false); 40 | 41 | // hide row header and column header 42 | sheet.SetSettings(WorksheetSettings.View_ShowHeaders, false); 43 | 44 | // set entire worksheet read-only 45 | sheet.SetSettings(WorksheetSettings.Edit_Readonly, true); 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /DemoJP/Documents/OrderDocDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Collections.Generic; 18 | using System.ComponentModel; 19 | using System.Drawing; 20 | using System.Data; 21 | using System.Linq; 22 | using System.Text; 23 | using System.Windows.Forms; 24 | 25 | namespace unvell.ReoGrid.Demo.DocumentDemo 26 | { 27 | public partial class OrderDocDemo : UserControl 28 | { 29 | public OrderDocDemo() 30 | { 31 | InitializeComponent(); 32 | 33 | // get first worksheet instance 34 | var sheet = reoGridControl.Worksheets[0]; 35 | 36 | // load tepmlate from RGF file. 37 | // RGF file is a file format that contains worksheet information, 38 | // such as data, styles, borders, formula and etc, RGF file can 39 | // be saved and loaded by ReoGrid and ReoGridEditor. 40 | // 41 | // https://reogrid.net/document/rgf-format 42 | // 43 | sheet.LoadRGF("_Templates\\RGF\\order_sample.rgf"); 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /DemoJP/Documents/ProjectSummaryDocDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Collections.Generic; 18 | using System.ComponentModel; 19 | using System.Drawing; 20 | using System.Data; 21 | using System.Linq; 22 | using System.Text; 23 | using System.Windows.Forms; 24 | 25 | namespace unvell.ReoGrid.Demo.DocumentDemo 26 | { 27 | public partial class ProjectSummaryDocDemo : UserControl 28 | { 29 | public ProjectSummaryDocDemo() 30 | { 31 | InitializeComponent(); 32 | 33 | // get first worksheet instance 34 | var sheet = reoGridControl.Worksheets[0]; 35 | 36 | // load tepmlate from RGF file. 37 | // RGF file is a file format that contains worksheet information, 38 | // such as data, styles, borders, formula and etc, RGF file can 39 | // be saved and loaded by ReoGrid and ReoGridEditor. 40 | // 41 | // https://reogrid.net/document/rgf-format 42 | // 43 | sheet.LoadRGF("_Templates\\RGF\\project_cost_summary.rgf"); 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /DemoJP/Drawings/BasicShapesDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo.Drawings 20 | { 21 | public partial class BasicShapesDemo : UserControl 22 | { 23 | public BasicShapesDemo() 24 | { 25 | InitializeComponent(); 26 | } 27 | 28 | protected override void OnLoad(EventArgs e) 29 | { 30 | base.OnLoad(e); 31 | 32 | var worksheet = this.grid.CurrentWorksheet; 33 | 34 | Drawing.Shapes.RectangleShape rect = new Drawing.Shapes.RectangleShape() 35 | { 36 | Location = new Graphics.Point(300, 100), 37 | Size = new Graphics.Size(100, 100), 38 | }; 39 | 40 | worksheet.FloatingObjects.Add(rect); 41 | 42 | } 43 | 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /DemoJP/DropdownButton.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System.Drawing; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo 20 | { 21 | class DropdownButton : Button 22 | { 23 | protected override void OnPaint(PaintEventArgs pevent) 24 | { 25 | base.OnPaint(pevent); 26 | 27 | const float size = 7; 28 | 29 | PointF loc = new PointF(Width - 14, Height / 2 - 1); 30 | 31 | float x = loc.X; 32 | float y = loc.Y; 33 | 34 | loc.X -= size / 2 - 1; 35 | y--; 36 | 37 | for (x = 0; x < size / 2; x++) 38 | { 39 | pevent.Graphics.DrawLine(Pens.Black, loc.X + x, y, loc.X + size - x, y); 40 | y++; 41 | } 42 | } 43 | } 44 | 45 | class NewLabelButton : Button 46 | { 47 | private static readonly Font font = new Font("Small Fonts", 5.9f, FontStyle.Regular); 48 | 49 | protected override void OnPaint(PaintEventArgs pevent) 50 | { 51 | base.OnPaint(pevent); 52 | 53 | pevent.Graphics.DrawString("new!", font, Brushes.Red, this.ClientRectangle.Right - 20, 0); 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /DemoJP/EdgeFreeze/BottomFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Collections.Generic; 18 | using System.ComponentModel; 19 | using System.Data; 20 | using System.Drawing; 21 | using System.Linq; 22 | using System.Text; 23 | using System.Windows.Forms; 24 | 25 | namespace unvell.ReoGrid.Demo.WorksheetDemo.EdgeFreeze 26 | { 27 | public partial class BottomFreezeDemo : UserControl 28 | { 29 | public BottomFreezeDemo() 30 | { 31 | InitializeComponent(); 32 | } 33 | 34 | protected override void OnLoad(EventArgs e) 35 | { 36 | base.OnLoad(e); 37 | 38 | var worksheet = reoGridControl.CurrentWorksheet; 39 | 40 | worksheet.Resize(100, 20); 41 | 42 | // freeze to bottom 43 | worksheet.FreezeToCell(90, 0, FreezeArea.Bottom); 44 | 45 | worksheet[95, 5] = "frozen region"; 46 | worksheet[6, 5] = "active region"; 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /DemoJP/EdgeFreeze/BottomLeftFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo.WorksheetDemo.EdgeFreeze 20 | { 21 | public partial class BottomLeftFreezeDemo : UserControl 22 | { 23 | public BottomLeftFreezeDemo() 24 | { 25 | InitializeComponent(); 26 | } 27 | 28 | protected override void OnLoad(EventArgs e) 29 | { 30 | base.OnLoad(e); 31 | 32 | var worksheet = reoGridControl.CurrentWorksheet; 33 | 34 | worksheet.Reset(100, 30); 35 | 36 | // freeze to bottom left 37 | worksheet.FreezeToCell(85, 5, FreezeArea.LeftBottom); 38 | 39 | worksheet[90, 2] = "frozen region"; 40 | worksheet[5, 7] = "active region"; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /DemoJP/EdgeFreeze/BottomRightFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo.WorksheetDemo.EdgeFreeze 20 | { 21 | public partial class BottomRightFreezeDemo : UserControl 22 | { 23 | public BottomRightFreezeDemo() 24 | { 25 | InitializeComponent(); 26 | } 27 | 28 | protected override void OnLoad(EventArgs e) 29 | { 30 | base.OnLoad(e); 31 | 32 | var worksheet = reoGridControl.CurrentWorksheet; 33 | 34 | worksheet.Reset(100, 30); 35 | 36 | // freeze to bottom right 37 | worksheet.FreezeToCell(85, 25, FreezeArea.RightBottom); 38 | 39 | worksheet[90, 27] = "frozen region"; 40 | worksheet[5, 3] = "active region"; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /DemoJP/EdgeFreeze/LeftFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo.WorksheetDemo.EdgeFreeze 20 | { 21 | public partial class LeftFreezeDemo : UserControl 22 | { 23 | public LeftFreezeDemo() 24 | { 25 | InitializeComponent(); 26 | } 27 | 28 | protected override void OnLoad(EventArgs e) 29 | { 30 | base.OnLoad(e); 31 | 32 | var worksheet = reoGridControl.CurrentWorksheet; 33 | 34 | // freeze to left 35 | worksheet.FreezeToCell(0, 5, FreezeArea.Left); 36 | 37 | worksheet[5, 1] = "frozen region"; 38 | worksheet[5, 7] = "active region"; 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /DemoJP/EdgeFreeze/RightFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo.WorksheetDemo.EdgeFreeze 20 | { 21 | public partial class RightFreezeDemo : UserControl 22 | { 23 | public RightFreezeDemo() 24 | { 25 | InitializeComponent(); 26 | } 27 | 28 | protected override void OnLoad(EventArgs e) 29 | { 30 | base.OnLoad(e); 31 | 32 | var worksheet = reoGridControl.CurrentWorksheet; 33 | 34 | worksheet.Reset(100, 30); 35 | 36 | // freeze to right 37 | worksheet.FreezeToCell(0, 25, FreezeArea.Right); 38 | 39 | worksheet[5, 27] = "frozen region"; 40 | worksheet[5, 5] = "active region"; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /DemoJP/EdgeFreeze/TopFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo.WorksheetDemo.EdgeFreeze 20 | { 21 | public partial class TopFreezeDemo : UserControl 22 | { 23 | public TopFreezeDemo() 24 | { 25 | InitializeComponent(); 26 | } 27 | 28 | protected override void OnLoad(EventArgs e) 29 | { 30 | base.OnLoad(e); 31 | 32 | var worksheet = reoGridControl.CurrentWorksheet; 33 | 34 | // freeze to top 35 | worksheet.FreezeToCell(10, 0, FreezeArea.Top); 36 | 37 | worksheet[5, 5] = "frozen region"; 38 | worksheet[12, 5] = "active region"; 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /DemoJP/EdgeFreeze/TopLeftFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo.WorksheetDemo.EdgeFreeze 20 | { 21 | public partial class TopLeftFreezeDemo : UserControl 22 | { 23 | public TopLeftFreezeDemo() 24 | { 25 | InitializeComponent(); 26 | } 27 | 28 | protected override void OnLoad(EventArgs e) 29 | { 30 | base.OnLoad(e); 31 | 32 | var worksheet = reoGridControl.CurrentWorksheet; 33 | 34 | worksheet.Resize(100, 30); 35 | 36 | // freeze to top left 37 | worksheet.FreezeToCell(10, 5, FreezeArea.LeftTop); 38 | 39 | worksheet[5, 1] = "frozen region"; 40 | worksheet[15, 7] = "active region"; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /DemoJP/EdgeFreeze/TopRightFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo.WorksheetDemo.EdgeFreeze 20 | { 21 | public partial class TopRightFreezeDemo : UserControl 22 | { 23 | public TopRightFreezeDemo() 24 | { 25 | InitializeComponent(); 26 | } 27 | 28 | protected override void OnLoad(EventArgs e) 29 | { 30 | base.OnLoad(e); 31 | 32 | var worksheet = reoGridControl.CurrentWorksheet; 33 | 34 | worksheet.Reset(100, 30); 35 | 36 | // freeze to top right 37 | worksheet.FreezeToCell(10, 25, FreezeArea.RightTop); 38 | 39 | worksheet[5, 27] = "frozen region"; 40 | worksheet[15, 3] = "active region"; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /DemoJP/General/WhatsNewDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System.Windows.Forms; 17 | 18 | namespace unvell.ReoGrid.Demo.Welcome 19 | { 20 | public partial class WhatsNewDemo : UserControl 21 | { 22 | public WhatsNewDemo() 23 | { 24 | InitializeComponent(); 25 | 26 | // load Excel template file 27 | this.reoGridControl.Load("_Templates\\Excel\\Welcome.xlsx"); 28 | 29 | var sheet1 = this.reoGridControl.Worksheets[0]; 30 | 31 | // iterate to set hyperlink cells type 32 | sheet1.IterateCells("B8:N17", (row, col, cell) => 33 | { 34 | if (cell.DisplayText.StartsWith("http:", System.StringComparison.CurrentCultureIgnoreCase) 35 | || cell.DisplayText.StartsWith("https:", System.StringComparison.CurrentCultureIgnoreCase) 36 | || cell.DisplayText.StartsWith("mailto:", System.StringComparison.CurrentCultureIgnoreCase)) 37 | { 38 | cell.Body = new CellTypes.HyperlinkCell(); 39 | } 40 | 41 | return true; 42 | }); 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /DemoJP/Performance/ComplexMergedCellDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System.Windows.Forms; 17 | 18 | namespace unvell.ReoGrid.Demo.PerformanceDemo 19 | { 20 | /// 21 | /// 複雑なワークシートの性能のデモ 22 | /// 23 | public partial class ComplexMergedCellDemo : UserControl 24 | { 25 | public ComplexMergedCellDemo() 26 | { 27 | InitializeComponent(); 28 | 29 | var worksheet = grid.CurrentWorksheet; 30 | 31 | worksheet.LoadRGF("_Templates\\RGF\\merged_range.rgf"); 32 | 33 | worksheet["B20"] = "ReoGrid は高効率なアルゴリズムで結合したセルのメモリ管理と描画を実現しているため、複雑なワークシートでも高速で動作できます。"; 34 | worksheet["B21"] = "結合したセルを選択したり、編集したりして、そのレスポンスを体感してください。"; 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /DemoJP/Performance/MaximumGridDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System.Windows.Forms; 17 | 18 | namespace unvell.ReoGrid.Demo.PerformanceDemo 19 | { 20 | /// 21 | /// 最大行列数のワークシートの性能 22 | /// 23 | public partial class MaximumGridDemo : UserControl 24 | { 25 | public MaximumGridDemo() 26 | { 27 | InitializeComponent(); 28 | 29 | var worksheet = grid.CurrentWorksheet; 30 | 31 | // ワークシートのサイズを 1048576 x 32768 に変更 32 | worksheet.Resize(1048576, 32768); 33 | 34 | worksheet.MergeRange(1, 1, 1, 6); 35 | worksheet[1, 1] = "最大行列数 (1,048,576 x 32,768) のワークシートのデモです。"; 36 | 37 | worksheet.MergeRange(3, 1, 2, 8); 38 | worksheet[3, 1] = "このワークシートでスクロール、拡大縮小、編集、選択範囲の移動などを操作して、動作のレスポンスを体験してください。"; 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /DemoJP/Print/PrintMultipleWorksheetDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System.Windows.Forms; 17 | 18 | namespace unvell.ReoGrid.Demo.PrintDemo 19 | { 20 | /// 21 | /// 22 | /// 23 | public partial class PrintMultipleWorksheetDemo : UserControl 24 | { 25 | public PrintMultipleWorksheetDemo() 26 | { 27 | InitializeComponent(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /DemoJP/Program.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo 20 | { 21 | static class Program 22 | { 23 | /// 24 | /// The main entry point for the application. 25 | /// 26 | [STAThread] 27 | static void Main() 28 | { 29 | Application.EnableVisualStyles(); 30 | Application.SetCompatibleTextRenderingDefault(false); 31 | Application.Run(new DemoItemsForm()); 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /DemoJP/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("ReoGrid Demo 日本語版")] 9 | [assembly: AssemblyDescription(".NET スプレッドシートコンポネント")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("unvell")] 12 | [assembly: AssemblyProduct("ReoGrid")] 13 | [assembly: AssemblyCopyright("Copyright © 2012-2021 Jingwood & unvell, all rights reserved.")] 14 | [assembly: AssemblyTrademark("ReoGrid.NET")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("3dcb28d4-cada-4a2c-a591-089345a8d93c")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("3.0.0.0")] 36 | [assembly: AssemblyFileVersion("3.0.0.0")] 37 | -------------------------------------------------------------------------------- /DemoJP/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace unvell.ReoGrid.DemoJP.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /DemoJP/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /DemoJP/Ref: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Ref -------------------------------------------------------------------------------- /DemoJP/Resources/Briefcase Filled-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/Briefcase Filled-32.png -------------------------------------------------------------------------------- /DemoJP/Resources/Calendar-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/Calendar-16.png -------------------------------------------------------------------------------- /DemoJP/Resources/Checked Checkbox-20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/Checked Checkbox-20.png -------------------------------------------------------------------------------- /DemoJP/Resources/Classroom-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/Classroom-32.png -------------------------------------------------------------------------------- /DemoJP/Resources/Conference Call-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/Conference Call-32.png -------------------------------------------------------------------------------- /DemoJP/Resources/Contact Card-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/Contact Card-32.png -------------------------------------------------------------------------------- /DemoJP/Resources/Contacts-32 (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/Contacts-32 (1).png -------------------------------------------------------------------------------- /DemoJP/Resources/Contacts-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/Contacts-32.png -------------------------------------------------------------------------------- /DemoJP/Resources/DialogGroup_5846_16x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/DialogGroup_5846_16x.png -------------------------------------------------------------------------------- /DemoJP/Resources/Folder_6222.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/Folder_6222.png -------------------------------------------------------------------------------- /DemoJP/Resources/Table_748.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/Table_748.png -------------------------------------------------------------------------------- /DemoJP/Resources/Unchecked Checkbox-20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/Unchecked Checkbox-20.png -------------------------------------------------------------------------------- /DemoJP/Resources/User Group-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/User Group-32.png -------------------------------------------------------------------------------- /DemoJP/Resources/User Groups-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/User Groups-32.png -------------------------------------------------------------------------------- /DemoJP/Resources/computer_laptop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/computer_laptop.png -------------------------------------------------------------------------------- /DemoJP/Resources/find_5650.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/find_5650.png -------------------------------------------------------------------------------- /DemoJP/Resources/image5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/image5.png -------------------------------------------------------------------------------- /DemoJP/Resources/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/Resources/loading.gif -------------------------------------------------------------------------------- /DemoJP/Worksheet/ColumnFilterAndSortDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System.Windows.Forms; 17 | 18 | namespace unvell.ReoGrid.Demo.WorksheetDemo 19 | { 20 | /// 21 | /// フィルターとデータ並び替えのデモ 22 | /// https://reogrid.net/jp/document/worksheet/filter-and-sort/ 23 | /// 24 | public partial class ColumnFilterAndSortDemo : UserControl 25 | { 26 | private Worksheet worksheet; 27 | 28 | public ColumnFilterAndSortDemo() 29 | { 30 | InitializeComponent(); 31 | 32 | worksheet = grid.CurrentWorksheet; 33 | 34 | // CSVファイルからデータを読み込む 35 | worksheet.LoadCSV("_Templates\\csv\\13TOKYO.CSV"); 36 | 37 | // A列からO列まで、フィルターを作成する 38 | worksheet.CreateColumnFilter("A", "O"); 39 | } 40 | 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /DemoJP/Worksheet/OutlineDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System.Windows.Forms; 17 | 18 | namespace unvell.ReoGrid.Demo.WorksheetDemo 19 | { 20 | /// 21 | /// アウトラインのデモ 22 | /// 23 | public partial class OutlineDemo : UserControl 24 | { 25 | private Worksheet worksheet; 26 | 27 | public OutlineDemo() 28 | { 29 | InitializeComponent(); 30 | 31 | // 現在表示中のワークシートを取得 32 | worksheet = grid.CurrentWorksheet; 33 | 34 | // アウトラインを利用するテンプレートファイルを読み込む 35 | worksheet.LoadRGF("_Templates\\RGF\\outline.rgf"); 36 | } 37 | 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /DemoJP/Worksheet/OutlineWithFreezeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System.Windows.Forms; 17 | 18 | namespace unvell.ReoGrid.Demo.WorksheetDemo 19 | { 20 | /// 21 | /// アウトラインと行列固定のデモ 22 | /// 23 | public partial class OutlineWithFreezeDemo : UserControl 24 | { 25 | public OutlineWithFreezeDemo() 26 | { 27 | InitializeComponent(); 28 | 29 | var worksheet = grid.CurrentWorksheet; 30 | 31 | for (int i = 1; i < 9; i++) 32 | { 33 | worksheet.GroupRows(4, i); 34 | } 35 | for (int i = 1; i < 9; i++) 36 | { 37 | worksheet.GroupColumns(2, i); 38 | } 39 | 40 | worksheet.FreezeToCell(5, 5); 41 | 42 | worksheet[2, 2] = "アウトラインと行列固定のデモ"; 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /DemoJP/Worksheet/PickRangeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo.WorksheetDemo 20 | { 21 | /// 22 | /// ワークシートの範囲ポジションを選択するデモ 23 | /// 24 | public partial class PickRangeDemo : UserControl 25 | { 26 | private int currentRow = 0; 27 | 28 | public PickRangeDemo() 29 | { 30 | InitializeComponent(); 31 | } 32 | 33 | protected override void OnLoad(EventArgs e) 34 | { 35 | base.OnLoad(e); 36 | 37 | StartPickRange(); 38 | } 39 | 40 | private void StartPickRange() 41 | { 42 | grid.PickRange((inst, range) => 43 | { 44 | // 範囲ポジションが選択された場合の処理 45 | 46 | MessageBox.Show("選択した範囲ポジション: " + range.ToAddress()); 47 | 48 | if (currentRow < grid.CurrentWorksheet.RowCount - 1) 49 | { 50 | grid.CurrentWorksheet[currentRow++, 0] = range.ToAddress(); 51 | } 52 | 53 | // trueを返すと選択を続ける;falseを返すと選択を終了 54 | return false; 55 | 56 | }, 57 | 58 | // 選択時のカーソルスタイルを設定 59 | Cursors.Hand); 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /DemoJP/Worksheet/SetEditableRangeDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo.WorksheetDemo 20 | { 21 | /// 22 | /// 編集可能な範囲のデモ 23 | /// 24 | public partial class SetEditableRangeDemo : UserControl 25 | { 26 | public SetEditableRangeDemo() 27 | { 28 | InitializeComponent(); 29 | 30 | grid.CurrentWorksheet["B2"] = "右のボタンをクリックすると編集可能な範囲を設定できます。"; 31 | } 32 | 33 | private void btnSetEditableRange_Click(object sender, EventArgs ee) 34 | { 35 | var editableRange = new RangePosition("B5:E6"); 36 | 37 | var worksheet = grid.CurrentWorksheet; 38 | 39 | worksheet.SetRangeBorders(editableRange, BorderPositions.Outside, RangeBorderStyle.BlackSolid); 40 | 41 | worksheet["B4"] = "編集可能な範囲:"; 42 | worksheet.BeforeCellEdit += (s, e) => e.IsCancelled = !editableRange.Contains(e.Cell.Position); 43 | } 44 | 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /DemoJP/Worksheet/ZoomDemo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo.WorksheetDemo 20 | { 21 | /// 22 | /// 拡大縮小のデモ 23 | /// 24 | public partial class ZoomDemo : UserControl 25 | { 26 | private Worksheet worksheet; 27 | 28 | public ZoomDemo() 29 | { 30 | InitializeComponent(); 31 | 32 | this.worksheet = grid.CurrentWorksheet; 33 | 34 | for (int r = 0; r < 50; r++) 35 | { 36 | for (int c = 0; c < 20; c++) 37 | { 38 | worksheet[r, c] = (r + 1) * (c + 1); 39 | } 40 | } 41 | } 42 | 43 | private void trackBar1_Scroll(object sender, EventArgs e) 44 | { 45 | worksheet.ScaleFactor = trackBar1.Value / 10f; 46 | 47 | label2.Text = "比率: " + (worksheet.ScaleFactor * 100) + "%"; 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /DemoJP/WorksheetForm.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET 表計算スプレッドシートコンポーネント 4 | * https://reogrid.net/jp 5 | * 6 | * ReoGrid 日本語版デモプロジェクトは MIT ライセンスでリリースされています。 7 | * 8 | * このソフトウェアは無保証であり、このソフトウェアの使用により生じた直接・間接の損害に対し、 9 | * 著作権者は補償を含むあらゆる責任を負いません。 10 | * 11 | * Copyright (c) 2012-2016 unvell.com, All Rights Reserved. 12 | * https://www.unvell.com/jp 13 | * 14 | ****************************************************************************/ 15 | 16 | using System; 17 | using System.Windows.Forms; 18 | 19 | namespace unvell.ReoGrid.Demo 20 | { 21 | public partial class WorksheetForm : Form 22 | { 23 | public WorksheetForm() 24 | { 25 | InitializeComponent(); 26 | } 27 | 28 | public void Open(string file) 29 | { 30 | this.Open(file, null); 31 | } 32 | 33 | public void Open(string file, Action postHandler) 34 | { 35 | grid.Load(file); 36 | this.PostHandler = postHandler; 37 | } 38 | 39 | public void Init(Action postHandler) 40 | { 41 | this.PostHandler = postHandler; 42 | } 43 | 44 | public Action PostHandler { get; set; } 45 | 46 | protected override void OnCreateControl() 47 | { 48 | base.OnCreateControl(); 49 | 50 | if (this.PostHandler != null) PostHandler(grid.CurrentWorksheet); 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /DemoJP/_Templates/Excel/flowchart.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/_Templates/Excel/flowchart.xlsx -------------------------------------------------------------------------------- /DemoJP/_Templates/Excel/simple-invoice.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/_Templates/Excel/simple-invoice.xlsx -------------------------------------------------------------------------------- /DemoJP/_Templates/Excel/welcome.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/_Templates/Excel/welcome.xlsx -------------------------------------------------------------------------------- /DemoJP/_Templates/Excel/振替伝票.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/_Templates/Excel/振替伝票.xlsx -------------------------------------------------------------------------------- /DemoJP/_Templates/Excel/月別人口推計.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/_Templates/Excel/月別人口推計.xlsx -------------------------------------------------------------------------------- /DemoJP/_Templates/Excel/職員情報.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/_Templates/Excel/職員情報.xlsx -------------------------------------------------------------------------------- /DemoJP/_Templates/Excel/請求書.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/_Templates/Excel/請求書.xlsx -------------------------------------------------------------------------------- /DemoJP/_Templates/Excel/財務分析.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/_Templates/Excel/財務分析.xlsx -------------------------------------------------------------------------------- /DemoJP/_Templates/Excel/財務報告.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/_Templates/Excel/財務報告.xlsx -------------------------------------------------------------------------------- /DemoJP/_Templates/Excel/貸借対照表.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/_Templates/Excel/貸借対照表.xlsx -------------------------------------------------------------------------------- /DemoJP/_Templates/Excel/領収書001.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/_Templates/Excel/領収書001.xlsx -------------------------------------------------------------------------------- /DemoJP/_Templates/Excel/領収書006.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/_Templates/Excel/領収書006.xlsx -------------------------------------------------------------------------------- /DemoJP/_Templates/Images/inkan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/_Templates/Images/inkan.png -------------------------------------------------------------------------------- /DemoJP/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /DemoJP/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoJP/favicon.ico -------------------------------------------------------------------------------- /DemoWPF/App.xaml: -------------------------------------------------------------------------------- 1 |  5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /DemoWPF/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | namespace unvell.ReoGrid.WPFDemo 4 | { 5 | /// 6 | /// Interaction logic for App.xaml 7 | /// 8 | public partial class App : Application 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /DemoWPF/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.34014 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace unvell.ReoGrid.WPFDemo.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /DemoWPF/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /DemoWPF/Ref/unvell.ReoGrid.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoWPF/Ref/unvell.ReoGrid.dll -------------------------------------------------------------------------------- /DemoWPF/Resources/computer_laptop_png.image: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/DemoWPF/Resources/computer_laptop_png.image -------------------------------------------------------------------------------- /DemoWPF/TestWindow.xaml: -------------------------------------------------------------------------------- 1 |  10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /DemoWPF/TestWindow.xaml.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | namespace unvell.ReoGrid.WPFDemo 4 | { 5 | /// 6 | /// Interaction logic for TestWindow.xaml 7 | /// 8 | public partial class TestWindow : Window 9 | { 10 | //Data.Index4DArray arr = new Data.Index4DArray(); 11 | 12 | public TestWindow() 13 | { 14 | InitializeComponent(); 15 | 16 | var sheet = grid.CurrentWorksheet; 17 | 18 | sheet.AddOutline(RowOrColumn.Column, 5, 2).Collapse(); 19 | sheet.FreezeToCell(2, 7, FreezeArea.LeftTop); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /DemoWPF/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Editor/LangRes/LangResource.ja-JP.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/LangRes/LangResource.ja-JP.Designer.cs -------------------------------------------------------------------------------- /Editor/LangRes/LangResource.ru-RU.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/LangRes/LangResource.ru-RU.Designer.cs -------------------------------------------------------------------------------- /Editor/LangRes/LangResource.zh-CN.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/LangRes/LangResource.zh-CN.Designer.cs -------------------------------------------------------------------------------- /Editor/Program.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * ReoGrid and ReoGridEditor is released under MIT license. 13 | * 14 | * Copyright (c) 2012-2021 Jing Lu 15 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Windows.Forms; 21 | 22 | namespace unvell.ReoGrid.Editor 23 | { 24 | static class Program 25 | { 26 | /// 27 | /// The main entry point for the application. 28 | /// 29 | [STAThread] 30 | static void Main() 31 | { 32 | Application.EnableVisualStyles(); 33 | Application.SetCompatibleTextRenderingDefault(false); 34 | Application.Run(new ReoGridEditor()); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Editor/Resources/AlignLayoutBottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/AlignLayoutBottom.png -------------------------------------------------------------------------------- /Editor/Resources/AlignLayoutMiddle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/AlignLayoutMiddle.png -------------------------------------------------------------------------------- /Editor/Resources/AlignLayoutTop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/AlignLayoutTop.png -------------------------------------------------------------------------------- /Editor/Resources/AlignTableCellMiddleCenterHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/AlignTableCellMiddleCenterHS.png -------------------------------------------------------------------------------- /Editor/Resources/AlignTableCellMiddleLeftJustHS.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/AlignTableCellMiddleLeftJustHS.PNG -------------------------------------------------------------------------------- /Editor/Resources/AlignTableCellMiddleRightHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/AlignTableCellMiddleRightHS.png -------------------------------------------------------------------------------- /Editor/Resources/ColorHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/ColorHS.png -------------------------------------------------------------------------------- /Editor/Resources/CopyHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/CopyHS.png -------------------------------------------------------------------------------- /Editor/Resources/CutHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/CutHS.png -------------------------------------------------------------------------------- /Editor/Resources/Edit_RedoHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/Edit_RedoHS.png -------------------------------------------------------------------------------- /Editor/Resources/Edit_UndoHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/Edit_UndoHS.png -------------------------------------------------------------------------------- /Editor/Resources/Filter2HS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/Filter2HS.png -------------------------------------------------------------------------------- /Editor/Resources/FontDialogHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/FontDialogHS.png -------------------------------------------------------------------------------- /Editor/Resources/FunctionHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/FunctionHS.png -------------------------------------------------------------------------------- /Editor/Resources/LandscapeHH.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/LandscapeHH.bmp -------------------------------------------------------------------------------- /Editor/Resources/NewDocumentHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/NewDocumentHS.png -------------------------------------------------------------------------------- /Editor/Resources/PageWidthHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/PageWidthHS.png -------------------------------------------------------------------------------- /Editor/Resources/PasteHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/PasteHS.png -------------------------------------------------------------------------------- /Editor/Resources/PortraitHH.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/PortraitHH.bmp -------------------------------------------------------------------------------- /Editor/Resources/PrintPreviewHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/PrintPreviewHS.png -------------------------------------------------------------------------------- /Editor/Resources/PropertiesHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/PropertiesHS.png -------------------------------------------------------------------------------- /Editor/Resources/RadialChartHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/RadialChartHS.png -------------------------------------------------------------------------------- /Editor/Resources/RepeatHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/RepeatHS.png -------------------------------------------------------------------------------- /Editor/Resources/ShowGridlines2HS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/ShowGridlines2HS.png -------------------------------------------------------------------------------- /Editor/Resources/VSProject_script.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/VSProject_script.bmp -------------------------------------------------------------------------------- /Editor/Resources/all_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/all_bold.png -------------------------------------------------------------------------------- /Editor/Resources/all_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/all_dash.png -------------------------------------------------------------------------------- /Editor/Resources/all_design.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/all_design.png -------------------------------------------------------------------------------- /Editor/Resources/all_design_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/all_design_32.png -------------------------------------------------------------------------------- /Editor/Resources/all_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/all_dot.png -------------------------------------------------------------------------------- /Editor/Resources/all_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/all_solid.png -------------------------------------------------------------------------------- /Editor/Resources/bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/bold.png -------------------------------------------------------------------------------- /Editor/Resources/bottom_line_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/bottom_line_bold.png -------------------------------------------------------------------------------- /Editor/Resources/bottom_line_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/bottom_line_dash.png -------------------------------------------------------------------------------- /Editor/Resources/bottom_line_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/bottom_line_dot.png -------------------------------------------------------------------------------- /Editor/Resources/bottom_line_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/bottom_line_solid.png -------------------------------------------------------------------------------- /Editor/Resources/bounds_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/bounds_bold.png -------------------------------------------------------------------------------- /Editor/Resources/bounds_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/bounds_dash.png -------------------------------------------------------------------------------- /Editor/Resources/bounds_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/bounds_dot.png -------------------------------------------------------------------------------- /Editor/Resources/bounds_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/bounds_solid.png -------------------------------------------------------------------------------- /Editor/Resources/cell_merge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/cell_merge.png -------------------------------------------------------------------------------- /Editor/Resources/cell_merge_bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/cell_merge_bak.png -------------------------------------------------------------------------------- /Editor/Resources/cell_unmerge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/cell_unmerge.png -------------------------------------------------------------------------------- /Editor/Resources/center_line_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/center_line_bold.png -------------------------------------------------------------------------------- /Editor/Resources/center_line_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/center_line_dash.png -------------------------------------------------------------------------------- /Editor/Resources/center_line_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/center_line_dot.png -------------------------------------------------------------------------------- /Editor/Resources/center_line_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/center_line_solid.png -------------------------------------------------------------------------------- /Editor/Resources/font_larger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/font_larger.png -------------------------------------------------------------------------------- /Editor/Resources/font_smaller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/font_smaller.png -------------------------------------------------------------------------------- /Editor/Resources/full_col_select.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/full_col_select.cur -------------------------------------------------------------------------------- /Editor/Resources/full_row_select.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/full_row_select.cur -------------------------------------------------------------------------------- /Editor/Resources/grid_select.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/grid_select.cur -------------------------------------------------------------------------------- /Editor/Resources/inside_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/inside_bold.png -------------------------------------------------------------------------------- /Editor/Resources/inside_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/inside_dash.png -------------------------------------------------------------------------------- /Editor/Resources/inside_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/inside_dot.png -------------------------------------------------------------------------------- /Editor/Resources/inside_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/inside_solid.png -------------------------------------------------------------------------------- /Editor/Resources/inside_solid_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/inside_solid_32.png -------------------------------------------------------------------------------- /Editor/Resources/italic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/italic.png -------------------------------------------------------------------------------- /Editor/Resources/left_bottom_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/left_bottom_bold.png -------------------------------------------------------------------------------- /Editor/Resources/left_bottom_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/left_bottom_dash.png -------------------------------------------------------------------------------- /Editor/Resources/left_bottom_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/left_bottom_dot.png -------------------------------------------------------------------------------- /Editor/Resources/left_bottom_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/left_bottom_solid.png -------------------------------------------------------------------------------- /Editor/Resources/left_line_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/left_line_bold.png -------------------------------------------------------------------------------- /Editor/Resources/left_line_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/left_line_dash.png -------------------------------------------------------------------------------- /Editor/Resources/left_line_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/left_line_dot.png -------------------------------------------------------------------------------- /Editor/Resources/left_line_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/left_line_solid.png -------------------------------------------------------------------------------- /Editor/Resources/left_right_blod.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/left_right_blod.png -------------------------------------------------------------------------------- /Editor/Resources/left_right_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/left_right_dash.png -------------------------------------------------------------------------------- /Editor/Resources/left_right_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/left_right_dot.png -------------------------------------------------------------------------------- /Editor/Resources/left_right_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/left_right_solid.png -------------------------------------------------------------------------------- /Editor/Resources/left_top_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/left_top_bold.png -------------------------------------------------------------------------------- /Editor/Resources/left_top_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/left_top_dot.png -------------------------------------------------------------------------------- /Editor/Resources/left_top_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/left_top_solid.png -------------------------------------------------------------------------------- /Editor/Resources/middle_line_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/middle_line_bold.png -------------------------------------------------------------------------------- /Editor/Resources/middle_line_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/middle_line_dash.png -------------------------------------------------------------------------------- /Editor/Resources/middle_line_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/middle_line_dot.png -------------------------------------------------------------------------------- /Editor/Resources/middle_line_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/middle_line_solid.png -------------------------------------------------------------------------------- /Editor/Resources/none_border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/none_border.png -------------------------------------------------------------------------------- /Editor/Resources/none_border_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/none_border_32.png -------------------------------------------------------------------------------- /Editor/Resources/openHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/openHS.png -------------------------------------------------------------------------------- /Editor/Resources/outline_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/outline_bold.png -------------------------------------------------------------------------------- /Editor/Resources/outline_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/outline_dash.png -------------------------------------------------------------------------------- /Editor/Resources/outline_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/outline_dot.png -------------------------------------------------------------------------------- /Editor/Resources/outline_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/outline_solid.png -------------------------------------------------------------------------------- /Editor/Resources/outline_solid_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/outline_solid_32.png -------------------------------------------------------------------------------- /Editor/Resources/pick_range.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/pick_range.cur -------------------------------------------------------------------------------- /Editor/Resources/right_bottom_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/right_bottom_bold.png -------------------------------------------------------------------------------- /Editor/Resources/right_bottom_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/right_bottom_dot.png -------------------------------------------------------------------------------- /Editor/Resources/right_bottom_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/right_bottom_solid.png -------------------------------------------------------------------------------- /Editor/Resources/right_line_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/right_line_bold.png -------------------------------------------------------------------------------- /Editor/Resources/right_line_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/right_line_dash.png -------------------------------------------------------------------------------- /Editor/Resources/right_line_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/right_line_dot.png -------------------------------------------------------------------------------- /Editor/Resources/right_line_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/right_line_solid.png -------------------------------------------------------------------------------- /Editor/Resources/right_top_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/right_top_bold.png -------------------------------------------------------------------------------- /Editor/Resources/right_top_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/right_top_dot.png -------------------------------------------------------------------------------- /Editor/Resources/right_top_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/right_top_solid.png -------------------------------------------------------------------------------- /Editor/Resources/saveHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/saveHS.png -------------------------------------------------------------------------------- /Editor/Resources/slash_left_blod.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/slash_left_blod.png -------------------------------------------------------------------------------- /Editor/Resources/slash_left_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/slash_left_dash.png -------------------------------------------------------------------------------- /Editor/Resources/slash_left_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/slash_left_dot.png -------------------------------------------------------------------------------- /Editor/Resources/slash_left_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/slash_left_solid.png -------------------------------------------------------------------------------- /Editor/Resources/slash_right_blod.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/slash_right_blod.png -------------------------------------------------------------------------------- /Editor/Resources/slash_right_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/slash_right_dash.png -------------------------------------------------------------------------------- /Editor/Resources/slash_right_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/slash_right_dot.png -------------------------------------------------------------------------------- /Editor/Resources/slash_right_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/slash_right_solid.png -------------------------------------------------------------------------------- /Editor/Resources/strikethrough.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/strikethrough.png -------------------------------------------------------------------------------- /Editor/Resources/style_brush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/style_brush.png -------------------------------------------------------------------------------- /Editor/Resources/textwrap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/textwrap.png -------------------------------------------------------------------------------- /Editor/Resources/toolbar_get_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/toolbar_get_info.png -------------------------------------------------------------------------------- /Editor/Resources/top_bottom_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/top_bottom_bold.png -------------------------------------------------------------------------------- /Editor/Resources/top_bottom_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/top_bottom_dash.png -------------------------------------------------------------------------------- /Editor/Resources/top_bottom_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/top_bottom_dot.png -------------------------------------------------------------------------------- /Editor/Resources/top_bottom_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/top_bottom_solid.png -------------------------------------------------------------------------------- /Editor/Resources/top_line_bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/top_line_bold.png -------------------------------------------------------------------------------- /Editor/Resources/top_line_dash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/top_line_dash.png -------------------------------------------------------------------------------- /Editor/Resources/top_line_dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/top_line_dot.png -------------------------------------------------------------------------------- /Editor/Resources/top_line_solid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/top_line_solid.png -------------------------------------------------------------------------------- /Editor/Resources/trash.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/trash.cur -------------------------------------------------------------------------------- /Editor/Resources/underlinee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/Resources/underlinee.png -------------------------------------------------------------------------------- /Editor/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Editor/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Editor/favicon.ico -------------------------------------------------------------------------------- /Editor/script/default.reo: -------------------------------------------------------------------------------- 1 | // 'workbook' is the predefined global object for workbook instance of control 2 | // 3 | 4 | var sheet = workbook.currentWorksheet; 5 | 6 | sheet.getCell("A1").data = 'hello'; 7 | sheet.getCell(0, 1).data = 'world'; 8 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2013-2021 Jingwood, All rights reserved. 4 | Copyright (c) 2013-2021 unvell, All rights reserved. 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | SOFTWARE. 23 | -------------------------------------------------------------------------------- /License.FastColoredTextBox.txt: -------------------------------------------------------------------------------- 1 | The following software may be included in this software: 2 | 3 | - FastColoredTextBox 4 | http://www.codeproject.com/Articles/161871/Fast-Colored-TextBox-for-syntax-highlighting 5 | 6 | // 7 | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | // PURPOSE. 11 | // 12 | // License: GNU Lesser General Public License (LGPLv3) 13 | // 14 | // Email: pavel_torgashov@mail.ru. 15 | // 16 | // Copyright (C) Pavel Torgashov, 2011-2013. 17 | // -------------------------------------------------------------------------------- /License.ReoScript.txt: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoScript - .NET Script Language Engine 4 | * 5 | * http://www.unvell.com/ReoScript 6 | * http://reoscript.codeplex.com/ 7 | * 8 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 9 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 10 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 11 | * PURPOSE. 12 | * 13 | * This software released under LGPLv3 license. 14 | * Author: Jing Lu 15 | * 16 | * Copyright (c) 2012-2013 unvell.com, all rights reserved. 17 | * 18 | ****************************************************************************/ 19 | -------------------------------------------------------------------------------- /License.bzip2.txt: -------------------------------------------------------------------------------- 1 | 2 | The managed BZIP2 code included in Ionic.BZip2.dll and Ionic.Zip.dll is 3 | modified code, based on the bzip2 code in the Apache commons compress 4 | library. 5 | 6 | The original BZip2 was created by Julian Seward, and is licensed under 7 | the BSD license. 8 | 9 | The following license applies to the Apache code: 10 | ----------------------------------------------------------------------- 11 | 12 | /* 13 | * Licensed to the Apache Software Foundation (ASF) under one 14 | * or more contributor license agreements. See the NOTICE file 15 | * distributed with this work for additional information 16 | * regarding copyright ownership. The ASF licenses this file 17 | * to you under the Apache License, Version 2.0 (the 18 | * "License"); you may not use this file except in compliance 19 | * with the License. You may obtain a copy of the License at 20 | * 21 | * http://www.apache.org/licenses/LICENSE-2.0 22 | * 23 | * Unless required by applicable law or agreed to in writing, 24 | * software distributed under the License is distributed on an 25 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 26 | * KIND, either express or implied. See the License for the 27 | * specific language governing permissions and limitations 28 | * under the License. 29 | */ 30 | -------------------------------------------------------------------------------- /NuGet/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/NuGet/icon.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ReoGrid 2 | 3 | ![NuGet](https://img.shields.io/nuget/v/unvell.ReoGrid.DLL.svg) 4 | 5 | Fast and powerful open source .NET spreadsheet component 6 | 7 | https://reogrid.net 8 | 9 | # Documentations 10 | 11 | https://reogrid.net/document 12 | 13 | # Snapshots 14 | 15 | Read from Excel
16 | ![Snapshot - Read from Excel](https://raw.githubusercontent.com/unvell/ReoGrid/master/Snapshots/02.png) 17 | 18 | Print Settings
19 | ![Snapshot - Print setting](https://raw.githubusercontent.com/unvell/ReoGrid/master/Snapshots/01_2.png) 20 | 21 | Charts
22 | ![Snapshot - Charts](https://raw.githubusercontent.com/unvell/ReoGrid/master/Snapshots/276.png) 23 | 24 | Cells Freeze
25 | ![Snapshot - Freeze](https://raw.githubusercontent.com/unvell/ReoGrid/master/Snapshots/08.png) 26 | 27 | Cell Types and Controls
28 | ![Snapshot - Cell Types and Controls](https://raw.githubusercontent.com/unvell/ReoGrid/master/Snapshots/62.png) 29 | 30 | Group and Outline
31 | ![Snapshot - Group and Outline](https://raw.githubusercontent.com/unvell/ReoGrid/master/Snapshots/61.png) 32 | 33 | Custom Control Appearance
34 | ![Snapshot - Custom Control Appearance](https://raw.githubusercontent.com/unvell/ReoGrid/master/Snapshots/21.png) 35 | 36 | Script and Macro Execution
37 | ![Snapshot - Script and Macro](https://raw.githubusercontent.com/unvell/ReoGrid/master/Snapshots/27.png) 38 | 39 | # License 40 | 41 | MIT License 42 | 43 | Copyright (c) Jingwood & unvell.com 2012-2019, All rights reserved. 44 | 45 | -------------------------------------------------------------------------------- /Ref/Antlr3.Runtime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Ref/Antlr3.Runtime.dll -------------------------------------------------------------------------------- /Ref/FastColoredTextBox.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Ref/FastColoredTextBox.dll -------------------------------------------------------------------------------- /Ref/unvell.ReoScript.EditorLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Ref/unvell.ReoScript.EditorLib.dll -------------------------------------------------------------------------------- /Ref/unvell.ReoScript.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Ref/unvell.ReoScript.dll -------------------------------------------------------------------------------- /ReoGrid/Actions/BackupRangeInfo.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - Opensource .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Thank you to all contributors! 13 | * 14 | * (c) 2012-2025 Jingwood, UNVELL Inc. 15 | * 16 | ****************************************************************************/ 17 | 18 | namespace unvell.ReoGrid.Actions 19 | { 20 | internal struct BackupRangeInfo 21 | { 22 | internal int start; 23 | internal int count; 24 | 25 | public BackupRangeInfo(int start, int count) 26 | { 27 | this.start = start; 28 | this.count = count; 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /ReoGrid/Avalonia/AvaloniaDashStyles.cs: -------------------------------------------------------------------------------- 1 | #if AVALONIA 2 | using Avalonia.Media; 3 | namespace unvell.ReoGrid.AvaloniaPlatform; 4 | class DashStyles 5 | { 6 | public static RGDashStyle Solid => null; 7 | public static RGDashStyle Dash => DashStyle.Dash; 8 | public static RGDashStyle Dot => DashStyle.DashDot; 9 | public static RGDashStyle DashDotDot => DashStyle.DashDotDot; 10 | public static RGDashStyle DashDot => DashStyle.DashDot; 11 | } 12 | 13 | /// 14 | /// System.Drawing.SystemColors 15 | /// 16 | static class SystemColors 17 | { 18 | private static RGColor ToAvaloniaColor(this System.Drawing.Color color) 19 | { 20 | return RGColor.FromArgb(color.A, color.R, color.G, color.B); 21 | } 22 | 23 | public static RGColor ControlDarkDark { get; } = System.Drawing.SystemColors.ControlDarkDark.ToAvaloniaColor(); 24 | public static RGColor Highlight { get; } = System.Drawing.SystemColors.Highlight.ToAvaloniaColor(); 25 | public static RGColor Window { get; } = System.Drawing.SystemColors.Window.ToAvaloniaColor(); 26 | public static RGColor WindowText { get; } = System.Drawing.SystemColors.WindowText.ToAvaloniaColor(); 27 | public static RGColor Control { get; } = System.Drawing.SystemColors.Control.ToAvaloniaColor(); 28 | public static RGColor ControlLight { get; } = System.Drawing.SystemColors.ControlLight.ToAvaloniaColor(); 29 | public static RGColor ControlDark { get; } = System.Drawing.SystemColors.ControlDark.ToAvaloniaColor(); 30 | } 31 | #endif 32 | -------------------------------------------------------------------------------- /ReoGrid/Core/AutoFillSerial/AutoFillSectionEntryFactory.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - Opensource .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Copyright (c) 2012-2025 Jingwood 13 | * Copyright (c) 2017 Koen Visser, all rights reserved. 14 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 15 | * 16 | ****************************************************************************/ 17 | 18 | using unvell.ReoGrid.Utility; 19 | 20 | namespace unvell.ReoGrid 21 | { 22 | public static class AutoFillSectionEntryFactory 23 | { 24 | public static IAutoFillSectionEntry Create(object value) 25 | { 26 | if (value == null) 27 | { 28 | return new NullAutoFillSectionEntry(); 29 | } 30 | 31 | if (CellUtility.TryGetNumberData(value, out var number)) 32 | { 33 | return new NumericalAutoFillSectionEntry(number); 34 | } 35 | 36 | return new TextAutoFillSectionEntry(value.ToString()); 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /ReoGrid/Core/AutoFillSerial/IAutoFillSectionEntry.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - Opensource .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Copyright (c) 2012-2025 Jingwood 13 | * Copyright (c) 2017 Koen Visser, all rights reserved. 14 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 15 | * 16 | ****************************************************************************/ 17 | 18 | namespace unvell.ReoGrid 19 | { 20 | public interface IAutoFillSectionEntry 21 | { 22 | object Value { get; } 23 | 24 | bool IsSequenceOf(IAutoFillSectionEntry otherEntry); 25 | 26 | object GetIterationValue(object baseValue, object incrementPerIteration, int iteration); 27 | 28 | object GetIncrementPerIteration(object baseValue, int numberOfEntries); 29 | } 30 | } -------------------------------------------------------------------------------- /ReoGrid/Core/AutoFillSerial/NullAutoFillSectionEntry.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - Opensource .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Copyright (c) 2012-2025 Jingwood 13 | * Copyright (c) 2017 Koen Visser, all rights reserved. 14 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 15 | * 16 | ****************************************************************************/ 17 | 18 | namespace unvell.ReoGrid 19 | { 20 | public class NullAutoFillSectionEntry : IAutoFillSectionEntry 21 | { 22 | public object Value { get; } 23 | 24 | public bool IsSequenceOf(IAutoFillSectionEntry otherEntry) 25 | { 26 | return otherEntry is NullAutoFillSectionEntry; 27 | } 28 | 29 | public object GetIterationValue(object baseValue, object incrementPerIteration, int iteration) 30 | { 31 | return null; 32 | } 33 | 34 | public object GetIncrementPerIteration(object baseValue, int numberOfEntries) 35 | { 36 | return null; 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /ReoGrid/Core/DataBind.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood 15 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.Linq; 22 | using System.Text; 23 | 24 | namespace unvell.ReoGrid.DataBind 25 | { 26 | partial class Worksheet 27 | { 28 | 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /ReoGrid/Core/Drawing.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood 15 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | #if DRAWING 20 | 21 | using System; 22 | using System.Collections.Generic; 23 | using System.Linq; 24 | using System.Text; 25 | 26 | namespace unvell.ReoGrid 27 | { 28 | using unvell.ReoGrid.Drawing; 29 | 30 | partial class Worksheet 31 | { 32 | internal WorksheetDrawingCanvas drawingCanvas; 33 | 34 | /// 35 | /// Access the collection of floating objects from worksheet. 36 | /// 37 | public IFloatingObjectCollection FloatingObjects 38 | { 39 | get { return this.drawingCanvas.Children; } 40 | } 41 | } 42 | } 43 | 44 | #endif // DRAWING -------------------------------------------------------------------------------- /ReoGrid/Core/Worksheet/WorksheetInterface.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood 15 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | #if PRINT 20 | 21 | using System; 22 | using System.Collections.Generic; 23 | using System.Linq; 24 | using System.Text; 25 | 26 | namespace unvell.ReoGrid.Print 27 | { 28 | public interface IPrintableContainer 29 | { 30 | PrintSession CreatePrintSession(); 31 | } 32 | } 33 | 34 | #endif // PRINT -------------------------------------------------------------------------------- /ReoGrid/DataFormat/TextDataFormatter.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood 15 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.Linq; 22 | using System.Text; 23 | 24 | using unvell.ReoGrid.Core; 25 | using unvell.ReoGrid.DataFormat; 26 | 27 | namespace unvell.ReoGrid.DataFormat 28 | { 29 | internal class TextDataFormatter : IDataFormatter 30 | { 31 | public string FormatCell(Cell cell) 32 | { 33 | if (cell.InnerStyle.HAlign == ReoGridHorAlign.General) 34 | { 35 | cell.RenderHorAlign = ReoGridRenderHorAlign.Left; 36 | } 37 | 38 | return Convert.ToString(cell.InnerData); 39 | } 40 | 41 | public bool PerformTestFormat() 42 | { 43 | return false; 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /ReoGrid/Drawing/DrawingContext.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood 15 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | #if DRAWING 20 | 21 | using System; 22 | using System.Collections.Generic; 23 | using System.Linq; 24 | using System.Text; 25 | 26 | using unvell.ReoGrid.Rendering; 27 | 28 | namespace unvell.ReoGrid.Drawing 29 | { 30 | /// 31 | /// Represents the floating objects drawing context. 32 | /// 33 | public class FloatingDrawingContext : unvell.ReoGrid.Rendering.DrawingContext 34 | { 35 | /// 36 | /// Get the current drawing object. 37 | /// 38 | public DrawingObject CurrentObject { get; private set; } 39 | 40 | internal FloatingDrawingContext(Worksheet worksheet, DrawMode drawMode, IRenderer r) 41 | : base(worksheet, drawMode, r) 42 | { 43 | } 44 | 45 | internal void SetCurrentObject(DrawingObject currentObject) 46 | { 47 | this.CurrentObject = currentObject; 48 | } 49 | } 50 | } 51 | 52 | #endif // DRAWING -------------------------------------------------------------------------------- /ReoGrid/Drawing/Layout.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood 15 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | #if DRAWING 20 | 21 | using System; 22 | using System.Collections.Generic; 23 | using System.Linq; 24 | using System.Text; 25 | 26 | namespace unvell.ReoGrid.Drawing 27 | { 28 | /* 29 | public enum DockingPosition 30 | { 31 | Left, 32 | Right, 33 | Top, 34 | Bottom, 35 | Fill, 36 | } 37 | */ 38 | } 39 | 40 | #endif // DRAWING -------------------------------------------------------------------------------- /ReoGrid/Graphics/IBrush.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace unvell.ReoGrid.Graphics 7 | { 8 | internal interface IBrush 9 | { 10 | 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /ReoGrid/IO/OpenXMLUtility.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | internal class OpenXMLUtility 7 | { 8 | public static bool IsTrue(string booleanValue) 9 | { 10 | return booleanValue == "1" || string.Compare(booleanValue, "true", true) == 0; 11 | } 12 | } -------------------------------------------------------------------------------- /ReoGrid/Interaction/MouseButtons.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood 15 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | using System; 20 | using System.Collections.Generic; 21 | using System.Linq; 22 | using System.Text; 23 | 24 | namespace unvell.ReoGrid.Interaction 25 | { 26 | /// 27 | /// Mouse button down status 28 | /// 29 | public enum MouseButtons 30 | { 31 | /// 32 | /// None 33 | /// 34 | None = 0, 35 | 36 | /// 37 | /// Left 38 | /// 39 | Left = 0x100000, 40 | 41 | /// 42 | /// Right 43 | /// 44 | Right = 0x200000, 45 | 46 | /// 47 | /// Middle 48 | /// 49 | Middle = 0x400000, 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /ReoGrid/Print/AvaloniaPrinter.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2023 Jingwood 15 | * Copyright (c) 2012-2023 unvell inc. All rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | #if PRINT 20 | 21 | #if AVALONIA 22 | 23 | using System; 24 | using System.Collections.Generic; 25 | using System.Linq; 26 | using System.Text; 27 | 28 | using unvell.ReoGrid.Print; 29 | 30 | namespace unvell.ReoGrid.Print 31 | { 32 | partial class PrintSession 33 | { 34 | internal void Init() { } 35 | 36 | public void Dispose() { } 37 | 38 | /// 39 | /// Start output document to printer. 40 | /// 41 | public void Print() 42 | { 43 | throw new NotImplementedException("Avalonia Print is not implemented yet. Try use Windows Form version to print document as XPS file."); 44 | } 45 | } 46 | } 47 | 48 | namespace unvell.ReoGrid 49 | { 50 | partial class Worksheet 51 | { 52 | } 53 | } 54 | 55 | #endif // WPF 56 | 57 | #endif // PRINT -------------------------------------------------------------------------------- /ReoGrid/Print/PDFPrint.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood 15 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | #if PRINT 20 | 21 | using System; 22 | using System.Collections.Generic; 23 | using System.Linq; 24 | using System.Text; 25 | 26 | namespace unvell.ReoGrid.Print 27 | { 28 | 29 | } 30 | 31 | #endif // PRINT -------------------------------------------------------------------------------- /ReoGrid/Print/PrintInterface.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood 15 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | #if PRINT 20 | 21 | using System; 22 | using System.Collections.Generic; 23 | using System.Linq; 24 | using System.Text; 25 | 26 | namespace unvell.ReoGrid.Print 27 | { 28 | internal interface IPrintSession 29 | #if WINFORM 30 | : IDisposable 31 | #endif // WINFORM 32 | { 33 | IList Worksheets { get; } 34 | 35 | #if WINFORM 36 | System.Drawing.Printing.PrintDocument PrintDocument { get; } 37 | #endif // WINFORM 38 | } 39 | } 40 | 41 | #endif // PRINT -------------------------------------------------------------------------------- /ReoGrid/Print/WPFPrinter.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood 15 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | #if PRINT 20 | 21 | #if WPF 22 | 23 | using System; 24 | using System.Collections.Generic; 25 | using System.Linq; 26 | using System.Text; 27 | 28 | using unvell.ReoGrid.Print; 29 | 30 | namespace unvell.ReoGrid.Print 31 | { 32 | partial class PrintSession 33 | { 34 | internal void Init() { } 35 | 36 | public void Dispose() { } 37 | 38 | /// 39 | /// Start output document to printer. 40 | /// 41 | public void Print() 42 | { 43 | throw new NotImplementedException("WPF Print is not implemented yet. Try use Windows Form version to print document as XPS file."); 44 | } 45 | } 46 | } 47 | 48 | namespace unvell.ReoGrid 49 | { 50 | partial class Worksheet 51 | { 52 | } 53 | } 54 | 55 | #endif // WPF 56 | 57 | #endif // PRINT -------------------------------------------------------------------------------- /ReoGrid/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace unvell.ReoGrid.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /ReoGrid/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ReoGrid/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "iisSettings": { 3 | "windowsAuthentication": false, 4 | "anonymousAuthentication": true, 5 | "iisExpress": { 6 | "applicationUrl": "http://localhost:59122/", 7 | "sslPort": 0 8 | } 9 | }, 10 | "profiles": { 11 | "IIS Express": { 12 | "commandName": "IISExpress", 13 | "launchBrowser": true, 14 | "environmentVariables": { 15 | "ASPNETCORE_ENVIRONMENT": "Development" 16 | } 17 | }, 18 | "ReoGrid": { 19 | "commandName": "Project" 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /ReoGrid/Rendering/PDF.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace unvell.ReoGrid.Rendering 7 | { 8 | class PDF 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /ReoGrid/Resources/NewBuildDefinition_8952.png.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/ReoGrid/Resources/NewBuildDefinition_8952.png.dat -------------------------------------------------------------------------------- /ReoGrid/Resources/NewBuildDefinition_8952_inactive.png.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/ReoGrid/Resources/NewBuildDefinition_8952_inactive.png.dat -------------------------------------------------------------------------------- /ReoGrid/Resources/all_design.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/ReoGrid/Resources/all_design.png -------------------------------------------------------------------------------- /ReoGrid/Resources/all_design_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/ReoGrid/Resources/all_design_32.png -------------------------------------------------------------------------------- /ReoGrid/Resources/base_lib.reo: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2012-2016 UNVELL Inc., All Rights Reserved. */ 2 | 3 | function Pos(row, col) { this.row = row; this.col = col; } 4 | 5 | function Range(row, col, rows, cols) { 6 | this.row = row; this.col = col; this.rows = rows; this.cols = cols; 7 | 8 | this.startPos = new Pos(row, col); 9 | this.endPos = new Pos(row + rows, col + cols); 10 | } 11 | 12 | this.grid = workbook; 13 | -------------------------------------------------------------------------------- /ReoGrid/Resources/blank.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/ReoGrid/Resources/blank.xlsx -------------------------------------------------------------------------------- /ReoGrid/Resources/cell_merge_bak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/ReoGrid/Resources/cell_merge_bak.png -------------------------------------------------------------------------------- /ReoGrid/Resources/cross.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/ReoGrid/Resources/cross.cur -------------------------------------------------------------------------------- /ReoGrid/Resources/eye_16xLG.png.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/ReoGrid/Resources/eye_16xLG.png.dat -------------------------------------------------------------------------------- /ReoGrid/Resources/full_col_select.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/ReoGrid/Resources/full_col_select.cur -------------------------------------------------------------------------------- /ReoGrid/Resources/full_row_select.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/ReoGrid/Resources/full_row_select.cur -------------------------------------------------------------------------------- /ReoGrid/Resources/grid_select.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/ReoGrid/Resources/grid_select.cur -------------------------------------------------------------------------------- /ReoGrid/Resources/icon_list.png.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/ReoGrid/Resources/icon_list.png.dat -------------------------------------------------------------------------------- /ReoGrid/Resources/none_border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/ReoGrid/Resources/none_border.png -------------------------------------------------------------------------------- /ReoGrid/Resources/pick_range.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/ReoGrid/Resources/pick_range.cur -------------------------------------------------------------------------------- /ReoGrid/Test/RichTextTestForm.Designer.cs: -------------------------------------------------------------------------------- 1 | #if DEBUG && WINFORM 2 | 3 | namespace unvell.ReoGrid.Test 4 | { 5 | partial class RichTextTestForm 6 | { 7 | /// 8 | /// Required designer variable. 9 | /// 10 | private System.ComponentModel.IContainer components = null; 11 | 12 | /// 13 | /// Clean up any resources being used. 14 | /// 15 | /// true if managed resources should be disposed; otherwise, false. 16 | protected override void Dispose(bool disposing) 17 | { 18 | if (disposing && (components != null)) 19 | { 20 | components.Dispose(); 21 | } 22 | base.Dispose(disposing); 23 | } 24 | 25 | #region Windows Form Designer generated code 26 | 27 | /// 28 | /// Required method for Designer support - do not modify 29 | /// the contents of this method with the code editor. 30 | /// 31 | private void InitializeComponent() 32 | { 33 | this.SuspendLayout(); 34 | // 35 | // RichTextTestForm 36 | // 37 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 38 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 39 | this.ClientSize = new System.Drawing.Size(284, 404); 40 | this.Name = "RichTextTestForm"; 41 | this.Text = "RichTextTest"; 42 | this.ResumeLayout(false); 43 | 44 | } 45 | 46 | #endregion 47 | } 48 | } 49 | 50 | #endif // DEBUG && WINFORM -------------------------------------------------------------------------------- /ReoGrid/Utility/LangUtility.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace unvell.ReoGrid.Utility 7 | { 8 | class LangUtility 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /ReoGrid/Utility/ZipFileArchive.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * This software released under LGPLv3 license. 13 | * 14 | * Author: Jing Lu 15 | * Contributors: Rick Meyer 16 | * 17 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 18 | * Copyright (c) 2014 Rick Meyer, All rights reserved. 19 | * 20 | ****************************************************************************/ 21 | 22 | using System; 23 | using System.Collections.Generic; 24 | using System.IO; 25 | using System.IO.Compression; 26 | using System.Linq; 27 | using System.Reflection; 28 | using System.Text; 29 | 30 | namespace unvell.ReoGrid.Utility 31 | { 32 | internal interface IZipArchive 33 | { 34 | IZipEntry GetFile(string path); 35 | IZipEntry AddFile(string path, Stream stream = null); 36 | bool IsFileExist(string path); 37 | void Flush(); 38 | void Close(); 39 | } 40 | 41 | internal interface IZipEntry 42 | { 43 | Stream GetStream(); 44 | Stream CreateStream(); 45 | } 46 | 47 | 48 | } 49 | -------------------------------------------------------------------------------- /ReoGrid/Views/CommentView.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood 15 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | #if COMMENT 20 | 21 | using unvell.ReoGrid.Rendering; 22 | 23 | namespace unvell.ReoGrid.Views 24 | { 25 | internal class CommentViewport : Viewport 26 | { 27 | public CommentViewport(IViewportController vc) 28 | : base(vc) 29 | { 30 | } 31 | 32 | public override void DrawView(CellDrawingContext dc) 33 | { 34 | if (this.sheet.cellComments != null) 35 | { 36 | foreach (var comment in this.sheet.cellComments.Values) 37 | { 38 | 39 | } 40 | } 41 | } 42 | 43 | public override IView GetViewByPoint(Graphics.Point p) 44 | { 45 | return GetChildrenByPoint(p); 46 | } 47 | } 48 | } 49 | 50 | #endif // COMMENT -------------------------------------------------------------------------------- /ReoGrid/Views/Controllers/IScalableViewportController.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood, unvell.com, all rights reserved. 15 | * 16 | ****************************************************************************/ 17 | 18 | #define VP_DEBUG 19 | 20 | using System.Collections.Generic; 21 | using System.Diagnostics; 22 | 23 | #if WINFORM || ANDROID 24 | using RGFloat = System.Single; 25 | using RGIntDouble = System.Int32; 26 | 27 | #elif WPF 28 | using RGFloat = System.Double; 29 | using RGIntDouble = System.Double; 30 | 31 | #elif iOS 32 | using RGFloat = System.Double; 33 | using RGIntDouble = System.Double; 34 | 35 | #endif 36 | 37 | using unvell.ReoGrid.Graphics; 38 | using unvell.ReoGrid.Rendering; 39 | using unvell.ReoGrid.Interaction; 40 | using unvell.ReoGrid.Main; 41 | 42 | namespace unvell.ReoGrid.Views 43 | { 44 | internal interface IScalableViewportController 45 | { 46 | RGFloat ScaleFactor { get; set; } 47 | } 48 | } 49 | 50 | -------------------------------------------------------------------------------- /ReoGrid/Views/Header/HeaderViews.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood, unvell.com, all rights reserved. 15 | * 16 | ****************************************************************************/ 17 | 18 | using System; 19 | 20 | #if WINFORM || ANDROID 21 | using RGFloat = System.Single; 22 | #elif WPF || iOS 23 | using RGFloat = System.Double; 24 | #endif 25 | 26 | using unvell.Common; 27 | 28 | using unvell.ReoGrid.Actions; 29 | using unvell.ReoGrid.Events; 30 | using unvell.ReoGrid.Graphics; 31 | using unvell.ReoGrid.Rendering; 32 | using unvell.ReoGrid.Interaction; 33 | using unvell.ReoGrid.Main; 34 | 35 | namespace unvell.ReoGrid.Views 36 | { 37 | class HeaderView : Viewport, IRangeSelectableView 38 | { 39 | protected RGFloat headerAdjustBackup = 0; 40 | 41 | public HeaderView(IViewportController vc) 42 | : base(vc) 43 | { 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /ReoGrid/Views/Header/SpaceView.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood, unvell.com, all rights reserved. 15 | * 16 | ****************************************************************************/ 17 | 18 | using System; 19 | 20 | #if WINFORM || ANDROID 21 | using RGFloat = System.Single; 22 | #elif WPF || iOS 23 | using RGFloat = System.Double; 24 | #endif 25 | 26 | using unvell.Common; 27 | 28 | using unvell.ReoGrid.Actions; 29 | using unvell.ReoGrid.Events; 30 | using unvell.ReoGrid.Graphics; 31 | using unvell.ReoGrid.Rendering; 32 | using unvell.ReoGrid.Interaction; 33 | using unvell.ReoGrid.Main; 34 | 35 | namespace unvell.ReoGrid.Views 36 | { 37 | class SpaceView : View 38 | { 39 | public SpaceView() : base() { } 40 | 41 | public override void Draw(CellDrawingContext dc) 42 | { 43 | dc.Graphics.FillRectangle(bounds, Rendering.StaticResources.SystemColor_Control); 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /ReoGrid/Views/Header/XRulerView.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood, unvell.com, all rights reserved. 15 | * 16 | ****************************************************************************/ 17 | 18 | using System; 19 | 20 | #if WINFORM || ANDROID 21 | using RGFloat = System.Single; 22 | #elif WPF || iOS 23 | using RGFloat = System.Double; 24 | #endif 25 | 26 | using unvell.Common; 27 | 28 | using unvell.ReoGrid.Actions; 29 | using unvell.ReoGrid.Events; 30 | using unvell.ReoGrid.Graphics; 31 | using unvell.ReoGrid.Rendering; 32 | using unvell.ReoGrid.Interaction; 33 | using unvell.ReoGrid.Main; 34 | 35 | namespace unvell.ReoGrid.Views 36 | { 37 | class XRulerView : View 38 | { 39 | public XRulerView(IViewportController vc) : base(vc) { } 40 | 41 | public override void Draw(CellDrawingContext dc) 42 | { 43 | throw new NotImplementedException(); 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /ReoGrid/Views/IRangeSelectableView.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood, unvell.com, all rights reserved. 15 | * 16 | ****************************************************************************/ 17 | 18 | using System; 19 | 20 | #if DEBUG 21 | using System.Diagnostics; 22 | #endif 23 | 24 | #if EX_SCRIPT 25 | using unvell.ReoScript; 26 | using unvell.ReoGrid.Script; 27 | #endif // EX_SCRIPT 28 | 29 | #if WINFORM || ANDROID 30 | using RGFloat = System.Single; 31 | #elif !GLOBALUSING 32 | using RGFloat = System.Double; 33 | #endif // WINFORM 34 | 35 | using unvell.Common; 36 | 37 | #if WINFORM || WPF 38 | using unvell.Common.Win32Lib; 39 | #endif // WINFORM || WPF 40 | 41 | using unvell.ReoGrid.Core; 42 | using unvell.ReoGrid.Utility; 43 | using unvell.ReoGrid.Rendering; 44 | using unvell.ReoGrid.Events; 45 | using unvell.ReoGrid.Actions; 46 | using unvell.ReoGrid.Data; 47 | using unvell.ReoGrid.Graphics; 48 | using unvell.ReoGrid.Interaction; 49 | 50 | namespace unvell.ReoGrid.Views 51 | { 52 | interface IRangeSelectableView : IViewport 53 | { 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /ReoGrid/Views/LayerExtension.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood, unvell.com, all rights reserved. 15 | * 16 | ****************************************************************************/ 17 | 18 | using System; 19 | using System.Collections.Generic; 20 | using System.Linq; 21 | using System.Text; 22 | 23 | namespace unvell.ReoGrid 24 | { 25 | using unvell.ReoGrid.Views; 26 | 27 | partial class Worksheet 28 | { 29 | internal void InitViewportController() 30 | { 31 | this.viewportController = new NormalViewportController(this); 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /ReoGrid/Views/SheetViewport.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood, unvell.com, all rights reserved. 15 | * 16 | ****************************************************************************/ 17 | 18 | using System; 19 | using System.Collections.Generic; 20 | using System.Linq; 21 | using System.Text; 22 | 23 | namespace unvell.ReoGrid.Views 24 | { 25 | class SheetViewport : LayerViewport 26 | { 27 | public SheetViewport(IViewportController vc) 28 | : base(vc) 29 | { 30 | this.children = new List(4) 31 | { 32 | new CellsViewport(vc) { PerformTransform = false }, 33 | 34 | #if DRAWING 35 | new DrawingViewport(vc) { PerformTransform = false }, 36 | #if COMMENT 37 | new CommentViewport(vc) { PerformTransform = false }, 38 | #endif // COMMENT 39 | #endif // DRAWING 40 | 41 | new CellsForegroundView(vc) { PerformTransform = false }, 42 | }; 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /ReoGrid/Views/ViewTypes.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood, unvell.com, all rights reserved. 15 | * 16 | ****************************************************************************/ 17 | 18 | using System; 19 | using System.Collections.Generic; 20 | using System.Linq; 21 | using System.Text; 22 | 23 | namespace unvell.ReoGrid.Views 24 | { 25 | internal enum ViewTypes 26 | { 27 | None = 0x0, 28 | Cells = 0x1, 29 | 30 | ColumnHeader = 0x2, 31 | RowHeader = 0x4, 32 | LeadHeader = ColumnHeader | RowHeader, 33 | 34 | ColOutline = 0x10, 35 | RowOutline = 0x20, 36 | Outlines = ColOutline | RowOutline, 37 | } 38 | } -------------------------------------------------------------------------------- /ReoGrid/WPF/Utility.cs: -------------------------------------------------------------------------------- 1 | #if WPF 2 | 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Windows; 8 | using System.Windows.Media.Imaging; 9 | 10 | namespace unvell.ReoGrid.WPF 11 | { 12 | class Utility 13 | { 14 | internal static BitmapSource LoadGDIBitmap(System.Drawing.Bitmap source) 15 | { 16 | IntPtr ip = source.GetHbitmap(); 17 | BitmapSource bs = null; 18 | 19 | try 20 | { 21 | bs = System.Windows.Interop.Imaging.CreateBitmapSourceFromHBitmap(ip, 22 | IntPtr.Zero, Int32Rect.Empty, 23 | System.Windows.Media.Imaging.BitmapSizeOptions.FromEmptyOptions()); 24 | } 25 | finally 26 | { 27 | unvell.Common.Win32Lib.Win32.DeleteObject(ip); 28 | } 29 | 30 | return bs; 31 | } 32 | 33 | } 34 | } 35 | 36 | #endif // WPF -------------------------------------------------------------------------------- /ReoGrid/WinForm/AboutForm.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * https://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Author: Jingwood 13 | * 14 | * Copyright (c) 2012-2025 Jingwood 15 | * Copyright (c) 2012-2025 UNVELL Inc. All rights reserved. 16 | * 17 | ****************************************************************************/ 18 | 19 | #if WINFORM 20 | 21 | using System; 22 | using System.Collections.Generic; 23 | using System.ComponentModel; 24 | using System.Data; 25 | using System.Drawing; 26 | using System.Linq; 27 | using System.Text; 28 | using System.Windows.Forms; 29 | using System.Diagnostics; 30 | 31 | namespace unvell.ReoGrid.WinForm 32 | { 33 | /// 34 | /// About dialog form of ReoGrid 35 | /// 36 | public partial class AboutForm : Form 37 | { 38 | /// 39 | /// Create about dialog 40 | /// 41 | public AboutForm() 42 | { 43 | InitializeComponent(); 44 | 45 | lnkHP.Click += (s, e) => RGUtility.OpenFileOrLink(lnkHP.Text); 46 | labVersion.Text = "version " + ProductVersion.ToString(); 47 | 48 | textBox2.Text = unvell.ReoGrid.Properties.Resources.EULA_EN; 49 | } 50 | } 51 | } 52 | 53 | #endif -------------------------------------------------------------------------------- /ReoGrid/WinForm/Designer/WorkbookEditorForm.cs: -------------------------------------------------------------------------------- 1 | #if WINFORM 2 | 3 | using System; 4 | using System.Collections.Generic; 5 | using System.ComponentModel; 6 | using System.Data; 7 | using System.Drawing; 8 | using System.Linq; 9 | using System.Text; 10 | using System.Windows.Forms; 11 | 12 | namespace unvell.ReoGrid.WinForm.Designer 13 | { 14 | /// 15 | /// Workbook editor for design-time of Visual Studio 16 | /// 17 | public partial class WorkbookEditorForm : Form 18 | { 19 | /// 20 | /// Create editor instance 21 | /// 22 | public WorkbookEditorForm() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | 29 | #endif -------------------------------------------------------------------------------- /ReoGrid/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /ReoGrid/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/ReoGrid/favicon.ico -------------------------------------------------------------------------------- /ReoGrid/globalusing.cs: -------------------------------------------------------------------------------- 1 | #if AVALONIA 2 | global using RGFloat = System.Double; 3 | global using RGPoint = Avalonia.Point; 4 | global using RGPointF = Avalonia.Point; 5 | global using IntOrDouble = System.Double; 6 | global using RGIntDouble = System.Double; 7 | global using RGRect = Avalonia.Rect; 8 | global using RGColor = Avalonia.Media.Color; 9 | global using RGBrush = Avalonia.Media.SolidColorBrush; 10 | global using RGPen = Avalonia.Media.Pen; 11 | global using PlatformGraphics = Avalonia.Media.DrawingContext; 12 | global using RGPath = Avalonia.Media.Geometry; 13 | global using RGImage = Avalonia.Media.Imaging.Bitmap; 14 | global using RGTransform = Avalonia.Matrix; 15 | global using RGSizeF = Avalonia.Size; 16 | global using CellArray = unvell.ReoGrid.Data.Index4DArray; 17 | global using HBorderArray = unvell.ReoGrid.Data.Index4DArray; 18 | global using VBorderArray = unvell.ReoGrid.Data.Index4DArray; 19 | global using RGFont = Avalonia.Media.Typeface; 20 | global using RGPenColor = Avalonia.Media.Brushes; 21 | global using RGSolidBrush = Avalonia.Media.SolidColorBrush; 22 | global using RGBrushes = Avalonia.Media.Brushes; 23 | global using RGDashStyle = Avalonia.Media.IDashStyle; 24 | 25 | global using RGDashStyles = unvell.ReoGrid.AvaloniaPlatform.DashStyles; 26 | global using SystemColors = unvell.ReoGrid.AvaloniaPlatform.SystemColors; 27 | 28 | global using Cursor = Avalonia.Input.Cursor; 29 | #endif -------------------------------------------------------------------------------- /ReoGridAndroid.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReoGrid", "ReoGrid\ReoGrid.csproj", "{8B62357A-ABBC-4DB0-8633-F1D6A6C1EA53}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | DebugAndroid|Any CPU = DebugAndroid|Any CPU 11 | Extension|Any CPU = Extension|Any CPU 12 | Minimum|Any CPU = Minimum|Any CPU 13 | Release|Any CPU = Release|Any CPU 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {8B62357A-ABBC-4DB0-8633-F1D6A6C1EA53}.DebugAndroid|Any CPU.ActiveCfg = DebugAndroid|Any CPU 17 | {8B62357A-ABBC-4DB0-8633-F1D6A6C1EA53}.DebugAndroid|Any CPU.Build.0 = DebugAndroid|Any CPU 18 | {8B62357A-ABBC-4DB0-8633-F1D6A6C1EA53}.Extension|Any CPU.ActiveCfg = Extension|Any CPU 19 | {8B62357A-ABBC-4DB0-8633-F1D6A6C1EA53}.Extension|Any CPU.Build.0 = Extension|Any CPU 20 | {8B62357A-ABBC-4DB0-8633-F1D6A6C1EA53}.Minimum|Any CPU.ActiveCfg = Minimum|Any CPU 21 | {8B62357A-ABBC-4DB0-8633-F1D6A6C1EA53}.Minimum|Any CPU.Build.0 = Minimum|Any CPU 22 | {8B62357A-ABBC-4DB0-8633-F1D6A6C1EA53}.Release|Any CPU.ActiveCfg = Release|Any CPU 23 | {8B62357A-ABBC-4DB0-8633-F1D6A6C1EA53}.Release|Any CPU.Build.0 = Release|Any CPU 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | EndGlobal 29 | -------------------------------------------------------------------------------- /Samples/Tetris.reo: -------------------------------------------------------------------------------- 1 | // reset grid to 50x50 cells 2 | grid.reset(50, 50); 3 | 4 | // disable editing to all cells 5 | grid.oncelledit = e => false; 6 | 7 | // set 0-40 columns to 22 pixels width 8 | for(var i=0;i<40;i++) grid.getCol(i).width = 22; 9 | 10 | var shapes = [ 11 | [ [0x8, 0x8, 0xc], [0xe, 0x8] ], // L 12 | [ [0xc, 0xc] ], // [] 13 | [ [0xe, 0x4], [0x2, 0x6, 0x2], [0x0, 0x4, 0xe], [0x8, 0xc, 0x8] ], // T 14 | [ [0xe, 0x2], [0x2, 0x2, 0x6] ], // _| 15 | [ [0x8, 0x8, 0x8, 0x8], [0xf] ], // ---- 16 | ]; 17 | 18 | var shapegroup = shapes[Math.random * shapes.length]; 19 | var shape = shapegroup[0]; 20 | 21 | var x=10, y = 5; 22 | for(var r=0;r<4;r++){ 23 | for(var c=0;c<4;c++){ 24 | var shaperow = shape[r]; 25 | if(shaperow > 26 | -------------------------------------------------------------------------------- /Snapshots/01_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Snapshots/01_2.png -------------------------------------------------------------------------------- /Snapshots/02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Snapshots/02.png -------------------------------------------------------------------------------- /Snapshots/08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Snapshots/08.png -------------------------------------------------------------------------------- /Snapshots/21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Snapshots/21.png -------------------------------------------------------------------------------- /Snapshots/27.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Snapshots/27.png -------------------------------------------------------------------------------- /Snapshots/276.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Snapshots/276.png -------------------------------------------------------------------------------- /Snapshots/61.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Snapshots/61.png -------------------------------------------------------------------------------- /Snapshots/62.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/Snapshots/62.png -------------------------------------------------------------------------------- /TestCase/Program.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * http://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Source code in test-case project released under BSD license. 13 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 14 | * 15 | ****************************************************************************/ 16 | 17 | using System; 18 | using System.Linq; 19 | using System.Windows.Forms; 20 | 21 | namespace unvell.ReoGrid.Tests 22 | { 23 | static class Program 24 | { 25 | /// 26 | /// The main entry point for the application. 27 | /// 28 | [STAThread] 29 | static int Main(string[] args) 30 | { 31 | Application.EnableVisualStyles(); 32 | Application.SetCompatibleTextRenderingDefault(false); 33 | 34 | TestCaseManager.Instance.Filters = args.Where(a => !a.StartsWith("-")).ToArray(); 35 | 36 | if (args.Any(a => a.Equals("-gui", StringComparison.CurrentCultureIgnoreCase))) 37 | { 38 | Application.Run(new RunForm()); 39 | return 0; 40 | } 41 | else 42 | { 43 | return new ConsoleRunner().Run() ? 0 : 1; 44 | } 45 | } 46 | 47 | 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /TestCase/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("ReoGrid TestCase")] 9 | [assembly: AssemblyDescription(".NET Spreadsheet Control")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("unvell.com")] 12 | [assembly: AssemblyProduct("ReoGrid")] 13 | [assembly: AssemblyCopyright("Copyright © 2012-2016 unvell.com, All Rights Seserved.")] 14 | [assembly: AssemblyTrademark("ReoGrid.NET")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("18e168df-c1c1-46be-8835-b337ac86c115")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.3.0.0")] 36 | [assembly: AssemblyFileVersion("1.3.0.0")] 37 | -------------------------------------------------------------------------------- /TestCase/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace unvell.ReoGrid.Tests.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /TestCase/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /TestCase/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "TestCase": { 4 | "commandName": "Project" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /TestCase/Resources/CheckBoxDeHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/TestCase/Resources/CheckBoxDeHS.png -------------------------------------------------------------------------------- /TestCase/Resources/CheckBoxHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/TestCase/Resources/CheckBoxHS.png -------------------------------------------------------------------------------- /TestCase/Resources/DataContainer_MoveNextHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/TestCase/Resources/DataContainer_MoveNextHS.png -------------------------------------------------------------------------------- /TestCase/Resources/FormRunHS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/TestCase/Resources/FormRunHS.png -------------------------------------------------------------------------------- /TestCase/Resources/cmd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/TestCase/Resources/cmd.png -------------------------------------------------------------------------------- /TestCase/Resources/reogrid.lic: -------------------------------------------------------------------------------- 1 | Q6LXVAMDM25MZR546KD4MQF4QTNWRDWE7LUW33W2QW1R6AKLHPJV64EN9UF4T8CNY95Q1UXU2YYF7UQDGRKC557XBNAG2X8ZPY29GN6LJBEYHDV6MB7G3ZNTVKAPNW4JN8GCHQ86EP8XPWN6ZDKRV8RLZP7H7G3TLFF8YXN6YFW7EK3LLZBVGBJLBEPMU36DTZK9CUXD6X6ZZAXJ43FWQAR6CUG2XC762N54WEJJEEKEZC8L4GZF4PTHW8LC44Q6PBUJVY8TFHT7D14TLU7LFNUDTHZYE866UBDACWN5883RNN4N8ZQ5FNFMZHMUY6AKGHHCCP4M62W5CZ88UZZKRCTQ8ELUA1DQCJ5PEBBTKURUQ1D1CLX73GEJ218GNWXZUQ2CQBWJTVUUEW89L3VR8J4XU6MZJKHU9V459V34CGDY9UDXE8PEBU2QLZGM4CVLEHWUKYF6XGMF -------------------------------------------------------------------------------- /TestCase/Tests/FreezeTest.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * http://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Source code in test-case project released under BSD license. 13 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 14 | * 15 | ****************************************************************************/ 16 | 17 | using System; 18 | using System.Collections.Generic; 19 | using System.Linq; 20 | using System.Text; 21 | using unvell.ReoGrid.Actions; 22 | using unvell.ReoGrid.Graphics; 23 | 24 | namespace unvell.ReoGrid.Tests.TestCases 25 | { 26 | [TestSet] 27 | class FreezeTest : ReoGridTestSet 28 | { 29 | [TestCase] 30 | void RemoveRowsBeforeFrozenRows_Top() 31 | { 32 | SetUp(10, 10); 33 | 34 | worksheet.FreezeToCell(5, 5, FreezeArea.Top); 35 | 36 | worksheet.DeleteRows(2, 2); 37 | 38 | AssertEquals(worksheet.FreezePos.Row, 3); 39 | } 40 | 41 | [TestCase] 42 | void RemoveRowsBeforeFrozenRows_Bottom() 43 | { 44 | SetUp(10, 10); 45 | 46 | worksheet.FreezeToCell(9, 5, FreezeArea.Bottom); 47 | 48 | worksheet.DeleteRows(2, 2); 49 | 50 | AssertEquals(worksheet.FreezePos.Row, 7); 51 | } 52 | 53 | } 54 | 55 | } 56 | -------------------------------------------------------------------------------- /TestCase/Tests/MemWorkbookTest.cs: -------------------------------------------------------------------------------- 1 | /***************************************************************************** 2 | * 3 | * ReoGrid - .NET Spreadsheet Control 4 | * 5 | * http://reogrid.net/ 6 | * 7 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 8 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE 9 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR 10 | * PURPOSE. 11 | * 12 | * Source code in test-case project released under BSD license. 13 | * Copyright (c) 2012-2016 unvell.com, all rights reserved. 14 | * 15 | ****************************************************************************/ 16 | 17 | using System; 18 | using System.Collections.Generic; 19 | using System.Linq; 20 | using System.Text; 21 | using unvell.ReoGrid.Actions; 22 | 23 | namespace unvell.ReoGrid.Tests.TestCases 24 | { 25 | [TestSet] 26 | class MemoryWorkbookTest : TestSet 27 | { 28 | [TestCase] 29 | void FrozenWorkbookRGF() 30 | { 31 | // https://reogrid.net/forum/viewtopic.php?id=225 32 | var wb = ReoGridControl.CreateMemoryWorkbook(); 33 | 34 | var sheet = wb.Worksheets[0]; 35 | 36 | sheet["A1"] = "Hello"; 37 | sheet.FreezeToCell("C3"); 38 | sheet["D4"] = 12345; 39 | sheet.SaveRGF("RGF_MB_Frozen.rgf"); 40 | 41 | sheet.Reset(); 42 | 43 | sheet.LoadRGF("RGF_MB_Frozen.rgf"); 44 | AssertEquals(sheet["A1"], "Hello"); 45 | AssertSame(sheet["D4"], 12345); 46 | AssertEquals(sheet.FreezePos, new CellPosition("C3"), "sheet.FreezePos = C3"); 47 | } 48 | 49 | } 50 | 51 | } 52 | -------------------------------------------------------------------------------- /TestCase/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /TestCase/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /TestCase/xlsx/A01.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/TestCase/xlsx/A01.xlsx -------------------------------------------------------------------------------- /TestCase/xlsx/A02.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/TestCase/xlsx/A02.xlsx -------------------------------------------------------------------------------- /TestCase/xlsx/A03.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/TestCase/xlsx/A03.xlsx -------------------------------------------------------------------------------- /TestCase/xlsx/A04.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/TestCase/xlsx/A04.xlsx -------------------------------------------------------------------------------- /TestCase/xlsx/A05.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kongdetuo/ReoGrid.Avalonia/51592f012b6cd306baa177097f0dcaebeff4a10c/TestCase/xlsx/A05.xlsx --------------------------------------------------------------------------------