Inizio mod x accordare PDF...
This commit is contained in:
@@ -0,0 +1 @@
|
||||
|
||||
+44
-3
@@ -1,8 +1,49 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
</configSections>
|
||||
<connectionStrings>
|
||||
<add name="CMS_SC_Data.Properties.Settings.CMS_SCConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=CMS-SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient"/>
|
||||
<add name="CMS_SC_Data.Properties.Settings.CMS_SCConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=CMS-SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" /></startup>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="SharpCompress" publicKeyToken="afb0a02973931d96" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-0.24.0.0" newVersion="0.24.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Threading.Channels" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
|
||||
@@ -121,3 +121,6 @@ C:\Users\samuele.steamw\Documents\VisualStudioProject\CMS-SC\CMS-SC-Data\bin\Deb
|
||||
C:\Users\samuele.steamw\Documents\VisualStudioProject\CMS-SC\CMS-SC-Data\bin\Debug\DnsClient.xml
|
||||
C:\Users\samuele.steamw\Documents\VisualStudioProject\CMS-SC\CMS-SC-Data\bin\Debug\Snappy.NET.xml
|
||||
C:\Users\samuele.steamw\Documents\VisualStudioProject\CMS-SC\CMS-SC-Data\bin\Debug\Crc32C.NET.xml
|
||||
C:\Users\samuele.steamw\Documents\VisualStudioProject\CMS-SC\CMS-SC-Data\bin\Debug\PdfSharp.dll
|
||||
C:\Users\samuele.steamw\Documents\VisualStudioProject\CMS-SC\CMS-SC-Data\bin\Debug\PdfSharp.xml
|
||||
C:\Users\samuele.steamw\Documents\VisualStudioProject\CMS-SC\CMS-SC-Data\bin\Debug\de\PdfSharp.resources.dll
|
||||
|
||||
Binary file not shown.
@@ -551,6 +551,7 @@
|
||||
<Content Include="Scripts\popper.js.map" />
|
||||
<Content Include="Scripts\popper-utils.min.js.map" />
|
||||
<Content Include="Scripts\popper-utils.js.map" />
|
||||
<Content Include="tmp\.PlaceHolder.file" />
|
||||
<None Include="Web.CMS.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
<div class="col-3">
|
||||
<h3 class="card-title text-uppercase"><%: traduci("ReportCompleto") %></h3>
|
||||
<asp:HiddenField runat="server" ID="hfIdxDossier" />
|
||||
<asp:LinkButton runat="server" ID="lbtExportWithAttach" CssClass="btn btn-sm btn-warning btn-block" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaReportCompletoAllegati") %>' OnClick="lbtExportWithAttach_Click"><%: traduci("ReportCompletoAllegati") %> <i class="fa fa-download" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<b>Fase</b>
|
||||
|
||||
@@ -12,17 +12,33 @@ namespace CMS_SC
|
||||
{
|
||||
ddlFase.DataBind();
|
||||
ddlLingue.DataBind();
|
||||
hfIdxDossier.Value = memLayer.ML.QSS("IdxDossier");
|
||||
idxDossier = memLayer.ML.QSS("IdxDossier");
|
||||
// se c'è seleziono fase...
|
||||
ddlFase.SelectedValue= memLayer.ML.QSS("Fase");
|
||||
ddlFase.SelectedValue = memLayer.ML.QSS("Fase");
|
||||
// fix x revisione...
|
||||
ddlRev.DataBind();
|
||||
// fix x button download
|
||||
lbtExportWithAttach.DataBind();
|
||||
//mod_reportCompleto.Fase = ddlFase.SelectedValue;
|
||||
//mod_reportCompleto.Lingua = ddlLingue.SelectedValue;
|
||||
fixSelReport();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Valore dossier salvato nell'hidden input
|
||||
/// </summary>
|
||||
string idxDossier
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfIdxDossier.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfIdxDossier.Value = value;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// wrapper traduzione
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
@@ -76,5 +92,24 @@ namespace CMS_SC
|
||||
mod_reportCompleto.Lingua = ddlLingue.SelectedValue;
|
||||
mod_reportCompleto.fixReport();
|
||||
}
|
||||
|
||||
protected void lbtExportWithAttach_Click(object sender, EventArgs e)
|
||||
{
|
||||
// effettua merge Report Completo + allegati
|
||||
|
||||
// step 1: genera directory lavoro
|
||||
string currPath = $"\\tmp\\{idxDossier}";
|
||||
fileMover.obj.setDirectoryMapPath(currPath);
|
||||
fileMover.obj.checkDir();
|
||||
// step 2: esporta pdf collaudo in dir temporanea
|
||||
|
||||
// step 3: colleziona allegati schede e li copia in locale
|
||||
|
||||
// step 4: MERGE di tutti i pdf nell'output
|
||||
|
||||
// step 5 cancellazione documenti collezionati
|
||||
|
||||
// step 6: rimanda a pagina x download nuovo file composto...
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+88
-77
@@ -7,81 +7,92 @@
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CMS_SC {
|
||||
|
||||
|
||||
public partial class ReportCompleto {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfIdxDossier.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfIdxDossier;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlFase.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlFase;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsFase.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsFase;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlRev.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlRev;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsRev.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsRev;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlLingue.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlLingue;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsLingue.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsLingue;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_reportCompleto.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::CMS_SC.WebUserControls.mod_reportCompleto mod_reportCompleto;
|
||||
}
|
||||
namespace CMS_SC
|
||||
{
|
||||
|
||||
|
||||
public partial class ReportCompleto
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfIdxDossier.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfIdxDossier;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtExportWithAttach.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtExportWithAttach;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlFase.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlFase;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsFase.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsFase;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlRev.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlRev;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsRev.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsRev;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlLingue.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlLingue;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsLingue.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsLingue;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_reportCompleto.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::CMS_SC.WebUserControls.mod_reportCompleto mod_reportCompleto;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
Reference in New Issue
Block a user