4 #include <system/array.h> 7 #include "Aspose.PDF.Cpp/aspose_pdf_api_defs.h" 22 class PhysicalTextSegment;
23 class SegmentsGroupState;
41 class RegressionTests_v9_9;
44 class TextBuilderTests;
45 class TextParagraphAbsorberTests;
52 class TextEditOptions;
53 class TextFormattingOptions;
55 class TextFragmentCollection;
57 class TextSegmentCollection;
69 template <
typename,
typename>
class Dictionary;
70 template <
typename>
class List;
91 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
92 ASPOSE_PDF_SHARED_RTTI_INFO_DECL();
95 friend class Aspose::Pdf::PageGenerator;
98 friend class Aspose::Pdf::Tests::Text::TextParagraphAbsorberTests;
99 friend class Aspose::Pdf::Tests::Text::TextBuilderTests;
100 friend class Aspose::Pdf::Tests::RegressionTests_v9_9;
124 typedef IJustificationElement ThisType;
127 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
132 class JustificationWord :
public Aspose::Pdf::Text::TextParagraph::IJustificationElement
134 typedef JustificationWord ThisType;
135 typedef Aspose::Pdf::Text::TextParagraph::IJustificationElement BaseType;
137 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
144 int32_t get_StartPos()
const;
145 void set_StartPos(int32_t value);
146 int32_t get_EndPos()
const;
147 void set_EndPos(int32_t value);
150 double get_Width()
const;
151 void set_Width(
double value);
152 double get_SpaceWidth()
const;
153 void set_SpaceWidth(
double value);
164 double pr_SpaceWidth;
168 class JustificationSpace :
public Aspose::Pdf::Text::TextParagraph::IJustificationElement
170 typedef JustificationSpace ThisType;
171 typedef Aspose::Pdf::Text::TextParagraph::IJustificationElement BaseType;
173 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
180 double get_SpaceWidth()
const;
181 void set_SpaceWidth(
double value);
183 JustificationSpace();
188 double pr_SpaceWidth;
213 ASPOSE_PDF_SHARED_API
float get_SubsequentLinesIndent()
const;
218 ASPOSE_PDF_SHARED_API
void set_SubsequentLinesIndent(
float value);
223 ASPOSE_PDF_SHARED_API
float get_FirstLineIndent()
const;
228 ASPOSE_PDF_SHARED_API
void set_FirstLineIndent(
float value);
232 ASPOSE_PDF_SHARED_API
bool get_Justify();
236 ASPOSE_PDF_SHARED_API
void set_Justify(
bool value);
290 ASPOSE_PDF_SHARED_API
double get_Rotation()
const;
294 ASPOSE_PDF_SHARED_API
void set_Rotation(
double value);
310 ASPOSE_PDF_SHARED_API
void BeginEdit();
320 ASPOSE_PDF_SHARED_API
void EndEdit();
332 ASPOSE_PDF_SHARED_API
void AppendLine(
System::String line,
float lineSpacing);
371 int32_t get_McId()
const;
383 bool get_LimitWithBounds()
const;
387 void set_LimitWithBounds(
bool value);
392 bool get_PreserveOriginalLinespacing()
const;
397 void set_PreserveOriginalLinespacing(
bool value);
427 double get_LastFragmentHeight();
436 bool get_OldCodeCompatibilityMode()
const;
437 void set_OldCodeCompatibilityMode(
bool value);
461 void RemoveLineByIndex(int32_t index);
486 bool updatingPositioning;
511 bool limitWithBounds;
513 int32_t suspendedUpdateRequest;
514 float subsequentLinesIndent;
515 float firstLineIndent;
516 bool preserveOriginalLinespacing;
517 static const float DefaultSpacing;
518 bool _oldCodeCompatibilityMode;
524 static const int32_t MagicDeltaHeight;
525 static const int32_t FontLinedeltaHeight;
526 static const int32_t DeltaLeft;
527 static const int32_t DeltaRight;
528 static const int32_t DeltaHeight;
529 static const int32_t DeltaUp;
530 static const int32_t DeltaBottom;
531 static const int32_t EmulatedItalicRightCorrection;
538 void set_McId(int32_t value);
555 void UpdateTextRectangle(
double textHeight,
double textMaxWidth,
double& dx,
double& dy);
559 void UpdateMatrixCoordinates();
563 void UpdatePositioningInEditingMode();
568 void UpdatePositioning();
573 void UpdatePositioning(
bool forceUpdate);
574 void ShiftSegment(
double shiftDx,
double shiftDy);
575 double DoWrapPositioning();
577 float GetLineIndent(
bool isFirstLine);
578 void InsertLineWrapLog(int32_t index);
579 double DoNoWrapPositioning();
581 static void SkipSpaces(int32_t& j, int32_t charCount,
System::String txt);
607 void ClearPhysicalSegments();
611 void FlushDetachedProperties();
631 void ResetBoxProperties();
VerticalAlignment
Enumeration of possible vertical alignment values.
Definition: VerticalAlignment.h:16
String class used across the library. Is a substitute for C# System.String when translating code...
Definition: string.h:121
class ASPOSECPP_SHARED_CLASS List
Definition: ienumerable.h:17
Represents a class for adding texts and images on the pages of existing PDF document.
Definition: PdfFileMend.h:49
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:64
Definition: Artifact.h:67
Represents text paragraphs as multiline text object.
Definition: TextParagraph.h:86
HorizontalAlignment
Describes horizontal alignment.
Definition: HorizontalAlignment.h:16
Definition: signed_info.h:13
Represents heading.
Definition: Heading.h:58
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: fwd.h:22
Appends text object to Pdf page.
Definition: TextBuilder.h:73
Definition: AFRelationship.h:4
Forward declaration of Dictionary class.
Definition: Artifact.h:73
TextBackgroundMode
Background mode for TextParagraph
Definition: TextParagraph.h:107
List forward declaration.
Definition: Artifact.h:74
Whole PDF file will be submitted.