devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
19 lines (18 loc) • 800 B
TypeScript
import { DocumentFormat } from '../document-format';
export declare class FileNameHelper {
folderPath: string;
name: string;
extension: string;
documentFormat: DocumentFormat;
isPDF: boolean;
constructor(fullPath: string, isPDF: boolean, documentFormat?: DocumentFormat);
getFullPath(): string;
checkFileName(): void;
checkExtension(): void;
static normalizeVirtualFolderPath(folderPath: string, isNormalizePath: boolean): string;
static convertToDocumentFormat(fileName: string): DocumentFormat;
static convertToDocumentExtension(fileName: string): string;
static convertExtensionToDocumentFormat(extension: string): DocumentFormat;
static convertToString(docFormat: DocumentFormat): string;
private static testFormat;
}