<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello Pascal,<br>
    <br>
    We do not yet have such specific API. If this API was available, how
    would you see it look like? Would you like it to give you a separate
    call back for each URL or more like two callbacks, one before the
    Replace All is done  and one after?<br>
    <br>
    But in your custom URL handler implementation Oxygen will request at
    some point an output stream and then start writing to it. Maybe you
    can give Oxygen an output stream implementation which caches content
    to an array and then when Oxygen closes the output stream you could
    check to see if the URL is checked out or not, and if not, ask the
    end user if he wants to check it out. Also using our API you can
    check if the URL is opened or not in the editor.<br>
    But this would probably mean that you would ask the end user for
    each of these files... Or somehow remember the user's choice
    persistently so that on the next save that Oxygen attempts at the
    URL you could check out the file automatically without showing the
    dialog.<br>
    <br>
    Regards,<br>
    Radu<br>
    <br>
    <div class="moz-cite-prefix">On 6/7/16 1:04 PM, Pascal Beutels
      wrote:<br>
    </div>
    <blockquote
cite="mid:AMSPR06MB101B294A0AE52871075E6B7C25D0@AMSPR06MB101.eurprd06.prod.outlook.com"
      type="cite">
      <!-- Template generated by Exclaimer Signature Manager Exchange Edition on 11:04:38 Tuesday, 7 June 2016 -->
      <style type="text/css">P.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</style><!-- Template generated by Exclaimer Signature Manager Exchange Edition on 11:04:38 Tuesday, 7 June 2016 -->
      <style type="text/css">P.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</style>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="NL-BE">Hi,</span><o:p></o:p></p>
        <p class="MsoNormal"><span lang="NL-BE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="NL-BE">With our integration
            some (most) of the files are read-only and need to be
            ‘Checked out’ from our repository before changes can be made
            to these files.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="NL-BE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="NL-BE">As stated in the
            subject, when doing a Find/Replace, is there an event
            triggered before Oxygen tries to replace a string in a file,
            so we can automatically checkout the file before Oxygen
            tries to change the file?<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="NL-BE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="NL-BE">Most of these files are
            not open in the Editor, but they can be.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="NL-BE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="NL-BE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="NL-BE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="NL-BE">Kind regards,<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="NL-BE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="NL-BE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="NL-BE">Pascal Beutels<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="NL-BE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="NL-BE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
       <a moz-do-not-send="true" href="www.sdl.com/" target=""><img
          moz-do-not-send="true" style=""
src="http://dr0muzwhcp26z.cloudfront.net/static/corporate/SDL-logo-2014.png"
          height="68" width="150"></a><br>
      <a class="moz-txt-link-abbreviated" href="http://www.sdl.com">www.sdl.com</a> <br>
      <br>
      <table style="BORDER-COLLAPSE: collapse"
        class="ImprintUniqueIDTable" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
          </tr>
        </tbody>
      </table>
      <table style="BORDER-COLLAPSE: collapse"
        class="ImprintUniqueIDTable" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
        </tbody>
      </table>
      <br>
      <table style="BORDER-COLLAPSE: collapse"
        class="ImprintUniqueIDTable" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <td width="800"><font style="COLOR: #a1a1a1; FONT-SIZE: 8pt"
                size="+0">SDL PLC confidential, all rights reserved. If
                you are not the intended recipient of this mail SDL
                requests and requires that you delete it without acting
                upon or copying any of its contents, and we further
                request that you advise us.<br>
                <br>
                SDL PLC is a public limited company registered in
                England and Wales. Registered number: 02675207. <br>
                Registered address: Globe House, Clivemont Road,
                Maidenhead, Berkshire SL6 7DY, UK. </font></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <br>
      <p align="center"><font style="BACKGROUND-COLOR: #ffffff">This
          message has been scanned for malware by Websense. </font><a
          moz-do-not-send="true" href="http://www.websense.com/"><font
            style="BACKGROUND-COLOR: #ffffff" color="#000000"><a class="moz-txt-link-abbreviated" href="http://www.websense.com">www.websense.com</a></font></a></p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
oXygen-sdk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-sdk@oxygenxml.com">oXygen-sdk@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk">https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>