Inherits System::Object.

Static Public Member Functions

static ASPOSE_PAGE_SHARED_API System::String get_RestrictionMessage ()
 
static ASPOSE_PAGE_SHARED_API System::Drawing::PointF ConvertPoint (System::String value)
 Convert point More...
 
static ASPOSE_PAGE_SHARED_API System::Drawing::SizeF ConvertSize (System::String value)
 Convert size More...
 
static ASPOSE_PAGE_SHARED_API System::Drawing::RectangleF ConvertBox (System::String value)
 Convert rectangular box More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Implements C# typeof(System.Object) construct. More...
 

Static Protected Member Functions

static System::String AddBackSlash (System::String path)
 
static void ValidatePath (System::String path)
 
static void LogToTrace (System::String message)
 
static System::String ComputeHash (System::SharedPtr< System::IO::Stream > stream)
 
static void CopyStream (System::SharedPtr< System::IO::Stream > stream1, System::SharedPtr< System::IO::Stream > stream2)
 
static System::String DecodeSpecialChars (System::String text)
 
static float XpsUnitsToPoints (float val)
 
static System::SharedPtr< System::Xml::XmlNodeAddXmlDeclaration (System::SharedPtr< System::Xml::XmlDocument > doc)
 
static float ConvertFloat (System::String str)
 Convert float. This could be faster. It takes about 2/3 of the deabbriviation time. More...
 
static System::ArrayPtr< float > ConvertFloatArray (System::String str)
 
static System::ArrayPtr< System::Drawing::PointFConvertPointArray (System::String str)
 
static System::String FloatArrayToString (System::ArrayPtr< float > value)
 
static int32_t ConvertInt (System::String str)
 Convert int More...
 
static bool ConvertBool (System::String str)
 Convert bool More...
 
static bool ConvertStBoolean (System::String str)
 Convert StBoolean to bool More...
 
static System::SharedPtr< XpsModel::XpsMatrixInternal > ConvertMatrix (System::String value)
 Convert transformation matrix More...
 
static System::SharedPtr< System::Xml::XmlNodeGetPropertyNode (System::SharedPtr< XpsModel::XpsContext > context, System::SharedPtr< System::Xml::XmlElement > element, System::String propertyName)
 
static float GetAttributeValueAsFloat (System::SharedPtr< System::Xml::XmlElement > element, System::String name, float defValue=0.f, bool required=false)
 
static System::ArrayPtr< float > GetAttributeValueAsFloatArray (System::SharedPtr< System::Xml::XmlElement > element, System::String name)
 
static System::String GetAttributeValueAsString (System::SharedPtr< System::Xml::XmlElement > element, System::String name, bool required=false)
 
static System::String GetAttributeValueAsRawString (System::SharedPtr< System::Xml::XmlElement > element, System::String name, bool required=false)
 
static bool GetAttributeValueAsBool (System::SharedPtr< System::Xml::XmlElement > element, System::String name, bool required=false)
 
template<typename T >
static T GetAttributeValueAsEnum (System::SharedPtr< System::Xml::XmlElement > element, System::String name, bool required=false)
 
static System::Drawing::PointF GetAttributeValueAsPoint (System::SharedPtr< System::Xml::XmlElement > element, System::String name, bool required=false)
 
static System::Drawing::SizeF GetAttributeValueAsSize (System::SharedPtr< System::Xml::XmlElement > element, System::String name, bool required=false, System::String objName=nullptr)
 
static System::Drawing::RectangleF GetAttributeValueAsBox (System::SharedPtr< System::Xml::XmlElement > element, System::String name, bool required=false, System::String objName=nullptr)
 
static XpsModel::XpsFillRule DeabbriviatePathFigures (System::SharedPtr< XpsModel::XpsContext > context, System::SharedPtr< System::Xml::XmlAttribute > attrNode, System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsModel::XpsPathFigure >>> figures)
 
static XpsModel::XpsFillRule DeabbriviatePathFigures (System::SharedPtr< XpsModel::XpsContext > context, System::String abbreviatedGeometry, System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsModel::XpsPathFigure >>> figures)
 

