¡á MGridID.GridToOffice

SECTION

 

Method

SINCE

 

NewPacket - Áö¿ø¾ÈÇÔ     Mx - 1,2,1,85     Ux 2,0,1,76

DESCRIPTION

 

MGridÀÇ ³»¿ëÀ» OpenOffice Calc, Excel, Hancell, Nexcel·Î Ç¥Çö / ÆÄÀÏ·Î ÀúÀåÇÑ´Ù.

±âº»ÀûÀ¸·Î GridToExcel°ú µ¿ÀÏÇÑ ±â´ÉÀ» Á¦°øÇÑ´Ù.

·ÎÄà PC¿¡ ÇØ´çÇÏ´Â Office°¡ ¼³Ä¡µÇ¾î ÀÖÁö ¾Ê´õ¶óµµ ½ÇÇàÇÏ¿© ÀúÀåÇÑ´Ù.

Ŭ¸³º¸µå¸¦ »ç¿ëÇÏÁö ¾Ê±â ¶§¹®¿¡ invoke¿¡·¯´Â ÇöÀúÇÏ°Ô °¨¼ÒÇÑ´Ù.

GridToExcel°ú ºñ±³ÇßÀ» ¶§ ¼Óµµ ¿ª½Ã ºü¸£´Ù.

SYNTAX

 

MGridID.GridToOffice(SheetName, FilePath, Option, OpenType)

POSSIBLE VALUES

 

ÇØ´ç¾øÀ½

PARAMETERS

 

BSTR SheetName : Excel¿¡¼­ÀÇ Sheet¸í

BSTR FilePath : FileÀ̸§À» Æ÷ÇÔÇÑ Path

long Option : ¼öÇà Option

long OpenType : ÆÄÀÏÀúÀå ÈÄ ÆÄÀÏÀ» ¿©´Â ±â´É

 

 

[OpenType]

1.  Option 4(È­¸é¿¡ ¶ç¿ìÁö ¾Ê°í ÀúÀå)¸¦ »ç¿ëÇÏÁö ¾ÊÀ» °æ¿ì ÇØ´ç È®ÀåÀÚ¸íÀÇ Office°¡ ¼³Ä¡µÇ¾î ÀÖÁö ¾Ê´Â´Ù¸é,

4¹ø° ÀÎÀÚ(OpenType)¿¡ µû¶ó ¿ì¼±¼öÀ§¸¦ Á¤ÇÏ¿© È­¸é¿¡ ¶ç¿ì°Ô µÈ´Ù.

2.  1¿É¼ÇÀ» ¼±ÅÃÇÒ °æ¿ì ÆÄÀÏ È®ÀåÀÚ¿Í »ó°ü¾øÀÌ Excel·Î ¿­°Ô µÇ¸ç, ExcelÀÌ ¼³Ä¡µÇÁö ¾Ê¾Ò´Ù¸é Hancell·Î ¿­°ÔµÇ°í,

Hacellµµ ¼³Ä¡µÇÁö ¾Ê¾Ò´Ù¸é Nexcel, Nexcelµµ ¼³Ä¡µÇÁö ¾Ê¾Ò´Ù¸é OO calc·Î ¿­°ÔµÈ´Ù.

3.  Áö¿øÇÏ´Â Office°¡ ¼³Ä¡µÇÁö ¾Ê¾Ò´Ù¸é ÆÄÀϷθ¸ ÀúÀåÇÑ´Ù.

Type

¿ì¼±¼øÀ§

0

ÀúÀåÇÑ ÆÄÀÏ È®ÀåÀÚ·Î open

1

Excel > HanCell > Nexcel > OO Calc

2

Excel > OO Calc > HanCell > Nexcel

3

HanCell > Nexcel > Excel > OO Calc

4

HanCell > Nexcel > OO Calc > Excel

5

OO Calc > Excel > HanCell > Nexcel

6

OO Calc > HanCell > Nexcel > Excel

 

[Option]

[ÁÖÀÇ»çÇ×]

