乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      FlashPaper轉(zhuǎn)化office文檔為swf

       實(shí)力決定地位 2015-03-24
      之前在項(xiàng)目中研究使用了一套word轉(zhuǎn)PDF,然后將PDF轉(zhuǎn)成SWF的方法,最終實(shí)現(xiàn)SWF的在線瀏覽。自己還有些洋洋得意,昨晚在瀏覽網(wǎng)頁(yè)搜集資料時(shí)發(fā)現(xiàn):原來(lái)在2004年左右就有Flash Paper,已經(jīng)很容易地實(shí)現(xiàn)上面的過(guò)程。

      Flash Paper支持Office文檔(.doc,.xls,.ppt)直接轉(zhuǎn)換為PDF或SWF,速度很快,效果較好??上?,F(xiàn)lash Paper V2.2后沒(méi)有再更新了。安裝Flash Paper后,可以直接使用命令調(diào)用FlashPrinter.exe,實(shí)現(xiàn)批量轉(zhuǎn)換。

      例如:C:\FlashPaper2.2\FlashPrinter.exe C:\Flex技術(shù)簡(jiǎn)介.ppt -o C:\Flex技術(shù)簡(jiǎn)介.pdf

      復(fù)制代碼
      public static void ConvertPdfToSwf(HttpRequest reqeust, String styFileName, String[] dataFileNames, String outputFileFullName)
      {
      try
      { String flashPrinter
      = String.Concat(AppDomain.CurrentDomain.BaseDirectory, "FlashPrinter.exe");//FlashPrinter.exe

      System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo(flashPrinter);
      if (String.IsNullOrEmpty(outputFileFullName))
      {
      return ; }
      Int32 intLastDot
      = outputFileFullName.LastIndexOf(".");
      //*********Temp Programming****************************************
      Int32 intLast = outputFileFullName.LastIndexOf("\\");
      String path
      = outputFileFullName.Substring(0, intLast);
      String tempFileName
      = path + "\\PdfToSwf20080923.pdf";
      //*****************************************************************
      String swfFileName = String.Concat(path, "\\PdfToSwf20080923.swf");
      startInfo.Arguments
      = String.Concat(tempFileName, " -o ", swfFileName);
      System.Diagnostics.Process process
      = new System.Diagnostics.Process();
      process.StartInfo
      = startInfo;
      Boolean isStart
      = process.Start();
      process.WaitForExit();
      process.Close();
      }
      catch(Exception ex) { throw ex; }
      }

      復(fù)制代碼

      在線瀏覽的SWF開發(fā),可以采用開源的Flex Paper.swc.

      現(xiàn)在分享Flash Paper破解版:下載

        本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評(píng)論

        發(fā)表

        請(qǐng)遵守用戶 評(píng)論公約

        類似文章 更多