public void InitSlides(SlideManager slideManager, Size thumbnailSize) { _slideManager = slideManager; xtraTabControlSlides.TabPages.OfType <SlideGroupPage>().ToList().ForEach(g => g.Release()); xtraTabControlSlides.TabPages.Clear(); var groups = _slideManager.Slides .Where(s => s.Format == SlideSettingsManager.Instance.SlideSettings.Format) .Select(s => s.Group).Distinct() .ToList(); foreach (var group in groups) { var groupPage = new SlideGroupPage( group, _slideManager.Slides.Where(s => s.Group.Equals(group) && s.Format == SlideSettingsManager.Instance.SlideSettings.Format).ToList(), thumbnailSize); if (SlideOutput != null) { groupPage.SlideOutput += OnSlideOutput; } if (SlidePreview != null) { groupPage.SlidePreview += OnSlidePreview; } groupPage.SelectionChanged += OnSelectionChanged; xtraTabControlSlides.TabPages.Add(groupPage); } xtraTabControlSlides.ShowTabHeader = groups.Count > 1 ? DefaultBoolean.True : DefaultBoolean.False; }
protected override void Given() { var pptApplication = this.applicationHandler.CreatePowerPointApplication(); this.slideManager = new SlideManager(); this.presentation = this.presentationHandler.CreatePowerPointPresentation(pptApplication, false); }
void Awake() { myRb = gameObject.GetComponent <Rigidbody>(); cameraCtrl = GetComponent <CameraController>(); slideMgmt = GetComponent <SlideManager>(); //slideMgmt.enabled = true; inputMgmt = gameObject.GetComponent <InputManager>(); //inputMgmt.enabled = true; playerMovement = gameObject.GetComponent <PlayerMovement>(); //playerMovement.enabled = true; weaponMgmt = gameObject.GetComponent <WeaponManager>(); //weaponMgmt.enabled = true; playerStats = gameObject.GetComponent <PlayerStats>(); //playerStats.enabled = true; animMgmt = gameObject.GetComponent <AnimationManager>(); //animMgmt.enabled = true; combatMgmt = gameObject.GetComponent <PlayerCombatManager>(); //combatMgmt.enabled = true; dodgeCtrl = gameObject.GetComponent <DodgeControl>(); //dodgeCtrl.enabled = true; Cursor.visible = false; Cursor.lockState = CursorLockMode.Locked; }
void Start() { holder = GameObject.Find("Top"); otherSettings = GameObject.Find("Other"); moversComponent = GameObject.Find("XZ").GetComponent <Movers>(); humanManager = GameObject.Find("Humans").GetComponent <HumanManager>(); slideManager = GameObject.Find("Slides").GetComponent <SlideManager>(); lightsHolder = GameObject.Find("Lights"); for (int i = 0; i < lightsHolder.transform.childCount; i++) { lightsHolder.transform.GetChild(i).gameObject.SetActive(false); } player = GameObject.Find("Player"); settingsAll = Instantiate(toggler, new Vector3(0, 0, 0), Quaternion.Euler(-135, 0, 0), holder.transform) as GameObject; settingsAll.transform.localPosition = new Vector3(0, 1.5f, 0.3f); settingsAll.name = "Settings"; settingsText = settingsAll.transform.GetChild(0).transform.GetChild(0).GetComponent <TextMesh>(); settingsText.text = "Баптамалар"; }
public void OnSlideEnter(SlideManager manager) { StopAllCoroutines(); this.manager = manager; state = State.Active; _OnSlideEnter(); }
private void Awake() { physMat = gameObject.GetComponent <CapsuleCollider>().material; slideMgmt = GetComponent <SlideManager>(); currentJumps = (int)playerMgmt.playerStats.jumpMultiplier.value; }
protected override void Given() { this.slideManager = new SlideManager(); this.powerpointHandle = new Microsoft.Office.Interop.PowerPoint.Application(); this.presentationHandle = this.SUT.CreatePowerPointPresentation(this.powerpointHandle, false); this.initialSlideCount = this.slideManager.GetSlideCount(this.presentationHandle); }
protected override void Given() { this.powerpointHandle = new Microsoft.Office.Interop.PowerPoint.Application(); this.slideManager = new SlideManager(); this.presentationHandle = this.SUT.CreatePowerPointPresentation(this.powerpointHandle, false); // Add some slides to the presentation this.slideHandle = this.slideManager.AddSlideToEnd(this.presentationHandle); this.slideHandle = this.slideManager.AddSlideToEnd(this.presentationHandle); this.slideHandle = this.slideManager.AddSlideToEnd(this.presentationHandle); // Add some shapes to slides this.shapesHandler.DrawShape( this.presentationHandle.Slides[1], MsoAutoShapeType.msoShapeRectangle, 100f, 100f, 100f, 100f); this.shapesHandler.DrawShape( this.presentationHandle.Slides[2], MsoAutoShapeType.msoShapeRectangle, 100f, 100f, 100f, 100f); }
protected static PPTXDocument ToPPTxDocument(string markdown, PPTXSetting options = null, MarkdownPipeline pipeline = null) { options = options ?? new PPTXSetting() { SlideSize = EPPTXSlideSizeValues.Screen4x3 }; pipeline = pipeline ?? new MarkdownPipelineBuilder() .UsePipeTables() .UseEmphasisExtras() .Build(); var document = Markdig.Markdown.Parse(markdown, pipeline); var pptx = new PPTXDocument(); var slide = new SlideManager(pptx, options); var renderer = new PPTXRenderer(slide, options); pipeline.Setup(renderer); renderer.Render(document); slide.EndSheet(); return(pptx); }
void Update() { HUD = GameObject.Find("WeaponSlot"); HUDReal = GameObject.Find("HUD").GetComponent <DetectedActDeact>(); EpickUp = FindObjectOfType <PlayerController>(); marketPanel = FindObjectOfType <SlideManager>(); }
/// <summary> /// Initializes a new instance of the <see cref="PPTXRenderer"/> class. /// </summary> /// <param name="writer">The writer.</param> /// <param name="options">The PPTX options</param> public PPTXRenderer(SlideManager Writer, PPTXSetting options = null) { this.Writer = Writer; Options = options ?? new PPTXSetting(); // Default block renderers ObjectRenderers.Add(new CodeBlockRenderer()); ObjectRenderers.Add(new ListRenderer()); ObjectRenderers.Add(new HeadingRenderer()); ObjectRenderers.Add(new HtmlBlockRenderer()); ObjectRenderers.Add(new ParagraphRenderer()); ObjectRenderers.Add(new QuoteBlockRenderer()); ObjectRenderers.Add(new ThematicBreakRenderer()); ObjectRenderers.Add(new LinkReferenceDefinitionGroupRenderer()); ObjectRenderers.Add(new LinkReferenceDefinitionRenderer()); ObjectRenderers.Add(new TableRenderer()); // Default inline renderers ObjectRenderers.Add(new AutolinkInlineRenderer()); ObjectRenderers.Add(new CodeInlineRenderer()); ObjectRenderers.Add(new DelimiterInlineRenderer()); ObjectRenderers.Add(new EmphasisInlineRenderer()); ObjectRenderers.Add(new LineBreakInlineRenderer()); ObjectRenderers.Add(new PPTXHtmlInlineRenderer()); ObjectRenderers.Add(new PPTXHtmlEntityInlineRenderer()); ObjectRenderers.Add(new LinkInlineRenderer()); ObjectRenderers.Add(new LiteralInlineRenderer()); }
protected override void Given() { this.powerpointHandle = new Microsoft.Office.Interop.PowerPoint.Application(); this.slideManager = new SlideManager(); this.presentationHandle = this.SUT.CreatePowerPointPresentation(this.powerpointHandle, false); this.slideHandle = this.slideManager.AddSlideToEnd(this.presentationHandle); this.shapesHandler = new ShapesManager(); }
public LoupePanel(INuGenServiceProvider serviceProvider, ImageTracker imageTracker) { _slideManager = new SlideManager(this.Controls, imageTracker); this.SetStyle(ControlStyles.SupportsTransparentBackColor, true); this.BackColor = Color.Transparent; this.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top; }
private AppManager() { SlideManager = new SlideManager(); HelpManager = new HelpManager(); PowerPointManager = new PowerPointManager <SlideTemplateViewerPowerPointHelper>(); ImageResourcesManager = new ImageResourcesManager(); TextResourcesManager = new TextResourcesManager(); }
protected override void Given() { this.slideManager = new SlideManager(); this.powerpointHandle = this.applicationHandler.CreatePowerPointApplication(); this.presentationHandle = this.SUT.CreatePowerPointPresentation(powerpointHandle, false); this.slideManager.AddSlideToEnd(this.presentationHandle); slideLayout = this.presentationHandle.Slides[1].Layout; }
/// <summary> /// Initializes a new instance of the <see cref="PPTXRenderer"/> class. /// </summary> /// <param name="writer">The writer.</param> /// <exception cref="System.ArgumentNullException"></exception> protected PPTXRenderer(SlideManager writer) { if (writer == null) { throw new ArgumentNullException(nameof(writer)); } this.Writer = writer; }
protected override void Given() { this.chartManager = new ChartManager(); this.powerpointHandle = new Application(); this.presentationManager = new PresentationManager(); this.presentationHandle = this.presentationManager.CreatePowerPointPresentation(this.powerpointHandle, true); this.slideManager = new SlideManager(); this.slideHandle = this.slideManager.AddSlideToEnd(this.presentationHandle); }
void Start() { theIC = FindObjectOfType <InteracrionController>(); theCam = FindObjectOfType <CameraController>(); theSpriteManager = FindObjectOfType <SpriteManager>(); theSplashManager = FindObjectOfType <SplashManager>(); theCutSceneManager = FindObjectOfType <CutSceneManager>(); theSlideManager = FindObjectOfType <SlideManager>(); }
protected override void Given() { this.slideManager = new SlideManager(); this.powerpointHandle = new Microsoft.Office.Interop.PowerPoint.Application(); this.presentationHandle = this.SUT.CreatePowerPointPresentation(this.powerpointHandle, false); this.slideHandle = this.slideManager.AddSlideToEnd(this.presentationHandle); this.shapesHandler = new Shapes(); this.returnedShape = this.shapesHandler.AddTextBoxToSlide(this.slideHandle, MsoTextOrientation.msoTextOrientationHorizontal, 100f, 100f, 100f, 100f); }
private void Start() { theIC = FindObjectOfType <InteractionControler>(); theCam = FindObjectOfType <CameraController>(); theSprite = FindObjectOfType <SpriteManager>(); theSplash = FindObjectOfType <SplashManager>(); theCutScene = FindObjectOfType <CutSceneManager>(); theSlide = FindObjectOfType <SlideManager>(); theDM = FindObjectOfType <DisappearingManager>(); }
protected override void Dispose(bool disposing) { if (disposing) { if (_slideManager != null) { _slideManager.Dispose(); _slideManager = null; } } base.Dispose(disposing); }
public async Task LoadSettings() { Asa.Common.Core.Configuration.SettingsManager.Instance.LoadSharedSettings(); ThemeManager = new ThemeManager(); ThemeManager.Load(); SlideSettingsManager.Instance.SettingsChanged += (o, e) => ThemeManager.Load(); InitThemeHelper(ThemeManager); SlideManager = new SlideManager(); SlideManager.LoadSlides(Asa.Common.Core.Configuration.ResourceManager.Instance.SlideMastersFolder); LoadDashboardSettings(); }
private BusinessObjects() { OutputManager = new OutputManager(); ScheduleManager = new MediaScheduleManager(); ScheduleTemplatesManager = new ScheduleTemplatesManager(); SolutionsManager = new SolutionsManager(); SlideManager = new SlideManager(); HelpManager = new HelpManager(); ThemeManager = new ThemeManager(); ConfigManager = new ConfigManager(); TextResourcesManager = new TextResourcesManager(); ImageResourcesManager = new ImageResourcesManager(); PowerPointManager = new PowerPointManager <PowerPointSingletonProcessor>(); BrowserManager = new BrowserManager(); IdleManager = new ApplicationIdleManager(); AdditionalInitializator = new AdditionalInitializationDispatcher(); }
protected override void Given() { this.slideManager = new SlideManager(); this.powerpointHandle = new Microsoft.Office.Interop.PowerPoint.Application(); this.presentationHandle = this.SUT.CreatePowerPointPresentation(this.powerpointHandle, false); this.slideHandle = this.slideManager.AddSlideToEnd(this.presentationHandle); this.slideManager.AddComment( this.slideHandle, new SlideComment() { Author = "Test Author", AuthorInitials = "TA", Comment = "This is a test comment", LeftPosition = 100f, TopPosition = 100f }); }
protected override void Given() { this.chartManager = new ChartManager(); this.powerpointHandle = new Application(); this.presentationManager = new PresentationManager(); this.presentationHandle = this.presentationManager.CreatePowerPointPresentation(this.powerpointHandle, true); this.slideManager = new SlideManager(); this.slideHandle = this.slideManager.AddSlideToEnd(this.presentationHandle); var datasetList = new List <ChartSeries>(); var chartSeries = new ChartSeries() { name = "Test Series", seriesData = new string[] { "10", "20" }, seriesType = XlChartType.xlLine }; datasetList.Add(chartSeries); returnedChart = this.chartManager.CreateChart(XlChartType.xlLine, this.slideHandle, new string[] { "A", "B" }, datasetList); }
public async Task Init() { await AppProfileManager.Instance.LoadProfile(); await Business.Dashboard.Configuration.ResourceManager.Instance.Load(); PowerPointManager.Init(); MasterWizardManager.Instance.Load(); SettingsManager.Instance.LoadSharedSettings(); SlideManager.LoadSlides(ResourceManager.Instance.SlideMastersFolder); HelpManager.LoadHelpLinks(); TextResourcesManager.Load(); ImageResourcesManager.Load(); FormStyleManager = new FormStyleManager(Business.Dashboard.Configuration.ResourceManager.Instance.FormStyleConfigFile); ActivityManager = ActivityManager.OpenStorage(); ActivityManager.AddActivity(new UserActivity("Application started")); }
public static List <Images> ListOfSlideImages() { SlideManager sm = new SlideManager(); return(sm.images); }
void Start() { slideScript = FindObjectOfType <SlideManager>(); HUD = GameObject.Find("HUD").GetComponent <DetectedActDeact>(); }
void Start() { theSplash = FindObjectOfType <SplashManager>(); theCam = FindObjectOfType <CameraController>(); theSlide = FindObjectOfType <SlideManager>(); }
public void Init() { PowerPointManager.Init(); ListManager.Instance.Load(); ThemeManager.Load(); SlideSettingsManager.Instance.SettingsChanged += (o, e) => ThemeManager.Load(); HelpManager.LoadHelpLinks(); RibbonTabPageManager = new RibbonTabPageManager(ResourceManager.Instance.TabsConfigFile); BrowserManager.Init(ResourceManager.Instance.BrowserConfigFile); FormStyleManager = new FormStyleManager(ResourceManager.Instance.FormStyleConfigFile); ActivityManager = ActivityManager.OpenStorage(); ConfigManager.LoadConfig(ResourceManager.Instance.ConfigFile); TextResourcesManager.LoadTextResources(ResourceManager.Instance.TextResourcesFile); TextResourcesManager.LoadTabPageSettings(ResourceManager.Instance.AdditionalTextResourcesFile); IdleManager.LoadSettings(ResourceManager.Instance.IdleSettingsFile); AdditionalInitializator.Actions.Add(new InitAction( new[] { ContentIdentifiers.ScheduleSettings, ContentIdentifiers.ProgramSchedule, ContentIdentifiers.Snapshots, ContentIdentifiers.Options, ContentIdentifiers.DigitalProducts, ContentIdentifiers.BroadcastCalendar, ContentIdentifiers.CustomCalendar, }, () => { MediaMetaData.Instance.ListManager.Load(); Business.Online.Dictionaries.ListManager.Instance.Load(Common.Core.Configuration.ResourceManager.Instance.OnlineListsFile); OutputManager.Init(); SlideSettingsManager.Instance.SettingsChanged += (o, e) => OutputManager.UpdateColors(); }) ); if (FileStorageManager.Instance.DataState == DataActualityState.Updated || FileStorageManager.Instance.UseLocalMode) { AdditionalInitializator.Actions.Add(new InitAction( new[] { ContentIdentifiers.Solutions }, () => { SolutionsManager.LoadSolutions(ResourceManager.Instance.SolutionsConfigFile); SolutionsManager.LoadSolutionData(ResourceManager.Instance.SolutionsDataFolder); }) ); } else { SolutionsManager.LoadSolutions(ResourceManager.Instance.SolutionsConfigFile); SolutionsManager.LoadSolutionData(ResourceManager.Instance.SolutionsDataFolder); } AdditionalInitializator.Actions.Add(new InitAction( new[] { ContentIdentifiers.Slides }, () => { SlideManager.LoadSlides(Common.Core.Configuration.ResourceManager.Instance.SlideMastersFolder); }) ); AdditionalInitializator.Actions.Add(new InitAction( new[] { ContentIdentifiers.Gallery1, }, () => { Gallery1Manager = new GalleryManager(ResourceManager.Instance.Gallery1ConfigFile); }) ); AdditionalInitializator.Actions.Add(new InitAction( new[] { ContentIdentifiers.Gallery2, }, () => { Gallery2Manager = new GalleryManager(ResourceManager.Instance.Gallery2ConfigFile); }) ); AdditionalInitializator.Actions.Add(new InitAction( new[] { ContentIdentifiers.RateCard }, () => { RateCardManager = new RateCardManager(Common.Core.Configuration.ResourceManager.Instance.RateCardFolder); RateCardManager.LoadRateCards(); }) ); }
void Awake() { SlideManager = new SlideManager(); LeapController = new Controller(); LeapController.EnableGesture(Gesture.GestureType.TYPE_SWIPE); }