forked from microsoft/AdaptiveCards
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Shared] fixes italic and strike-through being allowed in TextBlock (m…
…icrosoft#2935) * disallows TextBlock to have italic and strikethrough as known properties * updated ios and android * updated CMakeLists.txt for android
- Loading branch information
Showing
17 changed files
with
358 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
...d/adaptivecards/src/main/java/io/adaptivecards/objectmodel/RichTextElementProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
/* ---------------------------------------------------------------------------- | ||
* This file was automatically generated by SWIG (http://www.swig.org). | ||
* Version 4.0.0 | ||
* | ||
* Do not make changes to this file unless you know what you are doing--modify | ||
* the SWIG interface file instead. | ||
* ----------------------------------------------------------------------------- */ | ||
|
||
package io.adaptivecards.objectmodel; | ||
|
||
public class RichTextElementProperties extends TextElementProperties { | ||
private transient long swigCPtr; | ||
private transient boolean swigCMemOwnDerived; | ||
|
||
protected RichTextElementProperties(long cPtr, boolean cMemoryOwn) { | ||
super(AdaptiveCardObjectModelJNI.RichTextElementProperties_SWIGSmartPtrUpcast(cPtr), true); | ||
swigCMemOwnDerived = cMemoryOwn; | ||
swigCPtr = cPtr; | ||
} | ||
|
||
protected static long getCPtr(RichTextElementProperties obj) { | ||
return (obj == null) ? 0 : obj.swigCPtr; | ||
} | ||
|
||
protected void swigSetCMemOwn(boolean own) { | ||
swigCMemOwnDerived = own; | ||
super.swigSetCMemOwn(own); | ||
} | ||
|
||
protected void finalize() { | ||
delete(); | ||
} | ||
|
||
public synchronized void delete() { | ||
if (swigCPtr != 0) { | ||
if (swigCMemOwnDerived) { | ||
swigCMemOwnDerived = false; | ||
AdaptiveCardObjectModelJNI.delete_RichTextElementProperties(swigCPtr); | ||
} | ||
swigCPtr = 0; | ||
} | ||
super.delete(); | ||
} | ||
|
||
public RichTextElementProperties() { | ||
this(AdaptiveCardObjectModelJNI.new_RichTextElementProperties__SWIG_0(), true); | ||
} | ||
|
||
public RichTextElementProperties(TextConfig arg0, String arg1, String arg2) { | ||
this(AdaptiveCardObjectModelJNI.new_RichTextElementProperties__SWIG_1(TextConfig.getCPtr(arg0), arg0, arg1, arg2), true); | ||
} | ||
|
||
public RichTextElementProperties(RichTextElementProperties arg0) { | ||
this(AdaptiveCardObjectModelJNI.new_RichTextElementProperties__SWIG_2(RichTextElementProperties.getCPtr(arg0), arg0), true); | ||
} | ||
|
||
public JsonValue SerializeToJsonValue(JsonValue root) { | ||
return new JsonValue(AdaptiveCardObjectModelJNI.RichTextElementProperties_SerializeToJsonValue(swigCPtr, this, JsonValue.getCPtr(root), root), true); | ||
} | ||
|
||
public void Deserialize(ParseContext context, JsonValue root) { | ||
AdaptiveCardObjectModelJNI.RichTextElementProperties_Deserialize(swigCPtr, this, ParseContext.getCPtr(context), context, JsonValue.getCPtr(root), root); | ||
} | ||
|
||
public void PopulateKnownPropertiesSet(SWIGTYPE_p_std__unordered_setT_std__string_t knownProperties) { | ||
AdaptiveCardObjectModelJNI.RichTextElementProperties_PopulateKnownPropertiesSet(swigCPtr, this, SWIGTYPE_p_std__unordered_setT_std__string_t.getCPtr(knownProperties)); | ||
} | ||
|
||
} |
Oops, something went wrong.