com.mindoo.domino.jna.internal.structs.compoundtext.NotesCompoundStyleStruct Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of domino-jna Show documentation
Show all versions of domino-jna Show documentation
Java project to access the HCL Domino C API using Java Native Access (JNA)
The newest version!
package com.mindoo.domino.jna.internal.structs.compoundtext;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Arrays;
import java.util.List;
import com.mindoo.domino.jna.internal.structs.BaseStructure;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
/**
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA.
*/
public class NotesCompoundStyleStruct extends BaseStructure {
/** paragraph justification type */
public short JustifyMode;
/** Line spacing */
public short LineSpacing;
/** # units above paragraph */
public short ParagraphSpacingBefore;
/** # units below paragraph */
public short ParagraphSpacingAfter;
/** leftmost margin in twips */
public short LeftMargin;
/** rightmost margin in twips */
public short RightMargin;
/** leftmost margin on first line */
public short FirstLineLeftMargin;
/** # tab stops in table */
public short Tabs;
/**
* table of tab stops
* C type : signed short[20]
*/
public short[] Tab = new short[20];
/** paragraph attribute flags */
public short Flags;
public NotesCompoundStyleStruct() {
super();
}
public static NotesCompoundStyleStruct newInstance() {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesCompoundStyleStruct run() {
return new NotesCompoundStyleStruct();
}
});
}
protected List getFieldOrder() {
return Arrays.asList("JustifyMode", "LineSpacing", "ParagraphSpacingBefore", "ParagraphSpacingAfter", "LeftMargin", "RightMargin", "FirstLineLeftMargin", "Tabs", "Tab", "Flags");
}
public NotesCompoundStyleStruct(Pointer peer) {
super(peer);
}
public static NotesCompoundStyleStruct newInstance(final Pointer peer) {
return AccessController.doPrivileged(new PrivilegedAction() {
@Override
public NotesCompoundStyleStruct run() {
return new NotesCompoundStyleStruct(peer);
}
});
}
public static class ByReference extends NotesCompoundStyleStruct implements Structure.ByReference {
};
public static class ByValue extends NotesCompoundStyleStruct implements Structure.ByValue {
};
}