using FastReport.Dialog; using FastReport.Map; using FastReport.Utils; namespace FastReport { /// /// The FastReport dll assembly initializer. /// public sealed class AssemblyInitializerBaseExt : AssemblyInitializerBase { /// /// Registers all core objects, wizards, export filters. /// public AssemblyInitializerBaseExt() { #if !COMMUNITY // objects RegisteredObjects.InternalAdd(typeof(MapObject), "ReportPage", 153, 16); RegisteredObjects.InternalAdd(typeof(MapLayer), "", 169); RegisteredObjects.InternalAdd(typeof(ShapePoint), "", 103); RegisteredObjects.InternalAdd(typeof(ShapePolyLine), "", 103); RegisteredObjects.InternalAdd(typeof(ShapePolygon), "", 103); RegisteredObjects.InternalAdd(typeof(DigitalSignatureObject), "ReportPage", 251, 19); RegisteredObjects.InternalAdd(typeof(AdvMatrix.AdvMatrixObject), "ReportPage,Matrix", 142, 1); RegisteredObjects.Add(typeof(AdvMatrix.MatrixCollapseButton), "", 69); RegisteredObjects.Add(typeof(AdvMatrix.MatrixSortButton), "", 67); #if MSCHART RegisteredObjects.InternalAdd(typeof(MSChart.MSChartObject), "ReportPage", 125, 12); RegisteredObjects.InternalAdd(typeof(MSChart.MSChartSeries), "", 130); RegisteredObjects.InternalAdd(typeof(MSChart.SparklineObject), "ReportPage", 130, 13); #endif #if DOTNET_4 RegisteredObjects.InternalAdd(typeof(SVG.SVGObject), "ReportPage", 249, 3); #endif RegisteredObjects.InternalAdd(typeof(RichObject), "ReportPage", 126, 11); // dialog controls RegisteredObjects.InternalAdd(typeof(ButtonControl), "DialogPage", 115, 1); RegisteredObjects.InternalAdd(typeof(CheckBoxControl), "DialogPage", 116, 2); RegisteredObjects.InternalAdd(typeof(CheckedListBoxControl), "DialogPage", 148, 3); RegisteredObjects.InternalAdd(typeof(ComboBoxControl), "DialogPage", 119, 4); RegisteredObjects.InternalAdd(typeof(DateTimePickerControl), "DialogPage", 120, 5); RegisteredObjects.InternalAdd(typeof(LabelControl), "DialogPage", 112, 6); RegisteredObjects.InternalAdd(typeof(ListBoxControl), "DialogPage", 118, 7); RegisteredObjects.InternalAdd(typeof(MonthCalendarControl), "DialogPage", 145, 8); RegisteredObjects.InternalAdd(typeof(RadioButtonControl), "DialogPage", 117, 9); RegisteredObjects.InternalAdd(typeof(TextBoxControl), "DialogPage", 113, 10); RegisteredObjects.InternalAdd(typeof(GroupBoxControl), "DialogPage", 143, 11); RegisteredObjects.InternalAdd(typeof(PictureBoxControl), "DialogPage", 103, 12); // pages RegisteredObjects.AddPage(typeof(DialogPage), "DialogPage", 136); #endif } } }