001/**
002 *
003 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved.
004 *
005 * This library is free software; you can redistribute it and/or
006 * modify it under the terms of the GNU Lesser General Public
007 * License as published by the Free Software Foundation; either 
008 * version 2.1 of the License, or (at your option) any later version.
009 * 
010 * This library is distributed in the hope that it will be useful,
011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
013 * Lesser General Public License for more details.
014 * 
015 * You should have received a copy of the GNU Lesser General Public 
016 * License along with this library.  If not, see <http://www.gnu.org/licenses/>.
017 * 
018 **/
019package coldfusion.server;
020
021import java.awt.Image;
022import java.io.File;
023import java.util.Map;
024import java.util.Properties;
025
026public interface DocumentService extends Service {
027
028        public abstract boolean registerFontFile(String arg0);
029
030        public abstract boolean registerFontDirectory(String arg0);
031
032        public abstract void FontDiscovery();
033
034        public abstract boolean isFontPathRegistered(String arg0);
035
036        public abstract boolean isFontPathRegisteredAsUserFont(String arg0);
037
038        public abstract Map getAvailableFontsForPDF();
039
040        public abstract Map getAvailableFontsForJDK();
041
042        public abstract Map getAvailableFontFamiles();
043
044        public abstract Map getConfigMap();
045
046        public abstract Map getUserConfigMap();
047
048        public abstract Map getFontInfoFromFile(String arg0);
049
050        public abstract boolean isCommonFont(String arg0);
051
052        public abstract Properties getAwtFontMapper();
053
054        public abstract Properties getAwtFontMapperBak();
055
056        public abstract File getWmimagefile();
057
058        public abstract Image getWmimage();
059
060}