All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vladsch.flexmark.ext.abbreviation.internal.AbbreviationFormatOptions Maven / Gradle / Ivy

Go to download

flexmark-java extension for defining abbreviations and turning appearance of these abbreviations in text into links with titles consisting of the expansion of the abbreviation

The newest version!
package com.vladsch.flexmark.ext.abbreviation.internal;

import com.vladsch.flexmark.ext.abbreviation.AbbreviationExtension;
import com.vladsch.flexmark.util.data.DataHolder;
import com.vladsch.flexmark.util.format.options.ElementPlacement;
import com.vladsch.flexmark.util.format.options.ElementPlacementSort;

@SuppressWarnings("WeakerAccess")
public class AbbreviationFormatOptions {
    final public ElementPlacement abbreviationsPlacement;
    final public ElementPlacementSort abbreviationsSort;

    public AbbreviationFormatOptions(DataHolder options) {
        abbreviationsPlacement = AbbreviationExtension.ABBREVIATIONS_PLACEMENT.get(options);
        abbreviationsSort = AbbreviationExtension.ABBREVIATIONS_SORT.get(options);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy