Okular::FormFieldSignature

Search for usage in LXR

Okular::FormFieldSignature Class Referenceabstract

#include <form.h>

Inheritance diagram for Okular::FormFieldSignature:

Public Types

enum  SignatureType {
  AdbePkcs7sha1, AdbePkcs7detached, EtsiCAdESdetached, UnknownType,
  UnsignedSignature
}
 
- Public Types inherited from Okular::FormField
enum  AdditionalActionType { FieldModified, FormatField, ValidateField, CalculateField }
 
enum  FieldType { FormButton, FormText, FormChoice, FormSignature }
 

Public Member Functions

virtual bool sign (const NewSignatureData &data, const QString &newPath) const =0
 
virtual const SignatureInfosignatureInfo () const =0
 
virtual SignatureType signatureType () const =0
 
- Public Member Functions inherited from Okular::FormField
ActionactivationAction () const
 
ActionadditionalAction (AdditionalActionType type) const
 
ActionadditionalAction (Annotation::AdditionalActionType type) const
 
QList< Action * > additionalActions () const
 
virtual QString fullyQualifiedName () const =0
 
virtual int id () const =0
 
virtual bool isPrintable () const
 
virtual bool isReadOnly () const
 
virtual bool isVisible () const
 
virtual QString name () const =0
 
Pagepage () const
 
virtual NormalizedRect rect () const =0
 
virtual void setPrintable (bool value)
 
virtual void setReadOnly (bool value)
 
virtual void setVisible (bool value)
 
FieldType type () const
 
virtual QString uiName () const =0
 

Additional Inherited Members

- Protected Member Functions inherited from Okular::FormField
void setActivationAction (Action *action)
 
void setAdditionalAction (AdditionalActionType type, Action *action)
 
void setAdditionalAction (Annotation::AdditionalActionType type, Action *action)
 

Detailed Description

Interface of a signature form field.

This is the base interface to reimplement to represent a signature field.

Definition at line 454 of file form.h.

Member Enumeration Documentation

◆ SignatureType

The types of signature.

Enumerator
UnsignedSignature 

The signature field has not been signed yet.

Since
22.04

Definition at line 460 of file form.h.

Member Function Documentation

◆ sign()

virtual bool Okular::FormFieldSignature::sign ( const NewSignatureData data,
const QString newPath 
) const
pure virtual

Signs a field of UnsignedSignature type.

Since
22.04

◆ signatureInfo()

virtual const SignatureInfo& Okular::FormFieldSignature::signatureInfo ( ) const
pure virtual

The signature info.

◆ signatureType()

virtual SignatureType Okular::FormFieldSignature::signatureType ( ) const
pure virtual

The signature type.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 04:10:35 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.