질문하기

torreone's profile - activity

2021-02-23 11:10:07 +0100 받은 배지  유명한 질문 (source)
2021-02-09 15:00:10 +0100 코멘트달린 답변 Find 'Whole Words Only' - Where is this option?

In calc using macros you should be able to find single words without any problems. If in calc then you use a range of d

2021-01-28 22:52:51 +0100 질문에 댓글을 달았습니다 [Solved] writer macro for extending selection from table to paragraph before and after table

thanks @ajlittoz

2021-01-28 17:58:51 +0100 으뜸 답변으로 표시됨 [Solved] writer macro for extending selection from table to paragraph before and after table

Comment that I can not delete

2021-01-28 17:57:04 +0100 질문을 편집했습니다 [Solved] writer macro for extending selection from table to paragraph before and after table

[Solved] writer macro for extending selection from table to paragraph before and after table Months ago I opened a discu

2021-01-28 17:52:46 +0100 질문에 답변하였습니다 [Solved] writer macro for extending selection from table to paragraph before and after table

In the question #223599 https://ask.libreoffice.org/en/question/223599/writer-macro-for-extending-selection-from-table-

2021-01-28 16:03:07 +0100 으뜸 답변으로 표시됨 [solved] error access to object array like of PropertyValue inside function

greetings to all. I was trying to build a generalized function that would allow:

a) to create a new like array object of com.sun.star.beans.PropertyValue with pair name-value contained in array a

b) to receive an already existing like array of PropertyValue as input for selective editing of only some elements

the array a in the first case contained only pairs of name-value, in the second triples of name-value-index Oddly, once created and returned, the PropertyValue array is accessible without error by the calling program on the contrary, fail after passed the newly created array to the function to modify only one item. Message displayed is "subroutine or function

why?

