All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hcl.domino.jna.internal.structs.NotesCompoundStyleStruct Maven / Gradle / Ivy

There is a newer version: 1.44.0
Show newest version
/*
 * ==========================================================================
 * Copyright (C) 2019-2022 HCL America, Inc. ( http://www.hcl.com/ )
 *                            All rights reserved.
 * ==========================================================================
 * 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 .
 *
 * 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.
 * ==========================================================================
 */
package com.hcl.domino.jna.internal.structs;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Arrays;
import java.util.List;

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((PrivilegedAction) () -> new NotesCompoundStyleStruct()); } @Override protected List getFieldOrder() { return Arrays.asList( "JustifyMode", //$NON-NLS-1$ "LineSpacing", //$NON-NLS-1$ "ParagraphSpacingBefore", //$NON-NLS-1$ "ParagraphSpacingAfter", //$NON-NLS-1$ "LeftMargin", //$NON-NLS-1$ "RightMargin", //$NON-NLS-1$ "FirstLineLeftMargin", //$NON-NLS-1$ "Tabs", //$NON-NLS-1$ "Tab", //$NON-NLS-1$ "Flags" //$NON-NLS-1$ ); } public NotesCompoundStyleStruct(Pointer peer) { super(peer); } public static NotesCompoundStyleStruct newInstance(final Pointer peer) { return AccessController.doPrivileged((PrivilegedAction) () -> new NotesCompoundStyleStruct(peer)); } public static class ByReference extends NotesCompoundStyleStruct implements Structure.ByReference { }; public static class ByValue extends NotesCompoundStyleStruct implements Structure.ByValue { }; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy