Skip to content

Commit

Permalink
fixed usage of ExSkip comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stdstring committed Apr 9, 2024
1 parent 104b195 commit 8a1cbda
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExDocument.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1695,7 +1695,7 @@ public void UpdateThumbnail()

// 2 - Use the first image found in the document:
ThumbnailGeneratingOptions options = new ThumbnailGeneratingOptions();
Assert.AreEqual(new Size(600, 900), options.ThumbnailSize); //ExSKip
Assert.AreEqual(new Size(600, 900), options.ThumbnailSize); //ExSkip
Assert.True(options.GenerateFromFirstPage); //ExSkip
options.ThumbnailSize = new Size(400, 400);
options.GenerateFromFirstPage = false;
Expand Down
6 changes: 3 additions & 3 deletions Examples/ApiExamples/ApiExamples/ExField.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5357,7 +5357,7 @@ public void FieldFillIn()

doc.UpdateFields();
doc.Save(ArtifactsDir + "Field.FILLIN.docx");
TestFieldFillIn(new Document(ArtifactsDir + "Field.FILLIN.docx")); //ExSKip
TestFieldFillIn(new Document(ArtifactsDir + "Field.FILLIN.docx")); //ExSkip
}

/// <summary>
Expand Down Expand Up @@ -5771,7 +5771,7 @@ public void FieldNext()
// Our data source has 3 rows, and we skipped rows twice.
// Our output document will have 1 page with data from all 3 rows.
doc.Save(ArtifactsDir + "Field.NEXT.NEXTIF.docx");
TestFieldNext(doc); //ExSKip
TestFieldNext(doc); //ExSkip
}

/// <summary>
Expand Down Expand Up @@ -6643,7 +6643,7 @@ public void FieldTOA()

doc.UpdateFields();
doc.Save(ArtifactsDir + "Field.TOA.TA.docx");
TestFieldTOA(new Document(ArtifactsDir + "Field.TOA.TA.docx")); //ExSKip
TestFieldTOA(new Document(ArtifactsDir + "Field.TOA.TA.docx")); //ExSkip
}

private static FieldTA InsertToaEntry(DocumentBuilder builder, string entryCategory, string longCitation)
Expand Down
8 changes: 4 additions & 4 deletions Examples/ApiExamples/ApiExamples/ExRendering.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ private class ShapeForm : Form
{
public ShapeForm(Size size)
{
Timer timer = new Timer(); //ExSKip
timer.Interval = 10000; //ExSKip
timer.Tick += TimerTick; //ExSKip
timer.Start(); //ExSKip
Timer timer = new Timer(); //ExSkip
timer.Interval = 10000; //ExSkip
timer.Tick += TimerTick; //ExSkip
timer.Start(); //ExSkip
Size = size;
mShapesToRender = new List<KeyValuePair<ShapeBase, float[]>>();
}
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExShape.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1904,7 +1904,7 @@ public void ShapeInsertion()
public void VisitShapes()
{
Document doc = new Document(MyDir + "Revision shape.docx");
Assert.AreEqual(2, doc.GetChildNodes(NodeType.Shape, true).Count); //ExSKip
Assert.AreEqual(2, doc.GetChildNodes(NodeType.Shape, true).Count); //ExSkip

ShapeAppearancePrinter visitor = new ShapeAppearancePrinter();
doc.Accept(visitor);
Expand Down

0 comments on commit 8a1cbda

Please sign in to comment.