Static Protected Attributes

static const System::String FloatPattern
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared reference counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual ASPOSECPP_SHARED_API bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Member Function Documentation

◆ AddBackSlash()

static System::String Aspose::Page::XPS::XpsUtils::AddBackSlash ( System::String  path)
staticprotected

◆ AddXmlDeclaration()

static System::SharedPtr<System::Xml::XmlNode> Aspose::Page::XPS::XpsUtils::AddXmlDeclaration ( System::SharedPtr< System::Xml::XmlDocument doc)
staticprotected

◆ ComputeHash()

static System::String Aspose::Page::XPS::XpsUtils::ComputeHash ( System::SharedPtr< System::IO::Stream stream)
staticprotected

◆ ConvertBool()

static bool Aspose::Page::XPS::XpsUtils::ConvertBool ( System::String  str)
staticprotected

Convert bool

Parameters
strThe string representation of bool
Returns
the bool value

◆ ConvertBox()

static ASPOSE_PAGE_SHARED_API System::Drawing::RectangleF Aspose::Page::XPS::XpsUtils::ConvertBox ( System::String  value)
static

Convert rectangular box

Parameters
valueThe string representation of box
Returns
The box

◆ ConvertFloat()

static float Aspose::Page::XPS::XpsUtils::ConvertFloat ( System::String  str)
staticprotected

Convert float. This could be faster. It takes about 2/3 of the deabbriviation time.

Parameters
strThe string representation of float
Returns
the float

◆ ConvertFloatArray()

static System::ArrayPtr<float> Aspose::Page::XPS::XpsUtils::ConvertFloatArray ( System::String  str)
staticprotected

◆ ConvertInt()

static int32_t Aspose::Page::XPS::XpsUtils::ConvertInt ( System::String  str)
staticprotected

Convert int

Parameters
strThe string representation of int
Returns
the int

◆ ConvertMatrix()

static System::SharedPtr<XpsModel::XpsMatrixInternal> Aspose::Page::XPS::XpsUtils::ConvertMatrix ( System::String  value)
staticprotected

Convert transformation matrix

Parameters
valueThe string representation of matrix
Returns
The matrix

◆ ConvertPoint()

static ASPOSE_PAGE_SHARED_API System::Drawing::PointF Aspose::Page::XPS::XpsUtils::ConvertPoint ( System::String  value)
static

Convert point

Parameters
valueThe string representation of point
Returns
The point

◆ ConvertPointArray()

static System::ArrayPtr<System::Drawing::PointF> Aspose::Page::XPS::XpsUtils::ConvertPointArray ( System::String  str)
staticprotected

◆ ConvertSize()

static ASPOSE_PAGE_SHARED_API System::Drawing::SizeF Aspose::Page::XPS::XpsUtils::ConvertSize ( System::String  value)
static

Convert size

Parameters
valueThe string representation of size
Returns
The size

◆ ConvertStBoolean()

static bool Aspose::Page::XPS::XpsUtils::ConvertStBoolean ( System::String  str)
staticprotected

Convert StBoolean to bool

Parameters
strThe string representation of StBoolean
Returns
The bool

◆ CopyStream()

static void Aspose::Page::XPS::XpsUtils::CopyStream ( System::SharedPtr< System::IO::Stream stream1,
System::SharedPtr< System::IO::Stream stream2 
)
staticprotected

◆ DeabbriviatePathFigures() [1/2]

static XpsModel::XpsFillRule Aspose::Page::XPS::XpsUtils::DeabbriviatePathFigures ( System::SharedPtr< XpsModel::XpsContext context,
System::SharedPtr< System::Xml::XmlAttribute attrNode,
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsModel::XpsPathFigure >>>  figures 
)
staticprotected

◆ DeabbriviatePathFigures() [2/2]

static XpsModel::XpsFillRule Aspose::Page::XPS::XpsUtils::DeabbriviatePathFigures ( System::SharedPtr< XpsModel::XpsContext context,
System::String  abbreviatedGeometry,
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsModel::XpsPathFigure >>>  figures 
)
staticprotected

