txtflde.hxx (ecfe53c5) | txtflde.hxx (3b32dd21) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 420 unchanged lines hidden (view full) --- 429 ::com::sun::star::beans::XPropertySet> & xPropSet); 430 431 /// determine, whether field has string or numeric content 432 sal_Bool IsStringField(FieldIdEnum nFieldType, /// field ID 433 const ::com::sun::star::uno::Reference < 434 ::com::sun::star::beans::XPropertySet > & xPropSet); 435 436 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 420 unchanged lines hidden (view full) --- 429 ::com::sun::star::beans::XPropertySet> & xPropSet); 430 431 /// determine, whether field has string or numeric content 432 sal_Bool IsStringField(FieldIdEnum nFieldType, /// field ID 433 const ::com::sun::star::uno::Reference < 434 ::com::sun::star::beans::XPropertySet > & xPropSet); 435 436 |
437 /// explode a field master name into field type and field name 438 sal_Bool ExplodeFieldMasterName( 439 const ::rtl::OUString& sMasterName, /// name as returned by SO API 440 ::rtl::OUString& sFieldType, /// out: field type 441 ::rtl::OUString& sVarName); /// out: variable name | 437 /// explode a field master name into field type and field name 438 sal_Bool ExplodeFieldMasterName( 439 const ::rtl::OUString& sMasterName, /// name as returned by SO API 440 ::rtl::OUString& sFieldType, /// out: field type 441 ::rtl::OUString& sVarName); /// out: variable name |
442 | 442 |
443 /// make reference name for a foot- or endnote 444 static ::rtl::OUString MakeFootnoteRefName(sal_Int16 nSeqNo); | 443 /// make reference name for a foot- or endnote 444 static ::rtl::OUString MakeFootnoteRefName(sal_Int16 nSeqNo); |
445 | 445 |
446 /// make reference name for a sequence field 447 static ::rtl::OUString MakeSequenceRefName(sal_Int16 nSeqNo, 448 const ::rtl::OUString& rSeqName); | 446 /// make reference name for a sequence field 447 static ::rtl::OUString MakeSequenceRefName( 448 sal_Int16 nSeqNo, 449 const ::rtl::OUString& rSeqName ); |
449 | 450 |
450private: 451 // constants | 451private: 452 // service names 453 const ::rtl::OUString sServicePrefix; 454 const ::rtl::OUString sFieldMasterPrefix; 455 const ::rtl::OUString sPresentationServicePrefix; |
452 | 456 |
453 // service names 454 const ::rtl::OUString sServicePrefix; 455 const ::rtl::OUString sFieldMasterPrefix; 456 const ::rtl::OUString sPresentationServicePrefix; 457 458 // property names 459 const ::rtl::OUString sPropertyAdjust; 460 const ::rtl::OUString sPropertyAuthor; 461 const ::rtl::OUString sPropertyChapterFormat; 462 const ::rtl::OUString sPropertyChapterNumberingLevel; 463 const ::rtl::OUString sPropertyCharStyleNames; 464 const ::rtl::OUString sPropertyCondition; 465 const ::rtl::OUString sPropertyContent; 466 const ::rtl::OUString sPropertyDataBaseName; 467 const ::rtl::OUString sPropertyDataBaseURL; 468 const ::rtl::OUString sPropertyDataColumnName; 469 const ::rtl::OUString sPropertyDataCommandType; 470 const ::rtl::OUString sPropertyDataTableName; 471 const ::rtl::OUString sPropertyDate; 472 const ::rtl::OUString sPropertyDateTime; 473 const ::rtl::OUString sPropertyDateTimeValue; 474 const ::rtl::OUString sPropertyDDECommandElement; 475 const ::rtl::OUString sPropertyDDECommandFile; 476 const ::rtl::OUString sPropertyDDECommandType; 477 const ::rtl::OUString sPropertyDependentTextFields; 478 const ::rtl::OUString sPropertyFalseContent; 479 const ::rtl::OUString sPropertyFields; 480 const ::rtl::OUString sPropertyFieldSubType; 481 const ::rtl::OUString sPropertyFileFormat; 482 const ::rtl::OUString sPropertyFullName; 483 const ::rtl::OUString sPropertyHint; 484 const ::rtl::OUString sPropertyInstanceName; 485 const ::rtl::OUString sPropertyIsAutomaticUpdate; 486 const ::rtl::OUString sPropertyIsConditionTrue; 487 const ::rtl::OUString sPropertyIsDataBaseFormat; 488 const ::rtl::OUString sPropertyIsDate; 489 const ::rtl::OUString sPropertyIsExpression; 490 const ::rtl::OUString sPropertyIsFixed; 491 const ::rtl::OUString sPropertyIsFixedLanguage; 492 const ::rtl::OUString sPropertyIsHidden; 493 const ::rtl::OUString sPropertyIsInput; 494 const ::rtl::OUString sPropertyIsShowFormula; 495 const ::rtl::OUString sPropertyIsVisible; 496 const ::rtl::OUString sPropertyItems; 497 const ::rtl::OUString sPropertyLevel; 498 const ::rtl::OUString sPropertyMacro; 499 const ::rtl::OUString sPropertyMeasureKind; 500 const ::rtl::OUString sPropertyName; 501 const ::rtl::OUString sPropertyNumberFormat; 502 const ::rtl::OUString sPropertyNumberingSeparator; 503 const ::rtl::OUString sPropertyNumberingType; 504 const ::rtl::OUString sPropertyOffset; 505 const ::rtl::OUString sPropertyOn; 506 const ::rtl::OUString sPropertyPlaceholder; 507 const ::rtl::OUString sPropertyPlaceholderType; 508 const ::rtl::OUString sPropertyReferenceFieldPart; 509 const ::rtl::OUString sPropertyReferenceFieldSource; 510 const ::rtl::OUString sPropertyReferenceFieldType; 511 const ::rtl::OUString sPropertyRevision; 512 const ::rtl::OUString sPropertyScriptType; 513 const ::rtl::OUString sPropertySelectedItem; 514 const ::rtl::OUString sPropertySequenceNumber; 515 const ::rtl::OUString sPropertySequenceValue; 516 const ::rtl::OUString sPropertySetNumber; 517 const ::rtl::OUString sPropertySourceName; 518 const ::rtl::OUString sPropertySubType; 519 const ::rtl::OUString sPropertyTargetFrame; 520 const ::rtl::OUString sPropertyTrueContent; 521 const ::rtl::OUString sPropertyURL; 522 const ::rtl::OUString sPropertyURLContent; 523 const ::rtl::OUString sPropertyUserText; 524 const ::rtl::OUString sPropertyValue; 525 const ::rtl::OUString sPropertyVariableName; 526 const ::rtl::OUString sPropertyVariableSubType; | 457 // property names 458 const ::rtl::OUString sPropertyAdjust; 459 const ::rtl::OUString sPropertyAuthor; 460 const ::rtl::OUString sPropertyChapterFormat; 461 const ::rtl::OUString sPropertyChapterNumberingLevel; 462 const ::rtl::OUString sPropertyCharStyleNames; 463 const ::rtl::OUString sPropertyCondition; 464 const ::rtl::OUString sPropertyContent; 465 const ::rtl::OUString sPropertyDataBaseName; 466 const ::rtl::OUString sPropertyDataBaseURL; 467 const ::rtl::OUString sPropertyDataColumnName; 468 const ::rtl::OUString sPropertyDataCommandType; 469 const ::rtl::OUString sPropertyDataTableName; 470 const ::rtl::OUString sPropertyDate; 471 const ::rtl::OUString sPropertyDateTime; 472 const ::rtl::OUString sPropertyDateTimeValue; 473 const ::rtl::OUString sPropertyDDECommandElement; 474 const ::rtl::OUString sPropertyDDECommandFile; 475 const ::rtl::OUString sPropertyDDECommandType; 476 const ::rtl::OUString sPropertyDependentTextFields; 477 const ::rtl::OUString sPropertyFalseContent; 478 const ::rtl::OUString sPropertyFields; 479 const ::rtl::OUString sPropertyFieldSubType; 480 const ::rtl::OUString sPropertyFileFormat; 481 const ::rtl::OUString sPropertyFullName; 482 const ::rtl::OUString sPropertyHint; 483 const ::rtl::OUString sPropertyInitials; 484 const ::rtl::OUString sPropertyInstanceName; 485 const ::rtl::OUString sPropertyIsAutomaticUpdate; 486 const ::rtl::OUString sPropertyIsConditionTrue; 487 const ::rtl::OUString sPropertyIsDataBaseFormat; 488 const ::rtl::OUString sPropertyIsDate; 489 const ::rtl::OUString sPropertyIsExpression; 490 const ::rtl::OUString sPropertyIsFixed; 491 const ::rtl::OUString sPropertyIsFixedLanguage; 492 const ::rtl::OUString sPropertyIsHidden; 493 const ::rtl::OUString sPropertyIsInput; 494 const ::rtl::OUString sPropertyIsShowFormula; 495 const ::rtl::OUString sPropertyIsVisible; 496 const ::rtl::OUString sPropertyItems; 497 const ::rtl::OUString sPropertyLevel; 498 const ::rtl::OUString sPropertyMacro; 499 const ::rtl::OUString sPropertyMeasureKind; 500 const ::rtl::OUString sPropertyName; 501 const ::rtl::OUString sPropertyNumberFormat; 502 const ::rtl::OUString sPropertyNumberingSeparator; 503 const ::rtl::OUString sPropertyNumberingType; 504 const ::rtl::OUString sPropertyOffset; 505 const ::rtl::OUString sPropertyOn; 506 const ::rtl::OUString sPropertyPlaceholder; 507 const ::rtl::OUString sPropertyPlaceholderType; 508 const ::rtl::OUString sPropertyReferenceFieldPart; 509 const ::rtl::OUString sPropertyReferenceFieldSource; 510 const ::rtl::OUString sPropertyReferenceFieldType; 511 const ::rtl::OUString sPropertyRevision; 512 const ::rtl::OUString sPropertyScriptType; 513 const ::rtl::OUString sPropertySelectedItem; 514 const ::rtl::OUString sPropertySequenceNumber; 515 const ::rtl::OUString sPropertySequenceValue; 516 const ::rtl::OUString sPropertySetNumber; 517 const ::rtl::OUString sPropertySourceName; 518 const ::rtl::OUString sPropertySubType; 519 const ::rtl::OUString sPropertyTargetFrame; 520 const ::rtl::OUString sPropertyTrueContent; 521 const ::rtl::OUString sPropertyURL; 522 const ::rtl::OUString sPropertyURLContent; 523 const ::rtl::OUString sPropertyUserText; 524 const ::rtl::OUString sPropertyValue; 525 const ::rtl::OUString sPropertyVariableName; 526 const ::rtl::OUString sPropertyVariableSubType; |
527 const ::rtl::OUString sPropertyHelp; 528 const ::rtl::OUString sPropertyTooltip; 529 const ::rtl::OUString sPropertyTextRange; 530 | 527 const ::rtl::OUString sPropertyHelp; 528 const ::rtl::OUString sPropertyTooltip; 529 const ::rtl::OUString sPropertyTextRange; 530 |
531 const ::rtl::OUString sEmpty; | 531 const ::rtl::OUString sEmpty; |
532 | 532 |
533 XMLPropertyState* pCombinedCharactersPropertyState; | 533 XMLPropertyState* pCombinedCharactersPropertyState; |
534 535}; 536 | 534 535}; 536 |
537 538 539 540 541 | |
542#endif | 537#endif |