protected static String getPaperSizeName(Size size, int type)
	{
		if (type == VectorFile.DHW_FILE)
		{
			if (size.getHeight() == 8464 || size.getHeight() == 8307)
			{
				return ISO_A5;
			}
			else if (size.getHeight() == 11693)
			{
				return ISO_A4;
			}
			else
			{
				return US_LETTER;
			}
		}
		else if (type == VectorFile.TOP_FILE)
		{
			return US_LETTER;
		}
		else if (type == VectorFile.DNT_FILE)
		{
			if (size.getHeight() == 16800 || size.getHeight() == 21600)
			{
				return ISO_A4;
			}
			else
			{
				return ISO_A5;
			}
		}
		else
		{
			return DEFAULT_PAPERSIZENAME;
		}
	}