°Ô½Ã¹° 1,369°Ç
   
flexpaper¸¦ ÀÌ¿ëÇÑ À¥ PDF Viewer ȯ°æ±¸Ãà
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2012-03-09 (±Ý) 11:56 Á¶È¸ : 7172
±ÛÁÖ¼Ò :
                                
 

À¥¿¡¼­ PDF ÆÄÀÏÀ» ¹Ù·Î º¼¼ö ÀÖ´Â À¥ÇÁ·Î±×·¥ÀÌ´Ù.
flexpaper´Â pdf¹®¼­¸¦ swftoolÀ» ÀÌ¿ëÇؼ­ swfÆÄÀÏ·Î º¯È¯ÇÏ¿© ÀÚ½ÅÀÇ À¥¼­¹ö¿¡¼­ flash pluginÀ» ÅëÇؼ­ Á÷Á¢ ÀоîµéÀÌ´Â ¹æ½ÄÀÌ´Ù.
swftools ¼³Ä¡
# tar xzvf swftools-2012-02-04-0819.tar.gz
# cd swftools-2012-02-04-0819
# ./configure --prefix=/usr/local/swftools
# make
# make install
 
pdf2swf º¯È¯
# /usr/local/swftools/bin/pdf2swf <pdf file> -o <swf output file> -T <flash version>
# /usr/local/swftools/bin/pdf2swf webpdf.pdf -o webpdf.swf -T 9 -f
 
¼³Ä¡ÇÒ °ø°£¿¡ FlexPaper_1.5.1_flash.zip ¾ÐÃàÇØÁ¦
±âŸÀÚ¼¼ÇÑ ¹æ¹ýÀº example Æú´õ Âü°í
# mkdir webpdf
# cd webpdf
# unzip FlexPaper_1.5.1_flash.zip
# mkdir docs
# vi view_pdf.html
----------------------------------------------------------------------------------
<html>
    <head>
        <style type="text/css" media="screen">
                        html, body      { height:100%; }
                        body { margin:0; padding:0; overflow:auto; }
                        #flashContent { display:none; }
        </style>

                <script type="text/javascript" src="js/flexpaper_flash.js"></script>
    </head>
    <body>
        <div style="position:absolute;left:0px;top:0px;">
                <a id="viewerPlaceHolder" style="width:695px;height:480px;display:block"></a>

                <script type="text/javascript">
                                var fp = new FlexPaperViewer( 
                                                 'FlexPaperViewer',
                                                 'viewerPlaceHolder', { config : {
                                                 SwfFile : escape('docs/<? echo $filename; ?>'),
                                                 Scale : 0.6,
                                                 ZoomTransition : 'easeOut',
                                                 ZoomTime : 0.5,
                                                 ZoomInterval : 0.2,
                                                 FitPageOnLoad : true,
                                                 FitWidthOnLoad : true,
                                                 PrintEnabled : true,
                                                 FullScreenAsMaxWindow : false,
                                                 ProgressiveLoading : false,
                                                 MinZoomSize : 0.2,
                                                 MaxZoomSize : 5,
                                                 SearchMatchAll : false,
                                                 InitViewMode : 'Portrait',

                                                 ViewModeToolsVisible : true,
                                                 ZoomToolsVisible : true,
                                                 NavToolsVisible : true,
                                                 CursorToolsVisible : true,
                                                 SearchToolsVisible : true,

                                                 localeChain: 'en_US'
                                                 }});
                </script>
        </div>

</body>
</html>
 

º¯È¯¹®¼­´Â docs Æú´õ¾ÈÀ¸·Î »ðÀÔÇÏ°í viewer ½ÎÀÌÁî´Â Äڵ带 ¼öÁ¤Çؼ­ Àû´çÈ÷ »ç¿ëÇÏ¸é µË´Ï´Ù.

¾Æ·¡ ¸µÅ©¿Í °°Àº ÇüÅ·Π»ç¿ë°¡´ÉÇÕ´Ï´Ù.
http://chonnom.com/bbs/board.php?bo_table=B19&wr_id=329

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.