<commit_before>﻿using System;
using Aspose.Cells;

namespace CSharp.Articles
{
    class ChangeHtmlLinkTarget
    {
        public static void Main(string[] args)
        {
            // The path to the documents directory.
            string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
            string inputPath = dataDir + "Sample1.xlsx";
            string outputPath = dataDir + "Output.out.html";

            Workbook workbook = new Workbook(dataDir + "Sample1.xlsx");

            HtmlSaveOptions opts = new HtmlSaveOptions();
            opts.LinkTargetType = HtmlLinkTargetType.Self;

            workbook.Save(outputPath, opts);
            Console.WriteLine("File saved: {0}", outputPath);
        }
    }
}<commit_msg>Update ChangeHtmlLinkTarget.cs<commit_after>﻿using System;
using Aspose.Cells;

namespace CSharp.Articles
{
    class ChangeHtmlLinkTarget
    {
        public static void Main(string[] args)
        {
            //ExStart:1
            // The path to the documents directory.
            string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
            string inputPath = dataDir + "Sample1.xlsx";
            string outputPath = dataDir + "Output.out.html";

            Workbook workbook = new Workbook(dataDir + "Sample1.xlsx");

            HtmlSaveOptions opts = new HtmlSaveOptions();
            opts.LinkTargetType = HtmlLinkTargetType.Self;

            workbook.Save(outputPath, opts);
            Console.WriteLine("File saved: {0}", outputPath);
            //ExEnd:1
        }
    }
}
{'fraction_non_alphanumeric': 0.09886159376872379, 'fraction_numerical': 0.004793289394847214, 'mean_word_length': 2.3737373737373737, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2551699', 'n_tokens_mistral': 473, 'n_tokens_neox': 451, 'n_words': 97}