C# Class Crabwise.PDFtoEPUB.HtmlSplitter

Datei anzeigen Open project: CrabwiseStudios/PDFtoEPUB

Public Methods

Method Description
SplitFile ( ConversionOptions options ) : void

Private Methods

Method Description
AddLinePostfixTags ( LineType type, bool flagOpened, StringBuilder sb, int count, int linesLength ) : bool
AddLinePrefixTags ( LineType type, bool flagOpened, StringBuilder sb ) : bool
BuildHeader ( PatternSearcher searcher ) : void
CheckIsPrintable ( string title ) : bool
ConvertLines ( string page ) : string
DetermineLineType ( string &line, string nextLine ) : LineType
GetFirstLines ( int count, string page, int start ) : string
GetHeader ( PatternSearcher searcher ) : string
GetLastLines ( int count, string page ) : string
GetNewHref ( string href ) : string
GetPages ( PatternSearcher searcher ) : void
GetWorkingDir ( string fileName ) : string
InsertQuotes ( string page, List ints ) : string
MakeXhtmlConformant ( string page ) : string
ProcessFile ( string fileName ) : void
ProcessHtmlPage ( string page ) : string
SkipLeadingImage ( string page, int beginning ) : int
SkipPageLink ( string page ) : int
SkipPageLink ( string line, StringBuilder sb ) : string
StringIsMatch ( string matchString, string regEx ) : bool
TrimLeadingSpaces ( string page ) : string
TrimLines ( string lines ) : void
TrimPageFooter ( string page, Pattern pattern ) : string
TrimPageHeader ( string page, Pattern headerPattern, int offset ) : string
UpdateATag ( string page ) : string
UpdateImgTag ( string page ) : string

Method Details

SplitFile() public method

public SplitFile ( ConversionOptions options ) : void
options ConversionOptions
return void