Microsoft MVP성태의 닷넷 이야기
.NET : 3. Open XML을 다루는 코드 스니핏 [링크 복사], [링크+제목 복사],
조회: 13851
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

[블로그 출처]
Code Snippets for Open XML Development
; https://docs.microsoft.com/en-us/archive/blogs/dmahugh/code-snippets-for-open-xml-development

2007 Office System Sample: Open XML File Format Code Snippets for Visual Studio 2005
; http://www.microsoft.com/downloads/details.aspx?FamilyID=8d46c01f-e3f6-4069-869d-90b8b096b556&displaylang=en

아무래도, 이전 Office 2003보다는 "Open XML"로 된 Office 2007이 다루기에는 좀 더 쉬워졌음은 명백한 것 같습니다.

이와 관련된 MSDN Magazine 토픽은 다음을 참조하십시오.
Setting Word Document Properties the Office 2007 Way
; https://docs.microsoft.com/en-us/archive/msdn-magazine/2006/june/msdn-magazine-june-2006


"2007 Office System Sample"에는 다음과 같은 코드 조각들을 예제로 담고 있다고 합니다.

----------------------------------------------------------------------------
- Open XML: Get OfficeDocument Part

---------------------- Excel 2007
- Excel: Add Custom UI
- Excel: Delete Comments by a specific User
- Excel: Delete Worksheet
- Excel: Delete Excel 4.0 Macro sheets
- Excel: Retrieve hidden rows or columns
- Excel: Export Chart
- Excel: Get Cell Value
- Excel: Get Comments as XML
- Excel: Get Hidden Worksheets
- Excel: Get Worksheet Information
- Excel: Get Cell for Reading
- Excel: Get Cell for Writing
- Excel: Insert Custom XML
- Excel: Insert Header or Footer
- Excel: Insert a Numeric Value into a Cell
- Excel: Insert a String Value into a Cell
- Excel: Set Recalc Option

---------------------- Powerpoint 2007
- PowerPoint: Delete Comments by User
- PowerPoint: Delete Slide by Title
- PowerPoint: Get Slide Count
- PowerPoint: Get Slide Titles
- PowerPoint: Modify Slide Title
- PowerPoint: Reorder Slides
- PowerPoint: Replace Image
- PowerPoint: Retrieve Slide Location by Title

---------------------- Word 2007
- Word: Accept Revisions
- Word: Add Header
- Word: Convert DOCM to DOCX
- Word: Remove Comments
- Word: Remove Headers and Footers
- Word: Remove Hidden Text
- Word: Replace Style
- Word: Retrieve Application Property
- Word: Retrieve Core Property
- Word: Retrieve Custom Property
- Word: Retrieve Table of Contents
- Word: Set Application Property
- Word: Set Core Property
- Word: Set Custom Property
- Word: Set Print Orientation








[최초 등록일: ]
[최종 수정일: 3/25/2022]


비밀번호

댓글 작성자
 



2022-03-25 12시33분
MiniExcel - Fast, Low-Memory, Easy Excel .NET helper to import/export/template spreadsheet
; https://github.com/MiniExcel/MiniExcel
정성태

... 46  [47] 
NoWriterDateCnt.TitleFile(s)
18정성태9/19/200411814HTML SELECT 요소에 OPTION 요소를 채우는 C/C++ 예제파일 다운로드1
17정성태11/14/200510586[정보] Visual Studio 6.0 Samples
16정성태9/5/200411742JAVA 로 구현된 NTLM 구현파일 다운로드1
15정성태9/2/200410389Developing Active Server Components with ATL
14정성태7/20/200410697No-Touch Deployment
13정성태6/30/200410779How to read BLOB from Dataset into buffer?
11정성태2/14/200410681XMLHTTP 에서 반환받은 non-XML 데이터를 보여주는 모듈
10정성태2/14/200413655MSIL 디컴파일러 - .NET Reflector [1]
9정성태1/26/200412015스크립트 디코더파일 다운로드1
159정성태12/23/20059674    답변글 [업데이트]: 스크립트 디코더파일 다운로드1
8정성태1/26/200414598게시물 도배 프로그램 방지
7정성태1/26/200413075Microsoft.XMLHTTP 개체로 XML 이 아닌 다른 데이터 가져오기
6정성태8/6/200311825Three Ways to Inject Your Code into Another Process파일 다운로드1
5정성태7/29/200311948SQL 서버 sa 암호를 잊은 경우, 복구하는 방법파일 다운로드1
4정성태7/25/200313476DiskId32 - 물리하드 디스크 정보파일 다운로드2
12정성태6/11/200410435    답변글 [추가] WMI 로 구하는 방법파일 다운로드1
3정성태7/25/200312093C# 프로그래밍 언어에 추후 추가되는 기능파일 다운로드1
2정성태7/25/200312385INFO: COM+ 1.0의 새로운 기능파일 다운로드1
... 46  [47]