Microsoft MVP성태의 닷넷 이야기
.NET : 3. Open XML을 다루는 코드 스니핏 [링크 복사], [링크+제목 복사],
조회: 10464
글쓴 사람
정성태 (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)
43정성태12/28/200410165VSMT 소개: Physical Server to Virtual Server
68정성태3/2/200510168    답변글 [추가]: VSMT 소개: ADS 1.0
42정성태12/27/20049531VS.NET 2005 : What should I do if I get a message that says, "Team system server is not available; please contact your system administrator."?
41정성태12/25/20049974Ten things to know before starting VSTS Foundation Server Installation
40정성태12/25/20049829SQL Server 2005 에서 반가운 기능 : 재귀 SELECT 와 ROW_NUMBER
39정성태12/24/20049036VS.NET 2005 : Navigate the .NET Framework and Your Projects with "My"파일 다운로드1
38정성태12/24/20049106Smart Client Architecture and Design Guide
37정성태12/24/20049708Translation Guide: Moving Your Programs from Managed Extensions for C++ to C++/CLI
36정성태12/23/2004941113가지 주의 사항: Visual C++ .NET 프로그램을 Visual Studio 2005로 이식하기 전에 알아야 할 13가지 내용
35정성태12/26/20049869Windows Sharepoint Services 를 설치한 이후 ASP.NET 오류 문제파일 다운로드1
34정성태12/9/200410038SQL Server 구성이 실패파일 다운로드1
33정성태12/7/20049906RSS 에 대한 자세한 설명
32정성태12/5/20049633How To Troubleshoot MS DTC Firewall Issues
31정성태12/5/20049394HOWTO: Enable DTC Between Web Servers and SQL Servers Running Windows Server 2003
29정성태12/4/20049438IP 변경하는 NETSH 명령
28정성태11/20/20049619혼합 DLL 로드 문제
27정성태11/20/20049361Web Services Enhancements 2.0을 사용한 프로그래밍
26정성태11/20/20049771SQL 주입 공격을 사전에 차단하는 방법
25정성태10/20/20049388Invoking .NET Events from Native C++
24정성태10/16/20048785Windows Rights Management 서비스(RMS) 1.0
23정성태10/16/20049517[ASP.NET] Working with Client-Side Script
21정성태10/3/20049592HOWTO: ASP.NET 유틸리티를 사용하여 자격 증명 및 세션 상태 연결 문자열 암호화
20정성태10/3/20049550IE 에서 XML 파일을 보는 경우, XMLDocument 를 얻어내는 방법.
22정성태10/3/200410287    답변글 [내용 보강] .NET 언어에서 IE에 보여진 XMLDocument 개체 접근하기
19정성태10/3/20049259.NET 리모팅에서 MBR 개체를 전송하는 경우의 xxx.exe.config 파일 설정방법
18정성태9/19/200410004HTML SELECT 요소에 OPTION 요소를 채우는 C/C++ 예제파일 다운로드1
... [46]  47