Issue 25473

Summary: API: sw.ParagraphStyle::XMultiPropertyStates
Product: App Dev Reporter: steffen.grund
Component: apiAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P4 CC: issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

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
	fillArray()
		
	'get all properties
	xStyle.getPropertyDefaults(sPropertyNames())
		
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