/// <summary>
        /// 新しいデータを作成する
        /// </summary>
        /// <param name="iEditor">テキストエディター</param>
        static public void CreateNew(IEditor iEditor)
        {
            ModelsComposite.DocumentModel = new Model.DocumentModel();

            iEditor.SetText(ModelsComposite.DocumentModel.Text);

            ModelsComposite.CharacterManager           = new ModernizedAlice.ArtOfWords.BizCommon.Model.Character.CharacterManager();
            ModelsComposite.PlaceModelManager          = new ModernizedAlice.ArtOfWords.BizCommon.Model.StoryFrame.PlaceModelManager();
            ModelsComposite.StoryFrameModelManager     = new ModernizedAlice.ArtOfWords.BizCommon.Model.StoryFrame.StoryFrameModelManager();
            ModelsComposite.ItemModelManager           = new ModernizedAlice.ArtOfWords.BizCommon.Model.Item.ItemModelManager();
            ModelsComposite.MarkManager                = new ModernizedAlice.ArtOfWords.BizCommon.Model.Marks.MarkManager();
            ModelsComposite.CharacterStoryModelManager = new CharacterStoryRelationModelManager();
            ModelsComposite.ItemStoryModelManager      = new ItemStoryRelationModelManager();
            ModelsComposite.TimelineEventModelManager  = new TimelineEventModelManager();
            ModelsComposite.TagManager        = null;
            ModelsComposite.NovelSettingModel = null;
        }
Beispiel #2
0
        public XmlSaveObjectVer3_0_0()
        {
            CharacterModelCollection  = new Collection <CharacterModel>();
            PlaceModelCollection      = new Collection <PlaceModel>();
            StoryFrameModelCollection = new Collection <StoryFrameModel>();
            ItemModelCollection       = new Collection <ItemModel>();
            TagModelCollection        = new Collection <SaveTagModel>();

            CharaMarkCollection      = new Collection <CharacterMark>();
            StoryFrameMarkCollection = new Collection <StoryFrameMark>();

            CharacterStoryRelationModelCollection = new Collection <CharacterStoryRelationModel>();
            ItemStoryRelationModelCollection      = new Collection <ItemStoryRelationModel>();
            TimelineEventModelCollection          = new Collection <TimelineEventModel>();

            DocumentModel     = new DocumentModel();
            NovelSettingModel = new NovelSettingModel();
        }
        public XmlSaveObjectVer4_0_0()
        {
            CharacterModelCollection = new Collection<CharacterModel>();
            PlaceModelCollection = new Collection<PlaceModel>();
            StoryFrameModelCollection = new Collection<StoryFrameModel>();
            ItemModelCollection = new Collection<ItemModel>();
            TagModelCollection = new Collection<SaveTagModel>();

            CharaMarkCollection = new Collection<CharacterMark>();
            StoryFrameMarkCollection = new Collection<StoryFrameMark>();

            CharacterStoryRelationModelCollection = new Collection<CharacterStoryRelationModel>();
            ItemStoryRelationModelCollection = new Collection<ItemStoryRelationModel>();
            TimelineEventModelCollection = new Collection<TimelineEventModel>();

            DocumentModel = new DocumentModel();
            NovelSettingModel = new NovelSettingModel();
        }
 public PageLineCalculatorViewModel(NovelSettingModel novelSettingModel, DocumentModel documentModel)
 {
     _novelSettingModel = novelSettingModel;
     _documentModel     = documentModel;
 }
Beispiel #5
0
 private void SetNovelSettingModel()
 {
     NovelSettingModel = ModelsComposite.NovelSettingModel;
 }
 private void SetNovelSettingModel()
 {
     NovelSettingModel = ModelsComposite.NovelSettingModel;
 }