How to extract Title, Author and Document name from document(.doc;.rtf;..)

Some files contain meta-data from which we can extract even more details.
for example: .mp3 file format is:
at end of file - 128 bytes
offset type len name
0 char 3 "TAG"
3 char 30 title
33 char 30 artist
63 char 30 album
93 char 4 year
97 char 30 comments
127 byte 1 genre
For Documents, is it possible to get the Creator, Title and Name of the document from the file (*.doc, *.rtf, ...)

> I'd love to but they don't make those particular css
pages available to us
> (which seems insane). To modify the css we have to
extract it from their
> page
> apparently.
If the page can grab the CSS, so can you. Look in the code.
Find the link
to the CSS file. Browse to that link. You now have the CSS
file. Or show
us the link's code and we'll get it for you.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Lvanhoff" <[email protected]> wrote in
message
news:gqijsu$dk3$[email protected]..
> I'd love to but they don't make those particular css
pages available to us
> (which seems insane). To modify the css we have to
extract it from their
> page
> apparently.
>
> So if there were some way to tell DW: "Show me all the
styles used in this
> html and put them in the style area of the document" it
would make my life
> EVER
> so much easier! :-)
>
> Thanks
>

Similar Messages

  • How to extract a folder (and its contents) from inside a zip file?

    There is a zip file which contains a folder inside it. The folder itself contains a few files. I would need to know how to extract the folder (with its contents) from inside a zip file.
    I have found a few unzipping code samples which show how to handle a folder inside a zip file. An example is shown below:
    public static void extract(String workingDirectory, byte[] zipFile)
    throws Exception {
    ByteArrayInputStream byteStream = new ByteArrayInputStream(zipFile);
    ByteArrayOutputStream out = new ByteArrayOutputStream();
    ZipInputStream zipStream = new ZipInputStream(byteStream);
    ZipEntry zipEntry = null;
    String nameZipEntry = null;
    byte[] contentZiphttp://forum.java.sun.com/post!default.jspa?forumID=31#
    Click for code tagsEntry = null;
    boolean isDirectory = false;
    int indexFileSeparator = -1;
    String directory = null;
    String fileName =  null;
    while ( (zipEntry = zipStream.getNextEntry()) != null )
                nameZipEntry = workingDirectory + File.separator + zipEntry.getName();
                isDirectory = zipEntry.isDirectory();
                if (isDirectory) {
    File file = new File(nameZipEntry);
    file.mkdirs();
                else
                    // read zipEntry
                    byte[] buf = new byte[1024];
                    int c = 0;
                    while ( (c = zipStream.read(buf)) != -1)
                        out.write(buf, 0, c);
                    indexFileSeparator = nameZipEntry.lastIndexOf(File.separator);
                    directory = nameZipEntry.substring(0, indexFileSeparator);
                    fileName =  nameZipEntry.substring(indexFileSeparator+1,nameZipEntry.length());
                    FileSystemTools.createFile(directory, fileName, out);
                    out.reset();
                    zipStream.closeEntry();
            zipStream.close();
            byteStream.close();
    }The code sample which deals with the part where the zipEntry is a directory creates a directory with the same path and name. (highlighted in bold)
    Another similar variation is:
    File file = new File(dirDestiny.getAbsolutePath() + File.separator + zipEntry.getName() );
    if(zipEntry.isDirectory())
          file.mkdirs();When the code creates a directory for the folder, does it unzip the contents inside the folder as well?
    If not, how do I extract the files inside the folder?

    Have you already tried to see if the sample code you downloaded works or not? Maybe if you try out the code yourself you can see if it extracts files from a directory within a zip file?
    I like to use pkzip. It is a command line compression/uncompression tool that can be used from a batch file. If you assignment involves unzipping large amount of zip files on a regular basis, I recommend taking a look at pkzip.

  • How to get the Calendar and Holiday Name from ALBPM engine

    Hi,
    I want to fetch the Calendar Name and Holiday Name that are defined in ALBPM studio/engine.
    How to fetch these through fuego ?
    Bibhu

    Hi,
    Thanks for your help.
    I have executed the code but it did not give me the calendar name as fetchAll() gives me an array.
    I could not find any such method which will give me the Calendar Name.
    The above code give the following result:
    Total Calendar Count: 2 (OK, since I have two calendar in my workspace)
    Calendar Name : fuego.components.CalendarRule@677770 (Want the Calendar Name not this format)
    Calendar Name: fuego.components.CalendarRule@d293b7
    Bibhu

  • How to get truck no and transporter name from header.text(vf03) to webi rep

    Hi
    making a stock received details bill wise with webi (bo 3.1)
    so require a truck no and transporter name along with consignor detail and bill wise detail.
    picking data from vbrk and vbrp tables.
    pls assist in this
    Thanks and Regards
    Ritu Raj
    BI/BO Consultant

    Thanks M
    Yes It is Sales and Distribution process and we are using ODBC Connectivity through database client for the connection parameter in the Universe designed to the R/3 ECC.
    So we dont have
    a) DS
    b) BW
    c) Data Connector
    So Universe is basically on the relational Data
    base where by linking VBRK,VBRP and various Master tables.
    (OLTP level universe)
    So the quesion remain as it is bcos we cant access functional module READ_TEXT in the R/3
    Pls suggest for the following Alternatives
    a)Using Crystal Reports
    b)Use BW (Currently it is not there,but soon be Implemented)
    What do you think?
    Bcos we dont want to refresh z table which could be developed from given functional module before running our report.
    Regards
    Ritu Raj

  • How to know the nos. and variable name from Jframe ?

    Hello Everyone,
    I have just started java programming. I have one form (using jframe) and there are nos. of components like text field, radio buttons, list box, buttons etc.).
    I want to know nos. and type of components (text field, radio buttons, button etc..) and variable name of these components ?
    Is there any way class / method or technique for the same ?
    With Thanks !
    Prashant Shukla

    Since if you are dealing strictly swing here, and no mixed in awt, all you have is JComponents, then where's the problem ... why do you even need to know which JComponent it is?
    This what you have?
    class StuffWithListeners  extends JFrame  implements ActionListener, KeyListener {
      StuffWithListeners() {
        jb = new JButton("GO");
        ta = new JTextArea(10,20);
        jb.addActionListener(this);
        ta.addKeyListener(this);
      public void actionPerformed(ActionEvent ae) {
      public void KeyPressed(KeyEvent ke) {
    }Edited by: abillconsl on Dec 14, 2007 5:23 PM
    null

  • XSL variable-of document name from document library list does not render

    I'm currently building a custom XSL file that is to be linked to a webpart so I can create a custom view. I must say I am new to XSL coding though I have background in html, javascript, php.
    I'm able to render general columns that has been added (from document properties) in the document library I'm pulling data from but cannot seem to figure out how to render out the title. It is a document library so it is to be pulling the name of the document
    added to the library.
    In the aspx, I did try changing all name types (ones with links, without, with edit etc.) but no luck.
    Here is my xsl code so far:
    <xsl:template name="block.rowview">
    <style>
    .sktile{
    width:200px; height:200px; border:#000 solid thin;
    float:left; margin:5px; overflow:hidden
    </style>
    <div class="sktile">
    <xsl:value-of select="@LinkFilename" />
    <xsl:value-of select="@Description0" disable-output-escaping="yes"/>
    <xsl:value-of select="@Recording_x0020_Date" />
    <xsl:value-of select="@Presenter" disable-output-escaping="yes"/>
    <xsl:value-of select="@Tools" disable-output-escaping="yes"/>
    </div>
    </xsl:template>
    And here are the field references:
    <FieldRef Name="LinkFilename"/>
    <FieldRef Name="Recording_x0020_Date"/>
    <FieldRef Name="Presenter"/>
    <FieldRef Name="Tools"/>
    <FieldRef Name="Description0"/>
    So the field I'm struggling to show is the "LinkFilename" It would be great if someone can point out what I'm missing or what I'm doing wrong. Thanks in advance!

    Hi, Paul
    Here are two VIs. Local1 return an error while building and local2 works fine.
    Please let me know what's wrong!
    In previous messege I've asked for a list of bugs in 8.20 and 8.0.1, do you know if it is available?
    Thank you,
    Andrej
    Attachments:
    local1.vi ‏11 KB
    local2.vi ‏12 KB

  • How to view all tables and column names from a remote database

    Hey Guys,
    I have a database in a remote server. I have the db link and the schema name.. Now i want to view all the tables in the remote database with column names.. I dont have access to that database using sql developer.. But i can view some tables using the db link..Is there any way i can view all the tables with the column names?

    user10683742 wrote:
    Dont think i have DBA access..It gives the following error
    ORA-00942: table or view does not exist
    00942. 00000 - "table or view does not exist"You don't have to have 'dba' access, per se. You just have to have SELECT ALL TABLES privilege. when you use a db_link, you are connecting to the remote db with the user defined in the link, and .. on that db .. you will have the privileges of the user defined in the db link. Exactly as if you had used sqlplus to connect to that db with that user.

  • How to extract the date and date format from user reponse

    In BOXIR2 WebI, I have one requirement.
    1) My users will change the infoview interface locales as per their geography ( uk, usa, japan, india etc.)
    2) Users will enter/select the date in a date prompt in the locale specified format
    3) Now my requirement is to display the date in "dd-'mon'-yyyy" using the userresponse.
    Please let me know if any one have any workarounds to get the date from any locale and display in the "dd-mon-yyyy" format.

    Hi,
    I think you will have to use the GetLocale() function and base an if off that
    So something like
    To_Date(UserReponse("promptName");if(GetLocale()="en_US";"MM/dd/yyyy";if(GetLocale()="fr_FR";"dd-mm-yyyy";"dd/mm/yyyy")))
    Regards
    Alan

  • How do I make hearts and symbols disappear from Word Doc converted from pdf?

    This is the first time I've tried to convert a document.  I am in a new job and I'm stuck.  How do I convert pdf to word and not get symbols all over the Word doc?

    Appears to be a font related issue.
    Regardless, all you can do with the circumstances you describe is to use MS Word to perform cleanup of the export content.
    Alternatively print the PDF to paper and use that as a source for transcription into a fresh word processor file.
    Be well...

  • Can anybody tell me how to extract sales value and cost value for an materi

    dear all,
    Can anybody tell me how to extract sales value and cost value for an material sold .
    All the values of cost value and sale values are getting  stored in bseg-wrbtr field .
    How to identify them uniquely.
    Or there is another way to find the sale and cost values.
    Regards
    Mave

    Hi Mave!
    Normally there is no condition change, when something is sold.
    But sales price depends on sales conditions (not only price, but also surcharges, discounts, taxes - if customized).
    Nevertheless, after selling you have a invoice document, where correct values <i>should</i> be stored (see VBRP fields mentioned above). If here is a problem, then customizing of price determination is in question, not a programming of user-exits with MARD selection for costs (or some other tries to get a price).
    When you specify your requirements more in detail, you might get better answers - but currently only general hints are possible ('see in invioce / G/L accounts').
    Regards,
    Christian

  • How do I delete photos and photo albums from my iPhone? The instructions given do not work. No "delete" symbol appears next to the album name, and no trash can icon appears below most of the pictures the computer just put on my new iPhone 4.

    How do I delete photos and photo albums from my iPhone 4? The instructions given do not work. No "delete" symbol appears next to the album name when I press "Edit," and no trash can icon for me to click appears below most of the individual photos in the albums the computer just loaded on my new iPhone 4. When I synced the new phone the computer added these photo albums without permission from me. They are now taking up about 3 GB of memory on my phone. I would like very much to get rid of these photos from the phone. How do I do this?

    To delete photos from your device
    In iTunes, select the device icon in the Devices list on the left. Click the Photos tab in the resulting window.
    Choose "Sync photos from."
    On a Mac, choose iPhoto or Aperture from the pop-up menu.
    On a Windows PC, choose Photoshop Album or Photoshop Elements from the pop-up menu.
    Choose "Selected albums" and deselect the albums or collections you want to delete.
    Click Apply.

  • How to show rating dots and file name underneath thumbnail in Bridge CS4 preview workspace?

    How to show rating dots and file name underneath thumbnail in Bridge CS4 preview workspace?

    Thank you! That was it. The option to change it is not available in preferences (though I believe it was in early CS versions). It's hidden in a dropdown menu associated with an icon at the top. It sure wasn't easy to find, and I probably would not have done so without your lead. Thanks again!

  • HT2470 how would i go about taking multiple files from documents and make them part of 1 master file

    how would i go about taking multiple files from documents and make them into 1 master file? I want to put all documents associated with this project together for easier access.

    From the finder window, click File, click new folder, you can drag all documents into that Folder making it the master folder. You can ajso drag folders into the Master folder, and have them as sub-folders if you wish to  do that. Either way they will all be in one master folder.

  • How to find the tablespace name and schema name from a dump file

    Good day to all,
    I recived a dump file from a client with oracle 11g, and I need do get the tablespace and schema name from the dump file. How can I do that?
    Thanks.
    Flávio Melo
    Edited by: 933141 on 09/05/2012 07:41

    user12038066 wrote:
    Use imp utility, it generates DDL for both tables and indexes. So you will get tablespace info for both.
    Use impdp utility, it generates DDL for indexes only. So you will miss tablesapce info for tables.
    Haven't found a workaround for impdp utility. Anyone knows?Are you sure you are using the impdp utility correctly? Because if you do, then sqlfile should have all gory details.

  • How to retrieve the path and the name of the destination file in a link annotation

    Hi,
    In C++:
    How to retrieve the path and the name of the destination file in a link annotation and a Launch action.
    Sample of my code:
    //Determine if the annotation is a Link annotation
    if (PDAnnotGetSubtype(annot) == ASAtomFromString("Link")) {
    //Determine if the action is a Launch action
    if (PDActionGetSubtype(action) == ASAtomFromString("Launch")) {
    // What is the method ?
    Regards
    David G

    In general, get the annotation as a Cos object and examine it, in
    accordance with the PDF Reference.
    Aandi Inston

Maybe you are looking for

  • Given the size and of the iPad Mini Wider is better. Why don't Apple design the next iPhone to be a bit wider?

    After using one of the competition's wide screen phone, I found myself using it more then my iPhone. Though it wasn't as good of a user experience as my iPhone, the wider viewing display grabbed my attention. Viewing video content on their wider phon

  • Formatting external hard drive for MAC and Windows

    I have an external hard drive that I would like to make compatible with BOTH Mac and Windows. I don't want to split it but is there any way that I can make it compatible to where I can use it back and forth between both? I have classes and use Photos

  • Novell client on Vista log-in problem.

    (Netware 6.5) Installing a Vista pro with the latest Novell VISTA client ( 1.0), I ran into problems. It's like the client won't browse the tree and therefore can't log in. If I enter the server's IP address in the tree field, it finds both the conte

  • Rules for VAT register numeration

    Hi all As somes of you know in Italy it is not permit to have a numeration gap in FI VAT declaration register; the vendor and customer invoices has to have a consecutive numbers without "lost" numbers in the sequence and following the calendar date s

  • Constructors in Inheritance.

    Hi, REPORT  Z_INHERITANCE_CONSTRUCTOR. CLASS demo DEFINITION.   PUBLIC SECTION.   CLASS-METHODS main.   ENDCLASS. CLASS vessel DEFINITION.   PUBLIC SECTION.   METHODS : constructor IMPORTING i1 TYPE string