! 제품 버전을 정확하게 입력해 주세요.
제품 버전이 정확하게 기재되어 있지 않은 경우,
최신 버전을 기준으로 안내 드리므로
더욱 빠르고 명확한 안내를 위해
제품 버전을 정확하게 입력해 주세요!

excel export 기능 > Q&A | 토론

본문 바로가기

SpreadJS

Q&A | 토론

기타 excel export 기능

페이지 정보

작성자 카카시22 작성일 2020-09-15 11:29 조회 3,730회 댓글 0건
제품 버전 : spreadjs 13
컨트롤 이름 : export excel

본문

spreadJS에서 export 받은 엑셀 파일을 JAVA Poi API로 데이터 접근할 경우

엑셀 파일 내부 sheet xml이 일반 엑셀 파일 구조가 달라 Poi api를 사용할 수 없습니다.


* spreadJS에서 받은 엑셀 sheet xml 구조

Name: /xl/worksheets/sheet1.xml - Content Type: application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml

{-1=<xml-fragment customHeight="1" ht="20.25" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" xmlns:main="http://schemas.openxmlformats.org/spreadsheetml/2006/main">

  <main:c s="50"/>

  <main:c s="50"/>

  <main:c s="50"/>

  <main:c s="50"/>

  <main:c s="50"/>

  <main:c s="50"/>

  <main:c s="50"/>

  <main:c s="50"/>

</xml-fragment>}



* spreadjs에서 받은 엑셀을 엑셀 프로그램에서 saveAs 한 엑셀 파일 sheet xml 구조
Name: /xl/worksheets/sheet1.xml - Content Type: application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml
  <main:c r="A1" s="2" t="s">
    <main:v>0</main:v>
  </main:c>
  <main:c r="B1" s="2">
    <main:v>1</main:v>
  </main:c>
  <main:c r="C1" s="2" t="s">
    <main:v>1</main:v>
  </main:c>
  <main:c r="A2" s="58" t="s">
    <main:v>2</main:v>
  </main:c>
  <main:c r="B2" s="58"/>
  <main:c r="C2" s="58"/>
  <main:c r="D2" s="58"/>
  <main:c r="E2" s="58"/>
  <main:c r="F2" s="58"/>
  <main:c r="G2" s="58"/>
  <main:c r="H2" s="58"/>
  <main:c r="A3" s="40" t="s">
    <main:v>3</main:v>
  </main:c>
  <main:c r="B3" s="40"/>
  <main:c r="C3" s="59" t="s">
    <main:v>4</main:v>
  </main:c>
  <main:c r="D3" s="59"/>
  <main:c r="E3" s="59"/>
  <main:c r="F3" s="59"/>
  <main:c r="G3" s="59"/>
  <main:c r="H3" s="59"/>
</xml-fragment>
.... 생략 ...

해결 방법 있을까요?
  • 페이스북으로 공유
  • 트위터로  공유
  • 링크 복사
  • 카카오톡으로 보내기

댓글목록

등록된 댓글이 없습니다.

1 답변

기타 Re: excel export 기능

추천0 이 글을 추천하셨습니다 비추천0 채택채택

페이지 정보

작성자 GCK루카스 작성일 2020-09-17 14:54 댓글 0건

본문

안녕하세요 그레이프시티입니다.


본사 개발팀에서 확인한 결과, 해당 현상이 Apache POI의 오래된 버전에서 나타났었다고 합니다.

Apache POI의 버전을 최신 버전으로 업그레이드하여 사용하시면 문제가 해결될 수 있으니, 최신 버전의 Apache POI에서 테스트해 보시기 바랍니다.


또한 다음 달에 저희 GrapeCity에서 Apache POI를 대체할 수 있는 GcExcel 이라는 제품이 출시됩니다.

현재 사용하시는 Apache POI보다 기능적으로나 성능적으로 나은 제품이오니 참고삼아 확인해 주시기 바랍니다.

아래 링크는 GcExcel과 Apache POI의 비교 분석 글입니다.

https://www.grapecity.com/blogs/12-reasons-to-use-grapecity-documents-for-excel-java-over-apache-poi


정식 출시가 되면 더 많은 자료를 안내 드리도록 하겠습니다.


다른 궁금한 점이 생기면, 언제든 문의 주시기 바랍니다.


감사합니다.

그레이프시티 드림

* 그레이프시티(GrapeCity)는 개발자를 위하여 ComponentOne(컴포넌트원), Spread(스프레드), ActiveReports(액티브리포츠), SpreadJS(스프레드JS), Wijmo(위즈모)와 같은 엑셀 스프레드시트 리포팅 그리드와 차트 등 다양한 종류의 .NET JavaScript(자바스크립트) 컴포넌트 툴을 생산하고있는 개발툴 전문 회사 입니다.





댓글목록

등록된 댓글이 없습니다.

메시어스 홈페이지를 통해 제품에 대해서 더 자세히 알아 보세요!
홈페이지 바로가기
메시어스 홈페이지를 통해 제품에 대해서 더 자세히 알아 보세요!
홈페이지 바로가기
이메일 : sales-kor@mescius.com | 전화 : 1670-0583 | 경기도 과천시 과천대로 7길 33, 디테크타워 B동 1107호 메시어스(주) 대표자 : 허경명 | 사업자등록번호 : 123-84-00981 | 통신판매업신고번호 : 2013-경기안양-00331 ⓒ 2024 MESCIUS inc. All rights reserved.