◆ DecodeSpecialChars()

static System::String Aspose::Page::XPS::XpsUtils::DecodeSpecialChars ( System::String  text)
staticprotected

◆ FloatArrayToString()

static System::String Aspose::Page::XPS::XpsUtils::FloatArrayToString ( System::ArrayPtr< float >  value)
staticprotected

◆ get_RestrictionMessage()

static ASPOSE_PAGE_SHARED_API System::String Aspose::Page::XPS::XpsUtils::get_RestrictionMessage ( )
static

◆ GetAttributeValueAsBool()

static bool Aspose::Page::XPS::XpsUtils::GetAttributeValueAsBool ( System::SharedPtr< System::Xml::XmlElement element,
System::String  name,
bool  required = false 
)
staticprotected

◆ GetAttributeValueAsBox()

static System::Drawing::RectangleF Aspose::Page::XPS::XpsUtils::GetAttributeValueAsBox ( System::SharedPtr< System::Xml::XmlElement element,
System::String  name,
bool  required = false,
System::String  objName = nullptr 
)
staticprotected

◆ GetAttributeValueAsEnum()

template<typename T >
static T Aspose::Page::XPS::XpsUtils::GetAttributeValueAsEnum ( System::SharedPtr< System::Xml::XmlElement element,
System::String  name,
bool  required = false 
)
inlinestaticprotected

◆ GetAttributeValueAsFloat()

static float Aspose::Page::XPS::XpsUtils::GetAttributeValueAsFloat ( System::SharedPtr< System::Xml::XmlElement element,
System::String  name,
float  defValue = 0.f,
bool  required = false 
)
staticprotected

◆ GetAttributeValueAsFloatArray()

static System::ArrayPtr<float> Aspose::Page::XPS::XpsUtils::GetAttributeValueAsFloatArray ( System::SharedPtr< System::Xml::XmlElement element,
System::String  name 
)
staticprotected

◆ GetAttributeValueAsPoint()

static System::Drawing::PointF Aspose::Page::XPS::XpsUtils::GetAttributeValueAsPoint ( System::SharedPtr< System::Xml::XmlElement element,
System::String  name,
bool  required = false 
)
staticprotected

◆ GetAttributeValueAsRawString()

static System::String Aspose::Page::XPS::XpsUtils::GetAttributeValueAsRawString ( System::SharedPtr< System::Xml::XmlElement element,
System::String  name,
bool  required = false 
)
staticprotected

◆ GetAttributeValueAsSize()

static System::Drawing::SizeF Aspose::Page::XPS::XpsUtils::GetAttributeValueAsSize ( System::SharedPtr< System::Xml::XmlElement element,
System::String  name,
bool  required = false,
System::String  objName = nullptr 
)
staticprotected

◆ GetAttributeValueAsString()

static System::String Aspose::Page::XPS::XpsUtils::GetAttributeValueAsString ( System::SharedPtr< System::Xml::XmlElement element,
System::String  name,
bool  required = false 
)
staticprotected

◆ GetPropertyNode()

static System::SharedPtr<System::Xml::XmlNode> Aspose::Page::XPS::XpsUtils::GetPropertyNode ( System::SharedPtr< XpsModel::XpsContext context,
System::SharedPtr< System::Xml::XmlElement element,
System::String  propertyName 
)
staticprotected

◆ LogToTrace()

static void Aspose::Page::XPS::XpsUtils::LogToTrace ( System::String  message)
staticprotected

◆ ValidatePath()

static void Aspose::Page::XPS::XpsUtils::ValidatePath ( System::String  path)
staticprotected

◆ XpsUnitsToPoints()

static float Aspose::Page::XPS::XpsUtils::XpsUnitsToPoints ( float  val)
staticprotected

Member Data Documentation

◆ FloatPattern

const System::String Aspose::Page::XPS::XpsUtils::FloatPattern
staticprotected