Issue 25473 - API: sw.ParagraphStyle::XMultiPropertyStates
Summary: API: sw.ParagraphStyle::XMultiPropertyStates
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P4 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2004-02-13 14:50 UTC by steffen.grund
Modified: 2013-02-24 21:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description steffen.grund 2004-02-13 14:50:50 UTC
The following macro produces a RuntimeException. All used property names should
be valid, so no exception is expected.

global sPropertyNames(13) as String

Sub Main
	xNameAccess = ThisComponent.getStyleFamilies()
	xStyleFamily = xNameAccess.getByName("ParagraphStyles")
	xStyle = xStyleFamily.getByName("Text body")

	' gather some properties
	'get all properties
End Sub

sub fillArray
	sPropertyNames(0) = "BorderDistance"
	sPropertyNames(1) = "BottomBorder"
	sPropertyNames(2) = "BottomBorderDistance"
	sPropertyNames(3) = "BreakType"
	sPropertyNames(4) = "Category"
	sPropertyNames(5) = "CharAutoKerning"
	sPropertyNames(6) = "CharBackColor"
	sPropertyNames(7) = "CharBackTransparent"
	sPropertyNames(8) = "CharCaseMap"
	sPropertyNames(9) = "CharColor"
	sPropertyNames(10) = "CharCombineIsOn"
	sPropertyNames(11) = "CharCombinePrefix"
	sPropertyNames(12) = "CharCombineSuffix"
	sPropertyNames(13) = "CharContoured"
end sub
Comment 1 thomas.lange 2004-02-20 13:37:37 UTC
Comment 2 stephan.wunderlich 2004-05-03 13:12:06 UTC
SW: changed Prio
Comment 3 stephan.wunderlich 2004-05-05 16:45:01 UTC
SW: changed target