LibreOffice
LibreOffice 7.2 SDK API Reference
MediaDescriptor.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19#ifndef __com_sun_star_document_MediaDescriptor_idl__
20#define __com_sun_star_document_MediaDescriptor_idl__
21
30
31
32module com { module sun { module star { module document {
33
56{
60 [optional,property] boolean Aborted;
61
72 [optional,property] boolean AsTemplate;
73
81 [optional,property] string Author;
82
90 [optional,property] string CharacterSet;
91
99 [optional,property] string Comment;
100
114 [optional,property] any ComponentData;
115
118 [optional,property] string DocumentBaseURL;
119
126 [optional,property] string DocumentTitle;
127
142 [optional,property] sequence< ::com::sun::star::beans::NamedValue > EncryptionData;
143
152 [optional,property] string FileName;
153
166 [optional,property] string FilterName;
167
176 [optional,property] string FilterFlags;
177
187 [optional,property] string FilterOptions;
188
197 [optional,property] any FilterData;
198
206 [optional,property] boolean Hidden;
207
210 [optional,property] string HierarchicalDocumentName;
211
222
235
249
257 [optional,property] string JumpMark;
258
268 [optional,property] string MediaType;
269
306 [optional,property] string OpenFlags;
307
317 [optional,property] boolean OpenNewView;
318
319
327 [optional,property] boolean Overwrite;
328
339 [optional,property] string Password;
340
349 [optional,property] sequence< byte > PostData;
350
360 [optional,property] boolean PickListEntry;
361
371 [optional,property] string PostString;
372
381 [optional,property] boolean Preview;
382
396 [optional,property] boolean ReadOnly;
397
405 [optional,property] boolean StartPresentation;
406
419 [optional,property] string Referer;
420
430 [optional,property] boolean RepairPackage;
431
443
451 [optional,property] string SuggestedSaveAsDir;
452
461 [optional,property] string SuggestedSaveAsName;
462
471 [optional,property] string TemplateName;
472
480 [optional,property] string TemplateRegionName;
481
490 [optional,property] boolean Unpacked;
491
498 [optional,property] string URL;
499
508 [optional,property] short Version;
509
518 [optional,property] any ViewData;
519
528 [optional,property] short ViewId;
529
536 [optional,property] short MacroExecutionMode;
537
544 [optional,property] short UpdateDocMode;
545
560 [optional,property] string ViewControllerName;
561
565
572 [optional,property] boolean LockContentExtraction;
573
580 [optional,property] boolean LockExport;
581
586 [optional,property] boolean LockPrint;
587
592 [optional,property] boolean LockSave;
593
598 [optional,property] boolean LockEditDoc;
599
611 [optional,property] boolean Replaceable;
612};
613
614
615}; }; }; };
616
617#endif
618
619/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
a frame object can be considered to be an "anchor" object where a component can be attached to.
Definition: XFrame.idl:44
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:38
This is the basic interface to write data to a stream.
Definition: XOutputStream.idl:38
An interaction request handler.
Definition: XInteractionHandler.idl:33
controls a status indicator which displays progress of longer actions to the user
Definition: XStatusIndicator.idl:37
Definition: Ambiguous.idl:22
describes properties of a document, regarding the relationship between the loaded document and the re...
Definition: MediaDescriptor.idl:56
boolean Overwrite
overwrite any existing file
Definition: MediaDescriptor.idl:327
string Author
the author of the document
Definition: MediaDescriptor.idl:81
boolean Hidden
load document invisible
Definition: MediaDescriptor.idl:206
boolean Unpacked
regulate using of compressing
Definition: MediaDescriptor.idl:490
string PostString
use MediaDescriptor::PostData instead of this
Definition: MediaDescriptor.idl:371
string MediaType
specify mime type of content
Definition: MediaDescriptor.idl:268
boolean ReadOnly
open document readonly
Definition: MediaDescriptor.idl:396
com::sun::star::task::XStatusIndicator StatusIndicator
can be used for status information
Definition: MediaDescriptor.idl:442
string DocumentTitle
document title
Definition: MediaDescriptor.idl:126
boolean Replaceable
Mark the document as replaceable / a placeholder.
Definition: MediaDescriptor.idl:611
boolean LockSave
Setting this option will disable the save function.
Definition: MediaDescriptor.idl:592
boolean OpenNewView
opens a new view for an already loaded document
Definition: MediaDescriptor.idl:317
boolean PickListEntry
add loaded document to recent document list
Definition: MediaDescriptor.idl:360
boolean StartPresentation
start presentation from a document
Definition: MediaDescriptor.idl:405
string JumpMark
jump to a marked position after loading
Definition: MediaDescriptor.idl:257
any FilterData
additional properties for filter
Definition: MediaDescriptor.idl:197
string SuggestedSaveAsName
allows to specify the suggested file name that is used next time SaveAs dialog is opened
Definition: MediaDescriptor.idl:461
boolean Aborted
May be set by filters or detection services if user has chosen to abort loading/saving,...
Definition: MediaDescriptor.idl:60
string Referer
name of document referrer
Definition: MediaDescriptor.idl:419
string CharacterSet
identifier of used character set
Definition: MediaDescriptor.idl:90
string FilterFlags
same as MediaDescriptor::FilterOptions
Definition: MediaDescriptor.idl:176
string Comment
description of document
Definition: MediaDescriptor.idl:99
boolean Preview
show preview
Definition: MediaDescriptor.idl:381
boolean LockPrint
Setting this option will disable all print functions (including Printer setup)
Definition: MediaDescriptor.idl:586
string FilterName
internal filter name
Definition: MediaDescriptor.idl:166
boolean LockExport
Setting this option will prevent exporting document content to any file.
Definition: MediaDescriptor.idl:580
string TemplateName
name of the template instead of the URL
Definition: MediaDescriptor.idl:471
com::sun::star::io::XInputStream InputStream
content of document
Definition: MediaDescriptor.idl:234
com::sun::star::io::XOutputStream OutputStream
a stream to receive the document data.
Definition: MediaDescriptor.idl:221
com::sun::star::frame::XFrame Frame
specifies the frame containing the document.
Definition: MediaDescriptor.idl:564
string DocumentBaseURL
The base URL of the document to be used to resolve relative links.
Definition: MediaDescriptor.idl:118
short UpdateDocMode
can the document be updated depending from links.
Definition: MediaDescriptor.idl:544
boolean LockContentExtraction
Setting this option will prevent copying/dragging any content anywhere.
Definition: MediaDescriptor.idl:572
string HierarchicalDocumentName
The hierarchical path to the embedded document from topmost container.
Definition: MediaDescriptor.idl:210
string Password
password for loading or storing documents
Definition: MediaDescriptor.idl:339
sequence< byte > PostData
contains the data for HTTP post method as a sequence of bytes.
Definition: MediaDescriptor.idl:349
sequence< ::com::sun::star::beans::NamedValue > EncryptionData
encryption information for encryption/decryption of documents
Definition: MediaDescriptor.idl:142
any ComponentData
pack specific properties of caller
Definition: MediaDescriptor.idl:114
com::sun::star::task::XInteractionHandler InteractionHandler
handle exceptional situations
Definition: MediaDescriptor.idl:248
boolean RepairPackage
let the document be opened in repair mode
Definition: MediaDescriptor.idl:430
string SuggestedSaveAsDir
allows to specify the URL that is used next time SaveAs dialog is opened
Definition: MediaDescriptor.idl:451
short Version
storage version
Definition: MediaDescriptor.idl:508
string FileName
same as MediaDescriptor::URL
Definition: MediaDescriptor.idl:152
boolean LockEditDoc
Setting this option will disable switching to edit mode from read-only mode.
Definition: MediaDescriptor.idl:598
boolean AsTemplate
document is a template
Definition: MediaDescriptor.idl:72
short ViewId
id of the initial view
Definition: MediaDescriptor.idl:528
any ViewData
set special view state
Definition: MediaDescriptor.idl:518
string TemplateRegionName
name of the template instead of the URL
Definition: MediaDescriptor.idl:480
string ViewControllerName
specifies the name of the view controller to create when loading a document
Definition: MediaDescriptor.idl:560
string URL
URL of the document.
Definition: MediaDescriptor.idl:498
string FilterOptions
additional properties for filter
Definition: MediaDescriptor.idl:187
string OpenFlags
please use the corresponding parameters of this descriptor instead
Definition: MediaDescriptor.idl:306
short MacroExecutionMode
should the macro be executed.
Definition: MediaDescriptor.idl:536