---
title: "C++でのドキュメントの操作"
---


[Document](https://reference.aspose.com/words/cpp/aspose.words/document/)クラスはAspose.Wordsの中心です。 ドキュメントを表し、ドキュメントの保存や保護など、さまざまなドキュメントのプロパティとメソッドを提供します。 **Document**クラスをAspose.Wordsで実行したいものの出発点として使用します：新しい文書を最初から作成するか、mail mergeのテンプレートを開くか、文書から別の部分を取得します。

**Document**オブジェクトには、すべてのコンテンツと書式設定、スタイル、組み込みおよびカスタムプロパティ、およびmail mergeに使用される[MailMerge](https://reference.aspose.com/words/cpp/aspose.words.mailmerging/mailmerge/)オブジェクトが含まれ **Document**ドキュメント全体または個別のセクションのテキスト、ブックマーク、およびフォームフィールドを取得できます。

**文書**
