|
| 1 | +/** -------------------------------------------------------------------------------------------------------------------- |
| 2 | +* <copyright company="Aspose" file="comment_range_start.h"> |
| 3 | +* Copyright (c) 2025 Aspose.Words for Cloud |
| 4 | +* </copyright> |
| 5 | +* <summary> |
| 6 | +* Permission is hereby granted, free of charge, to any person obtaining a copy |
| 7 | +* of this software and associated documentation files (the "Software"), to deal |
| 8 | +* in the Software without restriction, including without limitation the rights |
| 9 | +* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 10 | +* copies of the Software, and to permit persons to whom the Software is |
| 11 | +* furnished to do so, subject to the following conditions: |
| 12 | +* |
| 13 | +* The above copyright notice and this permission notice shall be included in all |
| 14 | +* copies or substantial portions of the Software. |
| 15 | +* |
| 16 | +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 17 | +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 18 | +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 19 | +* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 20 | +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 21 | +* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 22 | +* SOFTWARE. |
| 23 | +* </summary> |
| 24 | +-------------------------------------------------------------------------------------------------------------------- **/ |
| 25 | + |
| 26 | +#pragma once |
| 27 | +#include "model_base.h" |
| 28 | +#include "comment_link.h" |
| 29 | +#include "node_link.h" |
| 30 | + |
| 31 | +namespace aspose::words::cloud::models { |
| 32 | + /// <summary> |
| 33 | + /// Comment range start link. |
| 34 | + /// </summary> |
| 35 | + class CommentRangeStart : public NodeLink |
| 36 | + { |
| 37 | + public: |
| 38 | + |
| 39 | + ASPOSE_WORDS_CLOUD_EXPORT virtual ~CommentRangeStart() = default; |
| 40 | + ASPOSE_WORDS_CLOUD_EXPORT virtual void toJson(void* jsonIfc) const override; |
| 41 | + ASPOSE_WORDS_CLOUD_EXPORT virtual void fromJson(const void* jsonIfc) override; |
| 42 | + ASPOSE_WORDS_CLOUD_EXPORT virtual void getFileReferences(std::vector< FileReference* >& result) override; |
| 43 | + ASPOSE_WORDS_CLOUD_EXPORT virtual void validate() override; |
| 44 | + |
| 45 | + |
| 46 | + /// <summary> |
| 47 | + /// Gets or sets the link to comment. |
| 48 | + /// </summary> |
| 49 | + ASPOSE_WORDS_CLOUD_EXPORT virtual std::shared_ptr< aspose::words::cloud::models::CommentLink > getCommentLink() const; |
| 50 | + |
| 51 | + /// <summary> |
| 52 | + /// Gets or sets the link to comment. |
| 53 | + /// </summary> |
| 54 | + ASPOSE_WORDS_CLOUD_EXPORT virtual void setCommentLink(std::shared_ptr< aspose::words::cloud::models::CommentLink > value); |
| 55 | + |
| 56 | + |
| 57 | + protected: |
| 58 | + std::shared_ptr< aspose::words::cloud::models::CommentLink > m_CommentLink; |
| 59 | + }; |
| 60 | +} |
| 61 | + |
0 commit comments