Thanks in advance for any help (libreoffice: 6.2.8.2 SO:Ubuntu 16.04

sub testPropValueSet()
   dim a,b,x, o , o2
   a=array(array("one", 10), array("two",20), array("three",30))
   o=propValueSet(a)
   msgbox (o(0).name)     ' HERE ACCESS CORRECT, DISPLAYED -one-, NO ERROR 
   b=array(array("",35,2))
   o1=propValueSet(b,o)

end sub

function propValueSet(a, optional propVal)   ' ex searchProperties
  dim n, bNew,i,d,r

    n=ubound(a)
    bNew=ismissing(propVal)  ' if propVal ismissing, create propVal
    if bNew then 
       dim propVal(n) as new com.sun.star.beans.PropertyValue
    end if

    for r= 0 to n
       if bNew then 
          i=r: propVal(i).name=a(i)(0) :propVal(i).value=a(r)(1)  
       else
          i=a(r)(2): dim o as new com.sun.star.beans.PropertyValue
          if a(r)(0) <> "" then 
              o.name=a(r)(0) 
          else 
                                           '  HERE THE ERROR -SUB OR FUNCTION NOT DEFINED-
              d=propVal(i) 
              o.name=d.name : o.value=a(r)(1)
          end if

          propVal(i)=o
       end if

    next  r
    propValueSet=propVal  
end function
2021-01-28 15:07:30 +0100 받은 배지  주목할 만한 질문 (source)
2021-01-28 15:01:48 +0100 받은 배지  유명한 질문 (source)
2021-01-28 14:00:04 +0100 질문을 편집했습니다 [Solved] writer macro for extending selection from table to paragraph before and after table

[Solved] writer macro for extending selection from table to paragraph before and after table Months ago I opened a discu

2021-01-28 13:59:46 +0100 질문을 편집했습니다 [Solved] writer macro for extending selection from table to paragraph before and after table

writer macro for extending selection from table to paragraph before and after table Months ago I opened a discussion on

2021-01-28 13:53:29 +0100 질문을 편집했습니다 [Solved] writer macro for extending selection from table to paragraph before and after table

writer macro for extending selection from table to paragraph before and after table Months ago I opened a discussion on

2021-01-28 13:52:27 +0100 받은 배지  인기있는 질문 (source)
2021-01-27 12:28:37 +0100 받은 배지  인기있는 질문 (source)
2021-01-27 01:05:19 +0100 질문에 답변하였습니다 open pdf to specific page via macro

The solution for Windows using acrobat reader proposed by johnSun, whom I thank for the idea, can be extended to linux-

2021-01-22 01:32:58 +0100 받은 배지  주목할 만한 질문 (source)
2021-01-21 11:30:32 +0100 받은 배지  인기있는 질문 (source)
2021-01-21 11:30:32 +0100 받은 배지  주목할 만한 질문 (source)
2021-01-18 14:12:59 +0100 코멘트달린 답변 When in writer on some lines words are spaced way too far apart

It is since I have been using writer, especially in lists, that I have had problems with forced justification using shif

2021-01-14 14:05:06 +0100 받은 배지  유명한 질문 (source)
2021-01-14 13:50:18 +0100 코멘트달린 답변 Writer: Is it possible to sort a document's content based on headings?

It was a function that I wanted to try to make in the future, you saved me a lot of work. It works perfectly. Very tha

2021-01-14 13:31:49 +0100 질문에 댓글을 달았습니다 [solved] error access to object array like of PropertyValue inside function

I have a lot of programming experience on other languages, mostly javascript (last 10 years) and VB-VBA (1996-2001) But

2021-01-14 11:19:19 +0100 질문에 댓글을 달았습니다 [solved] error access to object array like of PropertyValue inside function

I'll work on it. I realize from this particular case that I still miss fundamental concepts on the passing of parameters

2021-01-14 01:02:30 +0100 질문을 편집했습니다 [solved] error access to object array like of PropertyValue inside function

error access to object array like of PropertyValue inside function greetings to all. I was trying to build a generalize

2021-01-14 01:00:32 +0100 질문에 댓글을 달았습니다 [solved] error access to object array like of PropertyValue inside function

Apart from the final result, however, if a code does not work I am interested in understanding why, to improve my unders

2021-01-14 00:55:03 +0100 질문에 댓글을 달았습니다 [solved] error access to object array like of PropertyValue inside function

I realize that the compiler may have problems, but I don't understand why the internal debug recognizes in the same way

2021-01-13 19:34:50 +0100 질문에 댓글을 달았습니다 [solved] error access to object array like of PropertyValue inside function

In the meantime, very thanks for your reply and the time you have dedicated to me Your solution works, does not give err

2021-01-13 19:34:18 +0100 질문에 댓글을 달았습니다 [solved] error access to object array like of PropertyValue inside function

In the meantime, very thanks for your reply and the time you have dedicated to me Your solution works, does not give err

2021-01-13 19:30:21 +0100 질문에 댓글을 달았습니다 [solved] error access to object array like of PropertyValue inside function

In the meantime, very thanks for your reply and the time you have dedicated to me Your solution works, does not give err

2021-01-13 17:00:39 +0100 질문을 편집했습니다 [solved] error access to object array like of PropertyValue inside function

error access to object array like of PropertyValue inside function greetings to all. I was trying to build a generalize

2021-01-13 16:55:27 +0100 질문하였습니다 [solved] error access to object array like of PropertyValue inside function

error access to object array like of PropertyValue inside function greetings to all. I was trying to build a generalize

2021-01-13 15:45:49 +0100 받은 배지  유명한 질문 (source)
2021-01-13 15:45:49 +0100 받은 배지  주목할 만한 질문 (source)
2021-01-08 07:30:03 +0100 받은 배지  유명한 질문 (source)
2020-12-26 15:28:39 +0100 받은 배지  족집게 도사 (source)
2020-12-18 03:00:32 +0100 받은 배지  유명한 질문 (source)
2020-12-06 23:33:20 +0100 받은 배지  유명한 질문 (source)
2020-07-31 19:22:38 +0100 받은 배지  주목할 만한 질문 (source)
2020-07-30 17:07:09 +0100 받은 배지  유명한 질문 (source)
2020-07-25 13:11:09 +0100 코멘트달린 답변 combine files

Yes, I know, but it's still an extra technique to study. For example, I have been working on LO for a year, both on app

2020-07-25 11:47:00 +0100 질문에 답변하였습니다 combine files

If, on the other hand, you want to leave the Fi files to be inserted unchanged and create a new FMain file that collects