Пример #1
0
 public Fb2EPubTextConverterV3(IEPubCommonSettings commonSettings, ImageManager images, HRefManagerV3 referencesManager, ulong maxSize)
 {
     _commonSettings    = commonSettings;
     _images            = images;
     _referencesManager = referencesManager;
     _maxSize           = maxSize;
 }
Пример #2
0
 public Fb2EPubTextConverterV3(IEPubCommonSettings commonSettings, ImageManager images, HRefManagerV3 referencesManager, ulong maxSize)
 {
     _commonSettings = commonSettings;
     _images = images;
     _referencesManager = referencesManager;
     _maxSize = maxSize;
 }
 public Fb2EPubTextConverterV3(IEPubCommonSettings commonSettings, ImageManager images, HRefManagerV3 referencesManager, IEPubV3Settings v3Settings)
 {
     _commonSettings    = commonSettings;
     _images            = images;
     _referencesManager = referencesManager;
     _v3Settings        = v3Settings;
     _notesManager      = new FBNotesManager(v3Settings, images, referencesManager);
 }
 public Fb2EPubTextConverterV3(IEPubCommonSettings commonSettings, ImageManager images, HRefManagerV3 referencesManager,IEPubV3Settings v3Settings)
 {
     _commonSettings = commonSettings;
     _images = images;
     _referencesManager = referencesManager;
     _v3Settings = v3Settings;
     _notesManager = new FBNotesManager(v3Settings,images,referencesManager);
 }
Пример #5
0
 private Image CreateCoverImage(InlineImageItem item, HRefManagerV3 refManagerV3)
 {
     var coverImage = new Image(Compatibility);
     coverImage.GlobalAttributes.Class.Value = ElementStylesV3.CoverImage;
     coverImage.Source.Value = refManagerV3.AddImageRefferenced(item, coverImage);
     coverImage.Alt.Value = "Cover";
     return coverImage;
 }
Пример #6
0
        private Image CreateCoverImage(InlineImageItem item, HRefManagerV3 refManagerV3)
        {
            var coverImage = new Image(Compatibility);

            coverImage.GlobalAttributes.Class.Value = ElementStylesV3.CoverImage;
            coverImage.Source.Value = refManagerV3.AddImageRefferenced(item, coverImage);
            coverImage.Alt.Value    = "Cover";
            return(coverImage);
        }
Пример #7
0
 public CoverPageFileV3(InlineImageItem item, HRefManagerV3 refManagerV3)
 {
     _coverImage       = CreateCoverImage(item, refManagerV3);
     InternalPageTitle = "Cover";
     GuideRole         = GuideTypeEnum.Cover;
     Id = "cover";
     FileEPubInternalPath = EPubInternalPath.GetDefaultLocation(DefaultLocations.DefaultTextFolder);
     FileName             = "cover.xhtml";
     SetDocumentEpubType(EpubV3Vocabulary.Cover);
 }
Пример #8
0
 public CoverPageFileV3(InlineImageItem item,HRefManagerV3 refManagerV3)
 {
     _coverImage = CreateCoverImage(item,refManagerV3);
     InternalPageTitle = "Cover";
     GuideRole = GuideTypeEnum.Cover;
     Id = "cover";
     FileEPubInternalPath = EPubInternalPath.GetDefaultLocation(DefaultLocations.DefaultTextFolder);
     FileName = "cover.xhtml";
     SetDocumentEpubType(EpubV3Vocabulary.Cover);
 }