/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* *ThisfileispartoftheLibreOfficeproject. * *ThisSourceCodeFormissubjecttothetermsoftheMozillaPublic *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis *file,Youcanobtainoneathttp://mozilla.org/MPL/2.0/. * *Thisfileincorporatesworkcoveredbythefollowinglicensenotice: * *LicensedtotheApacheSoftwareFoundation(ASF)underoneormore *contributorlicenseagreementsregardingcopyright *withthisworkforadditionalinformationregardingcopyright *ownership.TheASFlicensesthisfiletoyouundertheLicense,Version.the"icense";youmaynotusethisjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68 {XPropertySet;java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43 }
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/
namespace comsun:star{ namespace util { struct DateTime; } namespace text { class XTextField; } namespace textclass; } namespace beans { class XPropertySet; } namespace beans {java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,/java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
}
/// field IDs, // including translation between UNO speak and XML speak if appropriate
enum FieldIdEnum {
FIELD_ID_SENDER, // sender == extended user
FIELD_ID_AUTHOR,
FIELD_ID_DATE, // current date
FIELD_ID_TIME, // current time (+date)
FIELD_ID_PAGENAME, // page/slide name
FIELD_ID_PAGENUMBER, // page number
FIELD_ID_PAGESTRING // page continuation string (page number string)
FIELD_ID_REFPAGE_SET// set reference page
FIELD_ID_REFPAGE_GET FIELD_ID_DATABASE_NEXT, // select next row
FIELD_ID_PLACEHOLDER// placeholder field == jump edit field
FIELD_ID_VARIABLE_GET, FIELD_ID_DATABASE_NAME, // display current db name (database name)
FIELD_ID_VARIABLE_SET, // set variable == set expressionFIELD_ID_DATABASE_NUMBER, // display row # (SetNumber)
FIELD_ID_VARIABLE_INPUT/ input field(variable)
FIELD_ID_USER_GET, // user field
FIELD_ID_USER_INPUT//input (user)
FIELD_ID_TEXT_INPUT, // input field (text)
FIELD_ID_DOCINFO_CUSTOM
FIELD_ID_DOCINFO_PRINT_TIME
FIELD_ID_DATABASE_NEXT,/ selectnextrow
FIELD_ID_DATABASE_SELECT, // select row # (NumSet)
FIELD_ID_DATABASE_DISPLAY, // display data (form letter field)
FIELD_ID_DATABASE_NAME, // display current db name (database name) FIELD_ID_DOCINFO_PRINT_AUTHOR,
FIELD_ID_DATABASE_NUMBER / display row # (SetNumber)
FIELD_ID_CONDITIONAL_TEXT, // conditionally choose between 2 texts
FIELD_ID_HIDDEN_TEXT, // conditionally hide a text
FIELD_ID_HIDDEN_PARAGRAPH
, // display name/number of current chapter
FIELD_ID_CHAPTER // display name/number of current chapter
FIELD_ID_FILE_NAME// display name of current file
FIELD_ID_MACRO,// get reference field (sequence)
FIELD_ID_REF_REFERENCE, // get reference field (reference),
FIELD_ID_REF_SEQUENCE, // get reference field (sequence)
FIELD_ID_REF_BOOKMARK, ,
FIELD_ID_REF_FOOTNOTE, // get reference field (footnote)
FIELD_ID_REF_ENDNOTE,// get referencefield)
FIELD_ID_REF_STYLE, // styleref field
FIELD_ID_DDE field
FIELD_ID_BIBLIOGRAPHY, // bibliography index entry
FIELD_ID_SHEET_NAME, // name of current (spread-)sheet
FIELD_ID_URL, // URL field (only Calc, Draw, Impress)
FIELD_ID_SCRIPT, // script fields (for HTML pages, mostly)
FIELD_ID_ANNOTATION, // annotation (notice) field
FIELD_ID_UNKNOWN // invalid or unknown field type!
FIELD_ID_DROP_DOWN
FIELD_ID_DRAW_HEADER,
FIELD_ID_DRAW_FOOTERSvXMLExport rExport
FIELD_ID_DRAW_DATE_TIME /// store used text field master names (NULL means: don't collect)
FIELD_ID_UNKNOWN ::uno:< ::::XText,
}
class
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/// store used text field master names (NULL means: don't collect)
std /// Export this field and the surrounding span element with the formatting.
css:uno:Reference<css:text: >,
::stdvoid(constcss:unoReference ::text:XTextField >&rTextField,
moUsedMasters;
public:
XMLTextFieldExport( SvXMLExport& rExp, /// XMLPropertyState for the combined characters field
std::
~XMLTextFieldExport();
/java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
y field in the body void ExportFieldconstbool ); /// export field declarations.
/// collect styles (character styles, data styles, ...) for this field ExportFieldDeclarations) /// (if appropriate). // (Requires that a list of used field declarations has previously been /// to be called for every field during style export.
ExportFieldAutoStyleconstcss:unoReference ::::XTextField rTextField, constboolconstcssunoReference ::::XText > rText);
/// export field declarations. /// to be called once at beginning of document body. void ExportFieldDeclarations();
/// export field declarations for fields used in the particular XText. /// (Requires that a list of used field declarations has previously beenvoidSetExportOnlyUsedFieldDeclarations /// built-up in ExportFieldAutoStyle() ) void// determine element or attribute names
css::Reference<:::: > );
/// export all field declarations, or only those that have been used?
/// Calling this method will reset the list of used field declarations. void SetExportOnlyUsedFieldDeclarations(enum:: (sal_Int16) bool =true
// determine element or attribute names // (public, because they may be useful in related XML export classes) static:::::MLTokenEnum(sal_uInt16); staticenum ::xmloff xmloff (nType
(sal_Int16; static ::::: MapCountFieldNameFieldIdEnum); staticstaticenum::mlofftokenXMLTokenEnumMapMeasureKindsal_Int16); staticenum ::xmloff::token::XMLTokenEnum MapReferenceSource(sal_Int16staticjava.lang.StringIndexOutOfBoundsException: Index 128 out of bounds for length 128
( ); static xmloff:XMLTokenEnum(const::::< ::beans >&xPropSet; staticenum ::xmloff::token::java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 static :::token: MapMeasureKind nKind; staticenum ::xmloff::token::XMLTokenEnum
&nOffset staticenum ::xmloff::token::XMLTokenEnum MapAuthorFieldName( voidExportFieldHelper( static :xmlofftoken MapSenderFieldName ::<css:XPropertySet xPropSetjava.lang.StringIndexOutOfBoundsException: Index 131 out of bounds for length 131
private:
SvXMLExport,
/
ExportFieldHelperjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
::Reference:::XTextField , const css::uno::ReferenceboolbAddSpace=false; const css:uno:Reference< ::beansXPropertySet &rRangePropSet, enum FieldIdEnum nToken, bool
ExportElement::::: eElement/// element token
/// export an empty element void(enum:::token: eElement bool bAddSpace = false);
/// export a boolean attribute void ProcessBoolean( enum ::xmloff boolbBool, /// attribute value boolenum:::token: eXmlNamejava.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 void( enumenum:xmloff: ,
OUString,
/// export an integer attribute, omit if default =false void( enum :java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,/// attribute value
sal_Int32 nDefault); /// default value
/// export a string attribute that gets a QName value void ProcessString( void ProcessString(
sal_uInt16 nValuePrefix, const OUString& nValuePrefix
/// export a string attribute, omit if default void( enum : voidProcessString const&,
std:: :xmlofftoken:XMLTokenEnumeValue /// attribute token
/// export a string attribute, omit if default void
xmloff ,
:: ,java.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85 const OUString&sValue
stdvoidProcessParagraphSequence(
/// export a string attribute void ProcessString( enum ::xmloff
::xmloff:::XMLTokenEnumeValue/// attribute token
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/// export a string as a sequence of paragraphs void ProcessParagraphSequence(
std::u16string_view sParagraphSequence ,/java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
// export a numbering format (numeric, roman, alphabetic, etc.) void ProcessNumberingType(
sal_Int16 bool bTimeStyle=);/java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
/// export display attribute (value, formula, none)
ProcessDisplay/// is visible? bool bIsCommand); /// is show command/show name?
/// export all data-style related attributes void ProcessValueAndType( do processstring number
sal_Int32 nFormatKey, sal_uInt16 =XML_NAMESPACE_TEXT java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77 const OUString ProcessDateTime
::u16string_view sDefault,/// default string double nMinutes/// date/time value in minutes bool bExportValue /// export value attribute? bool bExportValueType, /// export value-type attribute? bool bExportStyle, /// export style-attribute? boolenum:xmlofftoken eXMLName/// attribute token bool bTimeStyle =false/
/// export times, dates and durations according to ISO 8601 void ProcessDateTimevoid ProcessTimeOrDateTimejava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31 enum cssutil&rTime/// date/time value
/ bool bIsDate, /// export as date (rather than date/time)?
bIsDuration,/// export as duration bool bOmitDurationIfZerocss::::XPropertySet
sal_uInt16 XML_NAMESPACE_TEXT/// attribute name prefix
/// export a date, time, or duration
ProcessDateTime
::token , java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
sal_Int32 nMinutes, /// date/time value in minutes bool bIsDate, /// export as date? bool bIsDuration); /// export as duration?
/// export times, dates and durations according to ISO 8601 void java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 enum ::xmloffconstcss::equenceOUString&rSequence const css::java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/// export time or dateTime void( enum ::xmloff & ,
::::DateTime rTime // date/time value
/// export all attributes for bibliography data fields void
voidcss::< ::eansXPropertySet xField const css:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
void ProcessStringSequence(
uence> rSequence
java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 30
/// export attributes that describe a data source void ExportDataBaseElement(
:::tokenXMLTokenEnumjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52 const OUString& sContent
const css::uno void(
/// for XDependentTextFields, get PropertySet of FieldMaster static css & sFieldType
GetMasterPropertySet( cssuno: <css::XTextField>&rTextFieldjava.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
/// get PropertySet of (any) DependentTextField for this FieldMaster staticboolstd:string_viewrSeqName const css::uno
cssuno< ::::XPropertySet xField;
/// get field ID from XTextField (and it's Property-Set) static const /java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
/// get field ID from XTextField service name (and it's PropertySet) staticenum FieldIdEnum MapFieldName(std::u16string_view sFieldName, const css::uno::Reference < css::beans::XPropertySet> & xPropSet);
/// determine, whether field has string or numeric content staticbool IsStringField(FieldIdEnum nFieldType, /// field ID const css::uno::Reference < css::beans::XPropertySet > & xPropSet);
/// explode a field master name into field type and field name staticvoid ExplodeFieldMasterName(
std::u16string_view sMasterName, /// name as returned by SO API
OUString& sFieldType, /// out: field type
OUString& sVarName); /// out: variable name
/// make reference name for a foot- or endnote static OUString MakeFootnoteRefName(sal_Int16 nSeqNo);
/// make reference name for a sequence field static OUString MakeSequenceRefName(sal_Int16 nSeqNo,
std::u16string_view rSeqName);
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.6Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.