GoToAction

Opinie generală

PptCorruptFileException este o clasă din Aspose.Slides FOSS pentru Java. Moștenire de la: ゚PptReadException⌒ .

Acțiunea Go-To navigați către o destinație din document (ISO 32000-1:2008, §12.6.4.2).

Această clasă oferă 12 metode pentru a lucra cu obiectele GoToAction în programele Java. Metodele disponibile includ: GoToAction, ̋fromDictionary , ∂getAppointment,, ゚getDestination ,, ⌒getNext “, ゙getPdfDuctionaryヽ”, ̨getType " , " ̆setDestiny “. Toți membrii publici sunt accesibili oricărei aplicații Java după instalarea pachetului FOSS for Java . Proprietățile: “appointementDER, " destinatie ', "nexttype “, “pdf Dictionar ̈, "” ̅™”.

Proprietăți

NameTypeAccessDescription
destinationExplicitDestinationReadReturns the destination as an {@link ExplicitDestination} when one is set
(either inline or already resolved during construction); for a
{@link NamedDestination}, returns the lazy-resolved explicit destination,
or {@code null} if the name cannot be resolved.
appointmentIAppointmentReadReturns the raw destination ({@link ExplicitDestination} or
{@link NamedDestination}).
pdfDictionaryPdfDictionaryReadReturns the underlying action dictionary.
typeStringReadReturns the action type (/S entry).
nextPdfActionReadReturns the next action (/Next), if any.

Metode de evaluare

SignatureDescription
GoToAction(page: Page)Creates a GoToAction targeting a page with default XYZ destination.
GoToAction()Creates a GoToAction with no preset destination — used by callers that
subsequently invoke {@link #setDestination(IAppointment)}.
GoToAction(dest: ExplicitDestination)Creates a GoToAction with a specific destination.
GoToAction(dest: NamedDestination)Creates a GoToAction with a named destination.
GoToAction(dict: PdfDictionary, doc: Document)Parses a GoToAction from an existing dictionary.
getDestination()ExplicitDestinationReturns the destination as an {@link ExplicitDestination} when one is set
(either inline or already resolved during construction); for a
{@link NamedDestination}, returns the lazy-resolved explicit destination,
or {@code null} if the name cannot be resolved.
getAppointment()IAppointmentReturns the raw destination ({@link ExplicitDestination} or
{@link NamedDestination}).
setDestination(dest: IAppointment)Sets the destination (accepts both {@link ExplicitDestination} and
{@link NamedDestination}).
getPdfDictionary()PdfDictionaryReturns the underlying action dictionary.
getType()StringReturns the action type (/S entry).
getNext()PdfActionReturns the next action (/Next), if any.
fromDictionary(dict: PdfDictionary, doc: Document)PdfActionFactory: creates the appropriate PdfAction subclass from a dictionary.

Vezi și:

  • Aspose.PDF pentru Java Enterprise API Referință
 Română