기타 Lee1 님 지식인에 물어보셨던 소스요~
페이지 정보
본문
엑셀에다가 만든건 아닌데 아까 지식인에 물어보셨던거요
이런식으로 응용 하시면 되실듯 합니다
다 만드셨는지는 모르겠지만 저도 그냥 만들어봤어요 ^^
소스 붙여 넣기 하셔서 응용해서 작업해보세요
소스 보기 때문에 개발자님 멈청 괴롭혔는데ㅠㅠ
개발자님 죄송해요 ㅋ
참고해서 써보세요 올리네요 ㅎㅎ
------------------------------------------------------------------------------
<NGM>
<NewVariable Text="변수 추가(텍스트)" Type="NGM.Models.Function.NewVariableModel, NGM.Models" Icon="tree_func_var_add">
<DataModel>
<NewVariableModel>
<FunctionKey>VARIABLE_NEW</FunctionKey>
<GetVariables />
<SetVariables />
<ID>텍스트</ID>
<Description />
<Overwrite>true</Overwrite>
<String>1번입니다 2번입니다 3번입니다 4번입니다 5번입니다 6번입니다 7번입니다 8번입니다 9번입니다 10번입니다</String>
<Point>
<X>0</X>
<Y>0</Y>
</Point>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<Rectangle>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<X>0</X>
<Y>0</Y>
<Width>0</Width>
<Height>0</Height>
</Rectangle>
</NewVariableModel>
</DataModel>
</NewVariable>
<NewVariable Text="변수 추가(텍스트배열값)" Type="NGM.Models.Function.NewVariableModel, NGM.Models" Icon="tree_func_var_add">
<DataModel>
<NewVariableModel>
<FunctionKey>VARIABLE_NEW</FunctionKey>
<GetVariables />
<SetVariables />
<ID>텍스트배열값</ID>
<Description />
<Point>
<X>0</X>
<Y>0</Y>
</Point>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<Rectangle>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<X>0</X>
<Y>0</Y>
<Width>0</Width>
<Height>0</Height>
</Rectangle>
</NewVariableModel>
</DataModel>
</NewVariable>
<NewVariable Text="변수 추가(인덱스)" Type="NGM.Models.Function.NewVariableModel, NGM.Models" Icon="tree_func_var_add">
<DataModel>
<NewVariableModel>
<FunctionKey>VARIABLE_NEW</FunctionKey>
<GetVariables />
<SetVariables />
<ID>인덱스</ID>
<Description />
<Overwrite>true</Overwrite>
<String>0</String>
<Point>
<X>0</X>
<Y>0</Y>
</Point>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<Rectangle>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<X>0</X>
<Y>0</Y>
<Width>0</Width>
<Height>0</Height>
</Rectangle>
</NewVariableModel>
</DataModel>
</NewVariable>
<NewVariable Text="변수 추가(항목 수)" Type="NGM.Models.Function.NewVariableModel, NGM.Models" Icon="tree_func_var_add">
<DataModel>
<NewVariableModel>
<FunctionKey>VARIABLE_NEW</FunctionKey>
<GetVariables />
<SetVariables />
<ID>항목 수</ID>
<Description />
<Overwrite>true</Overwrite>
<String>0</String>
<Point>
<X>0</X>
<Y>0</Y>
</Point>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<Rectangle>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<Width>0</Width>
<Height>0</Height>
</Size>
<X>0</X>
<Y>0</Y>
<Width>0</Width>
<Height>0</Height>
</Rectangle>
</NewVariableModel>
</DataModel>
</NewVariable>
<Group Text="그룹(시작)" Type="NGM.Models.Function.GroupModel, NGM.Models" Icon="tree_func_group">
<DataModel>
<GroupModel>
<FunctionKey>FUNCTION_GROUP</FunctionKey>
<GetVariables />
<SetVariables />
<ID>시작</ID>
<Description />
</GroupModel>
</DataModel>
</Group>
<Split Text="문자열 분리" Type="NGM.Models.Expression.SplitModel, NGM.Models" Icon="">
<DataModel>
<SplitModel>
<FunctionKey>EXPRESSION_SPLIT</FunctionKey>
<GetVariables>
<VariableItem>
<PropertyName>SourceText</PropertyName>
<Name>텍스트</Name>
<Data xmlns:q1="http://www.w3.org/2001/XMLSchema" p5:type="q1:string" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance">원본 문자열</Data>
</VariableItem>
<VariableItem>
<PropertyName>SplitIndex</PropertyName>
<Name>인덱스</Name>
<Data xmlns:q2="http://www.w3.org/2001/XMLSchema" p5:type="q2:string" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance">인덱스</Data>
</VariableItem>
</GetVariables>
<SetVariables>
<VariableItem>
<PropertyName>ResultData</PropertyName>
<Name>텍스트배열값</Name>
<Data xmlns:q3="http://www.w3.org/2001/XMLSchema" p5:type="q3:string" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance">결과 값</Data>
</VariableItem>
<VariableItem>
<PropertyName>SplitCount</PropertyName>
<Name>항목 수</Name>
<Data xmlns:q4="http://www.w3.org/2001/XMLSchema" p5:type="q4:string" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance">항목 수</Data>
</VariableItem>
</SetVariables>
<ID />
<Description />
<SourceText>1번입니다 2번입니다 3번입니다 4번입니다 5번입니다 6번입니다 7번입니다 8번입니다 9번입니다 10번입니다</SourceText>
<SplitSeparator> </SplitSeparator>
<SplitIndex>9</SplitIndex>
</SplitModel>
</DataModel>
</Split>
<ExpressionIncreaseDecreaseNumber Text="숫자 증감" Type="NGM.Models.Expression.IncreaseDecreaseNumberModel, NGM.Models" Icon="">
<DataModel>
<IncreaseDecreaseNumberModel>
<FunctionKey>EXPRESSION_INCREASE_DECREASE_NUMBER</FunctionKey>
<GetVariables>
<VariableItem>
<PropertyName>SourceNumber</PropertyName>
<Name>인덱스</Name>
<Data xmlns:q1="http://www.w3.org/2001/XMLSchema" p5:type="q1:string" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance">원본 값</Data>
</VariableItem>
</GetVariables>
<SetVariables>
<VariableItem>
<PropertyName>ResultData</PropertyName>
<Name>인덱스</Name>
<Data xmlns:q2="http://www.w3.org/2001/XMLSchema" p5:type="q2:string" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance">결과 값</Data>
</VariableItem>
</SetVariables>
<ID />
<Description />
<SourceNumber>9</SourceNumber>
<IncreaseDecreaseNumber>1</IncreaseDecreaseNumber>
</IncreaseDecreaseNumberModel>
</DataModel>
</ExpressionIncreaseDecreaseNumber>
<ConditionNumberCheck Text="숫자 체크" Type="NGM.Models.Condition.NumberCheckModel, NGM.Models" Icon="tree_cond_number">
<DataModel>
<NumberCheckModel>
<FunctionKey>CONDITION_NUMBER_CHECK</FunctionKey>
<GetVariables>
<VariableItem>
<PropertyName>TargetNumber</PropertyName>
<Name>인덱스</Name>
<Data xmlns:q1="http://www.w3.org/2001/XMLSchema" p5:type="q1:string" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance">비교 대상 숫자</Data>
</VariableItem>
<VariableItem>
<PropertyName>SourceNumber</PropertyName>
<Name>항목 수</Name>
<Data xmlns:q2="http://www.w3.org/2001/XMLSchema" p5:type="q2:string" xmlns:p5="http://www.w3.org/2001/XMLSchema-instance">비교할 숫자</Data>
</VariableItem>
</GetVariables>
<SetVariables />
<ID />
<Description />
<TrueID>끝</TrueID>
<FalseID>시작</FalseID>
<TargetNumber>10</TargetNumber>
<SourceNumber>10</SourceNumber>
<Children />
</NumberCheckModel>
</DataModel>
</ConditionNumberCheck>
<Group Text="그룹(끝)" Type="NGM.Models.Function.GroupModel, NGM.Models" Icon="tree_func_group">
<DataModel>
<GroupModel>
<FunctionKey>FUNCTION_GROUP</FunctionKey>
<GetVariables />
<SetVariables />
<ID>끝</ID>
<Description />
</GroupModel>
</DataModel>
</Group>
</NGM>
- 이전글끄적끄적 연습하고 있습니다. 20.03.13
- 다음글Re: Lee1 님 지식인에 물어보셨던 소스요~ 20.03.13