public static   PdfPTable  DetailedDistribution(String str) throws DocumentException, IOException
	{
		//创建表格
		PdfPTable table = new PdfPTable(10);
		table.setWidthPercentage(100);
		PdfPCell cell;
		//设置中文
		BaseFont bfChinese = BaseFont.createFont("STSong-Light",
                "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED); 
		Font fontZH = new Font(bfChinese, 12, Font.NORMAL);//加入document： 
		String[] string = str.split("#");
		for(int i=0;i<string.length;i++)
		{
			String[] strings = string[i].split(" ");
			for(int j=0;j<strings.length;j++)
			{
				
				String v1 =strings[j].trim();
				if(v1==" " || v1=="" || v1==null || v1.isEmpty())
					continue; 
				if(v1.contains("X"))
				{
					String[] vv = v1.split("X");
					
					String vv1 = vv[0].toString().trim();
					float xx = Float.parseFloat(getYingCun(vv1));
					cell = new PdfPCell(new Paragraph(xx+""));
					table.addCell(cell);
					
					
					String vv2 = vv[1].toString().trim();
					float yy = Float.parseFloat(getYingCun(vv2));
					cell = new PdfPCell(new Paragraph(yy+""));
					table.addCell(cell);
					
					
					float tt = (float) (Math.rint(xx*yy*10)/10);
					String tt1 = tt+"";
					cell = new PdfPCell(new Paragraph(tt1));
					table.addCell(cell);
				}else{
					List config = GetConfig.getConfig("308");
					
					
					List l2 = (List) config.get(1);
					List l3 = (List) config.get(2);
					int l1c = l2.size();
					String roomcn = strings[j].trim();//房间中文名
					for(int ii=0;ii<l1c;ii++)
					{
						String k1 = l2.get(ii).toString();
						String k2 = k1.replace(" ", "").trim();
						if(k2.equals(roomcn))
						{
							roomcn = l3.get(ii).toString();
							break;
						}
							
						
					}
					cell = new PdfPCell(new Paragraph(roomcn,fontZH));
					table.addCell(cell);
				}
			}
			
		}
		return table;
	}