internal Fb2EPubTextConverterV2(IEPubCommonSettings commonSettings, ImageManager images, HRefManagerV2 referencesManager, ulong maxSize) { _commonSettings = commonSettings; _images = images; _referencesManager = referencesManager; _maxSize = maxSize; }
private Image CreateCoverImage(InlineImageItem item, HRefManagerV2 refManagerV2) { var coverImage = new Image(Compatibility); coverImage.GlobalAttributes.Class.Value = ElementStylesV2.CoverImage; coverImage.Source.Value = refManagerV2.AddImageRefferenced(item, coverImage); coverImage.Alt.Value = "Cover"; return coverImage; }
public CoverPageFileV2(InlineImageItem item, HRefManagerV2 refManagerV2) { _coverImage = CreateCoverImage(item, refManagerV2); InternalPageTitle = "Cover"; GuideRole = GuideTypeEnum.Cover; Id = "cover"; FileEPubInternalPath = EPubInternalPath.GetDefaultLocation(DefaultLocations.DefaultTextFolder); FileName = "cover.xhtml"; }