Colibrio Reader Framework API - Cloud license
    Preparing search index...

    Options configuring how the reflow engine divide content documents into pages. These options will be further documented in a future version of the framework.

    interface IEpubReflowOptions {
        plugins?: IEpubReflowPluginOptions;
        removeBottomMarginsOnFragmentedElements?: boolean;
        removeTopMarginsOnFragmentedElements?: boolean;
    }

    Properties

    IEpubReflowPluginOptions
    
    removeBottomMarginsOnFragmentedElements?: boolean

    When an element is fragmented across pages, this option control if the bottom margin on the fragmented element should be kept.

    If set to true, the fragmented element's bottom margin will only be kept on the last element fragment. If set to false, the bottom margin will be kept for all element fragments.

    true
    
    removeTopMarginsOnFragmentedElements?: boolean

    When an element is fragmented across pages, this option control if the top margin on the fragmented element should be carried over to subsequent pages.

    true