Bugs 38840+39596: Coverage analysis and static analysis: Whats next ?

John Smith lbalbalba at gmail.com
Thu Sep 6 09:46:43 PDT 2012


On Thu, Sep 6, 2012 at 2:53 PM, Michael Meeks <michael.meeks at suse.com> wrote:
>
> On Thu, 2012-09-06 at 13:15 +0200, John Smith wrote:
>> Alright, let me see if I understand this one correctly first. You
>> basically want people to be able to find out what gets "#define" 'd in
>> what rc files ? So for example, you want people to search for
>> "FL_RECORD" to discover that that gets defined in
>> './sw/source/ui/envelp/mailmrge.hrc" ?
>
>         Nope it's worse than that; we want to go from "Export" to:
>
> String STR_PDF_EXPORT
> {
>         Text[ en-US ] = "E~xport";
> };
>
I still dont understand. Something to do with my lack of understanding
C++, I guess. Feel free to ignore or answer as you see fit; I doubt
ill be able to do what is needed at this point anyway. So what would
be needed as input, and what would be the output ?

You want people to be able to enter "Records" as input, and have it
output this :

    FixedLine FL_RECORD
    {
        Pos = MAP_APPFONT ( 6 , 86 ) ;
        Size = MAP_APPFONT ( 126 , 8 ) ;
        Text [ en-US ] = "Records" ;
    };

as it is listed in "./sw/source/ui/envelp/mailmrge.src" ?

Or, more strictly: have people enter "Drawing View", to output

String SID_SD_A11Y_D_DRAWVIEW_N
{
    Text [ en-US ] = "Drawing View";
};

as listed in "./sd/source/ui/accessibility/accessibility.src", but
*only* for the cases where it says exactly "String ALL_CAPS_HERE",
*and* the only thing between the curly braces is :

Text [ en-US ] = "Drawing View"

?

- John.


More information about the LibreOffice mailing list