1.     2nd (2)OptionÀÇ °æ¿ì GridToOffice´Â ÆÄÀÏÀ» ¹«Á¶°Ç ÀúÀåÇÏ°Ô µÇ¹Ç·Î ¿É¼Ç¿¡ »ó°ü¾øÀÌ Ç×»ó TRUE »óÅÂÀÔ´Ï´Ù.

2.     4th (8)OptionÀÇ °æ¿ì 2nd (2)Option°ú °°ÀÌ »ç¿ëÇÏÁö ¾ÊÀ» °æ¿ì ÆÄÀÏÀ» »ç¿ëÇÒ ¼ö ¾ø¾î Á¤»óµ¿ÀÛ ÇÏÁö ¾Ê½À´Ï´Ù.

ºñÆ®À§Ä¡(°ª)

¼³¸í

1st (1)

Save Only, ExcelÀ» È­¸é¿¡ ¶ç¿ìÁö ¾Ê°í ´ÜÁö ¿¢¼¿ÆÄÀÏ·Î ÀúÀ常 ÇÔ

2nd (2)

Save, ¿¢¼¿ÆÄÀÏ·Î ÀúÀå (Ç×»ó TRUE »óÅÂ)

* Save Only´Â ¼³Á¤µÇ¾î ÀÖÀ¸³ª Save°¡ ¼³Á¤µÇ¾î ÀÖÁö ¾Ê´Ù¸é ¾Æ¹«·± µ¿ÀÛÇÏÁö ¾ÊÀ½

3rd (4)

Save Dialog, ÆÄÀÏ ÀúÀå½Ã ÆÄÀÏ ´ëÈ­»óÀÚ¸¦ ¶ç¿ò

* Save°¡ ¼³Á¤µÇ¾î ÀÖÁö ¾Ê´Ù¸é ¹«½ÃµÊ

4th (8)

Add Sheet, »õ·Î¿î ÆÄÀÏÀ» »ý¼ºÇÏÁö ¾Ê°í ¡°FullPath¡±¿¡ ¼³Á¤µÈ ¿¢¼¿ÆÄÀÏ¿¡ ½¬Æ® Ãß°¡

* ¡°FullPath¡±°¡ À¯È¿ÇÏÁö ¾Ê´Ù¸é ¹«½ÃµÊ

5th (16)

Tree Style, MGrid°¡ Æ®¸® ÇüÅÂÀÎ °æ¿ì ³ëµåÀÇ Expand »óÅ ±×´ë·Î¸¦ ¿¢¼¿·Î º¸³½´Ù.

* ÀÌ ¿É¼ÇÀÌ ¼³Á¤µÇÁö ¾ÊÀ¸¸é ¸ðµÎ ÆîÃÄÁø »óÅ·Πº¸³»Áø´Ù.

6th (32)

ÆÄÀÏÀúÀå ´ëÈ­»óÀÚ°¡ ¶¹À» ¶§ Ãë¼Ò ¹öÆ°À» Ŭ¸¯Çϸé GridToOffice¸¦ Á¾·áÇÑ´Ù.

( NP - ¹ÌÁö¿ø MAX - 1,2,1,82 UMX - 2,0,1,73)

7th (64)

Save As °ü·Ã ¸Þ½ÃÁö¸¦ ¶ç¿ìÁö ¾Ê´Â´Ù.

( NP - ¹ÌÁö¿ø MAX - 1,2,1,96 UMX - 2,0,1,87)

8th (128)

Tree Style, MGrid°¡ Æ®¸® ÇüÅÂÀÎ °æ¿ì °è´Ü½ÄÀ¸·Î Ç¥ÇöµÇ´Â ùÄ÷³À» º´ÇÕÇÑ´Ù.

( NP - ¹ÌÁö¿ø MAX - 1,2,1,96 UMX - 2,0,1,87)

 

RETURN VALUES

 

ÇØ´ç¾øÀ½

EXAMPLE

 

[JavaScript]

MGridID.GridToOffice(szName, szPath, lOption, lOpenType);

SAMPLE

 

sample\GridToOffice_Normal.html

sample\GridToOffice_SubsumExpr.html

sample\GridToOffice_LevelColumn.html

SEE ALSO

 

GridToHtml, xl_cellformat, ExportTitle, ExportFooter