DJango_Excel_templates.

Django¿¡¼­ Excel Å×ÀÌºí »ý¼º
Áö±Ý ´Ù¿î·Îµå

DJango_Excel_templates. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • MIT/X Consortium Lic...
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Brian Hray
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://code.google.com/u/brianhray/

DJango_Excel_templates. ű×


DJango_Excel_templates. ¼³¸í

Django¿¡¼­ Excel Å×À̺íÀ» »ý¼ºÇÕ´Ï´Ù DJANGO_EXCEL_TEMPLITES´Â HTML ´ë½Å ºä¿¡ ´ëÇÑ EXCEL ¹®¼­ »ý¼ºÀ»À§ÇÑ ÅÛÇø´ ½Ã½ºÅÛÀ» ¸¸µé°íÀÖ´Â Django Ç÷¯±×ÀÎÀÔ´Ï´Ù .Simple Case : Sniff ¸ðµ¨ ¹× Excel Å×ÀÌºí ¸Åü ÄÉÀ̽º : "" ""¸¦ ¸¸µé°í ¹Ì¸® °áÁ¤µÈ ½ºÅ¸ÀÏ (±Û²Ã, »ö»ó, ·¹À̾ƿô) °í±Þ ÄÉÀ̽º : ¸ðµ¨ º¹¿ë ¹× »ç¿ëÀÚ Á¤ÀÇ ½ºÅ¸ÀÏ ¼³Á¤ ¶Ç´Â ±âÁ¸ Àü¹®°¡ÀÇ °æ¿ì ¼öÁ¤ : ManyTomany ¶Ç´Â ¿ÜºÎ Å°¸¦ ±â¹ÝÀ¸·Î ¸ðµ¨ÀÇ ´Ü¸éÀ» ±â¹ÝÀ¸·Î ¸ðµ¨ÀÇ ´Ü¸éÀ» ±â¹ÝÀ¸·Î ½ºÅ¸ÀÏÀ» ¼³Á¤ÇÕ´Ï´Ù. DocumentationGetÀ» ¼³Ä¡ÇÏ·Á¸é EpyDoc (¿ì¸®´Â À±°û XXXX) ./ epydocd djan ... ¼³Ä¡ : python setup.py installexamples : testObj´Â django.db.models.query.queryset instanceBasic : django_excel_templates °¡Á® ¿À±â * report = excelReport () report.nextsheet ( "testBasic) ") report.add_one_instance (testobj, report_horz, true, style = none) Áß°£ (Çϳª¾¿ »ý¼º µÈ ½ºÅ¸ÀÏ) : report.nextsheet ("teststyle ") style = ExcelStyle () style.set_font (font_color = '000000', ±½°Ô) = true, italic = true) style.set_border (border_color = '000000 ', border_style = 5) style.set_pattern (pattern_color ='339933 ', pattern = 1) report.add_one_instance (testobj, report_horz, true, style = style) Áß°£ (¸ðµç ½ºÅ¸ÀÏÀ» ÇÑ ¹ø¿¡ ¸ðµÎ »ý¼º) : report.nextsheet ( "teststyle2) ") Style2 = ExcelStyle (font_color = '00FF00', ±×¸²ÀÚ = true, underline = true, pattern_color = '000000', pattern = 1, border_style = 5, border_color = 'ffffff') report.add_one_instance (testobj, report_horz, true, style = style2) °í±Þ : report.nextsheet ( "modifystyle") style.set_font (font_color = '000000', bold = false, underline = true) style.set_border (border_color = '330099', border_style = 6) style.set_pattern ( pattern_color = 'ffffff', pattern = 1) report.add_one_instance (testobj, report_horz, true, style = style) ¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽㠡¤ Àå°í ¡¤ xlwt.


DJango_Excel_templates. °ü·Ã ¼ÒÇÁÆ®¿þ¾î