Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .github/workflows/generateclasses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,10 @@ jobs:

- name: Try compilation of Jars
continue-on-error: ${{ inputs.ContinueOnLatestJNetReflectorError == true }}
if: ${{ inputs.UseLatestJNetReflectorSource == true }}
run: mvn --file ./src/jvm/netpdf/pom.xml --no-transfer-progress package

- name: Try compilation of C#
continue-on-error: ${{ inputs.ContinueOnLatestJNetReflectorError == true }}
if: ${{ inputs.UseLatestJNetReflectorSource == true }}
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030%3B0618" src\net\NetPDF\NetPDF.csproj

- name: Extract commit SHA
Expand Down
502 changes: 502 additions & 0 deletions src/net/NetPDF/Generated/Org/Apache/Fontbox/Afm/AFMParser.cs

Large diffs are not rendered by default.

209 changes: 209 additions & 0 deletions src/net/NetPDF/Generated/Org/Apache/Fontbox/Afm/CharMetric.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
/*
* Copyright 2024 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Refer to LICENSE for more information.
*/

/*
* This file is generated by MASES.JNetReflector (ver. 2.5.11.0)
* using fontbox-3.0.3.jar as reference
*/

using MASES.JCOBridge.C2JBridge;

namespace Org.Apache.Fontbox.Afm
{
#region CharMetric declaration
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html"/>
/// </summary>
public partial class CharMetric : MASES.JCOBridge.C2JBridge.JVMBridgeBase<CharMetric>
{
const string _bridgeClassName = "org.apache.fontbox.afm.CharMetric";
/// <summary>
/// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
/// </summary>
public CharMetric() { }
/// <summary>
/// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
/// </summary>
public CharMetric(params object[] args) : base(args) { }

private static readonly MASES.JCOBridge.C2JBridge.JVMInterop.IJavaType _LocalBridgeClazz = JVMBridgeBase.ClazzOf(_bridgeClassName);
private static MASES.JCOBridge.C2JBridge.JVMInterop.IJavaType LocalBridgeClazz => _LocalBridgeClazz ?? throw new global::System.InvalidOperationException($"Class {_bridgeClassName} was not found.");

/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm"/>
/// </summary>
public override string BridgeClassName => _bridgeClassName;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeAbstract.htm"/>
/// </summary>
public override bool IsBridgeAbstract => false;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeCloseable.htm"/>
/// </summary>
public override bool IsBridgeCloseable => false;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeInterface.htm"/>
/// </summary>
public override bool IsBridgeInterface => false;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeStatic.htm"/>
/// </summary>
public override bool IsBridgeStatic => false;

// TODO: complete the class

}
#endregion

#region CharMetric implementation
public partial class CharMetric
{
#region Constructors

#endregion

#region Class/Interface conversion operators

#endregion

#region Fields

#endregion

#region Static methods

#endregion

#region Instance methods
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#getBoundingBox--"/> <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#setBoundingBox-org.apache.fontbox.util.BoundingBox-"/>
/// </summary>
public Org.Apache.Fontbox.Util.BoundingBox BoundingBox
{
get { return IExecuteWithSignature<Org.Apache.Fontbox.Util.BoundingBox>("getBoundingBox", "()Lorg/apache/fontbox/util/BoundingBox;"); } set { IExecuteWithSignature("setBoundingBox", "(Lorg/apache/fontbox/util/BoundingBox;)V", value); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#getCharacterCode--"/> <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#setCharacterCode-int-"/>
/// </summary>
public int CharacterCode
{
get { return IExecuteWithSignature<int>("getCharacterCode", "()I"); } set { IExecuteWithSignature("setCharacterCode", "(I)V", value); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#getLigatures--"/>
/// </summary>
public Java.Util.List<Org.Apache.Fontbox.Afm.Ligature> Ligatures
{
get { return IExecuteWithSignature<Java.Util.List<Org.Apache.Fontbox.Afm.Ligature>>("getLigatures", "()Ljava/util/List;"); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#getName--"/> <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#setName-java.lang.String-"/>
/// </summary>
public Java.Lang.String Name
{
get { return IExecuteWithSignature<Java.Lang.String>("getName", "()Ljava/lang/String;"); } set { IExecuteWithSignature("setName", "(Ljava/lang/String;)V", value); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#getVv--"/> <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#setVv-float[]-"/>
/// </summary>
public float[] Vv
{
get { return IExecuteWithSignatureArray<float>("getVv", "()[F"); } set { IExecuteWithSignature("setVv", "([F)V", value); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#getW--"/> <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#setW-float[]-"/>
/// </summary>
public float[] W
{
get { return IExecuteWithSignatureArray<float>("getW", "()[F"); } set { IExecuteWithSignature("setW", "([F)V", value); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#getW0--"/> <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#setW0-float[]-"/>
/// </summary>
public float[] W0
{
get { return IExecuteWithSignatureArray<float>("getW0", "()[F"); } set { IExecuteWithSignature("setW0", "([F)V", value); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#getW0x--"/> <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#setW0x-float-"/>
/// </summary>
public float W0x
{
get { return IExecuteWithSignature<float>("getW0x", "()F"); } set { IExecuteWithSignature("setW0x", "(F)V", value); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#getW0y--"/> <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#setW0y-float-"/>
/// </summary>
public float W0y
{
get { return IExecuteWithSignature<float>("getW0y", "()F"); } set { IExecuteWithSignature("setW0y", "(F)V", value); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#getW1--"/> <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#setW1-float[]-"/>
/// </summary>
public float[] W1
{
get { return IExecuteWithSignatureArray<float>("getW1", "()[F"); } set { IExecuteWithSignature("setW1", "([F)V", value); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#getW1x--"/> <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#setW1x-float-"/>
/// </summary>
public float W1x
{
get { return IExecuteWithSignature<float>("getW1x", "()F"); } set { IExecuteWithSignature("setW1x", "(F)V", value); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#getW1y--"/> <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#setW1y-float-"/>
/// </summary>
public float W1y
{
get { return IExecuteWithSignature<float>("getW1y", "()F"); } set { IExecuteWithSignature("setW1y", "(F)V", value); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#getWx--"/> <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#setWx-float-"/>
/// </summary>
public float Wx
{
get { return IExecuteWithSignature<float>("getWx", "()F"); } set { IExecuteWithSignature("setWx", "(F)V", value); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#getWy--"/> <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#setWy-float-"/>
/// </summary>
public float Wy
{
get { return IExecuteWithSignature<float>("getWy", "()F"); } set { IExecuteWithSignature("setWy", "(F)V", value); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/CharMetric.html#addLigature-org.apache.fontbox.afm.Ligature-"/>
/// </summary>
/// <param name="arg0"><see cref="Org.Apache.Fontbox.Afm.Ligature"/></param>
public void AddLigature(Org.Apache.Fontbox.Afm.Ligature arg0)
{
IExecuteWithSignature("addLigature", "(Lorg/apache/fontbox/afm/Ligature;)V", arg0);
}

#endregion

#region Nested classes

#endregion

// TODO: complete the class
}
#endregion
}
133 changes: 133 additions & 0 deletions src/net/NetPDF/Generated/Org/Apache/Fontbox/Afm/Composite.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
/*
* Copyright 2024 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Refer to LICENSE for more information.
*/

/*
* This file is generated by MASES.JNetReflector (ver. 2.5.11.0)
* using fontbox-3.0.3.jar as reference
*/

using MASES.JCOBridge.C2JBridge;

namespace Org.Apache.Fontbox.Afm
{
#region Composite declaration
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/Composite.html"/>
/// </summary>
public partial class Composite : MASES.JCOBridge.C2JBridge.JVMBridgeBase<Composite>
{
const string _bridgeClassName = "org.apache.fontbox.afm.Composite";
/// <summary>
/// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
/// </summary>
public Composite() { }
/// <summary>
/// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
/// </summary>
public Composite(params object[] args) : base(args) { }

private static readonly MASES.JCOBridge.C2JBridge.JVMInterop.IJavaType _LocalBridgeClazz = JVMBridgeBase.ClazzOf(_bridgeClassName);
private static MASES.JCOBridge.C2JBridge.JVMInterop.IJavaType LocalBridgeClazz => _LocalBridgeClazz ?? throw new global::System.InvalidOperationException($"Class {_bridgeClassName} was not found.");

/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm"/>
/// </summary>
public override string BridgeClassName => _bridgeClassName;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeAbstract.htm"/>
/// </summary>
public override bool IsBridgeAbstract => false;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeCloseable.htm"/>
/// </summary>
public override bool IsBridgeCloseable => false;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeInterface.htm"/>
/// </summary>
public override bool IsBridgeInterface => false;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeStatic.htm"/>
/// </summary>
public override bool IsBridgeStatic => false;

// TODO: complete the class

}
#endregion

#region Composite implementation
public partial class Composite
{
#region Constructors
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/Composite.html#org.apache.fontbox.afm.Composite(java.lang.String)"/>
/// </summary>
/// <param name="arg0"><see cref="Java.Lang.String"/></param>
public Composite(Java.Lang.String arg0)
: base(arg0)
{
}

#endregion

#region Class/Interface conversion operators

#endregion

#region Fields

#endregion

#region Static methods

#endregion

#region Instance methods
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/Composite.html#getName--"/>
/// </summary>
public Java.Lang.String Name
{
get { return IExecuteWithSignature<Java.Lang.String>("getName", "()Ljava/lang/String;"); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/Composite.html#getParts--"/>
/// </summary>
public Java.Util.List<Org.Apache.Fontbox.Afm.CompositePart> Parts
{
get { return IExecuteWithSignature<Java.Util.List<Org.Apache.Fontbox.Afm.CompositePart>>("getParts", "()Ljava/util/List;"); }
}
/// <summary>
/// <see href="https://www.javadoc.io/doc/org.apache.pdfbox/fontbox/3.0.3/org/apache/fontbox/afm/Composite.html#addPart-org.apache.fontbox.afm.CompositePart-"/>
/// </summary>
/// <param name="arg0"><see cref="Org.Apache.Fontbox.Afm.CompositePart"/></param>
public void AddPart(Org.Apache.Fontbox.Afm.CompositePart arg0)
{
IExecuteWithSignature("addPart", "(Lorg/apache/fontbox/afm/CompositePart;)V", arg0);
}

#endregion

#region Nested classes

#endregion

// TODO: complete the class
}
#endregion
}
Loading
Loading