-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b52b357
commit ff4b695
Showing
1,455 changed files
with
319,833 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Syncfusion File Format WPF product samples | ||
# Syncfusion File Format WPF product samples | ||
|
||
This repository contains the demos of Syncfusion file format WPF products. Syncfusion file format products contains .NET libraries to create, read, edit and convert [PDF](https://www.syncfusion.com/pdf-framework/net?utm_source=github&utm_medium=listing), [Excel](https://www.syncfusion.com/excel-framework/net?utm_source=github&utm_medium=listing), [Word](https://www.syncfusion.com/word-framework/net?utm_source=github&utm_medium=listing) and [PowerPoint](https://www.syncfusion.com/powerpoint-framework/net?utm_source=github&utm_medium=listing) files. Also, it contains UI controls such as [PDF Viewer](https://www.syncfusion.com/wpf-ui-controls/pdf-viewer?utm_source=github&utm_medium=listing), [RichTextBox](https://www.syncfusion.com/wpf-ui-controls/richtextbox?utm_source=github&utm_medium=listing) and [Spreadsheet](https://www.syncfusion.com/wpf-ui-controls/spreadsheet?utm_source=github&utm_medium=listing) to work with PDF, Word and Excel files interactively. This is the best place to check our libraries/controls to get more insight about the usage of APIs. You can also check our controls by installing out [Demos](https://www.syncfusion.com/demos#desktop?utm_source=github&utm_medium=listing), in which you can browse the demo for all the controls. | ||
|
||
|
@@ -88,4 +88,4 @@ Syncfusion has no liability for any damage or consequence that may arise by the | |
|
||
* To renew the subscription, click [here](https://www.syncfusion.com/sales/products?utm_source=github&utm_medium=listing) or contact our sales team at <[email protected]>. | ||
|
||
<p>Copyright © 2001-2022 Syncfusion, Inc. Updated on 2022-12-27 at precisely 05:03:00 EST.</p> | ||
<p>Copyright © 2001-2023 Syncfusion, Inc. Updated on 2023-02-02 at precisely 05:48:03 EST.</p> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<SampleSource> | ||
<Source>SyncfusionOfflineCube</Source> | ||
<Version>SQL2005</Version> | ||
<FilePath /> | ||
<ServerName /> | ||
<DatabaseName /> | ||
</SampleSource> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file not shown.
240 changes: 240 additions & 0 deletions
240
common/Assets/Olap/Data/CubeModelTemplates/ReportDefenitionFile.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,240 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ArrayOfOlapReport> | ||
<OlapReport> | ||
<CategoricalElements> | ||
<List> | ||
<Item> | ||
<ElementValue d6p1:type="MeasureElements" xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance"> | ||
<Elements> | ||
<MeasureElement> | ||
<Name>Internet Sales Amount</Name> | ||
<UniqueName>[MEASURES].[Internet Sales Amount]</UniqueName> | ||
</MeasureElement> | ||
</Elements> | ||
</ElementValue> | ||
</Item> | ||
<Item> | ||
<ElementValue d6p1:type="DimensionElement" xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance"> | ||
<Name>Customer</Name> | ||
<Hierarchy> | ||
<Name>Customer Geography</Name> | ||
<LevelElements> | ||
<LevelElement> | ||
<Name>Country</Name> | ||
<MemberElements /> | ||
<IncludeAvailableMembers>false</IncludeAvailableMembers> | ||
</LevelElement> | ||
</LevelElements> | ||
</Hierarchy> | ||
<HierarchyName>Customer Geography</HierarchyName> | ||
</ElementValue> | ||
</Item> | ||
</List> | ||
<IsFilterOrSortOn>false</IsFilterOrSortOn> | ||
</CategoricalElements> | ||
<EngineVersion>Version3</EngineVersion> | ||
<ChartSettings> | ||
<AreaBackground /> | ||
<BorderColor>#000000</BorderColor> | ||
<DataPointValue>false</DataPointValue> | ||
<ChartBackground>#FFFFFF</ChartBackground> | ||
<ChartColorPalette>Default</ChartColorPalette> | ||
<ChartDockLegendPosition>Top</ChartDockLegendPosition> | ||
<ChartType>Column</ChartType> | ||
<GradientAngle>0</GradientAngle> | ||
<InteriorBackground>#FFFFFF</InteriorBackground> | ||
<IsCircleSymbol>false</IsCircleSymbol> | ||
<IsLabelTemplate1>false</IsLabelTemplate1> | ||
<IsLabelTemplate2>false</IsLabelTemplate2> | ||
<IsLabelTemplate3>false</IsLabelTemplate3> | ||
<IsRectangleSymbol>false</IsRectangleSymbol> | ||
<IsSeriesName>false</IsSeriesName> | ||
<IsTriangleSymbol>false</IsTriangleSymbol> | ||
<IsXValues>false</IsXValues> | ||
<IsYValues>false</IsYValues> | ||
<LabelsVisibility>false</LabelsVisibility> | ||
<LegendCheckBoxVisibility>false</LegendCheckBoxVisibility> | ||
<LegendVisibility>true</LegendVisibility> | ||
<ExpanderVisibility>false</ExpanderVisibility> | ||
<StrokeThickness>0</StrokeThickness> | ||
<SymbolsVisibility>false</SymbolsVisibility> | ||
<TemplateVisibility>false</TemplateVisibility> | ||
<XAxisFontFace>Segoe UI</XAxisFontFace> | ||
<XAxisForeGround>#1E90FF</XAxisForeGround> | ||
<XLabelFontWeight>Normal</XLabelFontWeight> | ||
<YAxisFontFace>Segoe UI</YAxisFontFace> | ||
<YAxisForeGround>#1E90FF</YAxisForeGround> | ||
<YLabelFontWeight>Normal</YLabelFontWeight> | ||
</ChartSettings> | ||
<CurrentCubeName>Adventure Works</CurrentCubeName> | ||
<FilterElements> | ||
<List /> | ||
<IsFilterOrSortOn>false</IsFilterOrSortOn> | ||
</FilterElements> | ||
<Name>Basic Template</Name> | ||
<SeriesElements> | ||
<List> | ||
<Item> | ||
<Axis>Series</Axis> | ||
<ElementValue d6p1:type="DimensionElement" xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance"> | ||
<Name>Date</Name> | ||
<Hierarchy> | ||
<Name>Fiscal</Name> | ||
<LevelElements> | ||
<LevelElement> | ||
<Name>Fiscal Year</Name> | ||
<MemberElements /> | ||
<IncludeAvailableMembers>false</IncludeAvailableMembers> | ||
</LevelElement> | ||
</LevelElements> | ||
</Hierarchy> | ||
<HierarchyName>Fiscal</HierarchyName> | ||
</ElementValue> | ||
</Item> | ||
</List> | ||
<IsFilterOrSortOn>false</IsFilterOrSortOn> | ||
</SeriesElements> | ||
<ShowEmptyColumnData>false</ShowEmptyColumnData> | ||
<ShowEmptyRowData>false</ShowEmptyRowData> | ||
<ShowExpanders>true</ShowExpanders> | ||
<SlicerElements> | ||
<List /> | ||
<IsFilterOrSortOn>false</IsFilterOrSortOn> | ||
</SlicerElements> | ||
<TogglePivot>false</TogglePivot> | ||
</OlapReport> | ||
<OlapReport> | ||
<CategoricalElements> | ||
<List> | ||
<Item> | ||
<ElementValue d6p1:type="MeasureElements" xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance"> | ||
<Elements> | ||
<MeasureElement> | ||
<Name>Internet Sales Amount</Name> | ||
<UniqueName>[MEASURES].[Internet Sales Amount]</UniqueName> | ||
</MeasureElement> | ||
</Elements> | ||
</ElementValue> | ||
</Item> | ||
<Item> | ||
<ElementValue d6p1:type="DimensionElement" xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance"> | ||
<Name>Customer</Name> | ||
<Hierarchy> | ||
<Name>Customer Geography</Name> | ||
<LevelElements> | ||
<LevelElement> | ||
<Name>Country</Name> | ||
<MemberElements /> | ||
<IncludeAvailableMembers>false</IncludeAvailableMembers> | ||
</LevelElement> | ||
</LevelElements> | ||
</Hierarchy> | ||
<HierarchyName>Customer Geography</HierarchyName> | ||
</ElementValue> | ||
</Item> | ||
</List> | ||
<IsFilterOrSortOn>false</IsFilterOrSortOn> | ||
</CategoricalElements> | ||
<EngineVersion>Version3</EngineVersion> | ||
<ChartSettings> | ||
<AreaBackground /> | ||
<BorderColor>#000000</BorderColor> | ||
<DataPointValue>false</DataPointValue> | ||
<ChartBackground>#FFFFFF</ChartBackground> | ||
<ChartColorPalette>Default</ChartColorPalette> | ||
<ChartDockLegendPosition>Top</ChartDockLegendPosition> | ||
<ChartType>Column</ChartType> | ||
<GradientAngle>0</GradientAngle> | ||
<InteriorBackground>#FFFFFF</InteriorBackground> | ||
<IsCircleSymbol>false</IsCircleSymbol> | ||
<IsLabelTemplate1>false</IsLabelTemplate1> | ||
<IsLabelTemplate2>false</IsLabelTemplate2> | ||
<IsLabelTemplate3>false</IsLabelTemplate3> | ||
<IsRectangleSymbol>false</IsRectangleSymbol> | ||
<IsSeriesName>false</IsSeriesName> | ||
<IsTriangleSymbol>false</IsTriangleSymbol> | ||
<IsXValues>false</IsXValues> | ||
<IsYValues>false</IsYValues> | ||
<LabelsVisibility>false</LabelsVisibility> | ||
<LegendCheckBoxVisibility>false</LegendCheckBoxVisibility> | ||
<LegendVisibility>true</LegendVisibility> | ||
<ExpanderVisibility>false</ExpanderVisibility> | ||
<StrokeThickness>0</StrokeThickness> | ||
<SymbolsVisibility>false</SymbolsVisibility> | ||
<TemplateVisibility>false</TemplateVisibility> | ||
<XAxisFontFace>Segoe UI</XAxisFontFace> | ||
<XAxisForeGround>#1E90FF</XAxisForeGround> | ||
<XLabelFontWeight>Normal</XLabelFontWeight> | ||
<YAxisFontFace>Segoe UI</YAxisFontFace> | ||
<YAxisForeGround>#1E90FF</YAxisForeGround> | ||
<YLabelFontWeight>Normal</YLabelFontWeight> | ||
</ChartSettings> | ||
<CurrentCubeName>Adventure Works</CurrentCubeName> | ||
<FilterElements> | ||
<List /> | ||
<IsFilterOrSortOn>false</IsFilterOrSortOn> | ||
</FilterElements> | ||
<Name>Filtered Dimension</Name> | ||
<SeriesElements> | ||
<List> | ||
<Item> | ||
<Axis>Series</Axis> | ||
<ElementValue d6p1:type="DimensionElement" xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance"> | ||
<Name>Date</Name> | ||
<Hierarchy> | ||
<Name>Fiscal</Name> | ||
<LevelElements> | ||
<LevelElement> | ||
<Name>Fiscal Year</Name> | ||
<MemberElements /> | ||
<IncludeAvailableMembers>false</IncludeAvailableMembers> | ||
</LevelElement> | ||
</LevelElements> | ||
</Hierarchy> | ||
<HierarchyName>Fiscal</HierarchyName> | ||
</ElementValue> | ||
<ExcludedElementValue d6p1:type="DimensionElement" xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance"> | ||
<Name>Date</Name> | ||
<Hierarchy> | ||
<Name>Fiscal</Name> | ||
<LevelElements> | ||
<LevelElement> | ||
<Name>Fiscal Year</Name> | ||
<MemberElements> | ||
<MemberElement> | ||
<Name>FY 2004</Name> | ||
<ChildMemberElements /> | ||
<DimensionName /> | ||
<Level>0</Level> | ||
<IsParentLevel>true</IsParentLevel> | ||
<UniqueName>[Date].[Fiscal].[Fiscal Year].[FY 2004]</UniqueName> | ||
</MemberElement> | ||
<MemberElement> | ||
<Name>FY 2005</Name> | ||
<ChildMemberElements /> | ||
<DimensionName /> | ||
<Level>0</Level> | ||
<IsParentLevel>true</IsParentLevel> | ||
<UniqueName>[Date].[Fiscal].[Fiscal Year].[FY 2005]</UniqueName> | ||
</MemberElement> | ||
</MemberElements> | ||
<IncludeAvailableMembers>true</IncludeAvailableMembers> | ||
</LevelElement> | ||
</LevelElements> | ||
</Hierarchy> | ||
<HierarchyName>Fiscal</HierarchyName> | ||
</ExcludedElementValue> | ||
</Item> | ||
</List> | ||
<IsFilterOrSortOn>false</IsFilterOrSortOn> | ||
</SeriesElements> | ||
<ShowEmptyColumnData>false</ShowEmptyColumnData> | ||
<ShowEmptyRowData>false</ShowEmptyRowData> | ||
<ShowExpanders>true</ShowExpanders> | ||
<SlicerElements> | ||
<List /> | ||
<IsFilterOrSortOn>false</IsFilterOrSortOn> | ||
</SlicerElements> | ||
<TogglePivot>false</TogglePivot> | ||
</OlapReport> | ||
</ArrayOfOlapReport> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
#region Copyright Syncfusion Inc. 2001-2023. | ||
// Copyright Syncfusion Inc. 2001-2023. All rights reserved. | ||
// Use of this code is subject to the terms of our license. | ||
// A copy of the current license can be obtained at any time by e-mailing | ||
// [email protected]. Any infringement will be prosecuted under | ||
// applicable laws. | ||
#endregion | ||
using Microsoft.Xaml.Behaviors; | ||
using Syncfusion.SfSkinManager; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Windows; | ||
using System.Windows.Controls; | ||
|
||
namespace syncfusion.demoscommon.wpf | ||
{ | ||
public static class DemoLaucherExtension | ||
{ | ||
public static T LauchDemo<T>(DemoBrowserViewModel viewmodel, DemoInfo demoInfo) where T : DependencyObject | ||
{ | ||
T demo; | ||
var constructorInfo = demoInfo.DemoViewType.GetConstructors().FirstOrDefault(cinfo => cinfo.IsPublic && cinfo.GetParameters().Length == 1 && cinfo.GetParameters()[0].Name == "themename"); | ||
if (demoInfo.ThemeMode != ThemeMode.None && constructorInfo != null) | ||
{ | ||
demo = Activator.CreateInstance(demoInfo.DemoViewType, | ||
demoInfo.ThemeMode == ThemeMode.Inherit ? viewmodel.SelectedThemeName : DemoBrowserViewModel.DefaultThemeName) as T; | ||
} | ||
else | ||
{ | ||
demo = Activator.CreateInstance(demoInfo.DemoViewType) as T; | ||
if (demoInfo.ThemeMode == ThemeMode.Inherit) | ||
{ | ||
SfSkinManager.SetTheme(demo, new Theme() { ThemeName = viewmodel.SelectedThemeName }); | ||
} | ||
else if (demoInfo.ThemeMode == ThemeMode.Default) | ||
{ | ||
SfSkinManager.SetTheme(demo, new Theme() { ThemeName = DemoBrowserViewModel.DefaultThemeName }); | ||
} | ||
} | ||
return demo; | ||
} | ||
} | ||
|
||
public class LaunchDemoAction : TriggerAction<Button> | ||
{ | ||
protected override void Invoke(object parameter) | ||
{ | ||
if (this.AssociatedObject == null) | ||
return; | ||
|
||
var viewmodel = this.AssociatedObject.DataContext as DemoBrowserViewModel; | ||
if (viewmodel == null) | ||
return; | ||
|
||
if ((viewmodel.SelectedProduct != null && viewmodel.SelectedProduct.DemoLauchMode == DemoLauchMode.Window) | ||
|| (viewmodel.SelectedSample != null && viewmodel.SelectedSample.DemoLauchMode == DemoLauchMode.Window)) | ||
{ | ||
try | ||
{ | ||
if (viewmodel.SelectedSample.ShowBusyIndicator) | ||
{ | ||
viewmodel.IsProductDemoBusy = true; | ||
} | ||
var window = DemoLaucherExtension.LauchDemo<Window>(viewmodel, viewmodel.SelectedSample); | ||
DemosNavigationService.MainWindow.Dispatcher.BeginInvoke(new Action(() => | ||
{ | ||
viewmodel.IsProductDemoBusy = false; | ||
}), | ||
System.Windows.Threading.DispatcherPriority.ApplicationIdle); | ||
|
||
if (window != null) | ||
{ | ||
window.Title = viewmodel.SelectedSample.Title; | ||
window.Owner = DemosNavigationService.MainWindow; | ||
window.WindowStartupLocation = WindowStartupLocation.CenterScreen; | ||
window.Closed += Window_Closed; | ||
window.ShowDialog(); | ||
} | ||
} | ||
catch (Exception exception) | ||
{ | ||
viewmodel.IsProductDemoBusy = false; | ||
ErrorWindow.Show(exception.Message + "\n" + exception.StackTrace); | ||
} | ||
} | ||
} | ||
|
||
private void Window_Closed(object sender, EventArgs e) | ||
{ | ||
(sender as Window).Closed -= Window_Closed; | ||
(sender as Window).Owner = null; | ||
if (this.AssociatedObject != null) | ||
return; | ||
|
||
var viewmodel = this.AssociatedObject.DataContext as DemoBrowserViewModel; | ||
if (viewmodel == null) | ||
return; | ||
|
||
viewmodel.SelectedProduct = null; | ||
viewmodel.SelectedSample = null; | ||
} | ||
} | ||
} |
Oops, something went wrong.