Aspose.Tasks for C++
ITextStyleModificationCallback.h
1 #pragma once
2 //-----------------------------------------------------------------------
3 // <copyright file="ITextStyleModificationCallback.cs" company="Aspose Pty Ltd">
4 // Copyright (c) 2002-2024 Aspose Pty Ltd. All Rights Reserved.
5 // </copyright>
6 //-----------------------------------------------------------------------
7 
8 #include <system/object.h>
9 
10 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
11 
12 namespace Aspose
13 {
14 namespace Tasks
15 {
16 namespace Visualization
17 {
18 class TaskTextStyleEventArgs;
19 } // namespace Visualization
20 } // namespace Tasks
21 } // namespace Aspose
22 
23 namespace Aspose {
24 
25 namespace Tasks {
26 
27 namespace Visualization {
28 
29 /// <summary>
30 /// Represents a callback that is called before TextStyle is applied to a table cell.
31 /// </summary>
32 class ASPOSE_TASKS_SHARED_CLASS ITextStyleModificationCallback : public virtual System::Object
33 {
35  typedef System::Object BaseType;
36 
37  typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
38  ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
39 
40 public:
41 
42  /// <summary>
43  /// The method to be called before rendering of a table cell for a task row in the following views:
44  /// 'Gantt Chart', 'Task Sheet', 'Task Usage'.
45  /// </summary>
46  /// <param name="args">The <see cref="TaskTextStyleEventArgs"></see> object.</param>
47  virtual void BeforeTaskTextStyleApplied(System::SharedPtr<TaskTextStyleEventArgs> args) = 0;
48 
49 };
50 
51 } // namespace Visualization
52 } // namespace Tasks
53 } // namespace Aspose
54 
55 
Represents a callback that is called before TextStyle is applied to a table cell.
Definition: ITextStyleModificationCallback.h:33
virtual void BeforeTaskTextStyleApplied(System::SharedPtr< TaskTextStyleEventArgs > args)=0
The method to be called before rendering of a table cell for a task row in the following views: 'Gant...
Definition: Asn.h:13